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.
Files changed (51) hide show
  1. package/README.md +24 -12
  2. package/bin/teamspec-init.js +2 -2
  3. package/lib/cli.js +653 -99
  4. package/lib/extension-installer.js +19 -219
  5. package/lib/linter.js +823 -1076
  6. package/lib/prompt-generator.js +312 -330
  7. package/lib/structure-loader.js +400 -0
  8. package/package.json +14 -6
  9. package/teamspec-core/FOLDER_STRUCTURE.yml +131 -0
  10. package/teamspec-core/agents/AGENT_BA.md +188 -293
  11. package/teamspec-core/agents/AGENT_BOOTSTRAP.md +197 -102
  12. package/teamspec-core/agents/AGENT_DES.md +9 -8
  13. package/teamspec-core/agents/AGENT_DEV.md +68 -67
  14. package/teamspec-core/agents/AGENT_FA.md +437 -245
  15. package/teamspec-core/agents/AGENT_FIX.md +344 -74
  16. package/teamspec-core/agents/AGENT_PO.md +487 -0
  17. package/teamspec-core/agents/AGENT_QA.md +124 -98
  18. package/teamspec-core/agents/AGENT_SA.md +143 -84
  19. package/teamspec-core/agents/AGENT_SM.md +106 -83
  20. package/teamspec-core/agents/README.md +143 -93
  21. package/teamspec-core/copilot-instructions.md +281 -205
  22. package/teamspec-core/definitions/definition-of-done.md +47 -84
  23. package/teamspec-core/definitions/definition-of-ready.md +35 -60
  24. package/teamspec-core/registry.yml +898 -0
  25. package/teamspec-core/teamspec.yml +44 -28
  26. package/teamspec-core/templates/README.md +5 -5
  27. package/teamspec-core/templates/adr-template.md +19 -17
  28. package/teamspec-core/templates/bai-template.md +125 -0
  29. package/teamspec-core/templates/bug-report-template.md +21 -15
  30. package/teamspec-core/templates/business-analysis-template.md +16 -13
  31. package/teamspec-core/templates/decision-log-template.md +26 -22
  32. package/teamspec-core/templates/dev-plan-template.md +168 -0
  33. package/teamspec-core/templates/epic-template.md +204 -0
  34. package/teamspec-core/templates/feature-increment-template.md +84 -0
  35. package/teamspec-core/templates/feature-template.md +45 -32
  36. package/teamspec-core/templates/increments-index-template.md +53 -0
  37. package/teamspec-core/templates/product-template.yml +44 -0
  38. package/teamspec-core/templates/products-index-template.md +46 -0
  39. package/teamspec-core/templates/project-template.yml +70 -0
  40. package/teamspec-core/templates/ri-template.md +225 -0
  41. package/teamspec-core/templates/rt-template.md +104 -0
  42. package/teamspec-core/templates/sd-template.md +132 -0
  43. package/teamspec-core/templates/sdi-template.md +119 -0
  44. package/teamspec-core/templates/sprint-template.md +17 -15
  45. package/teamspec-core/templates/story-template-v4.md +202 -0
  46. package/teamspec-core/templates/story-template.md +48 -90
  47. package/teamspec-core/templates/ta-template.md +198 -0
  48. package/teamspec-core/templates/tai-template.md +131 -0
  49. package/teamspec-core/templates/tc-template.md +145 -0
  50. package/teamspec-core/templates/testcases-template.md +20 -17
  51. package/extensions/teamspec-0.1.0.vsix +0 -0
@@ -1,18 +1,22 @@
1
- # TeamSpec 2.0 Agent Prompts
1
+ # TeamSpec 4.0 Agent Prompts
2
2
 
3
- > **Version:** 2.0
3
+ > **Version:** 4.0
4
4
  > **Purpose:** Predefined AI agents for TeamSpec-driven software delivery
5
- > **Last Updated:** 2026-01-07
5
+ > **Last Updated:** 2026-01-09
6
6
 
7
7
  ---
8
8
 
9
9
  ## Overview
10
10
 
11
- This folder contains agent prompt definitions for creating AI assistants that operate within the TeamSpec 2.0 framework. These agents can be loaded into platforms like GitHub Copilot, Claude, ChatGPT, or other AI assistants.
11
+ This folder contains agent prompt definitions for creating AI assistants that operate within the TeamSpec 4.0 Product-Canon framework. These agents can be loaded into platforms like GitHub Copilot, Claude, ChatGPT, or other AI assistants.
12
+
13
+ TeamSpec 4.0 introduces the **Product-Canon** operating model, which separates:
14
+ - **Products** — Long-lived, production-truth documentation (AS-IS state)
15
+ - **Projects** — Time-bound change initiatives that propose modifications to products (TO-BE state)
12
16
 
13
17
  Each agent:
14
18
  - Understands their role boundaries
15
- - Enforces the Feature Canon model
19
+ - Enforces the Product-Canon model
16
20
  - Knows when to refuse (and why)
17
21
  - Can escalate to appropriate roles
18
22
  - Follows quality gates
@@ -25,6 +29,7 @@ Each agent:
25
29
  flowchart TD
26
30
  BOOT[AGENT_BOOTSTRAP.md<br/>Core Operating Model]
27
31
 
32
+ BOOT --> PO[AGENT_PO.md<br/>Product Owner]
28
33
  BOOT --> BA[AGENT_BA.md<br/>Business Analyst]
29
34
  BOOT --> FA[AGENT_FA.md<br/>Functional Analyst]
30
35
  BOOT --> SA[AGENT_SA.md<br/>Solution Architect]
@@ -34,6 +39,7 @@ flowchart TD
34
39
  BOOT --> DES[AGENT_DES.md<br/>Designer]
35
40
 
36
41
  style BOOT fill:#ffd43b,stroke:#fab005,stroke-width:3px
42
+ style PO fill:#f8d7da,stroke:#dc3545,stroke-width:2px
37
43
  style BA fill:#e7f5ff,stroke:#1971c2
38
44
  style FA fill:#e7f5ff,stroke:#1971c2
39
45
  style SA fill:#e7f5ff,stroke:#1971c2
@@ -44,7 +50,7 @@ flowchart TD
44
50
  ```
45
51
 
46
52
  All agents inherit from **AGENT_BOOTSTRAP.md** which defines:
47
- - Feature Canon model
53
+ - Product-Canon model
48
54
  - Role boundary philosophy
49
55
  - Escalation principles
50
56
  - Quality gates
@@ -56,12 +62,13 @@ All agents inherit from **AGENT_BOOTSTRAP.md** which defines:
56
62
  | Agent | Role | Primary Responsibility | Key Commands |
57
63
  |-------|------|------------------------|--------------|
58
64
  | [AGENT_BOOTSTRAP](./AGENT_BOOTSTRAP.md) | Core | Operating model foundation | — |
59
- | [AGENT_BA](./AGENT_BA.md) | Business Analyst | Problems, goals, scope, business value | `ts:ba` |
60
- | [AGENT_FA](./AGENT_FA.md) | Functional Analyst | Feature Canon, story slicing, behavior | `ts:fa` |
61
- | [AGENT_SA](./AGENT_SA.md) | Solution Architect | Technical design, ADRs | `ts:arch` |
65
+ | [AGENT_PO](./AGENT_PO.md) | Product Owner | Products, Projects, Product Canon, Deployment gates | `ts:po` |
66
+ | [AGENT_BA](./AGENT_BA.md) | Business Analyst | Business Analysis artifacts, Domain knowledge | `ts:ba` |
67
+ | [AGENT_FA](./AGENT_FA.md) | Functional Analyst | Features, Feature-Increments, Epics, Stories | `ts:fa` |
68
+ | [AGENT_SA](./AGENT_SA.md) | Solution Architect | Technical design, ADRs | `ts:sa` |
62
69
  | [AGENT_DEV](./AGENT_DEV.md) | Developer | Implementation, dev plans | `ts:dev` |
63
70
  | [AGENT_QA](./AGENT_QA.md) | QA Engineer | Testing, validation, bug classification | `ts:qa` |
64
- | [AGENT_SM](./AGENT_SM.md) | Scrum Master | Sprint operations, ceremonies | `ts:sm` |
71
+ | [AGENT_SM](./AGENT_SM.md) | Scrum Master | Sprint operations, ceremonies, deployment gates | `ts:sm` |
65
72
  | [AGENT_DES](./AGENT_DES.md) | Designer | UX design, design artifacts | `ts:des` |
66
73
 
67
74
  ---
@@ -72,36 +79,50 @@ All agents inherit from **AGENT_BOOTSTRAP.md** which defines:
72
79
 
73
80
  | If you're asking about... | Use Agent |
74
81
  |---------------------------|-----------|
82
+ | "How do I create a new product?" | PO |
83
+ | "What's in production now?" | PO |
75
84
  | "Why are we building this?" | BA |
76
85
  | "What should the system do?" | FA |
77
86
  | "How should we build this?" | SA |
78
87
  | "How do I implement this?" | DEV |
79
88
  | "Does this work correctly?" | QA |
80
89
  | "What's in this sprint?" | SM |
90
+ | "Is the deployment ready?" | SM |
81
91
  | "What should this look like?" | DES |
82
92
 
83
93
  ### By Activity
84
94
 
85
95
  | Activity | Agent |
86
96
  |----------|-------|
87
- | Starting a new project/epic/feature | BA |
97
+ | Creating a new product | PO |
98
+ | Approving deployment to production | PO |
99
+ | Syncing project changes to Product Canon | PO |
100
+ | Starting a new project | PO |
101
+ | Creating Business Analysis artifacts | BA |
102
+ | Creating Feature-Increments | FA |
103
+ | Creating Epics | FA |
88
104
  | Writing user stories | FA |
89
105
  | Creating ADRs | SA |
90
106
  | Planning implementation | DEV |
91
107
  | Writing test cases | QA |
92
108
  | Running sprint planning | SM |
109
+ | Managing deployment checklists | SM |
93
110
  | Creating wireframes/flows | DES |
94
111
 
95
112
  ### By Artifact
96
113
 
97
114
  | If you're creating... | Use Agent |
98
115
  |-----------------------|-----------|
99
- | BA docs, epics, features (structure) | BA |
100
- | Feature Canon files, stories | FA |
101
- | ADRs, architecture docs | SA |
102
- | Dev plans, code | DEV |
116
+ | Products, product.yml | PO |
117
+ | Projects, project.yml | PO |
118
+ | Product Features (f-PRX-XXX) | FA |
119
+ | Feature-Increments (fi-PRX-XXX) | FA |
120
+ | Epics (epic-PRX-XXX), stories (s-eXXX-YYY) | FA |
121
+ | Business Analysis (ba-PRX-XXX, bai-PRX-XXX) | BA |
122
+ | ADRs (ta-PRX-XXX, tai-PRX-XXX) | SA |
123
+ | Dev plans (dp-eXXX-sYYY), code | DEV |
103
124
  | Test cases, bug reports | QA |
104
- | Sprint goals, retros | SM |
125
+ | Sprint goals, deployment checklists, retros | SM |
105
126
  | Designs, prototypes | DES |
106
127
 
107
128
  ---
@@ -144,69 +165,69 @@ All agents inherit from **AGENT_BOOTSTRAP.md** which defines:
144
165
  ### AGENT_BOOTSTRAP (Foundation)
145
166
 
146
167
  **What it provides:**
147
- - Feature Canon model explanation
148
- - Feature Canon Ownership Model (BA owns purpose/scope, FA owns behavior)
149
- - Canon rules (CANON-001 to CANON-006)
168
+ - Product-Canon model explanation (Products vs Projects)
169
+ - Canon rules (CANON-001 to CANON-009)
150
170
  - Story-as-delta philosophy
151
171
  - Role boundaries
152
172
  - Escalation principles (including Read-Only Mode)
153
173
  - When to Ask Questions vs Refuse decision table
154
174
  - Minimal Output Bias rule
155
- - Quality gates
175
+ - Quality gates (including Deployment Gate)
156
176
  - Command structure
157
177
 
178
+ ### AGENT_PO (Product Owner) — NEW in 4.0
179
+
180
+ **Owns:** Products, Product Canon (AS-IS state), Deployment gates
181
+ **Creates:** Products, product.yml, Product Features (f-PRX-XXX)
182
+ **Enforces:** Product Canon integrity, deployment approval, sync after deployment
183
+ **Refuses:** Writing stories, defining project scope, modifying Canon during projects
184
+
158
185
  ### AGENT_BA (Business Analyst)
159
186
 
160
- **Owns:** Problems, goals, purpose, business value, scope
161
- **Creates:** BA docs, project/epic/feature structures
162
- **Enforces:** Business rationale, value justification
163
- **Refuses:** Technical decisions, implementation details
164
- **New:** Approves all Feature Canon purpose/scope changes (even if FA edits text)
187
+ **Owns:** Projects, Feature-Increments (purpose/scope), Project Decisions
188
+ **Creates:** Projects, BA Increments (bai-PRX-XXX), Feature-Increments (fi-PRX-XXX), SD Increments
189
+ **Enforces:** Business rationale, value justification, product targeting
190
+ **Refuses:** Writing stories, modifying Product Canon, creating Products
165
191
 
166
192
  ### AGENT_FA (Functional Analyst)
167
193
 
168
- **Owns:** Feature Canon, story slicing, current behavior
169
- **Creates:** Feature files, user stories, Canon updates
170
- **Enforces:** Delta stories, Canon sync (most critical!)
171
- **Refuses:** Story creation without feature link
172
- **New:** May delegate Canon updates but remains accountable for correctness
194
+ **Owns:** Stories, Epic behavior, Feature-Increment behavior, Canon sync proposals
195
+ **Creates:** Epics (epic-PRX-XXX), Stories (s-eXXX-YYY), Canon sync proposals
196
+ **Enforces:** Delta stories, Epic linking (mandatory), Canon sync preparation
197
+ **Refuses:** Story creation without Epic link, direct Product Canon modification
173
198
 
174
199
  ### AGENT_SA (Solution Architect)
175
200
 
176
- **Owns:** Technical design, technology choices
177
- **Creates:** ADRs, architecture docs
201
+ **Owns:** Technical design, technology choices, ADRs
202
+ **Creates:** Product Tech Architecture (ta-PRX-XXX), Project ADRs (tai-PRX-XXX)
178
203
  **Enforces:** Design alignment, ADR before coding
179
- **Refuses:** Implementation without ADR for significant changes
180
- **New:** Does NOT update Feature Canon directly - ADRs inform FA
204
+ **Refuses:** Implementation without ADR for significant changes
181
205
 
182
206
  ### AGENT_DEV (Developer)
183
207
 
184
208
  **Owns:** Implementation, task breakdown
185
- **Creates:** Dev plans, code, commits
209
+ **Creates:** Dev plans (dp-eXXX-sYYY), code, commits
186
210
  **Enforces:** Plan before code, tests with implementation
187
- **Refuses:** Coding without dev plan, changing scope
188
- **New:** May PROPOSE Feature Canon wording, FA must APPROVE
211
+ **Refuses:** Coding without dev plan, changing scope
189
212
 
190
213
  ### AGENT_QA (QA Engineer)
191
214
 
192
215
  **Owns:** Testing, validation, quality
193
216
  **Creates:** Test cases, bug reports, UAT scripts
194
- **Enforces:** Bug classification, Definition of Done
195
- **Refuses:** Signing off without Canon alignment
217
+ **Enforces:** Bug classification, Definition of Done, tests against TO-BE state
218
+ **Refuses:** Signing off without Canon alignment, deployment without verification
196
219
 
197
220
  ### AGENT_SM (Scrum Master)
198
221
 
199
- **Owns:** Sprint operations, process facilitation
200
- **Creates:** Sprint artifacts, metrics, retro outputs
201
- **Enforces:** Sprint integrity, neutrality, process
202
- **Refuses:** Making priority decisions (facilitates, doesn't decide)
203
- **New:** Enforces gates by ESCALATION, not by unilateral blocking
222
+ **Owns:** Sprint operations, process facilitation, deployment gate checklist
223
+ **Creates:** Sprint artifacts, metrics, retro outputs, deployment checklists
224
+ **Enforces:** Sprint integrity, neutrality, process, deployment readiness
225
+ **Refuses:** Making priority decisions (facilitates, doesn't decide)
204
226
 
205
227
  ### AGENT_DES (Designer)
206
228
 
207
229
  **Owns:** UX design, design artifacts
208
230
  **Creates:** Feature-level designs, flows, specs
209
- **New:** Design decisions affecting behavior MUST go through FA
210
231
  **Enforces:** Design at feature level (not story)
211
232
  **Refuses:** Designing without clear scope or personas
212
233
 
@@ -214,45 +235,52 @@ All agents inherit from **AGENT_BOOTSTRAP.md** which defines:
214
235
 
215
236
  ## Key Principles
216
237
 
217
- ### 1. Feature Canon is Truth
238
+ ### 1. Product-Canon is Truth (AS-IS)
218
239
 
219
- The Feature Canon (`/features/`) is the authoritative source for system behavior. All agents reference it, and FA is responsible for keeping it updated.
240
+ The Product Canon (`/products/*/features/`) is the authoritative source for production system behavior. Products represent the AS-IS state what is currently deployed and running.
220
241
 
221
- ### 2. Feature Canon Ownership Model
242
+ ### 2. Projects Propose Changes (TO-BE)
243
+
244
+ Projects contain Feature-Increments (`/projects/*/feature-increments/`) that propose changes to products. These represent the TO-BE state — what will be after deployment.
245
+
246
+ ### 3. Products and Projects are Separate
222
247
 
223
248
  ```
224
- BA owns: PURPOSE, VALUE, and SCOPE sections
225
- FA owns: BEHAVIOR, FLOW, and BUSINESS RULES sections
226
- Conflicts: Resolved by BA decision, logged in /decisions/
249
+ Products (AS-IS) Projects (TO-BE)
250
+ ├── products/{product-id}/ ├── projects/{project-id}/
251
+ │ ├── product.yml (includes PRX) │ ├── project.yml
252
+ │ ├── features/ │ ├── feature-increments/
253
+ │ │ └── f-PRX-XXX-*.md │ │ └── fi-PRX-XXX-*.md
254
+ │ └── ... │ └── ...
227
255
  ```
228
256
 
229
- This prevents both scope drift and ownership confusion.
257
+ This prevents "time pollution" where project artifacts contaminate production documentation.
230
258
 
231
- ### 3. Stories are Deltas
259
+ ### 4. Canon Sync Only After Deployment
232
260
 
233
- Stories describe CHANGES to behavior, not complete behavior. They must link to features and say "Feature F-XXX currently does X, this story changes it to Y."
261
+ Product Canon is updated ONLY after successful deployment via `ts:po sync`. FA prepares sync proposals; PO executes them.
234
262
 
235
- ### 4. Strict Role Boundaries
263
+ ### 5. Stories Link to Epics (Mandatory)
236
264
 
237
- Each agent stays in their lane. They know what they own, what they don't, and when to escalate. This prevents scope creep and maintains quality.
265
+ Story filenames MUST include Epic ID: `s-eXXX-YYY-description.md`. This replaces the 2.0 feature link requirement.
238
266
 
239
- ### 5. Quality Gates
267
+ ### 6. Product Prefix (PRX)
240
268
 
241
- Agents enforce Definition of Ready (before development) and Definition of Done (after completion). No shortcuts allowed.
269
+ Every product has a unique 3-4 character prefix (e.g., `DIT` for "DnD Initiative Tracker"). All artifact filenames include this prefix for traceability.
242
270
 
243
- ### 6. Escalation Over Assumption
271
+ ### 7. Strict Role Boundaries
244
272
 
245
- When an agent encounters something outside their domain, they escalate to the appropriate role rather than guessing.
273
+ Each agent stays in their lane. They know what they own, what they don't, and when to escalate. PO owns Products; BA owns Projects; FA owns Stories.
246
274
 
247
- ### 7. Escalation, Not Blocking
275
+ ### 8. Quality Gates
248
276
 
249
- SM and other roles enforce gates by **escalation**, not by unilateral blocking. The correct role decides resolution; SM tracks and reports.
277
+ Agents enforce Definition of Ready (before development), Definition of Done (after completion), and Deployment Gate (before Canon sync).
250
278
 
251
- ### 8. Read-Only Mode
279
+ ### 9. Escalation Over Assumption
252
280
 
253
- Agents can explain, review, and summarize without triggering execution workflows. Questions about process don't require creating artifacts.
281
+ When an agent encounters something outside their domain, they escalate to the appropriate role rather than guessing.
254
282
 
255
- ### 9. Minimal Output Bias
283
+ ### 10. Minimal Output Bias
256
284
 
257
285
  Default to the minimum output needed to progress to the next gate. Don't over-document.
258
286
 
@@ -260,54 +288,62 @@ Default to the minimum output needed to progress to the next gate. Don't over-do
260
288
 
261
289
  ## Command Reference
262
290
 
291
+ ### PO Commands (`ts:po`) — NEW in 4.0
292
+
293
+ | Command | Description |
294
+ |---------|-------------|
295
+ | `ts:po product` | Create new product with PRX |
296
+ | `ts:po project` | Create project targeting product(s) |
297
+ | `ts:po status` | Product status overview |
298
+ | `ts:po approve` | Approve deployment readiness |
299
+ | `ts:po sync` | Sync project changes to Product Canon |
300
+ | `ts:po deprecate` | Mark product as deprecated |
301
+
263
302
  ### BA Commands (`ts:ba`)
264
303
 
265
304
  | Command | Description |
266
305
  |---------|-------------|
267
- | `ts:ba create` | Draft BA document |
306
+ | `ts:ba analysis` | Create business analysis document |
307
+ | `ts:ba ba-increment` | Create BA increment (bai-PRX-XXX) |
308
+ | `ts:ba decision` | Log project decision |
268
309
  | `ts:ba review` | Review BA document |
269
- | `ts:ba project` | Create/manage project |
270
- | `ts:ba epic` | Create/manage epic |
271
- | `ts:ba feature` | Create/manage feature |
272
- | `ts:ba sync` | Validate business attributes |
273
310
 
274
311
  ### FA Commands (`ts:fa`)
275
312
 
276
313
  | Command | Description |
277
314
  |---------|-------------|
278
- | `ts:fa create` | Draft functional spec |
279
- | `ts:fa slice` | Break into stories |
280
- | `ts:fa story` | Create story in backlog |
281
- | `ts:fa story refine <id>` | Move story to ready-to-refine |
282
- | `ts:fa sync` | Update Feature Canon |
315
+ | `ts:fa feature-increment` | Create Feature-Increment (fi-PRX-XXX) |
316
+ | `ts:fa epic` | Create Epic (epic-PRX-XXX) |
317
+ | `ts:fa story` | Create story linked to Epic (s-eXXX-YYY) |
318
+ | `ts:fa sync-prepare` | Prepare Canon sync proposal for PO |
319
+ | `ts:fa behavior` | Update Feature-Increment behavior |
283
320
  | `ts:fa storymap` | Story mapping workshop |
284
321
 
285
- ### ARCH Commands (`ts:arch`)
322
+ ### SA Commands (`ts:sa`)
286
323
 
287
324
  | Command | Description |
288
325
  |---------|-------------|
289
- | `ts:arch adr` | Draft ADR |
290
- | `ts:arch review` | Review technical design |
291
- | `ts:arch sync` | Sync design to stories |
326
+ | `ts:sa sd` | Create Solution Design (sd-PRX-XXX) |
327
+ | `ts:sa ta` | Create Technical Architecture (ta-PRX-XXX) |
328
+ | `ts:sa review` | Review technical design |
292
329
 
293
330
  ### DEV Commands (`ts:dev`)
294
331
 
295
332
  | Command | Description |
296
333
  |---------|-------------|
297
- | `ts:dev plan` | Create task breakdown |
334
+ | `ts:dev plan` | Create task breakdown (dp-eXXX-sYYY) |
298
335
  | `ts:dev implement <id>` | Execute implementation |
299
336
  | `ts:dev commit` | Generate commit message |
300
337
  | `ts:dev branch <id>` | Create branch |
301
- | `ts:dev story ready <id>` | Move to ready-for-dev |
338
+ | `ts:dev ready <id>` | Move to ready-for-dev |
302
339
 
303
340
  ### QA Commands (`ts:qa`)
304
341
 
305
342
  | Command | Description |
306
343
  |---------|-------------|
307
344
  | `ts:qa test` | Design test cases |
308
- | `ts:qa bug` | File bug report |
309
- | `ts:qa uat` | Create UAT instructions |
310
345
  | `ts:qa dor-check <id>` | DoR checklist |
346
+ | `ts:qa dod-check <id>` | DoD checklist |
311
347
  | `ts:qa execute` | Execute test run |
312
348
 
313
349
  ### SM Commands (`ts:sm`)
@@ -315,13 +351,23 @@ Default to the minimum output needed to progress to the next gate. Don't over-do
315
351
  | Command | Description |
316
352
  |---------|-------------|
317
353
  | `ts:sm` | Open SM menu |
318
- | `ts:sm sprint create` | Create sprint |
354
+ | `ts:sm sprint` | Create and manage sprints |
319
355
  | `ts:sm sprint plan` | Sprint planning |
320
356
  | `ts:sm sprint add <id>` | Add story to sprint |
321
357
  | `ts:sm sprint status` | Sprint status |
322
358
  | `ts:sm sprint close` | Close sprint |
323
- | `ts:sm standup` | Standup agenda |
324
- | `ts:sm retro` | Retrospective |
359
+ | `ts:sm deploy-checklist` | Generate deployment checklist |
360
+
361
+ ### Universal Commands
362
+
363
+ | Command | Description |
364
+ |---------|-------------|
365
+ | `ts:fix` | Auto-fix lint errors |
366
+ | `ts:lint` | Run linter (includes TS-PROD-*, TS-FI-*, TS-EPIC-*) |
367
+ | `ts:context` | Show/validate team context |
368
+ | `ts:deploy` | **DEPRECATED** — Use `ts:po sync` instead |
369
+ | `ts:migrate` | Migrate from older TeamSpec versions |
370
+ | `ts:agent <role>` | Load role-specific agent |
325
371
 
326
372
  ---
327
373
 
@@ -331,14 +377,17 @@ Agents enforce these linter rules:
331
377
 
332
378
  | Category | Rules | Agent |
333
379
  |----------|-------|-------|
334
- | TS-PROJ-* | Project validation | BA |
335
- | TS-FEAT-* | Feature validation | FA |
336
- | TS-STORY-* | Story validation | FA, DEV |
337
- | TS-ADR-* | ADR validation | SA |
338
- | TS-DEVPLAN-* | Dev plan validation | DEV |
380
+ | TS-PROD-* | Product validation (product.yml, PRX) | PO |
381
+ | TS-FI-* | Feature-Increment validation | BA, FA |
382
+ | TS-EPIC-* | Epic validation | FA |
383
+ | TS-PROJ-* | Project validation (product targeting) | BA |
384
+ | TS-STORY-* | Story validation (Epic linking) | FA, DEV |
385
+ | TS-ADR-* | ADR validation (ta-PRX, tai-PRX) | SA |
386
+ | TS-DEVPLAN-* | Dev plan validation (dp-eXXX-sYYY) | DEV |
339
387
  | TS-QA-* | Test case validation | QA |
340
388
  | TS-UAT-* | UAT validation | QA |
341
- | TS-DOD-* | Definition of Done | All |
389
+ | TS-NAMING-* | Naming conventions (PRX patterns) | All |
390
+ | TS-DOD-* | Definition of Done (incl. Deployment Gate) | All |
342
391
 
343
392
  ---
344
393
 
@@ -370,8 +419,9 @@ Agents enforce these linter rules:
370
419
 
371
420
  | Version | Date | Changes |
372
421
  |---------|------|---------|
422
+ | 4.0 | 2026-01-09 | Product-Canon model: Products vs Projects separation, new PO role, PRX naming, Epic-mandatory stories, deployment gates |
373
423
  | 2.0.1 | 2026-01-07 | Added: Feature Canon Ownership Model, delegation authority for FA, escalation-vs-blocking clarification, read-only mode, minimal output bias, cross-role contribution rights |
374
- | 2.0 | 2026-01-07 | Initial TeamSpec 2.0 agents |
424
+ | 2.0 | 2026-01-07 | Initial TeamSpec agents |
375
425
 
376
426
  ---
377
427