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,69 +1,85 @@
|
|
|
1
1
|
# TeamSpec Configuration
|
|
2
|
-
# Version:
|
|
2
|
+
# Version: 4.0.0
|
|
3
3
|
|
|
4
|
-
version: "
|
|
5
|
-
name: "TeamSpec
|
|
4
|
+
version: "4.0"
|
|
5
|
+
name: "TeamSpec Product-Canon Operating Model"
|
|
6
6
|
|
|
7
7
|
# Core principles
|
|
8
8
|
principles:
|
|
9
|
-
-
|
|
9
|
+
- Product Canon is the source of truth for production behavior (AS-IS)
|
|
10
|
+
- Feature-Increments propose changes to products (TO-BE)
|
|
10
11
|
- Stories describe deltas (changes), not full behavior
|
|
12
|
+
- Canon is updated ONLY after deployment via ts:po sync
|
|
11
13
|
- Structural artifacts require explicit creation commands
|
|
12
14
|
- Each role has clear ownership boundaries
|
|
13
15
|
|
|
14
16
|
# Folder structure reference
|
|
15
17
|
structure:
|
|
16
18
|
teamspec_root: ".teamspec"
|
|
17
|
-
|
|
19
|
+
products_root: "products/{product-id}"
|
|
20
|
+
projects_root: "projects/{project-id}"
|
|
18
21
|
|
|
19
|
-
|
|
20
|
-
features: "
|
|
22
|
+
product_folders:
|
|
23
|
+
features: "products/{product-id}/features"
|
|
24
|
+
business_analysis: "products/{product-id}/business-analysis"
|
|
25
|
+
solution_designs: "products/{product-id}/solution-designs"
|
|
26
|
+
technical_architecture: "products/{product-id}/technical-architecture"
|
|
27
|
+
decisions: "products/{product-id}/decisions"
|
|
28
|
+
regression_tests: "products/{product-id}/qa/regression-tests"
|
|
29
|
+
|
|
30
|
+
project_folders:
|
|
31
|
+
feature_increments: "projects/{project-id}/feature-increments"
|
|
32
|
+
epics: "projects/{project-id}/epics"
|
|
21
33
|
stories: "projects/{project-id}/stories"
|
|
22
|
-
adr: "projects/{project-id}/adr"
|
|
23
|
-
decisions: "projects/{project-id}/decisions"
|
|
24
34
|
dev_plans: "projects/{project-id}/dev-plans"
|
|
25
|
-
|
|
35
|
+
test_cases: "projects/{project-id}/qa/test-cases"
|
|
36
|
+
bug_reports: "projects/{project-id}/qa/bug-reports"
|
|
26
37
|
sprints: "projects/{project-id}/sprints"
|
|
27
|
-
epics: "projects/{project-id}/epics"
|
|
28
38
|
|
|
29
39
|
# Role definitions
|
|
30
40
|
roles:
|
|
41
|
+
PO:
|
|
42
|
+
name: "Product Owner"
|
|
43
|
+
owns:
|
|
44
|
+
- "Products (product.yml, structure)"
|
|
45
|
+
- "Projects (project.yml, scope)"
|
|
46
|
+
- "Product Canon (approval authority)"
|
|
47
|
+
- "Canon sync execution"
|
|
31
48
|
BA:
|
|
32
49
|
name: "Business Analyst"
|
|
33
50
|
owns:
|
|
34
|
-
- "
|
|
35
|
-
- "
|
|
36
|
-
- "Feature Canon: Purpose & Scope section"
|
|
51
|
+
- "Business Analysis artifacts"
|
|
52
|
+
- "Domain knowledge documentation"
|
|
37
53
|
FA:
|
|
38
54
|
name: "Functional Analyst"
|
|
39
55
|
owns:
|
|
40
|
-
- "
|
|
41
|
-
- "
|
|
42
|
-
- "
|
|
43
|
-
- "
|
|
56
|
+
- "Features (f-PRX-*.md)"
|
|
57
|
+
- "Feature-Increments (fi-PRX-*.md)"
|
|
58
|
+
- "Epics (epic-PRX-*.md)"
|
|
59
|
+
- "Stories (s-eXXX-YYY-*.md)"
|
|
44
60
|
SA:
|
|
45
61
|
name: "Solution Architect"
|
|
46
62
|
owns:
|
|
47
|
-
- "
|
|
48
|
-
- "Architecture
|
|
63
|
+
- "Solution Designs"
|
|
64
|
+
- "Technical Architecture"
|
|
65
|
+
- "ADRs"
|
|
49
66
|
DEV:
|
|
50
67
|
name: "Developer"
|
|
51
68
|
owns:
|
|
52
69
|
- "Implementation"
|
|
53
|
-
- "
|
|
70
|
+
- "Dev plans (dp-eXXX-sYYY-*.md)"
|
|
54
71
|
QA:
|
|
55
|
-
name: "
|
|
72
|
+
name: "QA Engineer"
|
|
56
73
|
owns:
|
|
57
|
-
- "
|
|
74
|
+
- "Project test cases (tc-fi-PRX-*.md)"
|
|
75
|
+
- "Product regression tests (rt-f-PRX-*.md)"
|
|
58
76
|
- "Bug reports"
|
|
59
|
-
- "UAT packs"
|
|
60
77
|
SM:
|
|
61
78
|
name: "Scrum Master"
|
|
62
79
|
owns:
|
|
63
|
-
- "Sprint
|
|
64
|
-
- "
|
|
80
|
+
- "Sprint operations"
|
|
81
|
+
- "Deployment checklist"
|
|
65
82
|
DES:
|
|
66
83
|
name: "Designer"
|
|
67
84
|
owns:
|
|
68
|
-
- "UI
|
|
69
|
-
- "Design system"
|
|
85
|
+
- "UX/UI design artifacts"
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
# TeamSpec
|
|
1
|
+
# TeamSpec 4.0 Templates
|
|
2
2
|
|
|
3
|
-
> **Version:**
|
|
4
|
-
> **Last Updated:** 2026-01-
|
|
5
|
-
> **Purpose:** Aligned templates for
|
|
3
|
+
> **Version:** 4.0
|
|
4
|
+
> **Last Updated:** 2026-01-11
|
|
5
|
+
> **Purpose:** Aligned templates for Product-Canon operating model
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## Overview
|
|
10
10
|
|
|
11
|
-
These templates are designed for the TeamSpec
|
|
11
|
+
These templates are designed for the TeamSpec 4.0 Product-Canon operating model. Each template:
|
|
12
12
|
|
|
13
13
|
1. **Identifies its owner** — Which role creates/maintains it
|
|
14
14
|
2. **States its artifact type** — Source of Truth, Execution, Planning, or Operational
|
|
@@ -1,28 +1,30 @@
|
|
|
1
1
|
# ADR-XXX: [Decision Title]
|
|
2
2
|
|
|
3
|
-
<!--
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
3
|
+
<!--
|
|
4
|
+
⛔ DEPRECATED TEMPLATE - DO NOT USE
|
|
5
|
+
|
|
6
|
+
This template is DEPRECATED as of TeamSpec 4.0.
|
|
7
|
+
|
|
8
|
+
USE INSTEAD: ta-template.md (Technical Architecture)
|
|
9
|
+
|
|
10
|
+
REASON: TeamSpec 4.0 renamed "ADR" to "Technical Architecture" (TA)
|
|
11
|
+
- Artifact naming: ta-{PRX}-{NNN}-{description}.md
|
|
12
|
+
- Commands: ts:sa ta (not ts:sa adr)
|
|
13
|
+
|
|
14
|
+
The commands ts:sa design and ts:sa adr were REMOVED in 4.0.
|
|
15
|
+
See: spec/4.0/registry.yml commands section (REMOVED commands)
|
|
16
|
+
|
|
17
|
+
See: spec/4.0/registry.yml for correct artifact patterns
|
|
17
18
|
-->
|
|
18
19
|
|
|
19
|
-
> **Template Version**: 2.0
|
|
20
|
+
> **Template Version**: 2.0 (DEPRECATED)
|
|
20
21
|
> **Last Updated**: 2026-01-07
|
|
22
|
+
> **Status**: ⛔ DEPRECATED - Use ta-template.md instead
|
|
21
23
|
|
|
22
24
|
---
|
|
23
25
|
|
|
24
|
-
**Document Owner:** SA (Solution Architect)
|
|
25
|
-
**Artifact Type:** Technical Decision (
|
|
26
|
+
**Document Owner:** SA (Solution Architect)
|
|
27
|
+
**Artifact Type:** Technical Decision (DEPRECATED - use Technical Architecture)
|
|
26
28
|
**Lifecycle:** Permanent, versioned
|
|
27
29
|
|
|
28
30
|
---
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
# Business Analysis Increment: `<bai-PRX-XXX-description>`
|
|
2
|
+
|
|
3
|
+
> **ID:** bai-PRX-XXX
|
|
4
|
+
> **Product:** `<product-id>` (PRX)
|
|
5
|
+
> **Project:** `<project-id>`
|
|
6
|
+
> **Target BA:** `<ba-PRX-XXX-name>`
|
|
7
|
+
> **Target Feature:** `<f-PRX-XXX-feature-name>`
|
|
8
|
+
> **Status:** draft | proposed | approved | implemented | synced
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
**Document Owner:** BA (Business Analyst)
|
|
13
|
+
**Artifact Type:** Business Analysis Increment (Project)
|
|
14
|
+
**Lifecycle:** Project-scoped, merged to Product BA after approval
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Metadata
|
|
19
|
+
|
|
20
|
+
| Field | Value |
|
|
21
|
+
| :--- | :--- |
|
|
22
|
+
| **BAI ID** | bai-PRX-XXX |
|
|
23
|
+
| **Status** | Proposed / Accepted / Implemented / Synced |
|
|
24
|
+
| **Date** | YYYY-MM-DD |
|
|
25
|
+
| **Author** | [BA Name] |
|
|
26
|
+
| **Target BA** | [ba-PRX-XXX](../../products/PRX/business-analysis/ba-PRX-XXX-*.md) |
|
|
27
|
+
| **Feature Increment** | [fi-PRX-XXX](../feature-increments/fi-PRX-XXX-*.md) |
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## 1. Overview
|
|
32
|
+
|
|
33
|
+
_Brief description of the business analysis increment specific to this project._
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## 2. Business Context
|
|
38
|
+
|
|
39
|
+
### 2.1 Business Problem
|
|
40
|
+
|
|
41
|
+
_What business problem does this address?_
|
|
42
|
+
|
|
43
|
+
### 2.2 Stakeholders
|
|
44
|
+
|
|
45
|
+
_Who is impacted by this analysis?_
|
|
46
|
+
|
|
47
|
+
### 2.3 Business Goals
|
|
48
|
+
|
|
49
|
+
_What are we trying to achieve?_
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## 3. AS-IS (Current Product BA)
|
|
54
|
+
|
|
55
|
+
> _Auto-populated from Product Business Analysis. DO NOT EDIT unless correcting errors._
|
|
56
|
+
|
|
57
|
+
_Copy relevant sections from the Product BA._
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## 4. TO-BE (Project Business Analysis)
|
|
62
|
+
|
|
63
|
+
### 4.1 New/Changed Business Capabilities
|
|
64
|
+
|
|
65
|
+
_Describe what the project-specific analysis includes that product analysis doesn't._
|
|
66
|
+
|
|
67
|
+
### 4.2 Success Metrics
|
|
68
|
+
|
|
69
|
+
| Metric | Baseline | Target | Timeline |
|
|
70
|
+
|--------|----------|--------|----------|
|
|
71
|
+
| [Metric 1] | [Current] | [Goal] | [Timeline] |
|
|
72
|
+
| [Metric 2] | [Current] | [Goal] | [Timeline] |
|
|
73
|
+
|
|
74
|
+
### 4.3 Out of Scope
|
|
75
|
+
|
|
76
|
+
_Explicitly state what this increment does NOT include._
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## 5. Impact Analysis
|
|
81
|
+
|
|
82
|
+
### 5.1 Affected Stakeholders
|
|
83
|
+
|
|
84
|
+
| Stakeholder | Impact | Notes |
|
|
85
|
+
|-------------|--------|-------|
|
|
86
|
+
| [Stakeholder 1] | [Impact] | [Notes] |
|
|
87
|
+
| [Stakeholder 2] | [Impact] | [Notes] |
|
|
88
|
+
|
|
89
|
+
### 5.2 Organizational Impact
|
|
90
|
+
|
|
91
|
+
_How this change affects business processes and operations._
|
|
92
|
+
|
|
93
|
+
### 5.3 Dependencies
|
|
94
|
+
|
|
95
|
+
_Other initiatives or decisions this depends on._
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## 6. Integration Notes
|
|
100
|
+
|
|
101
|
+
### 6.1 Product BA Alignment
|
|
102
|
+
|
|
103
|
+
_How this project BAI aligns with or extends the product BA._
|
|
104
|
+
|
|
105
|
+
### 6.2 Merge Strategy
|
|
106
|
+
|
|
107
|
+
_How this BAI will be merged back to Product BA after project completion._
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## 7. Review & Approval
|
|
112
|
+
|
|
113
|
+
| Role | Name | Status | Date |
|
|
114
|
+
|------|------|--------|------|
|
|
115
|
+
| BA (Author) | [Name] | ✅ | YYYY-MM-DD |
|
|
116
|
+
| PO | [Name] | ⏳ | |
|
|
117
|
+
| FA | [Name] | ⏳ | |
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## Change Log
|
|
122
|
+
|
|
123
|
+
| Date | Author | Change |
|
|
124
|
+
|------|--------|--------|
|
|
125
|
+
| YYYY-MM-DD | @author | Initial draft |
|
|
@@ -1,26 +1,29 @@
|
|
|
1
|
-
# Bug:
|
|
1
|
+
# Bug Report: `bug-{project-id}-{NNN}-{description}`
|
|
2
2
|
|
|
3
|
-
<!--
|
|
3
|
+
<!--
|
|
4
4
|
⚠️ BUG CLASSIFICATION IS MANDATORY
|
|
5
|
-
|
|
5
|
+
|
|
6
6
|
When reporting bugs, you MUST classify whether the issue is:
|
|
7
7
|
- Implementation defect (code doesn't match Canon)
|
|
8
8
|
- Feature Canon wrong (Canon doesn't match business intent)
|
|
9
9
|
- Undocumented behavior (neither covers this case)
|
|
10
|
-
|
|
10
|
+
|
|
11
11
|
Classification determines who fixes what.
|
|
12
|
-
|
|
12
|
+
|
|
13
|
+
NAMING PATTERN: bug-{project-id}-{NNN}-{description}.md
|
|
14
|
+
EXAMPLE: bug-q1-auth-042-oauth-timeout.md
|
|
15
|
+
|
|
13
16
|
TEAMSPEC RULES ENFORCED:
|
|
14
17
|
- TS-QA-002: Bug classification required (exactly one)
|
|
15
18
|
-->
|
|
16
19
|
|
|
17
|
-
> **Template Version**:
|
|
18
|
-
> **Last Updated**: 2026-01-
|
|
20
|
+
> **Template Version**: 4.0
|
|
21
|
+
> **Last Updated**: 2026-01-11
|
|
19
22
|
|
|
20
23
|
---
|
|
21
24
|
|
|
22
|
-
**Document Owner:** QA (QA Engineer)
|
|
23
|
-
**Artifact Type:**
|
|
25
|
+
**Document Owner:** QA (QA Engineer)
|
|
26
|
+
**Artifact Type:** Bug Report (Project-scoped)
|
|
24
27
|
**Lifecycle:** Open → Resolved → Closed
|
|
25
28
|
|
|
26
29
|
---
|
|
@@ -29,7 +32,9 @@
|
|
|
29
32
|
|
|
30
33
|
| Field | Value |
|
|
31
34
|
| :--- | :--- |
|
|
32
|
-
| **Bug ID** |
|
|
35
|
+
| **Bug ID** | bug-{project-id}-{NNN} |
|
|
36
|
+
| **Project** | {project-id} |
|
|
37
|
+
| **Product** | {product-id} ({PRX}) |
|
|
33
38
|
| **Severity** | Critical / High / Medium / Low |
|
|
34
39
|
| **Priority** | P1 / P2 / P3 / P4 |
|
|
35
40
|
| **Environment** | Staging / Dev / Production |
|
|
@@ -61,7 +66,7 @@
|
|
|
61
66
|
|
|
62
67
|
> What should happen (reference Feature Canon if applicable).
|
|
63
68
|
|
|
64
|
-
**Feature Canon Reference:** [
|
|
69
|
+
**Feature Canon Reference:** [f-{PRX}-{NNN}](../../products/{product-id}/features/f-{PRX}-{NNN}-*.md), Section: [Section Name]
|
|
65
70
|
|
|
66
71
|
[What the system should do according to Feature Canon]
|
|
67
72
|
|
|
@@ -143,16 +148,17 @@ Is the behavior documented in Feature Canon?
|
|
|
143
148
|
|
|
144
149
|
| Feature | Section | Expected Behavior |
|
|
145
150
|
|---------|---------|-------------------|
|
|
146
|
-
| [
|
|
151
|
+
| [f-{PRX}-{NNN}](../../products/{product-id}/features/f-{PRX}-{NNN}-*.md) | [Section] | [Brief description from Canon] |
|
|
147
152
|
|
|
148
153
|
---
|
|
149
154
|
|
|
150
|
-
## Related
|
|
155
|
+
## Related Artifacts
|
|
151
156
|
|
|
152
157
|
| ID | Type | Relationship |
|
|
153
158
|
|----|------|--------------|
|
|
154
|
-
| [
|
|
155
|
-
| [
|
|
159
|
+
| [s-e{EEE}-{SSS}](../stories/**/s-e{EEE}-{SSS}-*.md) | Story | Introduced behavior |
|
|
160
|
+
| [fi-{PRX}-{NNN}](../feature-increments/fi-{PRX}-{NNN}-*.md) | Feature-Increment | Related FI |
|
|
161
|
+
| [bug-{project-id}-{NNN}](./bug-{project-id}-{NNN}-*.md) | Bug | Related issue |
|
|
156
162
|
|
|
157
163
|
---
|
|
158
164
|
|
|
@@ -1,26 +1,29 @@
|
|
|
1
|
-
# Business Analysis
|
|
1
|
+
# Business Analysis: `ba-{PRX}-{NNN}-{description}`
|
|
2
2
|
|
|
3
|
-
<!--
|
|
3
|
+
<!--
|
|
4
4
|
⚠️ THIS IS A PLANNING ARTIFACT, NOT SOURCE OF TRUTH
|
|
5
|
-
|
|
5
|
+
|
|
6
6
|
This Business Analysis document captures analysis and decisions
|
|
7
7
|
during the planning phase.
|
|
8
|
-
|
|
8
|
+
|
|
9
9
|
SOURCE OF TRUTH:
|
|
10
|
-
- For current system behavior → Feature Canon (
|
|
11
|
-
- For business decisions → Decision Log (
|
|
12
|
-
|
|
10
|
+
- For current system behavior → Feature Canon (f-{PRX}-{NNN}.md)
|
|
11
|
+
- For business decisions → Decision Log (dec-{PRX}-{NNN}.md)
|
|
12
|
+
|
|
13
13
|
This document becomes HISTORICAL after Feature Canon is created.
|
|
14
|
+
|
|
15
|
+
NAMING PATTERN: ba-{PRX}-{NNN}-{description}.md
|
|
16
|
+
EXAMPLE: ba-ACME-001-checkout-process.md
|
|
14
17
|
-->
|
|
15
18
|
|
|
16
|
-
> **Template Version**:
|
|
17
|
-
> **Last Updated**: 2026-01-
|
|
19
|
+
> **Template Version**: 4.0
|
|
20
|
+
> **Last Updated**: 2026-01-11
|
|
18
21
|
|
|
19
22
|
---
|
|
20
23
|
|
|
21
|
-
**Document Owner:** BA (Business Analyst)
|
|
22
|
-
**Artifact Type:**
|
|
23
|
-
**Lifecycle:**
|
|
24
|
+
**Document Owner:** BA (Business Analyst)
|
|
25
|
+
**Artifact Type:** Business Analysis (Product Canon)
|
|
26
|
+
**Lifecycle:** Permanent, updated via bai-* increments
|
|
24
27
|
|
|
25
28
|
| Metadata | Details |
|
|
26
29
|
| :--- | :--- |
|
|
@@ -61,7 +64,7 @@
|
|
|
61
64
|
|
|
62
65
|
| Feature ID | Feature Name | Status | Link |
|
|
63
66
|
|------------|--------------|--------|------|
|
|
64
|
-
| [
|
|
67
|
+
| [f-{PRX}-{NNN}](../features/f-{PRX}-{NNN}-*.md) | [Feature Name] | Draft / Active | |
|
|
65
68
|
|
|
66
69
|
---
|
|
67
70
|
|
|
@@ -1,27 +1,30 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Decision: `dec-{PRX}-{NNN}-{description}`
|
|
2
2
|
|
|
3
|
-
<!--
|
|
3
|
+
<!--
|
|
4
4
|
⚠️ DECISION LOG RULES
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
|
|
6
|
+
Product-level business decisions must be logged and linked to affected features.
|
|
7
|
+
|
|
8
8
|
RULES:
|
|
9
9
|
1. Decisions must link to at least one feature
|
|
10
|
-
2.
|
|
10
|
+
2. PO owns product decisions (not BA)
|
|
11
11
|
3. Decisions that affect scope require feature review
|
|
12
12
|
4. Cross-feature decisions require SA acknowledgment
|
|
13
|
-
|
|
13
|
+
|
|
14
|
+
NAMING PATTERN: dec-{PRX}-{NNN}-{description}.md
|
|
15
|
+
EXAMPLE: dec-ACME-001-payment-provider.md
|
|
16
|
+
|
|
14
17
|
TEAMSPEC RULES ENFORCED:
|
|
15
18
|
- TS-DEC-001: Decision must link to features
|
|
16
19
|
-->
|
|
17
20
|
|
|
18
|
-
> **Template Version**:
|
|
19
|
-
> **Last Updated**: 2026-01-
|
|
21
|
+
> **Template Version**: 4.0
|
|
22
|
+
> **Last Updated**: 2026-01-11
|
|
20
23
|
|
|
21
24
|
---
|
|
22
25
|
|
|
23
|
-
**Document Owner:**
|
|
24
|
-
**Artifact Type:**
|
|
26
|
+
**Document Owner:** PO (Product Owner)
|
|
27
|
+
**Artifact Type:** Product Decision (Canonical)
|
|
25
28
|
**Lifecycle:** Permanent
|
|
26
29
|
|
|
27
30
|
---
|
|
@@ -30,16 +33,17 @@
|
|
|
30
33
|
|
|
31
34
|
| Field | Value |
|
|
32
35
|
|-------|-------|
|
|
33
|
-
| **Decision ID** |
|
|
36
|
+
| **Decision ID** | dec-{PRX}-{NNN} |
|
|
37
|
+
| **Product** | {product-id} ({PRX}) |
|
|
34
38
|
| **Date Proposed** | YYYY-MM-DD |
|
|
35
39
|
| **Date Confirmed** | YYYY-MM-DD (or "Pending") |
|
|
36
|
-
| **Decision Owner
|
|
40
|
+
| **Decision Owner** | PO (Product Owner) |
|
|
37
41
|
| **Facilitator** | [BA Name] |
|
|
38
42
|
| **Status** | Proposed / Confirmed / Superseded |
|
|
39
43
|
| **Type** | Reversible / Costly / Irreversible |
|
|
40
44
|
| **Severity** | Minor / Major / Critical |
|
|
41
45
|
| **Scope** | Feature / Cross-Feature / Product |
|
|
42
|
-
| **Superseded By** | [
|
|
46
|
+
| **Superseded By** | [dec-{PRX}-{NNN} if applicable] |
|
|
43
47
|
|
|
44
48
|
---
|
|
45
49
|
|
|
@@ -86,7 +90,7 @@ _What did we decide? State explicitly and unambiguously._
|
|
|
86
90
|
|
|
87
91
|
| Feature ID | Feature Name | Impact Description |
|
|
88
92
|
|------------|--------------|-------------------|
|
|
89
|
-
| [
|
|
93
|
+
| [f-{PRX}-{NNN}](../features/f-{PRX}-{NNN}-*.md) | [Feature Name] | [Scoped in / Scoped out / Behavior changed / Priority set] |
|
|
90
94
|
|
|
91
95
|
---
|
|
92
96
|
|
|
@@ -158,8 +162,8 @@ _What would it cost to reverse this decision later?_
|
|
|
158
162
|
|-------|-------|
|
|
159
163
|
| **Acknowledged By** | [SA Name] |
|
|
160
164
|
| **Date** | YYYY-MM-DD |
|
|
161
|
-
| **Assessment** | No Impact / Requires
|
|
162
|
-
| **
|
|
165
|
+
| **Assessment** | No Impact / Requires TA / Approved |
|
|
166
|
+
| **TA Reference** | [ta-{PRX}-{NNN}](../technical-architecture/ta-{PRX}-{NNN}-*.md) (if required) |
|
|
163
167
|
|
|
164
168
|
**Architecture Notes**:
|
|
165
169
|
[SA assessment of technical implications]
|
|
@@ -187,17 +191,17 @@ _Stakeholder confirmation that decision is accurate and approved._
|
|
|
187
191
|
|----------|------|------------------|
|
|
188
192
|
| [BA Title] | [Link] | [Section] |
|
|
189
193
|
|
|
190
|
-
### Related
|
|
194
|
+
### Related Feature-Increments (if applicable)
|
|
191
195
|
|
|
192
|
-
|
|
|
193
|
-
|
|
194
|
-
| [
|
|
196
|
+
| FI ID | Description | Relationship |
|
|
197
|
+
|-------|-------------|--------------|
|
|
198
|
+
| [fi-{PRX}-{NNN}](../../projects/{project-id}/feature-increments/fi-{PRX}-{NNN}-*.md) | [Brief description] | Created from this decision |
|
|
195
199
|
|
|
196
200
|
### Related Decisions
|
|
197
201
|
|
|
198
202
|
| Decision ID | Relationship |
|
|
199
203
|
|-------------|--------------|
|
|
200
|
-
| [
|
|
204
|
+
| [dec-{PRX}-{NNN}] | Depends on / Superseded by / Related to |
|
|
201
205
|
|
|
202
206
|
---
|
|
203
207
|
|