@sandrinio/vbounce 1.4.0 → 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.
- package/README.md +28 -2
- package/bin/vbounce.mjs +30 -0
- package/brains/AGENTS.md +19 -13
- package/brains/CHANGELOG.md +24 -0
- package/brains/CLAUDE.md +22 -14
- package/brains/GEMINI.md +21 -13
- package/brains/SETUP.md +7 -10
- package/brains/claude-agents/architect.md +28 -6
- package/brains/claude-agents/developer.md +20 -7
- package/brains/claude-agents/devops.md +28 -12
- package/brains/claude-agents/qa.md +22 -6
- package/brains/claude-agents/scribe.md +16 -7
- package/brains/cursor-rules/vbounce-docs.mdc +12 -8
- package/brains/cursor-rules/vbounce-process.mdc +5 -4
- package/brains/cursor-rules/vbounce-rules.mdc +9 -6
- package/package.json +1 -1
- package/scripts/validate_report.mjs +5 -5
- package/scripts/vbounce_index.mjs +2 -2
- package/scripts/verify_framework.mjs +11 -0
- package/skills/agent-team/SKILL.md +93 -66
- package/skills/doc-manager/SKILL.md +58 -44
- package/skills/improve/SKILL.md +179 -0
- package/templates/charter.md +1 -1
- package/templates/delivery_plan.md +28 -181
- package/templates/epic.md +6 -4
- package/templates/risk_registry.md +2 -2
- package/templates/roadmap.md +1 -1
- package/templates/sprint.md +48 -0
- package/templates/sprint_report.md +57 -18
- package/templates/story.md +6 -3
|
@@ -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
|
package/templates/charter.md
CHANGED
|
@@ -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:
|
|
@@ -1,197 +1,44 @@
|
|
|
1
1
|
<instructions>
|
|
2
|
-
FOLLOW THIS EXACT STRUCTURE. Output sections in order 1-
|
|
3
|
-
|
|
4
|
-
1. **YAML Frontmatter**: Set status, last updated, roadmap ref, risk registry ref, delivery ref, and sprint cadence
|
|
2
|
+
FOLLOW THIS EXACT STRUCTURE. Output sections in order 1-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
|
|
7
|
-
4. **§3
|
|
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
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
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
|
-
|
|
16
|
+
# Delivery Plan: {Project Name}
|
|
62
17
|
---
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
18
|
+
> **Last Updated**: {YYYY-MM-DD}
|
|
19
|
+
> **Status**: Planning / In Delivery / Completed
|
|
20
|
+
> **Roadmap**: `product_plans/{project}_roadmap.md`
|
|
21
|
+
> **Risk Registry**: `product_plans/RISK_REGISTRY.md`
|
|
22
|
+
> **Delivery**: `D-{NN}_{release_name}`
|
|
23
|
+
> **Sprint Cadence**: 1-week sprints
|
|
69
24
|
---
|
|
70
|
-
|
|
71
|
-
# Delivery Plan: {Project Name}
|
|
72
|
-
|
|
73
25
|
## 1. Project Window
|
|
74
|
-
|
|
75
26
|
| Key | Value |
|
|
76
27
|
|-----|-------|
|
|
77
28
|
| **Start Date** | {YYYY-MM-DD} |
|
|
78
29
|
| **End Date** | {YYYY-MM-DD} |
|
|
79
30
|
| **Total Sprints** | {N} |
|
|
80
|
-
| **Sprint Length** | 1 week |
|
|
81
|
-
| **Project Window** | 2 weeks |
|
|
82
31
|
| **Team** | {CE name(s) / Agent config} |
|
|
83
|
-
|
|
84
|
-
---
|
|
85
|
-
|
|
86
|
-
## 2. Sprint Registry
|
|
87
|
-
|
|
88
|
-
<!--
|
|
89
|
-
AUTO-POPULATED SECTION
|
|
90
|
-
Updated when sprints are created or completed.
|
|
91
|
-
DO NOT manually edit the table rows - they are managed by the system.
|
|
92
|
-
-->
|
|
93
|
-
|
|
94
|
-
| Sprint | Dates | Sprint Goal | Status | Stories | Completed |
|
|
95
|
-
|--------|-------|-------------|--------|---------|-----------|
|
|
96
|
-
<!-- SPRINT_REGISTRY_START -->
|
|
97
|
-
| S-01 | {MM/DD - MM/DD} | {One-sentence North Star} | Planning / Active / Completed | {X} | {Y}/{X} |
|
|
98
|
-
<!-- SPRINT_REGISTRY_END -->
|
|
99
|
-
|
|
100
32
|
---
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
### Sprint Notes
|
|
114
|
-
- {Blockers, dependencies, decisions made during the sprint}
|
|
115
|
-
|
|
116
|
-
---
|
|
117
|
-
|
|
118
|
-
## 4. Backlog
|
|
119
|
-
|
|
120
|
-
> Prioritized stories not yet assigned to a sprint.
|
|
121
|
-
|
|
122
|
-
| Priority | Story | Epic | Label | V-Bounce State | Blocker |
|
|
123
|
-
|----------|-------|------|-------|----------------|---------|
|
|
124
|
-
| 1 | STORY-XXX-YY: {name} | EPIC-XXX | L2 | Draft | — |
|
|
125
|
-
|
|
126
|
-
### Escalated
|
|
127
|
-
> Stories with 3+ bounce failures requiring PM/BA intervention.
|
|
128
|
-
|
|
129
|
-
| Story | Epic | Bounce Count | Escalation Reason |
|
|
130
|
-
|-------|------|--------------|-------------------|
|
|
131
|
-
| — | — | — | No escalated stories |
|
|
132
|
-
|
|
133
|
-
### Parking Lot
|
|
134
|
-
> Stories moved out of current project window scope (V-Bounce state: Parking Lot).
|
|
135
|
-
|
|
136
|
-
- STORY-XXX-YY: {name} — Reason: {why deferred}
|
|
137
|
-
|
|
138
|
-
---
|
|
139
|
-
|
|
140
|
-
## 5. Context Pack Status
|
|
141
|
-
|
|
142
|
-
> Tracks readiness of ACTIVE SPRINT stories only.
|
|
143
|
-
> A story is **Ready to Bounce** only when all items are checked.
|
|
144
|
-
> Context Packs for future sprints are tracked when they enter the Active Sprint.
|
|
145
|
-
> L4 stories MUST pass through Probing/Spiking before reaching Ready to Bounce.
|
|
146
|
-
|
|
147
|
-
### {STORY-XXX-YY}: {name} (Label: {L1/L2/L3/L4})
|
|
148
|
-
- [ ] Story spec complete (§1 The Spec)
|
|
149
|
-
- [ ] Acceptance criteria written (§2 The Truth)
|
|
150
|
-
- [ ] Implementation guide filled (§3 Implementation Guide)
|
|
151
|
-
- [ ] Ambiguity: Low
|
|
152
|
-
- [ ] BA sign-off
|
|
153
|
-
- [ ] Architect sign-off
|
|
154
|
-
- [ ] Spike completed (L4 only — skip for L1-L3)
|
|
155
|
-
- **V-Bounce State**: {current state} → Ready to Bounce
|
|
156
|
-
|
|
157
|
-
---
|
|
158
|
-
|
|
159
|
-
## 5b. Open Questions
|
|
160
|
-
|
|
161
|
-
> Operational questions that may block stories in the active sprint.
|
|
162
|
-
> Strategic questions belong in the Roadmap §6.
|
|
163
|
-
> The Team Lead MUST check this section before starting a sprint — do NOT bounce stories with unresolved blocking questions.
|
|
164
|
-
|
|
165
|
-
| Question | Affects Story | Impact | Owner | Status |
|
|
166
|
-
|----------|--------------|--------|-------|--------|
|
|
167
|
-
| {e.g., "Which date format for the API?"} | STORY-001-02 | Blocks implementation | {name} | Open / Resolved |
|
|
168
|
-
|
|
169
|
-
---
|
|
170
|
-
|
|
171
|
-
## 6. Completed Sprints
|
|
172
|
-
|
|
173
|
-
> One-line summaries only. Full detail preserved in document version history.
|
|
174
|
-
|
|
175
|
-
| Sprint | Goal | Delivered | Notes |
|
|
176
|
-
|--------|------|-----------|-------|
|
|
177
|
-
| — | — | — | No sprints completed yet |
|
|
178
|
-
|
|
179
|
-
---
|
|
180
|
-
|
|
181
|
-
## 7. Change Log
|
|
182
|
-
|
|
183
|
-
<!-- Auto-appended when Delivery Plan is updated -->
|
|
184
|
-
|
|
185
|
-
| Date | Change | By |
|
|
186
|
-
|------|--------|-----|
|
|
187
|
-
| {YYYY-MM-DD} | Initial creation from Roadmap | Architect |
|
|
188
|
-
|
|
189
|
-
---
|
|
190
|
-
|
|
191
|
-
## 8. Applied Hotfixes
|
|
192
|
-
|
|
193
|
-
> L1 Trivial fixes that bypassed the Epic/Story hierarchy. Auto-appended by `hotfix_manager.sh ledger`.
|
|
194
|
-
|
|
195
|
-
| Date | Title | Brief Description |
|
|
196
|
-
|------|-------|-------------------|
|
|
197
|
-
| — | — | 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
|
@@ -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/
|
|
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
|
|
|
@@ -188,9 +188,11 @@ Feature: {Epic Name}
|
|
|
188
188
|
## 9. Artifact Links
|
|
189
189
|
> Auto-populated as Epic is decomposed.
|
|
190
190
|
|
|
191
|
-
**Stories:**
|
|
192
|
-
|
|
193
|
-
- [ ] STORY-{ID}-
|
|
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)
|
|
194
196
|
|
|
195
197
|
**References:**
|
|
196
198
|
- Charter: [PROJECT CHARTER](link)
|
|
@@ -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)
|
|
@@ -43,7 +43,7 @@ roadmap_ref: "product_plans/{project}_roadmap.md"
|
|
|
43
43
|
|
|
44
44
|
| ID | Risk | Phase | Source | Likelihood | Impact | Mitigation | Owner | Status |
|
|
45
45
|
|----|------|-------|--------|------------|--------|------------|-------|--------|
|
|
46
|
-
| 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 |
|
|
47
47
|
|
|
48
48
|
**Summary**: {X} Active | {Y} Mitigating | {Z} Accepted
|
|
49
49
|
|
package/templates/roadmap.md
CHANGED
|
@@ -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).
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
<instructions>
|
|
2
|
+
FOLLOW THIS EXACT STRUCTURE. Output sections in order 1-2.
|
|
3
|
+
|
|
4
|
+
1. **YAML Frontmatter**: Sprint ID, Goal, Dates, Status
|
|
5
|
+
2. **§1 Active Scope**: Table of stories pulled into this sprint. The V-Bounce state tracks its progression.
|
|
6
|
+
3. **§2 Sprint Open Questions**: Unresolved items blocking this active execution window.
|
|
7
|
+
|
|
8
|
+
Output location: `product_plans/sprints/sprint-{XX}/sprint-{XX}.md`
|
|
9
|
+
|
|
10
|
+
Role of this document:
|
|
11
|
+
- This is the Tactical view of the active sprint execution.
|
|
12
|
+
- It tracks ONLY the stories claimed for this 1-week window.
|
|
13
|
+
- The Team Lead agent reads this to know what is in scope.
|
|
14
|
+
|
|
15
|
+
Document Lifecycle:
|
|
16
|
+
- Created by the Team Lead or PM during Sprint Setup.
|
|
17
|
+
- Selected stories are physically moved from `product_plans/backlog/EPIC-*/` to `product_plans/sprints/sprint-{XX}/`.
|
|
18
|
+
- When the sprint completes, this document (and the entire sprint folder) moves to `product_plans/archive/sprints/sprint-{XX}/`.
|
|
19
|
+
|
|
20
|
+
Do NOT output these instructions.
|
|
21
|
+
</instructions>
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
sprint_id: "sprint-{XX}"
|
|
25
|
+
sprint_goal: "{One-sentence North Star}"
|
|
26
|
+
dates: "{MM/DD - MM/DD}"
|
|
27
|
+
status: "Planning / Active / Completed"
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
# Sprint S-{XX} Plan
|
|
31
|
+
|
|
32
|
+
## 1. Active Scope
|
|
33
|
+
> Stories pulled from the backlog for execution during this sprint window.
|
|
34
|
+
> The V-Bounce State tracks the live status of the story (Draft -> Ready to Bounce -> Bouncing -> QA Passed -> Architect Passed -> Sprint Review -> Done).
|
|
35
|
+
|
|
36
|
+
| Priority | Story | Epic | Label | V-Bounce State | Blocker |
|
|
37
|
+
|----------|-------|------|-------|----------------|---------|
|
|
38
|
+
| 1 | [STORY-XXX-YY: name](./STORY-XXX-YY-name.md) | EPIC-XXX | L2 | Draft | — |
|
|
39
|
+
|
|
40
|
+
### Escalated / Parking Lot
|
|
41
|
+
- STORY-XXX-YY: {name} — Reason: {escalated / deferred}
|
|
42
|
+
|
|
43
|
+
## 2. Sprint Open Questions
|
|
44
|
+
> Unresolved items that affect this specific 1-week execution window.
|
|
45
|
+
|
|
46
|
+
| Question | Options | Impact | Owner | Status |
|
|
47
|
+
|----------|---------|--------|-------|--------|
|
|
48
|
+
| {question} | A: {x}, B: {y} | Blocks {stories} | {name} | Open / Decided |
|
|
@@ -25,6 +25,7 @@ sprint_id: "S-{XX}"
|
|
|
25
25
|
sprint_goal: "{One-sentence North Star}"
|
|
26
26
|
dates: "{MM/DD - MM/DD}"
|
|
27
27
|
status: "Achieved / Partially Achieved / Failed"
|
|
28
|
+
total_tokens_used: {N}
|
|
28
29
|
delivery_ref: "D-{NN}_{release_name}"
|
|
29
30
|
delivery_plan_ref: "product_plans/{delivery}/DELIVERY_PLAN.md"
|
|
30
31
|
---
|
|
@@ -50,12 +51,12 @@ delivery_plan_ref: "product_plans/{delivery}/DELIVERY_PLAN.md"
|
|
|
50
51
|
### Not Completed
|
|
51
52
|
> Stories that were planned but didn't make it (escalated, deferred, or partially done).
|
|
52
53
|
|
|
53
|
-
- {e.g., "STORY-001-03
|
|
54
|
+
- {e.g., "STORY-001-03-email_notifications — Escalated (template integration failed 3x)"}
|
|
54
55
|
|
|
55
56
|
### Product Docs Affected
|
|
56
57
|
> Any product documentation files modified, created, or identified for updates. Handed off to Scribe agent.
|
|
57
58
|
|
|
58
|
-
- {e.g., "
|
|
59
|
+
- {e.g., "vdocs/api_reference.md — Added rate limiting details"}
|
|
59
60
|
|
|
60
61
|
---
|
|
61
62
|
|
|
@@ -63,13 +64,13 @@ delivery_plan_ref: "product_plans/{delivery}/DELIVERY_PLAN.md"
|
|
|
63
64
|
|
|
64
65
|
| Story | Epic | Label | Final State | Bounces (QA) | Bounces (Arch) | Correction Tax |
|
|
65
66
|
|-------|------|-------|-------------|--------------|----------------|----------------|
|
|
66
|
-
| STORY-{ID}
|
|
67
|
+
| STORY-{ID}-{story_name} | EPIC-{ID} | L{N} | Done / Escalated / Parking Lot | {N} | {N} | {X}% |
|
|
67
68
|
|
|
68
69
|
### Story Highlights
|
|
69
|
-
- **
|
|
70
|
+
- **STORY-{ID}-{story_name}**: {1-sentence summary of what was built and notable decisions}
|
|
70
71
|
|
|
71
72
|
### Escalated Stories (if any)
|
|
72
|
-
- **
|
|
73
|
+
- **STORY-{ID}-{story_name}**: Escalated after {N} bounces. Root cause: {why}. Recommendation: {rewrite spec / descope / kill}.
|
|
73
74
|
|
|
74
75
|
---
|
|
75
76
|
|
|
@@ -104,13 +105,13 @@ delivery_plan_ref: "product_plans/{delivery}/DELIVERY_PLAN.md"
|
|
|
104
105
|
|
|
105
106
|
| Story | Tokens | Duration | Agent Sessions | Bounces | Cost |
|
|
106
107
|
|-------|--------|----------|----------------|---------|------|
|
|
107
|
-
| STORY-{ID} | {N} | {Xh Ym} | {N} | {N} | ${X.XX} |
|
|
108
|
+
| STORY-{ID}-{story_name} | {N} | {Xh Ym} | {N} | {N} | ${X.XX} |
|
|
108
109
|
|
|
109
110
|
### Threshold Alerts
|
|
110
111
|
> Flag any metrics that crossed warning or critical thresholds. If none, write "No threshold alerts."
|
|
111
112
|
|
|
112
|
-
- {e.g., "STORY-001-05: Correction Tax 10% (🟡) — root cause: test architecture rework due to ESM timer conflict"}
|
|
113
|
-
- {e.g., "STORY-002-03: 2 QA bounces — spec ambiguity in edge case handling"}
|
|
113
|
+
- {e.g., "STORY-001-05-test_arch: Correction Tax 10% (🟡) — root cause: test architecture rework due to ESM timer conflict"}
|
|
114
|
+
- {e.g., "STORY-002-03-edge_cases: 2 QA bounces — spec ambiguity in edge case handling"}
|
|
114
115
|
|
|
115
116
|
---
|
|
116
117
|
|
|
@@ -120,7 +121,7 @@ delivery_plan_ref: "product_plans/{delivery}/DELIVERY_PLAN.md"
|
|
|
120
121
|
|
|
121
122
|
| Source | Lesson | Approved? |
|
|
122
123
|
|--------|--------|-----------|
|
|
123
|
-
| STORY-{ID} Dev Report | {What happened and proposed rule} | Pending / Yes / No |
|
|
124
|
+
| STORY-{ID}-{story_name} Dev Report | {What happened and proposed rule} | Pending / Yes / No |
|
|
124
125
|
|
|
125
126
|
---
|
|
126
127
|
|
|
@@ -135,17 +136,55 @@ delivery_plan_ref: "product_plans/{delivery}/DELIVERY_PLAN.md"
|
|
|
135
136
|
### What Didn't Go Well
|
|
136
137
|
> Problems encountered, root causes, and impact on the sprint.
|
|
137
138
|
|
|
138
|
-
- {e.g., "STORY-001-03 escalated because the spec was ambiguous — 3 QA bounces wasted"}
|
|
139
|
-
- {e.g., "Merge conflict on STORY-002-01 required a fix story — cost an extra half-day"}
|
|
139
|
+
- {e.g., "STORY-001-03-api_spec escalated because the spec was ambiguous — 3 QA bounces wasted"}
|
|
140
|
+
- {e.g., "Merge conflict on STORY-002-01-database required a fix story — cost an extra half-day"}
|
|
140
141
|
|
|
141
|
-
###
|
|
142
|
-
>
|
|
142
|
+
### Framework Self-Assessment
|
|
143
|
+
> Aggregated from agent Process Feedback sections. Categorized by area of the V-Bounce framework.
|
|
144
|
+
> Severity: **Friction** (slowed work) or **Blocker** (required workaround).
|
|
145
|
+
> These feed the `improve` skill for framework evolution.
|
|
143
146
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
147
|
+
#### Templates
|
|
148
|
+
> Template sections that were confusing, incomplete, had unused fields, or were missing critical information.
|
|
149
|
+
|
|
150
|
+
| Finding | Source Agent | Severity | Suggested Fix |
|
|
151
|
+
|---------|-------------|----------|---------------|
|
|
152
|
+
| {e.g., "Story §3 missing 'existing modules to reuse' field"} | Developer | Friction | {Add a reuse checklist to the story template} |
|
|
153
|
+
|
|
154
|
+
#### Agent Handoffs
|
|
155
|
+
> Information that was missing, redundant, or unclear when passed between agents via reports.
|
|
156
|
+
|
|
157
|
+
| Finding | Source Agent | Severity | Suggested Fix |
|
|
158
|
+
|---------|-------------|----------|---------------|
|
|
159
|
+
| {e.g., "Dev report didn't specify test runner — QA had to discover it"} | QA | Friction | {Add 'test_runner' to Dev report YAML frontmatter} |
|
|
160
|
+
|
|
161
|
+
#### RAG Pipeline
|
|
162
|
+
> Context quality issues — irrelevant results, missing critical context, stale embeddings.
|
|
163
|
+
|
|
164
|
+
| Finding | Source Agent | Severity | Suggested Fix |
|
|
165
|
+
|---------|-------------|----------|---------------|
|
|
166
|
+
| {e.g., "Query for 'auth constraints' returned old sprint results"} | Developer | Friction | {Add date-weighted ranking to vbounce_ask.mjs} |
|
|
167
|
+
|
|
168
|
+
#### Skills
|
|
169
|
+
> Skill instructions that were unclear, had gaps, or could be improved for better agent performance.
|
|
170
|
+
|
|
171
|
+
| Finding | Source Agent | Severity | Suggested Fix |
|
|
172
|
+
|---------|-------------|----------|---------------|
|
|
173
|
+
| {e.g., "vibe-code-review Deep Audit missing accessibility dimension"} | Architect | Friction | {Add dimension 7 to deep-audit.md} |
|
|
174
|
+
|
|
175
|
+
#### Process Flow
|
|
176
|
+
> Steps that were unnecessary, wrongly ordered, or missing for this type of work.
|
|
177
|
+
|
|
178
|
+
| Finding | Source Agent | Severity | Suggested Fix |
|
|
179
|
+
|---------|-------------|----------|---------------|
|
|
180
|
+
| {e.g., "Fast Track stories still triggered Architect pass in the checklist"} | Team Lead | Blocker | {Update agent-team SKILL.md Step 4 skip logic} |
|
|
181
|
+
|
|
182
|
+
#### Tooling & Scripts
|
|
183
|
+
> Script failures, validation gaps, or automation opportunities.
|
|
184
|
+
|
|
185
|
+
| Finding | Source Agent | Severity | Suggested Fix |
|
|
186
|
+
|---------|-------------|----------|---------------|
|
|
187
|
+
| {e.g., "validate_report.mjs doesn't check for Process Feedback section"} | Team Lead | Friction | {Add optional section validation} |
|
|
149
188
|
|
|
150
189
|
---
|
|
151
190
|
|