@sandrinio/vbounce 1.3.2 → 1.5.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.
@@ -0,0 +1,179 @@
1
+ ---
2
+ name: improve
3
+ description: "Use when the V-Bounce OS framework needs to evolve based on accumulated agent feedback. Activates after sprint retros, when recurring friction patterns emerge, or when the user explicitly asks to improve the framework. Reads Process Feedback from sprint reports, identifies patterns, proposes specific changes to templates, skills, brain files, scripts, and agent configs, and applies approved changes. This is the system's self-improvement loop."
4
+ ---
5
+
6
+ # Framework Self-Improvement
7
+
8
+ ## Purpose
9
+
10
+ V-Bounce OS is not static. Every sprint generates friction signals from agents who work within the framework daily. This skill closes the feedback loop: it reads what agents struggled with, identifies patterns, and proposes targeted improvements to the framework itself.
11
+
12
+ **Core principle:** No framework change happens without human approval. The system suggests — the human decides.
13
+
14
+ ## When to Use
15
+
16
+ - After every 2-3 sprints (recommended cadence)
17
+ - When the same Process Feedback appears across multiple sprint reports
18
+ - When the user explicitly asks to improve templates, skills, or process
19
+ - When a sprint's Framework Self-Assessment reveals Blocker-severity findings
20
+ - When LESSONS.md contains 3+ entries pointing to the same process gap
21
+
22
+ ## Trigger
23
+
24
+ `/improve` OR when the Team Lead identifies recurring framework friction during Sprint Consolidation.
25
+
26
+ ## Announcement
27
+
28
+ When using this skill, state: "Using improve skill to evaluate and propose framework changes."
29
+
30
+ ## Input Sources
31
+
32
+ The improve skill reads from multiple signals, in priority order:
33
+
34
+ ### 1. Sprint Report §5 — Framework Self-Assessment (Primary)
35
+ The structured retro tables are the richest source. Each row has:
36
+ - Finding (what went wrong)
37
+ - Source Agent (who experienced it)
38
+ - Severity (Friction vs Blocker)
39
+ - Suggested Fix (agent's proposal)
40
+
41
+ ### 2. LESSONS.md — Recurring Patterns
42
+ Lessons that point to *process* problems rather than *code* problems:
43
+ - "Always check X before Y" → the template should enforce this ordering
44
+ - "Agent kept missing Z" → the handoff report is missing a field
45
+ - Lessons that keep getting re-flagged sprint after sprint
46
+
47
+ ### 3. Sprint Execution Metrics
48
+ Quantitative signals from Sprint Report §3:
49
+ - High bounce ratios → story templates may need better acceptance criteria guidance
50
+ - High correction tax → handoffs may be losing critical context
51
+ - Escalation patterns → complexity labels may need recalibration
52
+
53
+ ### 4. Agent Process Feedback (Raw)
54
+ If sprint reports aren't available, read individual agent reports from `.bounce/archive/` and extract `## Process Feedback` sections directly.
55
+
56
+ ## The Improvement Process
57
+
58
+ ### Step 1: Gather Signals
59
+ ```
60
+ 1. Read the last 2-3 Sprint Reports (§5 Framework Self-Assessment)
61
+ 2. Read LESSONS.md — filter for process-related entries
62
+ 3. Read Sprint Execution Metrics — flag anomalies
63
+ 4. If no sprint reports exist yet, read raw agent reports from .bounce/archive/
64
+ ```
65
+
66
+ ### Step 2: Pattern Detection
67
+ Group findings by framework area:
68
+
69
+ | Area | What to Look For | Files Affected |
70
+ |------|-----------------|----------------|
71
+ | **Templates** | Missing fields, unused sections, ambiguous instructions | `templates/*.md` |
72
+ | **Agent Handoffs** | Missing report fields, redundant data, unclear formats | `brains/claude-agents/*.md` |
73
+ | **RAG Pipeline** | Irrelevant results, missing context, stale embeddings | `scripts/vbounce_index.mjs`, `scripts/vbounce_ask.mjs`, `scripts/pre_bounce_sync.sh` |
74
+ | **Skills** | Unclear instructions, missing steps, outdated references | `skills/*/SKILL.md`, `skills/*/references/*` |
75
+ | **Process Flow** | Unnecessary steps, wrong ordering, missing gates | `skills/agent-team/SKILL.md`, `skills/doc-manager/SKILL.md` |
76
+ | **Tooling** | Script failures, validation gaps, missing automation | `scripts/*`, `bin/*` |
77
+ | **Brain Files** | Stale rules, missing rules, inconsistencies across brains | `brains/CLAUDE.md`, `brains/GEMINI.md`, `brains/AGENTS.md`, `brains/cursor-rules/*.mdc` |
78
+
79
+ Deduplicate: if 3 agents report the same issue, that's 1 finding with 3 votes — not 3 findings.
80
+
81
+ ### Step 3: Prioritize
82
+ Rank findings by impact:
83
+
84
+ 1. **Blockers reported by 2+ agents** — fix immediately
85
+ 2. **Friction reported by 2+ agents** — fix in this improvement pass
86
+ 3. **Blockers reported once** — fix if the root cause is clear
87
+ 4. **Friction reported once** — note for next improvement pass (may be a one-off)
88
+
89
+ ### Step 4: Propose Changes
90
+ For each finding, write a concrete proposal:
91
+
92
+ ```markdown
93
+ ### Proposal {N}: {Short title}
94
+
95
+ **Finding:** {What went wrong — from the retro}
96
+ **Pattern:** {How many times / sprints this appeared}
97
+ **Root Cause:** {Why the framework allowed this to happen}
98
+ **Affected Files:**
99
+ - `{file_path}` — {what changes}
100
+
101
+ **Proposed Change:**
102
+ {Describe the specific edit. Include before/after for template changes.
103
+ For skill changes, describe the new instruction or step.
104
+ For script changes, describe the new behavior.}
105
+
106
+ **Risk:** {Low / Medium — what could break if this change is wrong}
107
+ **Reversibility:** {Easy — revert the edit / Medium — downstream docs may need updating}
108
+ ```
109
+
110
+ ### Step 5: Present to Human
111
+ Present ALL proposals as a numbered list. The human can:
112
+ - **Approve** — apply the change
113
+ - **Reject** — skip it (optionally explain why)
114
+ - **Modify** — adjust the proposal before applying
115
+ - **Defer** — save for the next improvement pass
116
+
117
+ **Never apply changes without explicit approval.** The human owns the framework.
118
+
119
+ ### Step 6: Apply Approved Changes
120
+ For each approved proposal:
121
+ 1. Edit the affected file(s)
122
+ 2. If brain files are affected, ensure ALL brain surfaces stay in sync (CLAUDE.md, GEMINI.md, AGENTS.md, cursor-rules/)
123
+ 3. Log the change in `brains/CHANGELOG.md`
124
+ 4. If skills were modified, update skill descriptions in all brain files that reference them
125
+
126
+ ### Step 7: Validate
127
+ After all changes are applied:
128
+ 1. Run `./scripts/pre_bounce_sync.sh` to update RAG embeddings with the new framework content
129
+ 2. Verify no cross-references are broken (template paths, skill names, report field names)
130
+ 3. Confirm brain file consistency — all 4 surfaces should describe the same process
131
+
132
+ ## Improvement Scope
133
+
134
+ ### What CAN Be Improved
135
+
136
+ | Target | Examples |
137
+ |--------|---------|
138
+ | **Templates** | Add/remove/rename sections, improve instructions, add examples, fix ambiguity |
139
+ | **Agent Report Formats** | Add/remove YAML fields, add report sections, improve handoff clarity |
140
+ | **Skills** | Update instructions, add/remove steps, improve reference docs, add new skills |
141
+ | **Brain Files** | Update rules, add missing rules, improve consistency, update skill references |
142
+ | **Scripts** | Fix bugs, add validation checks, improve error messages, add new automation |
143
+ | **Process Flow** | Reorder steps, add/remove gates, adjust thresholds (bounce limits, complexity labels) |
144
+ | **RAG Pipeline** | Adjust indexing scope, improve chunking, add new document types to index |
145
+
146
+ ### What CANNOT Be Changed Without Escalation
147
+ - **Adding a new agent role** — requires human design decision + new brain config
148
+ - **Changing the V-Bounce state machine** — core process change, needs explicit human approval beyond normal improvement flow
149
+ - **Removing a gate** (QA, Architect) — safety-critical, must be a deliberate human decision
150
+ - **Changing git branching strategy** — affects all developers and CI/CD
151
+
152
+ ## Output
153
+
154
+ The improve skill does not produce a standalone report file. Its output is:
155
+ 1. The list of proposals presented to the human (inline during the conversation)
156
+ 2. The applied changes to framework files
157
+ 3. The `brains/CHANGELOG.md` entries documenting what changed and why
158
+
159
+ ## Tracking Improvement Velocity
160
+
161
+ Over time, the Sprint Report §5 Framework Self-Assessment tables should shrink. If the same findings keep appearing after improvement passes, the fix didn't work — re-examine the root cause.
162
+
163
+ The Team Lead should note in the Sprint Report whether the previous improvement pass resolved the issues it targeted:
164
+ - "Improvement pass from S-03 resolved the Dev→QA handoff gap (0 handoff complaints this sprint)"
165
+ - "Improvement pass from S-03 did NOT resolve RAG relevance — same feedback from Developer"
166
+
167
+ ## Critical Rules
168
+
169
+ - **Never change the framework without human approval.** Propose, don't impose.
170
+ - **Keep all brain surfaces in sync.** A change to CLAUDE.md must be reflected in GEMINI.md, AGENTS.md, and cursor-rules/.
171
+ - **Log everything.** Every change goes in `brains/CHANGELOG.md` with the finding that motivated it.
172
+ - **Run pre_bounce_sync.sh after changes.** Updated skills and rules must be re-indexed for RAG.
173
+ - **Don't over-engineer.** Fix the actual problem reported by agents. Don't add speculative improvements.
174
+ - **Respect the hierarchy.** Template changes are low-risk. Process flow changes are high-risk. Scope accordingly.
175
+ - **Skills are living documents.** If a skill's instructions consistently confuse agents, rewrite the confusing section — don't add workarounds elsewhere.
176
+
177
+ ## Keywords
178
+
179
+ improve, self-improvement, framework evolution, retro, retrospective, process feedback, friction, template improvement, skill improvement, brain sync, meta-process, self-aware
@@ -1,7 +1,7 @@
1
1
  <instructions>
2
2
  FOLLOW THIS EXACT STRUCTURE. Output sections in order 1-9.
3
3
 
4
- 1. **Header**: Set Status, Ambiguity Score, Readiness based on completeness
4
+ 1. **YAML Frontmatter**: Set status, ambiguity, and readiness
5
5
  2. **§1 Project Identity**: What it is, what it's NOT, success metrics
6
6
  3. **§2 Design Principles**: 3-5 numbered rules (these guide all future decisions)
7
7
  4. **§3 Architecture**: System diagram + Tech Stack table (mark unknown as `[TBD]`)
@@ -16,7 +16,7 @@ Ambiguity Score:
16
16
  - 🟡 Medium: Tech TBD but logic clear → Ready for Roadmap
17
17
  - 🟢 Low: All filled → Ready for Epics
18
18
 
19
- Output location: `product_plans/{project}_charter.md`
19
+ Output location: `product_plans/strategy/{project}_charter.md`
20
20
 
21
21
  Document Hierarchy Position: ROOT
22
22
  Charter is the source of truth for WHY. All downstream documents inherit from it:
@@ -31,13 +31,13 @@ Downstream consumers:
31
31
  Do NOT output these instructions.
32
32
  </instructions>
33
33
 
34
- # Project Charter: [Project Name]
35
-
36
- > **Status**: 🌱 Initial Draft / 🌿 Refining / 🌳 Approved
37
- > **Ambiguity Score**: 🔴 High / 🟡 Medium / 🟢 Low
38
- > **Readiness**: Blocked / Ready for Roadmap / Ready for Epics
39
-
40
34
  ---
35
+ status: "🌱 Initial Draft / 🌿 Refining / 🌳 Approved"
36
+ ambiguity: "🔴 High / 🟡 Medium / 🟢 Low"
37
+ readiness: "Blocked / Ready for Roadmap / Ready for Epics"
38
+ ---
39
+
40
+ # Project Charter: [Project Name]
41
41
 
42
42
  ## 1. Project Identity
43
43
 
@@ -1,199 +1,44 @@
1
1
  <instructions>
2
- FOLLOW THIS EXACT STRUCTURE. Output sections in order 1-7.
3
-
2
+ FOLLOW THIS EXACT STRUCTURE. Output sections in order 1-4.
4
3
  1. **Header**: Set Status, link to Roadmap + Risk Registry, Sprint Cadence
5
4
  2. **§1 Project Window**: Start/End dates, total sprints, team
6
- 3. **§2 Sprint Registry**: Table of ALL sprints with goals and status (auto-populated between markers)
7
- 4. **§3 Active Sprint**: CURRENT sprint only — goal + assigned stories with L1-L4 labels + V-Bounce state
8
- 5. **§4 Backlog**: Prioritized stories not yet assigned to a sprint (includes Escalated + Parking Lot)
9
- 6. **§5 Context Pack Status**: Per-story readiness checklist (ONLY for Active Sprint stories)
10
- 6b. **§5b Open Questions**: Operational questions that may block active sprint stories
11
- 7. **§6 Completed Sprints**: ONE-LINE summaries of finished sprints (full detail in version history)
12
- 8. **§7 Change Log**: Auto-appended on updates
13
- 9. **§8 Applied Hotfixes**: Ledger of L1 Trivial fixes that bypassed Epic/Story hierarchy (auto-appended by `hotfix_manager.sh ledger`)
14
-
15
- Sprint Lifecycle:
16
- - When a sprint completes: update Sprint Registry row to "Completed",
17
- REPLACE §3 Active Sprint with the next sprint's stories,
18
- move old sprint summary to §6 Completed Sprints (one row, not full detail).
19
- - Full historical detail is preserved in vp_document_versions (auto-snapshots on every update).
20
-
21
- Sprint States: Planning → Active → Completed → Cancelled
22
-
23
- Story Labels (complexity_label):
24
- - L1: Trivial (single file, <1hr vibe time)
25
- - L2: Standard (2-3 files, known pattern) — DEFAULT
26
- - L3: Complex (cross-cutting, spike may be needed)
27
- - L4: Uncertain (requires Probing/Spiking before Bounce)
28
-
29
- V-Bounce States (11 total):
30
- Draft → Refinement → Ready to Bounce → Bouncing → QA Passed → Architect Passed → Sprint Review → Done
31
- ↳ Refinement → Probing/Spiking → Refinement (spike loop)
32
- ↳ Any → Parking Lot (deferred)
33
- ↳ Bouncing → Escalated (3+ failures)
34
-
35
- IMPORTANT: The §2 Sprint Registry is auto-populated by SyncEngine.
36
- Rows between <!-- SPRINT_REGISTRY_START --> and <!-- SPRINT_REGISTRY_END -->
37
- markers MUST be on their own lines (not inside table pipes).
38
-
39
- Output location: `product_plans/{delivery}/DELIVERY_PLAN.md`
40
- (Lives at the root of its delivery folder. One Delivery Plan per delivery/release.)
41
-
42
- Document Hierarchy Position: LEVEL 5 — EXECUTION
43
- Charter (why) → Roadmap (strategic what/when) → Epic (detailed what) → Story (how) → **Delivery Plan** (execution) → Risk Registry (risks)
5
+ 3. **§2 Epics Included**: Table of all Epics assigned to this delivery
6
+ 4. **§3 High-Level Backlog**: Unassigned stories (Epics being broken down)
44
7
 
45
- This is the OPERATIONAL layer. It does NOT define what to build (that's Roadmap + Epic).
46
- It defines WHEN and in WHAT ORDER stories execute within sprints.
47
-
48
- Upstream sources:
49
- - Stories come from Epics (via Epic §9 Artifact Links)
50
- - Sprint goals align with Roadmap §2 Release Plan milestones
51
- - Story complexity labels (L1-L4) are defined in the Story template
52
-
53
- Downstream consumers:
54
- - Team Lead Agent reads this to initialize the Bounce (via agent-team skill)
55
- - §5 Context Pack Status gates whether a story is Ready to Bounce
56
- - Sprint Reports are generated from Active Sprint data + agent reports
57
- - Risk Registry §2 Risk Analysis Log references sprint transitions
8
+ Delivery Lifecycle:
9
+ - This document tracks the *milestone* across multiple sprints.
10
+ - Active sprint work happens inside `sprints/sprint-{XX}/sprint-{XX}.md`, not here.
11
+ - When the delivery is fully shipped, this entire document is archived.
58
12
 
13
+ Output location: `product_plans/strategy/{delivery}_delivery_plan.md`
59
14
  Do NOT output these instructions.
60
15
  </instructions>
61
-
62
16
  # Delivery Plan: {Project Name}
63
-
64
17
  ---
65
-
66
18
  > **Last Updated**: {YYYY-MM-DD}
67
- > **Status**: Planning / In Sprint / Delivered
19
+ > **Status**: Planning / In Delivery / Completed
68
20
  > **Roadmap**: `product_plans/{project}_roadmap.md`
69
21
  > **Risk Registry**: `product_plans/RISK_REGISTRY.md`
70
22
  > **Delivery**: `D-{NN}_{release_name}`
71
- > **Sprint Cadence**: 1-week sprints within 2-week project window
72
-
23
+ > **Sprint Cadence**: 1-week sprints
73
24
  ---
74
-
75
25
  ## 1. Project Window
76
-
77
26
  | Key | Value |
78
27
  |-----|-------|
79
28
  | **Start Date** | {YYYY-MM-DD} |
80
29
  | **End Date** | {YYYY-MM-DD} |
81
30
  | **Total Sprints** | {N} |
82
- | **Sprint Length** | 1 week |
83
- | **Project Window** | 2 weeks |
84
31
  | **Team** | {CE name(s) / Agent config} |
85
-
86
- ---
87
-
88
- ## 2. Sprint Registry
89
-
90
- <!--
91
- AUTO-POPULATED SECTION
92
- Updated when sprints are created or completed.
93
- DO NOT manually edit the table rows - they are managed by the system.
94
- -->
95
-
96
- | Sprint | Dates | Sprint Goal | Status | Stories | Completed |
97
- |--------|-------|-------------|--------|---------|-----------|
98
- <!-- SPRINT_REGISTRY_START -->
99
- | S-01 | {MM/DD - MM/DD} | {One-sentence North Star} | Planning / Active / Completed | {X} | {Y}/{X} |
100
- <!-- SPRINT_REGISTRY_END -->
101
-
102
32
  ---
103
-
104
- ## 3. Active Sprint
105
-
106
- ### Sprint Goal
107
- > {One-sentence functional "North Star" — what is shippable at the end of this sprint?}
108
-
109
- ### Assigned Stories
110
-
111
- | # | Story | Epic | Label | V-Bounce State | Context Pack |
112
- |---|-------|------|-------|----------------|--------------|
113
- | 1 | STORY-XXX-YY: {name} | EPIC-XXX | L1/L2/L3/L4 | Draft / Refinement / Ready to Bounce / Bouncing | Locked / Open |
114
-
115
- ### Sprint Notes
116
- - {Blockers, dependencies, decisions made during the sprint}
117
-
118
- ---
119
-
120
- ## 4. Backlog
121
-
122
- > Prioritized stories not yet assigned to a sprint.
123
-
124
- | Priority | Story | Epic | Label | V-Bounce State | Blocker |
125
- |----------|-------|------|-------|----------------|---------|
126
- | 1 | STORY-XXX-YY: {name} | EPIC-XXX | L2 | Draft | — |
127
-
128
- ### Escalated
129
- > Stories with 3+ bounce failures requiring PM/BA intervention.
130
-
131
- | Story | Epic | Bounce Count | Escalation Reason |
132
- |-------|------|--------------|-------------------|
133
- | — | — | — | No escalated stories |
134
-
135
- ### Parking Lot
136
- > Stories moved out of current project window scope (V-Bounce state: Parking Lot).
137
-
138
- - STORY-XXX-YY: {name} — Reason: {why deferred}
139
-
140
- ---
141
-
142
- ## 5. Context Pack Status
143
-
144
- > Tracks readiness of ACTIVE SPRINT stories only.
145
- > A story is **Ready to Bounce** only when all items are checked.
146
- > Context Packs for future sprints are tracked when they enter the Active Sprint.
147
- > L4 stories MUST pass through Probing/Spiking before reaching Ready to Bounce.
148
-
149
- ### {STORY-XXX-YY}: {name} (Label: {L1/L2/L3/L4})
150
- - [ ] Story spec complete (§1 The Spec)
151
- - [ ] Acceptance criteria written (§2 The Truth)
152
- - [ ] Implementation guide filled (§3 Implementation Guide)
153
- - [ ] Ambiguity: Low
154
- - [ ] BA sign-off
155
- - [ ] Architect sign-off
156
- - [ ] Spike completed (L4 only — skip for L1-L3)
157
- - **V-Bounce State**: {current state} → Ready to Bounce
158
-
159
- ---
160
-
161
- ## 5b. Open Questions
162
-
163
- > Operational questions that may block stories in the active sprint.
164
- > Strategic questions belong in the Roadmap §6.
165
- > The Team Lead MUST check this section before starting a sprint — do NOT bounce stories with unresolved blocking questions.
166
-
167
- | Question | Affects Story | Impact | Owner | Status |
168
- |----------|--------------|--------|-------|--------|
169
- | {e.g., "Which date format for the API?"} | STORY-001-02 | Blocks implementation | {name} | Open / Resolved |
170
-
171
- ---
172
-
173
- ## 6. Completed Sprints
174
-
175
- > One-line summaries only. Full detail preserved in document version history.
176
-
177
- | Sprint | Goal | Delivered | Notes |
178
- |--------|------|-----------|-------|
179
- | — | — | — | No sprints completed yet |
180
-
181
- ---
182
-
183
- ## 7. Change Log
184
-
185
- <!-- Auto-appended when Delivery Plan is updated -->
186
-
187
- | Date | Change | By |
188
- |------|--------|-----|
189
- | {YYYY-MM-DD} | Initial creation from Roadmap | Architect |
190
-
191
- ---
192
-
193
- ## 8. Applied Hotfixes
194
-
195
- > L1 Trivial fixes that bypassed the Epic/Story hierarchy. Auto-appended by `hotfix_manager.sh ledger`.
196
-
197
- | Date | Title | Brief Description |
198
- |------|-------|-------------------|
199
- | — | — | No hotfixes applied yet |
33
+ ## 2. Epics Included
34
+ | Epic | Name | Status | Stories | V-Bounce Phase |
35
+ |------|------|--------|---------|----------------|
36
+ | EPIC-XXX | {Name} | Draft / Refinement / Bouncing / Done | {Y}/{X} | {Phase Name} |
37
+ ---
38
+ ## 3. High-Level Backlog
39
+ > Stories prioritized for this delivery but not yet assigned to an active Sprint.
40
+ | Priority | Story | Epic | Label | Blocker |
41
+ |----------|-------|------|-------|---------|
42
+ | 1 | STORY-XXX-YY: {name} | EPIC-XXX | L2 | — |
43
+ ### Escalated / Parking Lot
44
+ - STORY-XXX-YY: {name} — Reason: {escalated / deferred}
package/templates/epic.md CHANGED
@@ -1,7 +1,7 @@
1
1
  <instructions>
2
2
  FOLLOW THIS EXACT STRUCTURE. Output sections in order.
3
3
 
4
- 1. **Metadata Table**: Status, Ambiguity, Priority, Owner, Tags, Target Date
4
+ 1. **YAML Frontmatter**: Epic ID, Status, Ambiguity, Context Source, Release, Owner, Priority, Tags, Target Date
5
5
  2. **§1 Problem & Value**: Why (problem), What (solution), Success Metrics
6
6
  3. **§2 Scope Boundaries**: IN-SCOPE checkboxes, OUT-OF-SCOPE list
7
7
  4. **§3 Context**: Personas, User Journey diagram, Constraints table
@@ -17,7 +17,7 @@ Ambiguity Score:
17
17
  - 🟡 Medium: Scope clear, tech TBD → Ready for decomposition
18
18
  - 🟢 Low: All filled → Ready for Stories
19
19
 
20
- Output location: `product_plans/{delivery}/EPIC-{NNN}_{epic_name}/EPIC-{NNN}.md`
20
+ Output location: `product_plans/backlog/EPIC-{NNN}_{epic_name}/EPIC-{NNN}_{epic_name}.md`
21
21
 
22
22
  Document Hierarchy Position: LEVEL 3 (Charter → Roadmap → **Epic** → Story)
23
23
 
@@ -37,21 +37,19 @@ Downstream consumers:
37
37
  Do NOT output these instructions.
38
38
  </instructions>
39
39
 
40
- # EPIC-{ID}: {Epic Name}
41
-
42
- ## Metadata
43
- | Field | Value |
44
- |-------|-------|
45
- | **Status** | Draft / Ready / In Progress / Done |
46
- | **Ambiguity** | 🔴 High / 🟡 Medium / 🟢 Low |
47
- | **Context Source** | Charter §{section} / Roadmap §{section} / User Input |
48
- | **Release** | {Release name from Roadmap §2} |
49
- | **Owner** | {PM/PO name} |
50
- | **Priority** | P0 - Critical / P1 - High / P2 - Medium |
51
- | **Tags** | #frontend, #api, #auth |
52
- | **Target Date** | {YYYY-MM-DD} |
53
-
54
40
  ---
41
+ epic_id: "EPIC-{ID}"
42
+ status: "Draft / Ready / In Progress / Done"
43
+ ambiguity: "🔴 High / 🟡 Medium / 🟢 Low"
44
+ context_source: "Charter §{section} / Roadmap §{section} / User Input"
45
+ release: "{Release name from Roadmap §2}"
46
+ owner: "{PM/PO name}"
47
+ priority: "P0 - Critical / P1 - High / P2 - Medium"
48
+ tags: ["frontend", "api", "auth"]
49
+ target_date: "{YYYY-MM-DD}"
50
+ ---
51
+
52
+ # EPIC-{ID}: {Epic Name}
55
53
 
56
54
  ## 1. Problem & Value
57
55
  > Target Audience: Stakeholders, Business Sponsors
@@ -190,9 +188,11 @@ Feature: {Epic Name}
190
188
  ## 9. Artifact Links
191
189
  > Auto-populated as Epic is decomposed.
192
190
 
193
- **Stories:**
194
- - [ ] STORY-{ID}-01: {name}
195
- - [ ] STORY-{ID}-02: {name}
191
+ **Stories (Status Tracking):**
192
+ > Keep track of where stories live contextually.
193
+ - [ ] STORY-{ID}-01-{story_name} -> Backlog
194
+ - [ ] STORY-{ID}-02-{story_name} -> Active (Sprint XX)
195
+ - [x] STORY-{ID}-03-{story_name} -> Archived (Sprint YY)
196
196
 
197
197
  **References:**
198
198
  - Charter: [PROJECT CHARTER](link)
@@ -1,7 +1,7 @@
1
1
  <instructions>
2
2
  FOLLOW THIS EXACT STRUCTURE. This is a lightweight alternative to the Epic/Story hierarchy for L1 (Trivial) tasks.
3
3
 
4
- 1. **Metadata Table**: Target Release, Status, Actor
4
+ 1. **YAML Frontmatter**: Hotfix ID, Status, Target Release, Actor, Complexity Label
5
5
  2. **§1 The Fix**: What is broken/changing and why
6
6
  3. **§2 Implementation Instructions**: Which file(s) to change and what to do
7
7
  4. **§3 Verification**: Simple manual test
@@ -20,18 +20,15 @@ Constraints:
20
20
  Do NOT output these instructions.
21
21
  </instructions>
22
22
 
23
- # HOTFIX: {Name}
24
-
25
- ## Metadata
26
-
27
- | Field | Value |
28
- |-------|-------|
29
- | **Target Release** | `D-{NN}_{release_name}` |
30
- | **Status** | Draft / Bouncing / Done |
31
- | **Actor** | {Persona Name / User} |
32
- | **Complexity Label** | L1 (Trivial) |
33
-
34
23
  ---
24
+ hotfix_id: "HOTFIX-{Date}-{Name}"
25
+ status: "Draft / Bouncing / Done"
26
+ target_release: "D-{NN}_{release_name}"
27
+ actor: "{Persona Name / User}"
28
+ complexity_label: "L1 (Trivial)"
29
+ ---
30
+
31
+ # HOTFIX: {Name}
35
32
 
36
33
  ## 1. The Fix
37
34
  > What needs to be changed and why.
@@ -1,7 +1,7 @@
1
1
  <instructions>
2
2
  FOLLOW THIS EXACT STRUCTURE. Output sections in order 1-4.
3
3
 
4
- 1. **Header**: Set Status, link to Roadmap and Delivery Plan
4
+ 1. **YAML Frontmatter**: Set status, last updated, and roadmap ref
5
5
  2. **§1 Active Risks**: Table of open risks with phase, source, likelihood, impact, mitigation
6
6
  3. **§2 Risk Analysis Log**: Phase-stamped entries appended on state transitions
7
7
  4. **§3 Closed Risks**: Resolved/mitigated risks moved here
@@ -13,7 +13,7 @@ Risk Levels:
13
13
 
14
14
  Risk Statuses: Open → Mitigating → Mitigated → Closed / Accepted
15
15
 
16
- Output location: `product_plans/RISK_REGISTRY.md`
16
+ Output location: `product_plans/strategy/RISK_REGISTRY.md`
17
17
 
18
18
  Document Hierarchy Position: LEVEL 6 — CROSS-CUTTING
19
19
  Charter (why) → Roadmap (strategic what/when) → Epic (detailed what) → Story (how) → Delivery Plan (execution) → **Risk Registry** (risks)
@@ -31,21 +31,19 @@ The Risk Registry is reviewed by the Team Lead at sprint boundaries and by the A
31
31
  Do NOT output these instructions.
32
32
  </instructions>
33
33
 
34
- # Risk Registry: {Project Name}
35
-
36
34
  ---
37
-
38
- > **Last Updated**: {YYYY-MM-DD}
39
- > **Status**: Active / Archived
40
- > **Roadmap**: `product_plans/{project}_roadmap.md`
41
-
35
+ last_updated: "{YYYY-MM-DD}"
36
+ status: "Active / Archived"
37
+ roadmap_ref: "product_plans/{project}_roadmap.md"
42
38
  ---
43
39
 
40
+ # Risk Registry: {Project Name}
41
+
44
42
  ## 1. Active Risks
45
43
 
46
44
  | ID | Risk | Phase | Source | Likelihood | Impact | Mitigation | Owner | Status |
47
45
  |----|------|-------|--------|------------|--------|------------|-------|--------|
48
- | R-001 | {Risk description} | {Verification/Bounce/Review} | {EPIC-XXX or STORY-XXX-YY} | Low/Medium/High | Low/Medium/High/Critical | {Mitigation strategy} | {Owner} | Open |
46
+ | R-001 | {Risk description} | {Verification/Bounce/Review} | {EPIC-XXX or STORY-XXX-YY-{story_name}} | Low/Medium/High | Low/Medium/High/Critical | {Mitigation strategy} | {Owner} | Open |
49
47
 
50
48
  **Summary**: {X} Active | {Y} Mitigating | {Z} Accepted
51
49
 
@@ -1,7 +1,7 @@
1
1
  <instructions>
2
2
  FOLLOW THIS EXACT STRUCTURE. Output sections in order 1-7.
3
3
 
4
- 1. **Header**: Set Status, Last Updated, link to Charter
4
+ 1. **YAML Frontmatter**: Set status, last updated, charter ref, and risk registry ref
5
5
  2. **§1 Strategic Context**: Vision (from Charter), primary goal, target users, success metrics
6
6
  3. **§2 Release Plan**: Group epics into named releases with exit criteria — NOT sprint-level tracking
7
7
  4. **§3 Technical Architecture Decisions**: Key choices with rationale and status (this is the ADR log)
@@ -11,7 +11,7 @@ FOLLOW THIS EXACT STRUCTURE. Output sections in order 1-7.
11
11
  8. **§7 Delivery Log**: Release notes for completed deliveries (appended by Team Lead on delivery archive)
12
12
  9. **§8 Change Log**: Auto-appended on updates
13
13
 
14
- Output location: `product_plans/{project}_roadmap.md`
14
+ Output location: `product_plans/strategy/{project}_roadmap.md`
15
15
 
16
16
  Role of this document:
17
17
  - This is the STRATEGIC layer between Charter (why) and Delivery Plan (operational execution).
@@ -26,17 +26,15 @@ Charter (why) → **Roadmap** (strategic what/when) → Epic (detailed what) →
26
26
  Do NOT output these instructions.
27
27
  </instructions>
28
28
 
29
- # Product Roadmap: {Project Name}
30
-
31
29
  ---
32
-
33
- > **Last Updated**: {YYYY-MM-DD}
34
- > **Status**: Planning / Active / MVP Complete / Shipped
35
- > **Charter**: `product_plans/{project}_charter.md`
36
- > **Risk Registry**: `product_plans/RISK_REGISTRY.md`
37
-
30
+ last_updated: "{YYYY-MM-DD}"
31
+ status: "Planning / Active / MVP Complete / Shipped"
32
+ charter_ref: "product_plans/{project}_charter.md"
33
+ risk_registry_ref: "product_plans/RISK_REGISTRY.md"
38
34
  ---
39
35
 
36
+ # Product Roadmap: {Project Name}
37
+
40
38
  ## 1. Strategic Context
41
39
 
42
40
  | Key | Value |