teamspec 3.2.0 → 4.1.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 +24 -12
- package/bin/teamspec-init.js +2 -2
- package/lib/cli.js +653 -99
- package/lib/extension-installer.js +19 -219
- package/lib/linter.js +823 -1076
- package/lib/prompt-generator.js +312 -330
- package/lib/structure-loader.js +400 -0
- package/package.json +14 -6
- package/teamspec-core/FOLDER_STRUCTURE.yml +131 -0
- package/teamspec-core/agents/AGENT_BA.md +188 -293
- package/teamspec-core/agents/AGENT_BOOTSTRAP.md +197 -102
- package/teamspec-core/agents/AGENT_DES.md +9 -8
- package/teamspec-core/agents/AGENT_DEV.md +68 -67
- package/teamspec-core/agents/AGENT_FA.md +437 -245
- package/teamspec-core/agents/AGENT_FIX.md +344 -74
- package/teamspec-core/agents/AGENT_PO.md +487 -0
- package/teamspec-core/agents/AGENT_QA.md +124 -98
- package/teamspec-core/agents/AGENT_SA.md +143 -84
- package/teamspec-core/agents/AGENT_SM.md +106 -83
- package/teamspec-core/agents/README.md +143 -93
- package/teamspec-core/copilot-instructions.md +281 -205
- package/teamspec-core/definitions/definition-of-done.md +47 -84
- package/teamspec-core/definitions/definition-of-ready.md +35 -60
- package/teamspec-core/registry.yml +898 -0
- package/teamspec-core/teamspec.yml +44 -28
- package/teamspec-core/templates/README.md +5 -5
- package/teamspec-core/templates/adr-template.md +19 -17
- package/teamspec-core/templates/bai-template.md +125 -0
- package/teamspec-core/templates/bug-report-template.md +21 -15
- package/teamspec-core/templates/business-analysis-template.md +16 -13
- package/teamspec-core/templates/decision-log-template.md +26 -22
- package/teamspec-core/templates/dev-plan-template.md +168 -0
- package/teamspec-core/templates/epic-template.md +204 -0
- package/teamspec-core/templates/feature-increment-template.md +84 -0
- package/teamspec-core/templates/feature-template.md +45 -32
- package/teamspec-core/templates/increments-index-template.md +53 -0
- package/teamspec-core/templates/product-template.yml +44 -0
- package/teamspec-core/templates/products-index-template.md +46 -0
- package/teamspec-core/templates/project-template.yml +70 -0
- package/teamspec-core/templates/ri-template.md +225 -0
- package/teamspec-core/templates/rt-template.md +104 -0
- package/teamspec-core/templates/sd-template.md +132 -0
- package/teamspec-core/templates/sdi-template.md +119 -0
- package/teamspec-core/templates/sprint-template.md +17 -15
- package/teamspec-core/templates/story-template-v4.md +202 -0
- package/teamspec-core/templates/story-template.md +48 -90
- package/teamspec-core/templates/ta-template.md +198 -0
- package/teamspec-core/templates/tai-template.md +131 -0
- package/teamspec-core/templates/tc-template.md +145 -0
- package/teamspec-core/templates/testcases-template.md +20 -17
- package/extensions/teamspec-0.1.0.vsix +0 -0
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
# Sprint {N}
|
|
2
2
|
|
|
3
|
-
<!--
|
|
3
|
+
<!--
|
|
4
4
|
⚠️ SPRINT ≠ SCOPE DEFINITION
|
|
5
|
-
|
|
5
|
+
|
|
6
6
|
This sprint is a TIME-BOXED execution snapshot.
|
|
7
|
-
|
|
7
|
+
|
|
8
8
|
RULES:
|
|
9
9
|
1. Sprint does not define scope (Features do)
|
|
10
|
-
2. Sprint does not change priority (
|
|
10
|
+
2. Sprint does not change priority (PO does)
|
|
11
11
|
3. Only SM can modify sprint contents
|
|
12
12
|
4. Scope changes require explicit Decision Log entry
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
After sprint commitment, scope changes must be logged in /decisions/
|
|
15
|
+
|
|
16
|
+
LOCATION: projects/{project-id}/sprints/sprint-{N}/
|
|
15
17
|
-->
|
|
16
18
|
|
|
17
|
-
> **Template Version**:
|
|
18
|
-
> **Last Updated**: 2026-01-
|
|
19
|
-
> **Location**: `sprints/sprint-{N}/sprint-goal.md`
|
|
19
|
+
> **Template Version**: 4.0
|
|
20
|
+
> **Last Updated**: 2026-01-11
|
|
21
|
+
> **Location**: `projects/{project-id}/sprints/sprint-{N}/sprint-goal.md`
|
|
20
22
|
|
|
21
23
|
---
|
|
22
24
|
|
|
@@ -60,8 +62,8 @@
|
|
|
60
62
|
|
|
61
63
|
> ⚠️ After commitment, any scope change requires:
|
|
62
64
|
> 1. SM to facilitate discussion
|
|
63
|
-
> 2.
|
|
64
|
-
> 3. Decision logged in /decisions/
|
|
65
|
+
> 2. PO to approve scope change
|
|
66
|
+
> 3. Decision logged in /decisions/dec-{PRX}-{NNN}.md
|
|
65
67
|
> 4. Story removed/added with explicit note
|
|
66
68
|
|
|
67
69
|
---
|
|
@@ -72,7 +74,7 @@
|
|
|
72
74
|
|
|
73
75
|
| Story ID | Title | Points | Dev Plan | Owner | Status |
|
|
74
76
|
|----------|-------|--------|----------|-------|--------|
|
|
75
|
-
| [
|
|
77
|
+
| [s-e{EEE}-{SSS}](../stories/in-progress/s-e{EEE}-{SSS}-*.md) | {Title} | {N} | [dp-e{EEE}-s{SSS}](../dev-plans/dp-e{EEE}-s{SSS}-*.md) | @dev | ⚪ Not Started |
|
|
76
78
|
|
|
77
79
|
> ⚠️ All committed stories must have a Dev Plan before implementation starts.
|
|
78
80
|
|
|
@@ -125,11 +127,11 @@
|
|
|
125
127
|
|
|
126
128
|
## Canon Sync Verification
|
|
127
129
|
|
|
128
|
-
> ⚠️ Before sprint close, verify Feature
|
|
130
|
+
> ⚠️ Before sprint close, verify Feature-Increments TO-BE sections are complete for all behavior-changing stories.
|
|
129
131
|
|
|
130
|
-
| Story | Impact Type |
|
|
131
|
-
|
|
132
|
-
|
|
|
132
|
+
| Story | FI | Impact Type | FI TO-BE Complete? | FA Verified |
|
|
133
|
+
|-------|-----|-------------|-------------------|-------------|
|
|
134
|
+
| s-e{EEE}-{SSS} | fi-{PRX}-{NNN} | Adds/Changes | [ ] | [ ] |
|
|
133
135
|
|
|
134
136
|
---
|
|
135
137
|
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
# Story: `s-eXXX-YYY-description`
|
|
2
|
+
|
|
3
|
+
<!--
|
|
4
|
+
⚠️ TEAMSPEC 4.0 STORY TEMPLATE
|
|
5
|
+
|
|
6
|
+
Stories in 4.0 are linked to Epics via filename.
|
|
7
|
+
Filename pattern: s-eXXX-YYY-description.md
|
|
8
|
+
|
|
9
|
+
RULES:
|
|
10
|
+
- Story filename MUST include Epic ID (eXXX)
|
|
11
|
+
- YYY is the story sequence within the Epic
|
|
12
|
+
- Stories describe DELTAS, not full behavior
|
|
13
|
+
|
|
14
|
+
TEAMSPEC RULES ENFORCED:
|
|
15
|
+
- TS-STORY-006: Story must link to Epic (via filename)
|
|
16
|
+
- TS-STORY-007: Linked Epic must exist
|
|
17
|
+
- TS-STORY-002: Delta-only format required
|
|
18
|
+
- TS-STORY-003: Acceptance Criteria required
|
|
19
|
+
-->
|
|
20
|
+
|
|
21
|
+
> **Template Version**: 4.0
|
|
22
|
+
> **Last Updated**: 2026-01-10
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## Metadata
|
|
27
|
+
|
|
28
|
+
| Field | Value |
|
|
29
|
+
|-------|-------|
|
|
30
|
+
| **Story ID** | s-eXXX-YYY |
|
|
31
|
+
| **Epic** | epic-PRX-XXX |
|
|
32
|
+
| **Status** | Backlog |
|
|
33
|
+
| **Estimate** | [Points] |
|
|
34
|
+
| **Author** | [FA Name] |
|
|
35
|
+
| **Sprint** | — |
|
|
36
|
+
|
|
37
|
+
**Document Owner:** FA (Functional Analyst)
|
|
38
|
+
**Artifact Type:** Execution (Delta to Feature Canon)
|
|
39
|
+
**Lifecycle:** Sprint-bound, archived after completion
|
|
40
|
+
|
|
41
|
+
> ⚠️ **Stories start in Backlog.** Only the Scrum Master can assign stories to a sprint.
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## User Story
|
|
46
|
+
|
|
47
|
+
**As a** [Persona],
|
|
48
|
+
**I want** [Action],
|
|
49
|
+
**So that** [Benefit].
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## Linked Epic
|
|
54
|
+
|
|
55
|
+
> ⚠️ **MANDATORY**: Epic link is embedded in filename (eXXX).
|
|
56
|
+
> **TEAMSPEC RULE:** TS-STORY-006 - Epic link required (via filename)
|
|
57
|
+
|
|
58
|
+
| Epic ID | Epic Name | Product |
|
|
59
|
+
|---------|-----------|---------|
|
|
60
|
+
| [epic-PRX-XXX](../epics/epic-PRX-XXX-description.md) | [Epic Name] | [Product Name] (PRX) |
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
## Linked Feature-Increment
|
|
65
|
+
|
|
66
|
+
> Recommended: Link to the Feature-Increment this story implements.
|
|
67
|
+
|
|
68
|
+
| FI ID | Description |
|
|
69
|
+
|-------|-------------|
|
|
70
|
+
| [fi-PRX-XXX](../feature-increments/fi-PRX-XXX-description.md) | [Brief description] |
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## Feature Impact
|
|
75
|
+
|
|
76
|
+
> Describe what this story CHANGES relative to current documented behavior.
|
|
77
|
+
> **Do NOT restate full feature behavior here.**
|
|
78
|
+
|
|
79
|
+
<!-- TEAMSPEC RULE: TS-STORY-002 requires Before/After (AS-IS/TO-BE) format -->
|
|
80
|
+
|
|
81
|
+
### Impact Type
|
|
82
|
+
|
|
83
|
+
- [ ] **Adds Behavior** — New capability not currently in the feature
|
|
84
|
+
- [ ] **Changes Behavior** — Modifies existing documented behavior
|
|
85
|
+
- [ ] **Fixes Defect** — Restores behavior to match documentation (no feature update needed)
|
|
86
|
+
- [ ] **Technical Only** — Refactor/performance with no user-observable change
|
|
87
|
+
|
|
88
|
+
### AS-IS (current behavior)
|
|
89
|
+
|
|
90
|
+
<!--
|
|
91
|
+
Describe the CURRENT behavior as documented in Product Feature Canon.
|
|
92
|
+
Reference: f-PRX-XXX, Section: [section name]
|
|
93
|
+
|
|
94
|
+
Example: "Currently, users must log in with email/password (f-DIT-001, Main Flow Step 1)"
|
|
95
|
+
-->
|
|
96
|
+
|
|
97
|
+
**Reference:** f-PRX-XXX, Section: [section]
|
|
98
|
+
|
|
99
|
+
[Brief description of current behavior per Feature Canon]
|
|
100
|
+
|
|
101
|
+
### TO-BE (new behavior)
|
|
102
|
+
|
|
103
|
+
<!--
|
|
104
|
+
Describe ONLY what changes.
|
|
105
|
+
This becomes the new behavior in Feature Canon after completion.
|
|
106
|
+
|
|
107
|
+
Example: "Users can also log in with Google OAuth"
|
|
108
|
+
-->
|
|
109
|
+
|
|
110
|
+
[ONLY the delta - what changes]
|
|
111
|
+
|
|
112
|
+
> ⚠️ **FEATURE CANON RULE**
|
|
113
|
+
> If this story adds or changes behavior, the Feature-Increment TO-BE must be complete
|
|
114
|
+
> and Canon sync must happen before project closure.
|
|
115
|
+
> See: TS-DOD-003 - Product sync after deployment
|
|
116
|
+
|
|
117
|
+
---
|
|
118
|
+
|
|
119
|
+
## Sprint Assignment
|
|
120
|
+
|
|
121
|
+
<!-- TEAMSPEC RULE: TS-STORY-004 - Only SM can assign sprint -->
|
|
122
|
+
|
|
123
|
+
**Sprint:** —
|
|
124
|
+
**Assigned By:** ________________
|
|
125
|
+
**Role:** SM
|
|
126
|
+
**Date:** ________________
|
|
127
|
+
|
|
128
|
+
> ⚠️ Only the Scrum Master (SM) can assign this story to a sprint.
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
## Acceptance Criteria (AC)
|
|
133
|
+
|
|
134
|
+
> ⚠️ **MANDATORY**: AC must be present and testable.
|
|
135
|
+
> **TEAMSPEC RULE:** TS-STORY-003 - AC required
|
|
136
|
+
|
|
137
|
+
### Scenario 1: [Happy Path]
|
|
138
|
+
|
|
139
|
+
- **Given** [Context]
|
|
140
|
+
- **When** [Action]
|
|
141
|
+
- **Then** [Result]
|
|
142
|
+
|
|
143
|
+
### Scenario 2: [Edge Case]
|
|
144
|
+
|
|
145
|
+
- **Given** ...
|
|
146
|
+
- **When** ...
|
|
147
|
+
- **Then** ...
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
## Technical Notes
|
|
152
|
+
|
|
153
|
+
- **API**: [Endpoint]
|
|
154
|
+
- **DB**: [Table/Schema]
|
|
155
|
+
- **TAI**: [tai-PRX-XXX if applicable]
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
## UX & Copy
|
|
160
|
+
|
|
161
|
+
- [Figma Link]
|
|
162
|
+
- Error Messages: [List specific messages]
|
|
163
|
+
|
|
164
|
+
---
|
|
165
|
+
|
|
166
|
+
## DoR Checklist (Feature Alignment)
|
|
167
|
+
|
|
168
|
+
- [ ] Linked to Epic (via filename s-eXXX-YYY)
|
|
169
|
+
- [ ] Linked Epic exists in epics folder
|
|
170
|
+
- [ ] Linked Feature-Increment exists (if applicable)
|
|
171
|
+
- [ ] Story describes DELTA only, not full behavior
|
|
172
|
+
- [ ] Feature impact type is marked
|
|
173
|
+
- [ ] ACs map to feature behavior / business rules
|
|
174
|
+
|
|
175
|
+
## DoR Checklist (Standard)
|
|
176
|
+
|
|
177
|
+
- [ ] AC Defined (Gherkin or checklist)
|
|
178
|
+
- [ ] UX Attached (or "No UI required")
|
|
179
|
+
- [ ] Dependencies Clear
|
|
180
|
+
- [ ] Estimated
|
|
181
|
+
- [ ] Small enough for one sprint
|
|
182
|
+
|
|
183
|
+
## DoD Checklist
|
|
184
|
+
|
|
185
|
+
- [ ] Code Complete
|
|
186
|
+
- [ ] Tests Passed
|
|
187
|
+
- [ ] Feature-Increment TO-BE complete (if behavior changed)
|
|
188
|
+
- [ ] FA Accepted
|
|
189
|
+
- [ ] Story marked Done in backlog
|
|
190
|
+
|
|
191
|
+
---
|
|
192
|
+
|
|
193
|
+
## Linter Rules Enforced
|
|
194
|
+
|
|
195
|
+
| Rule | Description | Status |
|
|
196
|
+
|------|-------------|--------|
|
|
197
|
+
| TS-STORY-006 | Epic link required (via filename) | Checked on save |
|
|
198
|
+
| TS-STORY-007 | Linked Epic must exist | Checked on save |
|
|
199
|
+
| TS-STORY-002 | Delta-only format (AS-IS/TO-BE) | Checked on save |
|
|
200
|
+
| TS-STORY-003 | ACs testable | Checked on Ready |
|
|
201
|
+
| TS-STORY-004 | Sprint assignment by SM only | Checked on assignment |
|
|
202
|
+
| TS-STORY-005 | DoR complete | Checked on Ready |
|
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Story: `s-eXXX-YYY-description`
|
|
2
2
|
|
|
3
|
-
<!-- TEAMSPEC RULE: TS-STORY-002 -->
|
|
4
3
|
<!--
|
|
5
|
-
⚠️
|
|
4
|
+
⚠️ TEAMSPEC 4.0 STORY TEMPLATE
|
|
6
5
|
|
|
7
|
-
|
|
6
|
+
Stories in 4.0 are linked to Epics via filename.
|
|
7
|
+
Filename pattern: s-eXXX-YYY-description.md
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
9
|
+
RULES:
|
|
10
|
+
- Story filename MUST include Epic ID (eXXX)
|
|
11
|
+
- YYY is the story sequence within the Epic
|
|
12
|
+
- Stories describe DELTAS, not full behavior
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
14
|
+
TEAMSPEC RULES ENFORCED:
|
|
15
|
+
- TS-STORY-006: Story must link to Epic (via filename)
|
|
16
|
+
- TS-STORY-007: Linked Epic must exist
|
|
17
|
+
- TS-STORY-002: Delta-only format required
|
|
18
|
+
- TS-STORY-003: Acceptance Criteria required
|
|
18
19
|
-->
|
|
19
20
|
|
|
20
|
-
> **Template Version**:
|
|
21
|
-
> **Last Updated**: 2026-01-
|
|
21
|
+
> **Template Version**: 4.0
|
|
22
|
+
> **Last Updated**: 2026-01-10
|
|
22
23
|
|
|
23
24
|
---
|
|
24
25
|
|
|
@@ -26,7 +27,8 @@
|
|
|
26
27
|
|
|
27
28
|
| Field | Value |
|
|
28
29
|
|-------|-------|
|
|
29
|
-
| **Story ID** |
|
|
30
|
+
| **Story ID** | s-eXXX-YYY |
|
|
31
|
+
| **Epic** | epic-PRX-XXX |
|
|
30
32
|
| **Status** | Backlog |
|
|
31
33
|
| **Estimate** | [Points] |
|
|
32
34
|
| **Author** | [FA Name] |
|
|
@@ -48,34 +50,24 @@
|
|
|
48
50
|
|
|
49
51
|
---
|
|
50
52
|
|
|
51
|
-
## Linked Project
|
|
52
|
-
|
|
53
|
-
> ⚠️ **MANDATORY**: Link to the project this story belongs to.
|
|
54
|
-
|
|
55
|
-
| Project ID | Name |
|
|
56
|
-
|------------|------|
|
|
57
|
-
| [PROJECT-ID](../project.yml) | [Project Name] |
|
|
58
|
-
|
|
59
|
-
---
|
|
60
|
-
|
|
61
53
|
## Linked Epic
|
|
62
54
|
|
|
63
|
-
>
|
|
55
|
+
> ⚠️ **MANDATORY**: Epic link is embedded in filename (eXXX).
|
|
56
|
+
> **TEAMSPEC RULE:** TS-STORY-006 - Epic link required (via filename)
|
|
64
57
|
|
|
65
|
-
| Epic ID | Epic Name |
|
|
66
|
-
|
|
67
|
-
| [
|
|
58
|
+
| Epic ID | Epic Name | Product |
|
|
59
|
+
|---------|-----------|---------|
|
|
60
|
+
| [epic-PRX-XXX](../epics/epic-PRX-XXX-description.md) | [Epic Name] | [Product Name] (PRX) |
|
|
68
61
|
|
|
69
62
|
---
|
|
70
63
|
|
|
71
|
-
## Linked Feature
|
|
64
|
+
## Linked Feature-Increment
|
|
72
65
|
|
|
73
|
-
>
|
|
74
|
-
> **TEAMSPEC RULE:** TS-STORY-001 - Feature link required
|
|
66
|
+
> Recommended: Link to the Feature-Increment this story implements.
|
|
75
67
|
|
|
76
|
-
|
|
|
77
|
-
|
|
78
|
-
| [
|
|
68
|
+
| FI ID | Description |
|
|
69
|
+
|-------|-------------|
|
|
70
|
+
| [fi-PRX-XXX](../feature-increments/fi-PRX-XXX-description.md) | [Brief description] |
|
|
79
71
|
|
|
80
72
|
---
|
|
81
73
|
|
|
@@ -84,7 +76,7 @@
|
|
|
84
76
|
> Describe what this story CHANGES relative to current documented behavior.
|
|
85
77
|
> **Do NOT restate full feature behavior here.**
|
|
86
78
|
|
|
87
|
-
<!-- TEAMSPEC RULE: TS-STORY-002 requires Before/After format -->
|
|
79
|
+
<!-- TEAMSPEC RULE: TS-STORY-002 requires Before/After (AS-IS/TO-BE) format -->
|
|
88
80
|
|
|
89
81
|
### Impact Type
|
|
90
82
|
|
|
@@ -93,20 +85,20 @@
|
|
|
93
85
|
- [ ] **Fixes Defect** — Restores behavior to match documentation (no feature update needed)
|
|
94
86
|
- [ ] **Technical Only** — Refactor/performance with no user-observable change
|
|
95
87
|
|
|
96
|
-
###
|
|
88
|
+
### AS-IS (current behavior)
|
|
97
89
|
|
|
98
90
|
<!--
|
|
99
|
-
Describe the CURRENT behavior as documented in Feature Canon.
|
|
100
|
-
Reference:
|
|
91
|
+
Describe the CURRENT behavior as documented in Product Feature Canon.
|
|
92
|
+
Reference: f-PRX-XXX, Section: [section name]
|
|
101
93
|
|
|
102
|
-
Example: "Currently, users must log in with email/password (
|
|
94
|
+
Example: "Currently, users must log in with email/password (f-DIT-001, Main Flow Step 1)"
|
|
103
95
|
-->
|
|
104
96
|
|
|
105
|
-
**Reference:**
|
|
97
|
+
**Reference:** f-PRX-XXX, Section: [section]
|
|
106
98
|
|
|
107
99
|
[Brief description of current behavior per Feature Canon]
|
|
108
100
|
|
|
109
|
-
###
|
|
101
|
+
### TO-BE (new behavior)
|
|
110
102
|
|
|
111
103
|
<!--
|
|
112
104
|
Describe ONLY what changes.
|
|
@@ -118,8 +110,9 @@
|
|
|
118
110
|
[ONLY the delta - what changes]
|
|
119
111
|
|
|
120
112
|
> ⚠️ **FEATURE CANON RULE**
|
|
121
|
-
> If this story adds or changes behavior, the Feature
|
|
122
|
-
>
|
|
113
|
+
> If this story adds or changes behavior, the Feature-Increment TO-BE must be complete
|
|
114
|
+
> and Canon sync must happen before project closure.
|
|
115
|
+
> See: TS-DOD-003 - Product sync after deployment
|
|
123
116
|
|
|
124
117
|
---
|
|
125
118
|
|
|
@@ -136,33 +129,16 @@
|
|
|
136
129
|
|
|
137
130
|
---
|
|
138
131
|
|
|
139
|
-
## Decision References
|
|
140
|
-
|
|
141
|
-
_Business decisions that drove this story's existence or scope._
|
|
142
|
-
|
|
143
|
-
> **When Required**: If this story has "Adds Behavior" or "Changes Behavior" impact, it MUST either:
|
|
144
|
-
>
|
|
145
|
-
> - Reference at least one DEC ID, OR
|
|
146
|
-
> - Explicitly check "No new business decision required" below
|
|
147
|
-
|
|
148
|
-
| Decision ID | Summary | Impact on This Story |
|
|
149
|
-
|-------------|---------|----------------------|
|
|
150
|
-
| [DEC-XXX](../decisions/DEC-XXX-*.md) | [One-line summary] | [Why this story exists / what changed] |
|
|
151
|
-
|
|
152
|
-
- [ ] **No new business decision required** (for stories without scope/behavior decisions)
|
|
153
|
-
|
|
154
|
-
---
|
|
155
|
-
|
|
156
132
|
## Acceptance Criteria (AC)
|
|
157
133
|
|
|
158
|
-
> AC must
|
|
134
|
+
> ⚠️ **MANDATORY**: AC must be present and testable.
|
|
135
|
+
> **TEAMSPEC RULE:** TS-STORY-003 - AC required
|
|
159
136
|
|
|
160
137
|
### Scenario 1: [Happy Path]
|
|
161
138
|
|
|
162
139
|
- **Given** [Context]
|
|
163
140
|
- **When** [Action]
|
|
164
141
|
- **Then** [Result]
|
|
165
|
-
- **Feature Rule**: [BR-XXX if applicable]
|
|
166
142
|
|
|
167
143
|
### Scenario 2: [Edge Case]
|
|
168
144
|
|
|
@@ -176,7 +152,7 @@ _Business decisions that drove this story's existence or scope._
|
|
|
176
152
|
|
|
177
153
|
- **API**: [Endpoint]
|
|
178
154
|
- **DB**: [Table/Schema]
|
|
179
|
-
- **
|
|
155
|
+
- **TAI**: [tai-PRX-XXX if applicable]
|
|
180
156
|
|
|
181
157
|
---
|
|
182
158
|
|
|
@@ -187,31 +163,14 @@ _Business decisions that drove this story's existence or scope._
|
|
|
187
163
|
|
|
188
164
|
---
|
|
189
165
|
|
|
190
|
-
## FA Acceptance Gate
|
|
191
|
-
|
|
192
|
-
> This story must be reviewed by FA before moving to Ready for Development.
|
|
193
|
-
|
|
194
|
-
| Check | Status | FA Initials |
|
|
195
|
-
|-------|--------|-------------|
|
|
196
|
-
| Story describes delta only | [ ] | |
|
|
197
|
-
| Feature link is correct | [ ] | |
|
|
198
|
-
| ACs reference Feature Canon | [ ] | |
|
|
199
|
-
| No full behavior restatement | [ ] | |
|
|
200
|
-
|
|
201
|
-
**FA Approved:** [ ] Yes
|
|
202
|
-
**FA Name:** ________________
|
|
203
|
-
**Date:** ________________
|
|
204
|
-
|
|
205
|
-
---
|
|
206
|
-
|
|
207
166
|
## DoR Checklist (Feature Alignment)
|
|
208
167
|
|
|
209
|
-
- [ ] Linked to
|
|
210
|
-
- [ ]
|
|
168
|
+
- [ ] Linked to Epic (via filename s-eXXX-YYY)
|
|
169
|
+
- [ ] Linked Epic exists in epics folder
|
|
170
|
+
- [ ] Linked Feature-Increment exists (if applicable)
|
|
211
171
|
- [ ] Story describes DELTA only, not full behavior
|
|
212
172
|
- [ ] Feature impact type is marked
|
|
213
173
|
- [ ] ACs map to feature behavior / business rules
|
|
214
|
-
- [ ] Open questions tracked at feature level (not here)
|
|
215
174
|
|
|
216
175
|
## DoR Checklist (Standard)
|
|
217
176
|
|
|
@@ -225,10 +184,9 @@ _Business decisions that drove this story's existence or scope._
|
|
|
225
184
|
|
|
226
185
|
- [ ] Code Complete
|
|
227
186
|
- [ ] Tests Passed
|
|
228
|
-
- [ ]
|
|
229
|
-
- [ ] Feature Change Log entry added
|
|
230
|
-
- [ ] Story Ledger updated
|
|
187
|
+
- [ ] Feature-Increment TO-BE complete (if behavior changed)
|
|
231
188
|
- [ ] FA Accepted
|
|
189
|
+
- [ ] Story marked Done in backlog
|
|
232
190
|
|
|
233
191
|
---
|
|
234
192
|
|
|
@@ -236,9 +194,9 @@ _Business decisions that drove this story's existence or scope._
|
|
|
236
194
|
|
|
237
195
|
| Rule | Description | Status |
|
|
238
196
|
|------|-------------|--------|
|
|
239
|
-
| TS-STORY-
|
|
240
|
-
| TS-STORY-
|
|
197
|
+
| TS-STORY-006 | Epic link required (via filename) | Checked on save |
|
|
198
|
+
| TS-STORY-007 | Linked Epic must exist | Checked on save |
|
|
199
|
+
| TS-STORY-002 | Delta-only format (AS-IS/TO-BE) | Checked on save |
|
|
241
200
|
| TS-STORY-003 | ACs testable | Checked on Ready |
|
|
242
201
|
| TS-STORY-004 | Sprint assignment by SM only | Checked on assignment |
|
|
243
202
|
| TS-STORY-005 | DoR complete | Checked on Ready |
|
|
244
|
-
| TS-DOD-001 | Canon sync | Checked on Done |
|