teamspec 3.2.0 → 4.0.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/linter.js +823 -1076
  5. package/lib/prompt-generator.js +312 -330
  6. package/lib/structure-loader.js +400 -0
  7. package/package.json +14 -6
  8. package/teamspec-core/FOLDER_STRUCTURE.yml +131 -0
  9. package/teamspec-core/agents/AGENT_BA.md +188 -293
  10. package/teamspec-core/agents/AGENT_BOOTSTRAP.md +197 -102
  11. package/teamspec-core/agents/AGENT_DES.md +9 -8
  12. package/teamspec-core/agents/AGENT_DEV.md +68 -67
  13. package/teamspec-core/agents/AGENT_FA.md +437 -245
  14. package/teamspec-core/agents/AGENT_FIX.md +344 -74
  15. package/teamspec-core/agents/AGENT_PO.md +487 -0
  16. package/teamspec-core/agents/AGENT_QA.md +124 -98
  17. package/teamspec-core/agents/AGENT_SA.md +143 -84
  18. package/teamspec-core/agents/AGENT_SM.md +106 -83
  19. package/teamspec-core/agents/README.md +143 -93
  20. package/teamspec-core/copilot-instructions.md +281 -205
  21. package/teamspec-core/definitions/definition-of-done.md +47 -84
  22. package/teamspec-core/definitions/definition-of-ready.md +35 -60
  23. package/teamspec-core/registry.yml +898 -0
  24. package/teamspec-core/teamspec.yml +44 -28
  25. package/teamspec-core/templates/README.md +5 -5
  26. package/teamspec-core/templates/adr-template.md +19 -17
  27. package/teamspec-core/templates/bai-template.md +125 -0
  28. package/teamspec-core/templates/bug-report-template.md +21 -15
  29. package/teamspec-core/templates/business-analysis-template.md +16 -13
  30. package/teamspec-core/templates/decision-log-template.md +26 -22
  31. package/teamspec-core/templates/dev-plan-template.md +168 -0
  32. package/teamspec-core/templates/epic-template.md +204 -0
  33. package/teamspec-core/templates/feature-increment-template.md +84 -0
  34. package/teamspec-core/templates/feature-template.md +45 -32
  35. package/teamspec-core/templates/increments-index-template.md +53 -0
  36. package/teamspec-core/templates/product-template.yml +44 -0
  37. package/teamspec-core/templates/products-index-template.md +46 -0
  38. package/teamspec-core/templates/project-template.yml +70 -0
  39. package/teamspec-core/templates/ri-template.md +225 -0
  40. package/teamspec-core/templates/rt-template.md +104 -0
  41. package/teamspec-core/templates/sd-template.md +132 -0
  42. package/teamspec-core/templates/sdi-template.md +119 -0
  43. package/teamspec-core/templates/sprint-template.md +17 -15
  44. package/teamspec-core/templates/story-template-v4.md +202 -0
  45. package/teamspec-core/templates/story-template.md +48 -90
  46. package/teamspec-core/templates/ta-template.md +198 -0
  47. package/teamspec-core/templates/tai-template.md +131 -0
  48. package/teamspec-core/templates/tc-template.md +145 -0
  49. package/teamspec-core/templates/testcases-template.md +20 -17
  50. package/extensions/teamspec-0.1.0.vsix +0 -0
  51. package/lib/extension-installer.js +0 -236
package/README.md CHANGED
@@ -1,17 +1,18 @@
1
1
  # TeamSpec CLI
2
2
 
3
- > Bootstrap TeamSpec 2.0 Feature Canon Operating Model in any repository
3
+ > Bootstrap TeamSpec 4.0 Product-Canon Operating Model in any repository
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/teamspec.svg)](https://www.npmjs.com/package/teamspec)
6
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7
7
 
8
8
  ## What is TeamSpec?
9
9
 
10
- TeamSpec is a **Feature Canon Operating Model** for software teams. It provides:
10
+ TeamSpec is a **Product-Canon Operating Model** for software teams. It provides:
11
11
 
12
- - **Feature Canon** — Single source of truth for system behavior
12
+ - **Product Canon** — Single source of truth for production behavior (AS-IS)
13
+ - **Feature-Increments** — Proposed changes to products (TO-BE)
13
14
  - **Delta-based Stories** — Stories describe changes, not full behavior
14
- - **Role-based Workflows** — Clear ownership boundaries (BA, FA, SA, DEV, QA, SM)
15
+ - **Role-based Workflows** — Clear ownership boundaries (PO, BA, FA, SA, DEV, QA, SM)
15
16
  - **AI Agent Integration** — Works with GitHub Copilot, Cursor, Claude, and more
16
17
 
17
18
  ## Installation
@@ -129,20 +130,30 @@ Updates templates, definitions, and profiles while preserving your team configur
129
130
 
130
131
  Once configured, use these commands with your AI assistant:
131
132
 
133
+ ### Product Owner
134
+
135
+ ```
136
+ ts:po product # Create new product with PRX prefix
137
+ ts:po project # Create new project targeting product(s)
138
+ ts:po sync # Sync Feature-Increments to Product Canon (post-deploy)
139
+ ts:po status # Product/project status overview
140
+ ```
141
+
132
142
  ### Business Analysis
133
143
 
134
144
  ```
135
- ts:ba create # Create business analysis
136
- ts:ba feature # Propose and create features
137
- ts:ba epic # Propose epics with justification
145
+ ts:ba analysis # Create business analysis document
146
+ ts:ba ba-increment # Create BA increment in project
147
+ ts:ba review # Review artifacts for business intent
138
148
  ```
139
149
 
140
150
  ### Functional Analysis
141
151
 
142
152
  ```
143
- ts:fa story # Create user story
144
- ts:fa slice # Slice requirements into stories
145
- ts:fa sync # Update Feature Canon after story completion
153
+ ts:fa feature # Create feature in Product Canon
154
+ ts:fa feature-increment # Create feature-increment in project
155
+ ts:fa epic # Create epic in project
156
+ ts:fa story # Create story linked to epic
146
157
  ```
147
158
 
148
159
  ### Development
@@ -155,8 +166,9 @@ ts:dev implement # Execute from existing plan
155
166
  ### Quality Assurance
156
167
 
157
168
  ```
158
- ts:qa test # Design test cases
159
- ts:qa bug # File bug report
169
+ ts:qa test # Design test cases for Feature-Increment
170
+ ts:qa regression # Update product regression tests
171
+ ts:qa verify # Validate DoD compliance
160
172
  ts:qa uat # Create UAT pack
161
173
  ```
162
174
 
@@ -1,8 +1,8 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
 
3
3
  /**
4
4
  * TeamSpec Init CLI
5
- * Bootstrap TeamSpec 2.0 Feature Canon operating model in any repository
5
+ * Bootstrap TeamSpec 4.0 Product-Canon operating model in any repository
6
6
  */
7
7
 
8
8
  const { run } = require('../lib/cli');