teamspec 3.2.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/LICENSE +21 -0
- package/README.md +252 -0
- package/bin/teamspec-init.js +10 -0
- package/extensions/teamspec-0.1.0.vsix +0 -0
- package/lib/cli.js +1174 -0
- package/lib/extension-installer.js +236 -0
- package/lib/linter.js +1184 -0
- package/lib/prompt-generator.js +409 -0
- package/package.json +51 -0
- package/teamspec-core/agents/AGENT_BA.md +486 -0
- package/teamspec-core/agents/AGENT_BOOTSTRAP.md +447 -0
- package/teamspec-core/agents/AGENT_DES.md +623 -0
- package/teamspec-core/agents/AGENT_DEV.md +611 -0
- package/teamspec-core/agents/AGENT_FA.md +736 -0
- package/teamspec-core/agents/AGENT_FEEDBACK.md +202 -0
- package/teamspec-core/agents/AGENT_FIX.md +380 -0
- package/teamspec-core/agents/AGENT_QA.md +756 -0
- package/teamspec-core/agents/AGENT_SA.md +581 -0
- package/teamspec-core/agents/AGENT_SM.md +771 -0
- package/teamspec-core/agents/README.md +383 -0
- package/teamspec-core/context/_schema.yml +222 -0
- package/teamspec-core/copilot-instructions.md +356 -0
- package/teamspec-core/definitions/definition-of-done.md +129 -0
- package/teamspec-core/definitions/definition-of-ready.md +104 -0
- package/teamspec-core/profiles/enterprise.yml +127 -0
- package/teamspec-core/profiles/platform-team.yml +104 -0
- package/teamspec-core/profiles/regulated.yml +97 -0
- package/teamspec-core/profiles/startup.yml +85 -0
- package/teamspec-core/teamspec.yml +69 -0
- package/teamspec-core/templates/README.md +211 -0
- package/teamspec-core/templates/active-sprint-template.md +98 -0
- package/teamspec-core/templates/adr-template.md +194 -0
- package/teamspec-core/templates/bug-report-template.md +188 -0
- package/teamspec-core/templates/business-analysis-template.md +164 -0
- package/teamspec-core/templates/decision-log-template.md +216 -0
- package/teamspec-core/templates/feature-template.md +269 -0
- package/teamspec-core/templates/functional-spec-template.md +161 -0
- package/teamspec-core/templates/refinement-notes-template.md +133 -0
- package/teamspec-core/templates/sprint-goal-template.md +129 -0
- package/teamspec-core/templates/sprint-template.md +175 -0
- package/teamspec-core/templates/sprints-index-template.md +67 -0
- package/teamspec-core/templates/story-template.md +244 -0
- package/teamspec-core/templates/storymap-template.md +204 -0
- package/teamspec-core/templates/testcases-template.md +147 -0
- package/teamspec-core/templates/uat-pack-template.md +161 -0
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# Platform Team Profile
|
|
2
|
+
|
|
3
|
+
> **Version:** 2.0
|
|
4
|
+
> **Applies To:** Platform teams, infrastructure teams, API teams, DevOps
|
|
5
|
+
|
|
6
|
+
This profile emphasizes API contracts, SLAs, and cross-team coordination.
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Profile Characteristics
|
|
11
|
+
|
|
12
|
+
| Aspect | Configuration |
|
|
13
|
+
|--------|---------------|
|
|
14
|
+
| Governance Level | Moderate |
|
|
15
|
+
| Sign-off Required | For breaking changes |
|
|
16
|
+
| Audit Trail | Optional |
|
|
17
|
+
| Change Control Board | No |
|
|
18
|
+
| Documentation | API-focused |
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Additional Checkpoints
|
|
23
|
+
|
|
24
|
+
### Definition of Ready Additions
|
|
25
|
+
|
|
26
|
+
| Check | Enforcement |
|
|
27
|
+
|-------|-------------|
|
|
28
|
+
| API contract defined (if applicable) | Required |
|
|
29
|
+
| Consumer impact assessed | Required |
|
|
30
|
+
| SLA implications documented | Required |
|
|
31
|
+
| Backward compatibility checked | Required |
|
|
32
|
+
|
|
33
|
+
### Definition of Done Additions
|
|
34
|
+
|
|
35
|
+
| Check | Enforcement |
|
|
36
|
+
|-------|-------------|
|
|
37
|
+
| API documentation updated | Required |
|
|
38
|
+
| Consumer teams notified | Required |
|
|
39
|
+
| Runbook updated (if operational) | Required |
|
|
40
|
+
| Monitoring/alerting configured | Required |
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## Required Artifacts
|
|
45
|
+
|
|
46
|
+
Platform stories SHOULD include:
|
|
47
|
+
|
|
48
|
+
1. **API Impact Section**
|
|
49
|
+
```markdown
|
|
50
|
+
## API Impact
|
|
51
|
+
|
|
52
|
+
| Endpoint | Change Type | Breaking? |
|
|
53
|
+
|----------|-------------|-----------|
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
2. **Consumer Impact Section**
|
|
57
|
+
```markdown
|
|
58
|
+
## Consumer Impact
|
|
59
|
+
|
|
60
|
+
- **Affected Teams:** [Team A, Team B]
|
|
61
|
+
- **Migration Required:** [Yes/No]
|
|
62
|
+
- **Deprecation Timeline:** [Date]
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
3. **SLA Considerations**
|
|
66
|
+
```markdown
|
|
67
|
+
## SLA Considerations
|
|
68
|
+
|
|
69
|
+
- **Availability Impact:** [None/Minor/Major]
|
|
70
|
+
- **Performance Impact:** [None/Minor/Major]
|
|
71
|
+
- **Monitoring:** [Dashboard link]
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## Breaking Change Process
|
|
77
|
+
|
|
78
|
+
For breaking changes:
|
|
79
|
+
|
|
80
|
+
1. **Announce** — Notify consumers 2 sprints ahead
|
|
81
|
+
2. **Document** — Create migration guide
|
|
82
|
+
3. **Support** — Provide backward compatibility period
|
|
83
|
+
4. **Deprecate** — Follow deprecation timeline
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## Feature Canon Emphasis
|
|
88
|
+
|
|
89
|
+
For platform teams, Feature Canon should include:
|
|
90
|
+
|
|
91
|
+
1. **API contracts** (OpenAPI specs, etc.)
|
|
92
|
+
2. **SLA definitions**
|
|
93
|
+
3. **Consumer documentation**
|
|
94
|
+
4. **Operational runbooks**
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## Cross-Team Coordination
|
|
99
|
+
|
|
100
|
+
| Artifact | Purpose |
|
|
101
|
+
|----------|---------|
|
|
102
|
+
| API Changelog | Track all API changes |
|
|
103
|
+
| Consumer Registry | Know who uses what |
|
|
104
|
+
| Deprecation Log | Track deprecation timelines |
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# Regulated Industry Profile
|
|
2
|
+
|
|
3
|
+
> **Version:** 2.0
|
|
4
|
+
> **Applies To:** Banking, Healthcare, Government, Insurance
|
|
5
|
+
|
|
6
|
+
This profile adds compliance-focused governance overlays to TeamSpec.
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Profile Characteristics
|
|
11
|
+
|
|
12
|
+
| Aspect | Configuration |
|
|
13
|
+
|--------|---------------|
|
|
14
|
+
| Governance Level | Strict |
|
|
15
|
+
| Sign-off Required | Yes |
|
|
16
|
+
| Audit Trail | Yes |
|
|
17
|
+
| Change Control Board | Yes |
|
|
18
|
+
| Documentation | Comprehensive |
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Additional Checkpoints
|
|
23
|
+
|
|
24
|
+
### Definition of Ready Additions
|
|
25
|
+
|
|
26
|
+
| Check | Enforcement |
|
|
27
|
+
|-------|-------------|
|
|
28
|
+
| Risk assessment completed | Required |
|
|
29
|
+
| Compliance impact documented | Required |
|
|
30
|
+
| Data classification reviewed | Required |
|
|
31
|
+
| Security review scheduled (if applicable) | Required |
|
|
32
|
+
|
|
33
|
+
### Definition of Done Additions
|
|
34
|
+
|
|
35
|
+
| Check | Enforcement |
|
|
36
|
+
|-------|-------------|
|
|
37
|
+
| Compliance sign-off obtained | Required |
|
|
38
|
+
| Audit log entries verified | Required |
|
|
39
|
+
| Release notes drafted | Required |
|
|
40
|
+
| Rollback plan documented | Required |
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## Required Artifacts
|
|
45
|
+
|
|
46
|
+
Stories in regulated environments MUST include:
|
|
47
|
+
|
|
48
|
+
1. **Risk Assessment Section**
|
|
49
|
+
```markdown
|
|
50
|
+
## Risk Assessment
|
|
51
|
+
|
|
52
|
+
| Risk | Impact | Mitigation |
|
|
53
|
+
|------|--------|------------|
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
2. **Compliance Impact Section**
|
|
57
|
+
```markdown
|
|
58
|
+
## Compliance Impact
|
|
59
|
+
|
|
60
|
+
- **Affected Regulations:** [SOX/PCI-DSS/HIPAA/etc.]
|
|
61
|
+
- **Data Classification:** [Public/Internal/Confidential/Restricted]
|
|
62
|
+
- **Audit Requirements:** [Yes/No]
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## Approval Gates
|
|
68
|
+
|
|
69
|
+
| Gate | Approver | When |
|
|
70
|
+
|------|----------|------|
|
|
71
|
+
| Story Creation | BA + Compliance | Before backlog |
|
|
72
|
+
| Sprint Entry | SM + Risk Officer | Sprint planning |
|
|
73
|
+
| Release | CCB | Before deployment |
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## Recommended Compliance Frameworks
|
|
78
|
+
|
|
79
|
+
- SOX (Sarbanes-Oxley)
|
|
80
|
+
- PCI-DSS (Payment Card Industry)
|
|
81
|
+
- HIPAA (Health Insurance Portability)
|
|
82
|
+
- GDPR (General Data Protection)
|
|
83
|
+
- SOC2 (Service Organization Control)
|
|
84
|
+
- ISO27001 (Information Security)
|
|
85
|
+
- FedRAMP (Federal Risk and Authorization)
|
|
86
|
+
- POPIA (Protection of Personal Information Act)
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## Feature Canon Requirements
|
|
91
|
+
|
|
92
|
+
For regulated environments, Feature Canon MUST include:
|
|
93
|
+
|
|
94
|
+
1. **Compliance section** in feature files
|
|
95
|
+
2. **Data handling documentation**
|
|
96
|
+
3. **Audit trail** of all changes
|
|
97
|
+
4. **Version history** with approvers
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# Startup / MVP Profile
|
|
2
|
+
|
|
3
|
+
> **Version:** 2.0
|
|
4
|
+
> **Applies To:** Startups, MVP development, rapid prototyping
|
|
5
|
+
|
|
6
|
+
This profile reduces documentation overhead while maintaining Feature Canon integrity.
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Profile Characteristics
|
|
11
|
+
|
|
12
|
+
| Aspect | Configuration |
|
|
13
|
+
|--------|---------------|
|
|
14
|
+
| Governance Level | Minimal |
|
|
15
|
+
| Sign-off Required | No |
|
|
16
|
+
| Audit Trail | No |
|
|
17
|
+
| Change Control Board | No |
|
|
18
|
+
| Documentation | Lean |
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Adjusted Checkpoints
|
|
23
|
+
|
|
24
|
+
### Definition of Ready Simplifications
|
|
25
|
+
|
|
26
|
+
| Standard Check | Startup Adjustment |
|
|
27
|
+
|----------------|-------------------|
|
|
28
|
+
| Full dev plan required | Task list sufficient |
|
|
29
|
+
| Formal risk assessment | Quick risk note OK |
|
|
30
|
+
| Multiple approvers | Single FA approval |
|
|
31
|
+
|
|
32
|
+
### Definition of Done Simplifications
|
|
33
|
+
|
|
34
|
+
| Standard Check | Startup Adjustment |
|
|
35
|
+
|----------------|-------------------|
|
|
36
|
+
| Comprehensive test coverage | Critical path tests OK |
|
|
37
|
+
| Formal code review | Pair programming counts |
|
|
38
|
+
| Full documentation update | README update sufficient |
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Feature Canon (Still Required!)
|
|
43
|
+
|
|
44
|
+
Even in startup mode, Feature Canon is mandatory:
|
|
45
|
+
|
|
46
|
+
| Aspect | Requirement |
|
|
47
|
+
|--------|-------------|
|
|
48
|
+
| Feature files | Required (can be minimal) |
|
|
49
|
+
| Story-feature links | Required |
|
|
50
|
+
| Delta format | Recommended |
|
|
51
|
+
| Story Ledger | Simplified OK |
|
|
52
|
+
|
|
53
|
+
> ⚠️ **Feature Canon is NOT optional.** It prevents knowledge loss as the team scales.
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## Recommended Practices
|
|
58
|
+
|
|
59
|
+
1. **Time-box documentation** — 15 min max per story
|
|
60
|
+
2. **Living docs** — Update as you code, not after
|
|
61
|
+
3. **Lightweight ADRs** — One-pager decisions
|
|
62
|
+
4. **Skip sprints** — Use Kanban if velocity matters more than planning
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## When to Graduate
|
|
67
|
+
|
|
68
|
+
Consider moving to `enterprise` or `regulated` profile when:
|
|
69
|
+
|
|
70
|
+
- Team grows beyond 5 people
|
|
71
|
+
- First paying customer
|
|
72
|
+
- External audit required
|
|
73
|
+
- Series A funding
|
|
74
|
+
- Compliance requirements emerge
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## Anti-Patterns to Avoid
|
|
79
|
+
|
|
80
|
+
| Anti-Pattern | Why It's Bad |
|
|
81
|
+
|--------------|--------------|
|
|
82
|
+
| No Feature Canon | "We'll document later" = never |
|
|
83
|
+
| No story tracking | Can't measure velocity |
|
|
84
|
+
| Skipping tests entirely | Technical debt explodes |
|
|
85
|
+
| One giant feature file | Unmaintainable |
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# TeamSpec Configuration
|
|
2
|
+
# Version: 2.0.0
|
|
3
|
+
|
|
4
|
+
version: "2.0"
|
|
5
|
+
name: "TeamSpec Feature Canon Operating Model"
|
|
6
|
+
|
|
7
|
+
# Core principles
|
|
8
|
+
principles:
|
|
9
|
+
- Feature Canon is the source of truth for system behavior
|
|
10
|
+
- Stories describe deltas (changes), not full behavior
|
|
11
|
+
- Structural artifacts require explicit creation commands
|
|
12
|
+
- Each role has clear ownership boundaries
|
|
13
|
+
|
|
14
|
+
# Folder structure reference
|
|
15
|
+
structure:
|
|
16
|
+
teamspec_root: ".teamspec"
|
|
17
|
+
project_root: "projects/{project-id}"
|
|
18
|
+
|
|
19
|
+
folders:
|
|
20
|
+
features: "projects/{project-id}/features"
|
|
21
|
+
stories: "projects/{project-id}/stories"
|
|
22
|
+
adr: "projects/{project-id}/adr"
|
|
23
|
+
decisions: "projects/{project-id}/decisions"
|
|
24
|
+
dev_plans: "projects/{project-id}/dev-plans"
|
|
25
|
+
qa: "projects/{project-id}/qa"
|
|
26
|
+
sprints: "projects/{project-id}/sprints"
|
|
27
|
+
epics: "projects/{project-id}/epics"
|
|
28
|
+
|
|
29
|
+
# Role definitions
|
|
30
|
+
roles:
|
|
31
|
+
BA:
|
|
32
|
+
name: "Business Analyst"
|
|
33
|
+
owns:
|
|
34
|
+
- "Problem/goal definition"
|
|
35
|
+
- "Business value and scope"
|
|
36
|
+
- "Feature Canon: Purpose & Scope section"
|
|
37
|
+
FA:
|
|
38
|
+
name: "Functional Analyst"
|
|
39
|
+
owns:
|
|
40
|
+
- "Functional specifications"
|
|
41
|
+
- "Story slicing"
|
|
42
|
+
- "Feature Canon: Behavior section"
|
|
43
|
+
- "Feature Canon: Change Log"
|
|
44
|
+
SA:
|
|
45
|
+
name: "Solution Architect"
|
|
46
|
+
owns:
|
|
47
|
+
- "Technical design"
|
|
48
|
+
- "Architecture decisions (ADRs)"
|
|
49
|
+
DEV:
|
|
50
|
+
name: "Developer"
|
|
51
|
+
owns:
|
|
52
|
+
- "Implementation"
|
|
53
|
+
- "Development plans"
|
|
54
|
+
QA:
|
|
55
|
+
name: "Quality Assurance"
|
|
56
|
+
owns:
|
|
57
|
+
- "Test cases (feature-level)"
|
|
58
|
+
- "Bug reports"
|
|
59
|
+
- "UAT packs"
|
|
60
|
+
SM:
|
|
61
|
+
name: "Scrum Master"
|
|
62
|
+
owns:
|
|
63
|
+
- "Sprint management"
|
|
64
|
+
- "Process facilitation"
|
|
65
|
+
DES:
|
|
66
|
+
name: "Designer"
|
|
67
|
+
owns:
|
|
68
|
+
- "UI/UX design"
|
|
69
|
+
- "Design system"
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
# TeamSpec 2.0 Templates
|
|
2
|
+
|
|
3
|
+
> **Version:** 2.0
|
|
4
|
+
> **Last Updated:** 2026-01-07
|
|
5
|
+
> **Purpose:** Aligned templates for Feature Canon operating model
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Overview
|
|
10
|
+
|
|
11
|
+
These templates are designed for the TeamSpec 2.0 Feature Canon operating model. Each template:
|
|
12
|
+
|
|
13
|
+
1. **Identifies its owner** — Which role creates/maintains it
|
|
14
|
+
2. **States its artifact type** — Source of Truth, Execution, Planning, or Operational
|
|
15
|
+
3. **Enforces linter rules** — Which TS-* rules apply
|
|
16
|
+
4. **Links to Feature Canon** — How it relates to the canonical source of truth
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Template Index
|
|
21
|
+
|
|
22
|
+
### Source of Truth Templates
|
|
23
|
+
|
|
24
|
+
These templates create **canonical artifacts** — the authoritative source of truth.
|
|
25
|
+
|
|
26
|
+
| Template | Owner | Linter Rules | Purpose |
|
|
27
|
+
|----------|-------|--------------|---------|
|
|
28
|
+
| [feature-template.md](feature-template.md) | BA/FA | TS-FEAT-* | Feature Canon entries |
|
|
29
|
+
| [decision-log-template.md](decision-log-template.md) | BA | TS-DEC-* | Business decisions |
|
|
30
|
+
| [adr-template.md](adr-template.md) | SA | TS-ADR-* | Architecture decisions |
|
|
31
|
+
|
|
32
|
+
### Execution Templates
|
|
33
|
+
|
|
34
|
+
These templates create **execution artifacts** — deltas to the source of truth.
|
|
35
|
+
|
|
36
|
+
| Template | Owner | Linter Rules | Purpose |
|
|
37
|
+
|----------|-------|--------------|---------|
|
|
38
|
+
| [story-template.md](story-template.md) | FA | TS-STORY-* | User stories (deltas) |
|
|
39
|
+
| [testcases-template.md](testcases-template.md) | QA | TS-QA-* | Feature-level test cases |
|
|
40
|
+
| [bug-report-template.md](bug-report-template.md) | QA | TS-QA-002 | Bug reports with classification |
|
|
41
|
+
| [uat-pack-template.md](uat-pack-template.md) | QA | TS-UAT-* | User acceptance testing |
|
|
42
|
+
|
|
43
|
+
### Planning Templates
|
|
44
|
+
|
|
45
|
+
These templates create **planning artifacts** — become historical after Canon is established.
|
|
46
|
+
|
|
47
|
+
| Template | Owner | Lifecycle | Purpose |
|
|
48
|
+
|----------|-------|-----------|---------|
|
|
49
|
+
| [business-analysis-template.md](business-analysis-template.md) | BA | Historical | Business analysis |
|
|
50
|
+
| [functional-spec-template.md](functional-spec-template.md) | FA | Transitional | Functional elaboration |
|
|
51
|
+
| [storymap-template.md](storymap-template.md) | FA | Historical | Story mapping workshops |
|
|
52
|
+
| [refinement-notes-template.md](refinement-notes-template.md) | FA | Historical | Refinement session notes |
|
|
53
|
+
|
|
54
|
+
### Operational Templates
|
|
55
|
+
|
|
56
|
+
These templates create **operational artifacts** — sprint and process management.
|
|
57
|
+
|
|
58
|
+
| Template | Owner | Lifecycle | Purpose |
|
|
59
|
+
|----------|-------|-----------|---------|
|
|
60
|
+
| [sprint-template.md](sprint-template.md) | SM | Sprint-bound | Sprint management |
|
|
61
|
+
| [sprint-goal-template.md](sprint-goal-template.md) | SM | Sprint-bound | Sprint goal and commitment |
|
|
62
|
+
| [active-sprint-template.md](active-sprint-template.md) | SM | Living | Current sprint status |
|
|
63
|
+
| [sprints-index-template.md](sprints-index-template.md) | SM | Living | Sprint history index |
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## Artifact Lifecycle
|
|
68
|
+
|
|
69
|
+
```
|
|
70
|
+
Planning Artifacts Source of Truth Execution Artifacts
|
|
71
|
+
───────────────── ────────────────── ────────────────────
|
|
72
|
+
BA Doc ─────────────────▶ Feature Canon ◀───────── Stories (deltas)
|
|
73
|
+
Functional Spec ────────▶ Decision Log ◀───────── Bug Reports
|
|
74
|
+
Story Map ──────────────▶ ADRs ◀───────── Test Cases
|
|
75
|
+
|
|
76
|
+
(Historical) (Canonical) (Sprint-bound)
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## Key Alignment Features
|
|
82
|
+
|
|
83
|
+
### 1. Delta Enforcement (Stories)
|
|
84
|
+
|
|
85
|
+
Stories use Before/After format and MUST link to features:
|
|
86
|
+
|
|
87
|
+
```markdown
|
|
88
|
+
### Before (current behavior)
|
|
89
|
+
Reference: F-XXX, Section: [section]
|
|
90
|
+
|
|
91
|
+
### After (new behavior)
|
|
92
|
+
[ONLY the delta - what changes]
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### 2. FA Acceptance Gate (Stories)
|
|
96
|
+
|
|
97
|
+
Stories require FA approval before Ready for Development:
|
|
98
|
+
|
|
99
|
+
```markdown
|
|
100
|
+
## FA Acceptance Gate
|
|
101
|
+
|
|
102
|
+
| Check | Status | FA Initials |
|
|
103
|
+
|-------|--------|-------------|
|
|
104
|
+
| Story describes delta only | [ ] | |
|
|
105
|
+
| Feature link is correct | [ ] | |
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
### 3. Bug Classification (Bugs)
|
|
109
|
+
|
|
110
|
+
Bugs must be classified into exactly one category:
|
|
111
|
+
|
|
112
|
+
- **Implementation Defect** — Code doesn't match Canon
|
|
113
|
+
- **Feature Canon Wrong** — Canon doesn't match intent
|
|
114
|
+
- **Undocumented Behavior** — Neither covers the case
|
|
115
|
+
|
|
116
|
+
### 4. Feature-Level Testing (Test Cases)
|
|
117
|
+
|
|
118
|
+
Tests validate Feature Canon, not individual stories:
|
|
119
|
+
|
|
120
|
+
```markdown
|
|
121
|
+
**Feature:** [F-XXX](../../features/F-XXX-name.md)
|
|
122
|
+
**Test Level:** Feature (not Story)
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
### 5. Scope Freeze (Sprints)
|
|
126
|
+
|
|
127
|
+
After sprint commitment, scope changes require decision log:
|
|
128
|
+
|
|
129
|
+
```markdown
|
|
130
|
+
## Scope Freeze Notice
|
|
131
|
+
|
|
132
|
+
**Sprint Committed:** [ ] Yes / [ ] No
|
|
133
|
+
> ⚠️ After commitment, any scope change requires Decision Log entry.
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
### 6. Canon Sync Verification (Sprints)
|
|
137
|
+
|
|
138
|
+
Before sprint close, verify Canon is updated:
|
|
139
|
+
|
|
140
|
+
```markdown
|
|
141
|
+
## Canon Sync Verification
|
|
142
|
+
|
|
143
|
+
| Story | Impact Type | Canon Updated? | FA Verified |
|
|
144
|
+
|-------|-------------|----------------|-------------|
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
---
|
|
148
|
+
|
|
149
|
+
## Template Ownership by Role
|
|
150
|
+
|
|
151
|
+
| Role | Templates Owned |
|
|
152
|
+
|------|-----------------|
|
|
153
|
+
| **BA** | business-analysis, decision-log, feature (Purpose/Scope) |
|
|
154
|
+
| **FA** | story, functional-spec, storymap, refinement-notes, feature (Behavior) |
|
|
155
|
+
| **SA** | adr |
|
|
156
|
+
| **DEV** | — (uses dev-plans, not templated here) |
|
|
157
|
+
| **QA** | testcases, bug-report, uat-pack |
|
|
158
|
+
| **SM** | sprint, sprint-goal, active-sprint, sprints-index |
|
|
159
|
+
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
## Linter Rules Reference
|
|
163
|
+
|
|
164
|
+
| Rule | Applies To | Description |
|
|
165
|
+
|------|------------|-------------|
|
|
166
|
+
| TS-STORY-001 | Stories | Feature link required |
|
|
167
|
+
| TS-STORY-002 | Stories | Delta-only format |
|
|
168
|
+
| TS-STORY-003 | Stories | ACs testable |
|
|
169
|
+
| TS-STORY-004 | Stories | Sprint assignment by SM only |
|
|
170
|
+
| TS-STORY-005 | Stories | DoR complete |
|
|
171
|
+
| TS-FEAT-001 | Features | Feature must exist before stories |
|
|
172
|
+
| TS-FEAT-002 | Features | All sections required |
|
|
173
|
+
| TS-FEAT-003 | Features | Feature ID unique |
|
|
174
|
+
| TS-DEC-001 | Decisions | Must link to features |
|
|
175
|
+
| TS-ADR-001 | ADRs | Required for architecture changes |
|
|
176
|
+
| TS-ADR-002 | ADRs | Must link to features |
|
|
177
|
+
| TS-QA-001 | Tests | Must reference Feature Canon |
|
|
178
|
+
| TS-QA-002 | Bugs | Classification required |
|
|
179
|
+
| TS-DOD-001 | All | Canon sync before Done |
|
|
180
|
+
| TS-DOD-002 | Tests | Tests are feature-level |
|
|
181
|
+
| TS-DEVPLAN-001 | Sprints | Dev plan before implementation |
|
|
182
|
+
|
|
183
|
+
---
|
|
184
|
+
|
|
185
|
+
## Usage
|
|
186
|
+
|
|
187
|
+
### Creating New Artifacts
|
|
188
|
+
|
|
189
|
+
1. Copy the appropriate template
|
|
190
|
+
2. Fill in all required sections
|
|
191
|
+
3. Ensure links to Feature Canon are correct
|
|
192
|
+
4. Verify linter rules pass
|
|
193
|
+
|
|
194
|
+
### Template Customization
|
|
195
|
+
|
|
196
|
+
These templates can be customized per project, but:
|
|
197
|
+
|
|
198
|
+
- **DO NOT** remove linter rule sections
|
|
199
|
+
- **DO NOT** remove ownership markers
|
|
200
|
+
- **DO NOT** remove Feature Canon links
|
|
201
|
+
- **DO** add project-specific sections as needed
|
|
202
|
+
|
|
203
|
+
---
|
|
204
|
+
|
|
205
|
+
## Related Documentation
|
|
206
|
+
|
|
207
|
+
- [agents/README.md](../agents/README.md) — Agent prompts
|
|
208
|
+
- [roles/ROLES_AND_RESPONSIBILITIES.md](../roles/ROLES_AND_RESPONSIBILITIES.md) — Role definitions
|
|
209
|
+
- [roles/WORKFLOW.md](../roles/WORKFLOW.md) — Workflow phases
|
|
210
|
+
- [roles/LINTER_RULES_SPECIFICATION.md](../roles/LINTER_RULES_SPECIFICATION.md) — Linter rules
|
|
211
|
+
- [roles/TEMPLATE_ALIGNMENT_REQUIREMENTS.md](../roles/TEMPLATE_ALIGNMENT_REQUIREMENTS.md) — Alignment spec
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# Active Sprint
|
|
2
|
+
|
|
3
|
+
> **Living Document**: This file always reflects the current active sprint.
|
|
4
|
+
|
|
5
|
+
> **Template Version**: 2.0
|
|
6
|
+
> **Last Updated**: 2026-01-07
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
**Document Owner:** SM (Scrum Master)
|
|
11
|
+
**Artifact Type:** Operational (Living)
|
|
12
|
+
**Location:** `sprints/active-sprint.md`
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Current Sprint
|
|
17
|
+
|
|
18
|
+
**Sprint {N}**: [{Sprint Goal Title}](sprint-{N}/sprint-goal.md)
|
|
19
|
+
|
|
20
|
+
| Field | Value |
|
|
21
|
+
|-------|-------|
|
|
22
|
+
| **Status** | 🟢 Active |
|
|
23
|
+
| **Start** | {YYYY-MM-DD} |
|
|
24
|
+
| **End** | {YYYY-MM-DD} |
|
|
25
|
+
| **Days Remaining** | {N} |
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## Sprint Goal
|
|
30
|
+
|
|
31
|
+
> {One-sentence sprint goal}
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## Progress Summary
|
|
36
|
+
|
|
37
|
+
| Metric | Value |
|
|
38
|
+
|--------|-------|
|
|
39
|
+
| **Total Points** | {N} |
|
|
40
|
+
| **Completed** | {N} |
|
|
41
|
+
| **Remaining** | {N} |
|
|
42
|
+
| **Progress** | {N}% |
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
[████████░░░░░░░░░░░░] 40%
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Story Status
|
|
51
|
+
|
|
52
|
+
| Story | Title | Points | Dev Plan | Status |
|
|
53
|
+
|-------|-------|--------|----------|--------|
|
|
54
|
+
| S-XXX | {Title} | {N} | [Plan](../dev-plans/story-XXX-tasks.md) | 🟢 Done |
|
|
55
|
+
| S-XXX | {Title} | {N} | [Plan](../dev-plans/story-XXX-tasks.md) | 🟡 In Progress |
|
|
56
|
+
| S-XXX | {Title} | {N} | [Plan](../dev-plans/story-XXX-tasks.md) | ⚪ Not Started |
|
|
57
|
+
|
|
58
|
+
**Status Legend**: 🟢 Done | 🟡 In Progress | ⚪ Not Started | 🔴 Blocked
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Canon Sync Status
|
|
63
|
+
|
|
64
|
+
> ⚠️ Stories with behavior changes must have Feature Canon updated before Done.
|
|
65
|
+
|
|
66
|
+
| Story | Impact Type | Canon Synced? |
|
|
67
|
+
|-------|-------------|---------------|
|
|
68
|
+
| S-XXX | Adds Behavior | [ ] |
|
|
69
|
+
| S-XXX | Changes Behavior | [ ] |
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## Blockers
|
|
74
|
+
|
|
75
|
+
| Story | Blocker | Days Blocked | Escalated To |
|
|
76
|
+
|-------|---------|--------------|--------------|
|
|
77
|
+
| _None_ | | | |
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## Quick Links
|
|
82
|
+
|
|
83
|
+
- [Sprint Goal Details](sprint-{N}/sprint-goal.md)
|
|
84
|
+
- [Definition of Ready](../.teamspec/definitions/definition-of-ready.md)
|
|
85
|
+
- [Definition of Done](../.teamspec/definitions/definition-of-done.md)
|
|
86
|
+
- [Feature Canon](../features/)
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## Sprint History
|
|
91
|
+
|
|
92
|
+
| Sprint | Goal | Velocity | Status |
|
|
93
|
+
|--------|------|----------|--------|
|
|
94
|
+
| [Sprint {N-1}](sprint-{N-1}/sprint-goal.md) | {Goal} | {N} pts | ✅ Closed |
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
_Last updated: {YYYY-MM-DD HH:MM}_
|