specweave 0.26.13 → 0.27.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 (176) hide show
  1. package/CLAUDE.md +73 -1
  2. package/README.md +111 -466
  3. package/dist/plugins/specweave-jira/lib/setup-wizard.d.ts.map +1 -1
  4. package/dist/plugins/specweave-jira/lib/setup-wizard.js +57 -78
  5. package/dist/plugins/specweave-jira/lib/setup-wizard.js.map +1 -1
  6. package/dist/src/cli/commands/import-docs.d.ts.map +1 -1
  7. package/dist/src/cli/commands/import-docs.js +23 -31
  8. package/dist/src/cli/commands/import-docs.js.map +1 -1
  9. package/dist/src/cli/commands/import-external.d.ts.map +1 -1
  10. package/dist/src/cli/commands/import-external.js +6 -10
  11. package/dist/src/cli/commands/import-external.js.map +1 -1
  12. package/dist/src/cli/commands/init-multiproject.d.ts.map +1 -1
  13. package/dist/src/cli/commands/init-multiproject.js +58 -73
  14. package/dist/src/cli/commands/init-multiproject.js.map +1 -1
  15. package/dist/src/cli/commands/init.d.ts +17 -11
  16. package/dist/src/cli/commands/init.d.ts.map +1 -1
  17. package/dist/src/cli/commands/init.js +221 -1874
  18. package/dist/src/cli/commands/init.js.map +1 -1
  19. package/dist/src/cli/commands/install.d.ts.map +1 -1
  20. package/dist/src/cli/commands/install.js +14 -22
  21. package/dist/src/cli/commands/install.js.map +1 -1
  22. package/dist/src/cli/commands/migrate-config.d.ts.map +1 -1
  23. package/dist/src/cli/commands/migrate-config.js +6 -10
  24. package/dist/src/cli/commands/migrate-config.js.map +1 -1
  25. package/dist/src/cli/commands/switch-project.d.ts.map +1 -1
  26. package/dist/src/cli/commands/switch-project.js.map +1 -1
  27. package/dist/src/cli/helpers/ado-area-path-mapper.d.ts.map +1 -1
  28. package/dist/src/cli/helpers/ado-area-path-mapper.js +36 -49
  29. package/dist/src/cli/helpers/ado-area-path-mapper.js.map +1 -1
  30. package/dist/src/cli/helpers/github/increment-profile-selector.d.ts.map +1 -1
  31. package/dist/src/cli/helpers/github/increment-profile-selector.js.map +1 -1
  32. package/dist/src/cli/helpers/github/profile-manager.d.ts.map +1 -1
  33. package/dist/src/cli/helpers/github/profile-manager.js +8 -11
  34. package/dist/src/cli/helpers/github/profile-manager.js.map +1 -1
  35. package/dist/src/cli/helpers/github-repo-selector.d.ts.map +1 -1
  36. package/dist/src/cli/helpers/github-repo-selector.js +26 -50
  37. package/dist/src/cli/helpers/github-repo-selector.js.map +1 -1
  38. package/dist/src/cli/helpers/import-strategy-prompter.d.ts.map +1 -1
  39. package/dist/src/cli/helpers/import-strategy-prompter.js +39 -52
  40. package/dist/src/cli/helpers/import-strategy-prompter.js.map +1 -1
  41. package/dist/src/cli/helpers/init/config-detection.d.ts +40 -0
  42. package/dist/src/cli/helpers/init/config-detection.d.ts.map +1 -0
  43. package/dist/src/cli/helpers/init/config-detection.js +125 -0
  44. package/dist/src/cli/helpers/init/config-detection.js.map +1 -0
  45. package/dist/src/cli/helpers/init/directory-structure.d.ts +26 -0
  46. package/dist/src/cli/helpers/init/directory-structure.d.ts.map +1 -0
  47. package/dist/src/cli/helpers/init/directory-structure.js +190 -0
  48. package/dist/src/cli/helpers/init/directory-structure.js.map +1 -0
  49. package/dist/src/cli/helpers/init/external-import.d.ts +15 -0
  50. package/dist/src/cli/helpers/init/external-import.d.ts.map +1 -0
  51. package/dist/src/cli/helpers/init/external-import.js +251 -0
  52. package/dist/src/cli/helpers/init/external-import.js.map +1 -0
  53. package/dist/src/cli/helpers/init/index.d.ts +15 -0
  54. package/dist/src/cli/helpers/init/index.d.ts.map +1 -0
  55. package/dist/src/cli/helpers/init/index.js +26 -0
  56. package/dist/src/cli/helpers/init/index.js.map +1 -0
  57. package/dist/src/cli/helpers/init/next-steps.d.ts +15 -0
  58. package/dist/src/cli/helpers/init/next-steps.d.ts.map +1 -0
  59. package/dist/src/cli/helpers/init/next-steps.js +72 -0
  60. package/dist/src/cli/helpers/init/next-steps.js.map +1 -0
  61. package/dist/src/cli/helpers/init/path-utils.d.ts +41 -0
  62. package/dist/src/cli/helpers/init/path-utils.d.ts.map +1 -0
  63. package/dist/src/cli/helpers/init/path-utils.js +146 -0
  64. package/dist/src/cli/helpers/init/path-utils.js.map +1 -0
  65. package/dist/src/cli/helpers/init/plugin-installer.d.ts +28 -0
  66. package/dist/src/cli/helpers/init/plugin-installer.d.ts.map +1 -0
  67. package/dist/src/cli/helpers/init/plugin-installer.js +238 -0
  68. package/dist/src/cli/helpers/init/plugin-installer.js.map +1 -0
  69. package/dist/src/cli/helpers/init/repository-setup.d.ts +28 -0
  70. package/dist/src/cli/helpers/init/repository-setup.d.ts.map +1 -0
  71. package/dist/src/cli/helpers/init/repository-setup.js +78 -0
  72. package/dist/src/cli/helpers/init/repository-setup.js.map +1 -0
  73. package/dist/src/cli/helpers/init/smart-reinit.d.ts +30 -0
  74. package/dist/src/cli/helpers/init/smart-reinit.d.ts.map +1 -0
  75. package/dist/src/cli/helpers/init/smart-reinit.js +140 -0
  76. package/dist/src/cli/helpers/init/smart-reinit.js.map +1 -0
  77. package/dist/src/cli/helpers/init/testing-config.d.ts +27 -0
  78. package/dist/src/cli/helpers/init/testing-config.d.ts.map +1 -0
  79. package/dist/src/cli/helpers/init/testing-config.js +131 -0
  80. package/dist/src/cli/helpers/init/testing-config.js.map +1 -0
  81. package/dist/src/cli/helpers/init/types.d.ts +86 -0
  82. package/dist/src/cli/helpers/init/types.d.ts.map +1 -0
  83. package/dist/src/cli/helpers/init/types.js +5 -0
  84. package/dist/src/cli/helpers/init/types.js.map +1 -0
  85. package/dist/src/cli/helpers/issue-tracker/ado-auto-discover.d.ts.map +1 -1
  86. package/dist/src/cli/helpers/issue-tracker/ado-auto-discover.js +10 -12
  87. package/dist/src/cli/helpers/issue-tracker/ado-auto-discover.js.map +1 -1
  88. package/dist/src/cli/helpers/issue-tracker/ado.d.ts.map +1 -1
  89. package/dist/src/cli/helpers/issue-tracker/ado.js +43 -60
  90. package/dist/src/cli/helpers/issue-tracker/ado.js.map +1 -1
  91. package/dist/src/cli/helpers/issue-tracker/github-multi-repo.d.ts.map +1 -1
  92. package/dist/src/cli/helpers/issue-tracker/github-multi-repo.js +193 -230
  93. package/dist/src/cli/helpers/issue-tracker/github-multi-repo.js.map +1 -1
  94. package/dist/src/cli/helpers/issue-tracker/github.d.ts.map +1 -1
  95. package/dist/src/cli/helpers/issue-tracker/github.js +43 -54
  96. package/dist/src/cli/helpers/issue-tracker/github.js.map +1 -1
  97. package/dist/src/cli/helpers/issue-tracker/index.d.ts.map +1 -1
  98. package/dist/src/cli/helpers/issue-tracker/index.js +27 -40
  99. package/dist/src/cli/helpers/issue-tracker/index.js.map +1 -1
  100. package/dist/src/cli/helpers/issue-tracker/jira.d.ts.map +1 -1
  101. package/dist/src/cli/helpers/issue-tracker/jira.js +54 -70
  102. package/dist/src/cli/helpers/issue-tracker/jira.js.map +1 -1
  103. package/dist/src/cli/helpers/smart-filter.d.ts.map +1 -1
  104. package/dist/src/cli/helpers/smart-filter.js +62 -85
  105. package/dist/src/cli/helpers/smart-filter.js.map +1 -1
  106. package/dist/src/core/increment/auto-transition-manager.d.ts +12 -0
  107. package/dist/src/core/increment/auto-transition-manager.d.ts.map +1 -1
  108. package/dist/src/core/increment/auto-transition-manager.js +45 -0
  109. package/dist/src/core/increment/auto-transition-manager.js.map +1 -1
  110. package/dist/src/core/increment/metadata-manager.d.ts.map +1 -1
  111. package/dist/src/core/increment/metadata-manager.js +46 -0
  112. package/dist/src/core/increment/metadata-manager.js.map +1 -1
  113. package/dist/src/core/increment/status-change-sync-trigger.d.ts +12 -0
  114. package/dist/src/core/increment/status-change-sync-trigger.d.ts.map +1 -1
  115. package/dist/src/core/increment/status-change-sync-trigger.js +48 -2
  116. package/dist/src/core/increment/status-change-sync-trigger.js.map +1 -1
  117. package/dist/src/core/living-docs/living-docs-sync.d.ts +13 -0
  118. package/dist/src/core/living-docs/living-docs-sync.d.ts.map +1 -1
  119. package/dist/src/core/living-docs/living-docs-sync.js +40 -0
  120. package/dist/src/core/living-docs/living-docs-sync.js.map +1 -1
  121. package/dist/src/core/repo-structure/repo-bulk-discovery.d.ts.map +1 -1
  122. package/dist/src/core/repo-structure/repo-bulk-discovery.js +63 -83
  123. package/dist/src/core/repo-structure/repo-bulk-discovery.js.map +1 -1
  124. package/dist/src/core/repo-structure/repo-structure-manager.d.ts.map +1 -1
  125. package/dist/src/core/repo-structure/repo-structure-manager.js +339 -424
  126. package/dist/src/core/repo-structure/repo-structure-manager.js.map +1 -1
  127. package/dist/src/core/sync/bidirectional-engine.d.ts.map +1 -1
  128. package/dist/src/core/sync/bidirectional-engine.js +21 -29
  129. package/dist/src/core/sync/bidirectional-engine.js.map +1 -1
  130. package/dist/src/init/InitFlow.js +15 -19
  131. package/dist/src/init/InitFlow.js.map +1 -1
  132. package/dist/src/init/repo/types.d.ts +1 -1
  133. package/dist/src/integrations/ado/area-path-mapper.d.ts.map +1 -1
  134. package/dist/src/integrations/ado/area-path-mapper.js +19 -23
  135. package/dist/src/integrations/ado/area-path-mapper.js.map +1 -1
  136. package/dist/src/utils/external-resource-validator.d.ts.map +1 -1
  137. package/dist/src/utils/external-resource-validator.js +41 -65
  138. package/dist/src/utils/external-resource-validator.js.map +1 -1
  139. package/dist/src/utils/project-detection.d.ts.map +1 -1
  140. package/dist/src/utils/project-detection.js +19 -21
  141. package/dist/src/utils/project-detection.js.map +1 -1
  142. package/dist/src/utils/project-validator.d.ts.map +1 -1
  143. package/dist/src/utils/project-validator.js +5 -7
  144. package/dist/src/utils/project-validator.js.map +1 -1
  145. package/package.json +2 -3
  146. package/plugins/PLUGINS-INDEX.md +120 -0
  147. package/plugins/specweave/agents/tech-lead/AGENT.md +9 -0
  148. package/plugins/specweave/commands/specweave-increment.md +1 -1
  149. package/plugins/specweave/commands/specweave-update-scope.md +2 -2
  150. package/plugins/specweave/hooks/post-user-story-complete.sh +86 -35
  151. package/plugins/specweave/lib/hooks/us-completion-orchestrator.js +62 -1
  152. package/plugins/specweave/lib/hooks/us-completion-orchestrator.ts +106 -3
  153. package/plugins/specweave/lib/vendor/core/increment/auto-transition-manager.d.ts +12 -0
  154. package/plugins/specweave/lib/vendor/core/increment/auto-transition-manager.js +45 -0
  155. package/plugins/specweave/lib/vendor/core/increment/auto-transition-manager.js.map +1 -1
  156. package/plugins/specweave/lib/vendor/core/increment/metadata-manager.js +46 -0
  157. package/plugins/specweave/lib/vendor/core/increment/metadata-manager.js.map +1 -1
  158. package/plugins/specweave/skills/SKILLS-INDEX.md +69 -225
  159. package/plugins/specweave/skills/increment-planner/SKILL.md +10 -5
  160. package/plugins/specweave/skills/specweave-framework/SKILL.md +6 -4
  161. package/plugins/specweave/templates/coding-standards.md.template +36 -0
  162. package/plugins/specweave-ado/commands/specweave-ado-import-projects.md +1 -1
  163. package/plugins/specweave-ado/lib/project-selector.js +56 -67
  164. package/plugins/specweave-ado/lib/project-selector.ts +72 -85
  165. package/plugins/specweave-ado/skills/ado-resource-validator/SKILL.md +1 -1
  166. package/plugins/specweave-github/hooks/.specweave/logs/hooks-debug.log +6 -0
  167. package/plugins/specweave-github/lib/repo-selector.js +55 -66
  168. package/plugins/specweave-github/lib/repo-selector.ts +73 -84
  169. package/plugins/specweave-jira/commands/import-projects.js +3 -5
  170. package/plugins/specweave-jira/commands/import-projects.ts +3 -5
  171. package/plugins/specweave-jira/lib/project-selector.js +60 -71
  172. package/plugins/specweave-jira/lib/project-selector.ts +78 -91
  173. package/plugins/specweave-jira/lib/setup-wizard.js +51 -72
  174. package/plugins/specweave-jira/lib/setup-wizard.ts +56 -74
  175. package/plugins/specweave-release/hooks/.specweave/logs/dora-tracking.log +9 -0
  176. package/src/templates/CLAUDE.md.template +14 -0
package/README.md CHANGED
@@ -1,553 +1,194 @@
1
1
  # SpecWeave
2
2
 
3
- > **1 Senior Developer = Full Engineering Team**
3
+ **AI-Native Spec-Driven Development Framework**
4
4
 
5
- The framework that turns solo builders into unicorn-level engineering teams.
5
+ Turn vague ideas into production-ready code with enterprise-grade documentation—automatically.
6
6
 
7
+ [![NPM Version](https://img.shields.io/npm/v/specweave?color=blue)](https://www.npmjs.com/package/specweave)
7
8
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
8
- [![Build](https://img.shields.io/github/actions/workflow/status/anton-abyzov/specweave/test.yml?branch=develop&label=Tests)](https://github.com/anton-abyzov/specweave/actions/workflows/test.yml)
9
- [![E2E](https://img.shields.io/github/actions/workflow/status/anton-abyzov/specweave/e2e-smoke-test.yml?branch=develop&label=E2E)](https://github.com/anton-abyzov/specweave/actions/workflows/e2e-smoke-test.yml)
10
- [![Discord](https://img.shields.io/badge/Discord-Join_Server-5865F2?logo=discord&logoColor=white)](https://discord.gg/UYg4BGJ65V)
11
- [![YouTube](https://img.shields.io/badge/YouTube-Subscribe-red?logo=youtube&logoColor=white)](https://www.youtube.com/@antonabyzov)
9
+ [![Discord](https://img.shields.io/badge/Discord-Join-5865F2?logo=discord&logoColor=white)](https://discord.gg/UYg4BGJ65V)
12
10
 
13
11
  ---
14
12
 
15
- ## 📊 Engineering Metrics (DORA)
13
+ ## The Problem
16
14
 
17
- [![Deploy Frequency](https://img.shields.io/badge/dynamic/json?url=https://raw.githubusercontent.com/anton-abyzov/specweave/develop/.specweave/metrics/dora-latest.json&query=$.metrics.deploymentFrequency.value&label=Deploy%20Frequency&suffix=/month&color=brightgreen)](https://github.com/anton-abyzov/specweave/blob/develop/.specweave/docs/internal/delivery/dora-metrics.md)
18
- [![Lead Time](https://img.shields.io/badge/dynamic/json?url=https://raw.githubusercontent.com/anton-abyzov/specweave/develop/.specweave/metrics/dora-latest.json&query=$.metrics.leadTime.value&label=Lead%20Time&suffix=h&color=brightgreen)](https://github.com/anton-abyzov/specweave/blob/develop/.specweave/docs/internal/delivery/dora-metrics.md)
19
- [![Change Failure Rate](https://img.shields.io/badge/dynamic/json?url=https://raw.githubusercontent.com/anton-abyzov/specweave/develop/.specweave/metrics/dora-latest.json&query=$.metrics.changeFailureRate.value&label=Change%20Failure%20Rate&suffix=%25&color=brightgreen)](https://github.com/anton-abyzov/specweave/blob/develop/.specweave/docs/internal/delivery/dora-metrics.md)
20
- [![MTTR](https://img.shields.io/badge/dynamic/json?url=https://raw.githubusercontent.com/anton-abyzov/specweave/develop/.specweave/metrics/dora-latest.json&query=$.metrics.mttr.value&label=MTTR&suffix=min&color=brightgreen)](https://github.com/anton-abyzov/specweave/blob/develop/.specweave/docs/internal/delivery/dora-metrics.md)
15
+ You're building fast with AI. But:
16
+ - Documentation is non-existent
17
+ - Architecture decisions are lost in chat history
18
+ - Tests are an afterthought
19
+ - GitHub/JIRA updates are manual busywork
20
+ - New team members need weeks to onboard
21
21
 
22
- **SpecWeave builds SpecWeave using SpecWeave.** These are real metrics from our own development.
22
+ **Result**: Technical debt from day one.
23
23
 
24
- **[→ Live Dashboard](https://spec-weave.com/docs/metrics)** | **[→ Detailed Report](https://github.com/anton-abyzov/specweave/blob/develop/.specweave/metrics/dora-report.md)**
24
+ ## The Solution
25
25
 
26
- ---
27
-
28
- ## 🦄 The Solo Builder Revolution
29
-
30
- **The Truth Nobody Talks About:**
31
- - **Stripe:** Started with 2 engineers
32
- - **Instagram:** 1 engineer (Kevin Systrom) until 100M users
33
- - **WhatsApp:** 32 engineers serving 450M users (14M users per engineer!)
34
- - **Plaid:** 3 founding engineers built a $13B company
35
-
36
- **What they had that you don't:**
37
- - Enterprise-grade documentation processes
38
- - Architecture decision records (ADRs)
39
- - Living runbooks and operational docs
40
- - Spec-driven development discipline
41
-
42
- **With SpecWeave:**
43
- - ✅ **You get ALL of that** - automatically
44
- - ✅ **You ARE the full team** - PM + Architect + QA + DevOps + Tech Writer
45
- - ✅ **You CAN build unicorns** - solo, with enterprise-grade quality
46
-
47
- ### What This Replaces:
48
-
49
- | Role | Annual Cost | SpecWeave Replacement |
50
- |------|-------------|----------------------|
51
- | Product Manager | $150K | Auto-generated PRDs + User Stories |
52
- | System Architect | $180K | Auto-generated ADRs + HLD |
53
- | Tech Writer | $100K | Living docs auto-sync |
54
- | QA Lead | $130K | BDD tests embedded |
55
- | DevOps Engineer | $150K | Production runbooks included |
56
- | **Total Team Cost** | **$710K/year** | **$0** (free framework) |
57
-
58
- **ROI:** ♾️ (infinite)
59
-
60
- **You're not hiring a team. You're automating one.** 🚀
61
-
62
- ---
63
-
64
- ## If You Get Hit By A Bus
65
-
66
- Your startup dies with you.
67
-
68
- Every architecture decision. Every API choice. Every "weird workaround because..."
69
-
70
- All in your head. Zero documentation.
71
-
72
- **AI made you 10x faster at digging your own grave.**
26
+ SpecWeave makes AI **spec-driven**:
73
27
 
74
- ---
75
-
76
- ## Want to Scale? Get Enterprise-Ready.
77
-
78
- You can't land Fortune 500 clients with tribal knowledge.
79
- You can't pass SOC2 audit with "ask Dave."
80
- You can't sell your startup when the codebase is a mystery.
81
-
82
- **The companies making REAL money?**
83
- - They have **PRDs** (Product Requirements)
84
- - They have **ADRs** (Architecture Decision Records)
85
- - They have **HLDs** (High-Level Design docs)
86
- - They have **runbooks** (How to actually run this)
87
-
88
- This isn't bureaucracy. **This is how you get paid.**
89
-
90
- But for solo devs and small teams? Impossible to maintain manually.
91
-
92
- ---
93
-
94
- ## SpecWeave: Enterprise Standards, Solo Builder Capability
95
-
96
- **The Power Formula:**
97
28
  ```
98
- 1 Senior + SpecWeave + Claude Code = Full Engineering Team
29
+ Idea Spec Plan Tasks → Code Docs (all auto-generated and synced)
99
30
  ```
100
31
 
101
- Living documentation that updates automatically after every task.
102
- The same processes Fortune 500 uses. Without the team. Without the manual work.
103
-
104
- ### For Juniors:
105
- - ✅ **Code like seniors** - Enterprise patterns from day one
106
- - ✅ **Think like architects** - ADRs teach you system design
107
- - ✅ **Test like QA leads** - BDD embedded in every task
108
-
109
- ### For Seniors:
110
- - ✅ **Build like unicorns** - Solo founder → Unicorn-level product
111
- - ✅ **Ship enterprise-grade** - Pass SOC2, land Fortune 500 deals
112
- - ✅ **Replace entire teams** - PM + Architect + QA + DevOps + Tech Writer
113
-
114
- ### For CTOs:
115
- - ✅ **Manage without meetings** - Docs are source of truth
116
- - ✅ **Scale without chaos** - Standards enforced automatically
117
- - ✅ **Audit-ready always** - ISO, SOC2, compliance built-in
118
-
119
- **AI speed + Enterprise reliability + Solo capability = Infinite leverage** 🚀
120
-
121
- ---
122
-
123
- ## 🤖 AI Manages Your Enterprise Tools (Not Just Your Code!)
124
-
125
- **Here's what makes SpecWeave revolutionary:**
126
-
127
- Other AI tools write code. **SpecWeave's AI runs your entire engineering operation.**
128
-
129
- ### The Problem with Traditional AI Coding
130
-
131
- ```
132
- You → AI → Code ✅
133
- You → Manual → Update JIRA ❌ (3 hours/week wasted)
134
- You → Manual → Update GitHub ❌ (2 hours/week wasted)
135
- You → Manual → Write docs ❌ (4 hours/week wasted)
136
- ```
137
-
138
- **Total waste**: 9 hours/week = $35K/year per developer
139
-
140
- ### The SpecWeave Solution: AI with Three-Permission Sync
141
-
142
- **Control EXACTLY what Claude updates with three simple questions**:
143
-
144
- ```mermaid
145
- graph TB
146
- A[👤 You + Claude] -->|"Plan feature:\n/specweave:increment"| B{Q1: Can Claude CREATE\nand UPDATE work items\nit created?}
147
- B -->|"✅ Yes"| C[📝 Create GitHub Issue #142]
148
- B -->|"❌ No"| D[💻 Local Mode Only]
149
-
150
- E[✅ Task Complete] -->|"Update content?"| F{Q2: Can Claude UPDATE\nwork items created\nexternally?}
151
- F -->|"✅ Yes"| G[📤 Update PM-Created Issues]
152
- F -->|"❌ No"| H[📋 Living Docs Only]
153
-
154
- I[🔔 Issue Closed] -->|"Sync status?"| J{Q3: Can Claude UPDATE\nstatus of work items?}
155
- J -->|"✅ Yes"| K[✅ Sync Status]
156
- J -->|"❌ No"| L[👤 Manual Management]
157
-
158
- style B fill:#339af0,stroke:#1971c2,stroke-width:3px,color:#fff
159
- style F fill:#51cf66,stroke:#2f9e44,stroke-width:3px,color:#fff
160
- style J fill:#ff8c42,stroke:#e8590c,stroke-width:3px,color:#fff
161
- ```
162
-
163
- **Answer 3 questions during `specweave init`, Claude handles everything else**:
164
-
165
- ```
166
- You → Claude → EVERYTHING (automatic!)
167
-
168
- /specweave:increment "User authentication"
169
-
170
- Claude creates:
171
- ✅ Spec.md (user stories, acceptance criteria)
172
- ✅ JIRA Epic + 5 Stories (auto-created if Q1=Yes)
173
- ✅ GitHub Issue #142 (auto-created if Q1=Yes)
174
- ✅ Tasks with embedded tests (BDD format)
175
-
176
- /specweave:do
177
-
178
- Claude implements Task 1:
179
- ✅ Code (AuthService.ts, tests, 92% coverage)
180
- ✅ JIRA Story → "Done" (if Q2=Yes, updated automatically!)
181
- ✅ GitHub checkbox → ✓ (if Q2=Yes, updated automatically!)
182
- ✅ Docs synced (ADRs, architecture, runbooks)
183
- ```
184
-
185
- **Your team/client/manager sees updates in real-time. Zero manual work.**
186
-
187
- ### What This Means in Practice
188
-
189
- **For Solo Founders**:
190
- - ✅ Appear like a full engineering team to investors
191
- - ✅ Professional JIRA/ADO tracking (without the overhead)
192
- - ✅ 80% of time coding, 20% everything else (not 50/50!)
193
-
194
- **For Agencies/Consultants**:
195
- - ✅ Client A (JIRA) + Client B (ADO) + Client C (GitHub) = Zero context-switching
196
- - ✅ Clients see real-time updates (without you doing PM work)
197
- - ✅ Reclaim 20+ hours/month = $3K-$5K more billable time
198
-
199
- **For Small Teams (2-10 people)**:
200
- - ✅ No dedicated PM needed (Claude orchestrates everything)
201
- - ✅ Save $130K/year OR free up senior dev to build
202
- - ✅ Management self-service (no "What's the status?" meetings)
203
-
204
- **For Enterprises**:
205
- - ✅ SOC2/ISO audit trails (automatic compliance documentation)
206
- - ✅ Real-time visibility (management dashboards fed by AI)
207
- - ✅ Multi-project tracking (unlimited repos, one SpecWeave instance)
208
-
209
- ### Supported Enterprise Platforms
210
-
211
- | Platform | Status | Capabilities |
212
- |----------|--------|--------------|
213
- | **GitHub Issues** | ✅ Production | Three-permission sync, task tracking, auto-close, multi-repo |
214
- | **JIRA** | ✅ Production | Three-permission sync, Epic/Story sync, status updates, comments |
215
- | **Azure DevOps** | ✅ Production | Three-permission sync, Work items, hierarchy, area paths |
216
- | **Linear** | 🔄 Coming Q1 2026 | Full integration planned |
217
- | **Asana** | 🔄 Coming Q2 2026 | Full integration planned |
218
-
219
- ### Real ROI Example
220
-
221
- **5-person engineering team**:
222
- - **Before SpecWeave**: 3 hours/week/person on JIRA/PM = 780 hours/year = **$58,500 wasted**
223
- - **After SpecWeave**: 0 hours (Claude does it) = **$58,500 saved**
224
-
225
- **Plus intangibles**:
226
- - ✅ 30% more features shipped (time reclaimed)
227
- - ✅ Audit-ready always (compliance automatic)
228
- - ✅ Real-time visibility (stakeholders self-service)
229
- - ✅ Professional appearance (even as solo founder)
230
-
231
- **[→ Multi-Project Sync Guide](https://spec-weave.com/docs/integrations/multi-project-sync)** | **[→ 5-Minute Setup](https://spec-weave.com/docs/guides/getting-started/quickstart)**
232
-
233
- ---
234
-
235
- ## Works for Both
236
-
237
- **🌱 Greenfield** (New Projects)
238
- - Start with best practices from day one
239
- - Spec-driven development from the beginning
240
- - Clean, documented, maintainable
241
-
242
- **🏭 Brownfield** (Existing Projects)
243
- - Import docs from Notion, Confluence, Wiki
244
- - AI-powered classification (85%+ accuracy)
245
- - Gradual migration without disruption
246
-
247
- **[→ Brownfield Import Guide](https://spec-weave.com/docs/workflows/brownfield)**
32
+ Every feature gets: user stories, acceptance criteria, architecture decisions, embedded tests, and auto-updating documentation.
248
33
 
249
34
  ---
250
35
 
251
36
  ## Quick Start
252
37
 
253
- ### Greenfield (New Project)
254
38
  ```bash
255
- # Install SpecWeave
256
39
  npm install -g specweave
257
-
258
- # Initialize with Strategic Init (AI-powered research)
259
- specweave init my-project
260
-
261
- # Strategic Init guides you through 6 phases:
262
- # Phase 1: Vision & Market Research
263
- # Phase 2: Scaling & Performance Goals
264
- # Phase 3: Data & Compliance Detection
265
- # Phase 4: Budget & Cloud Credits
266
- # Phase 5: Methodology & Organization
267
- # Phase 6: Repository Selection (optional)
268
-
269
- # Result: Architecture recommendation, team plan, cost estimates
270
- cd my-project
271
-
272
- # Start building
273
- /specweave:increment "User authentication" # Plan increment
274
- /specweave:do # Implement tasks
275
- /specweave:done 0001 # Complete increment
276
- ```
277
-
278
- ### Multi-Project Setup
279
- ```bash
280
- # Initialize with multiple projects
281
- specweave init --projects backend,frontend,mobile
282
-
283
- # Tasks automatically split by project keyword detection
284
- # Each project gets its own user stories and GitHub issues
40
+ cd your-project
41
+ specweave init .
285
42
  ```
286
43
 
287
- ### Brownfield (Existing Project)
44
+ Then in Claude Code:
288
45
  ```bash
289
- # Initialize SpecWeave in existing project
290
- cd my-existing-project
291
- specweave init .
292
-
293
- # Import existing docs
294
- /specweave:import-docs ~/Downloads/notion-export --source=notion
295
-
296
- # Continue normally
297
- /specweave:increment "Add dark mode"
46
+ /specweave:increment "User authentication with OAuth" # Plan
47
+ /specweave:do # Implement
48
+ /specweave:done 0001 # Complete
298
49
  ```
299
50
 
300
- **[ Complete Quickstart Guide](https://spec-weave.com/docs/guides/getting-started/quickstart)** | **[→ Strategic Init Guide](https://spec-weave.com/docs/guides/strategic-init)**
51
+ **[Full Quickstart Guide](https://spec-weave.com/docs/guides/getting-started/quickstart)**
301
52
 
302
53
  ---
303
54
 
304
- ## Real-World Example
55
+ ## What You Get
305
56
 
306
- **Scenario**: Building authentication for SaaS app
307
-
308
- ```bash
309
- # 1. Plan increment (PM Agent creates spec with user stories)
310
- /specweave:increment "User authentication with OAuth"
311
-
312
- # Result:
313
- # ✅ spec.md - User stories, acceptance criteria
314
- # ✅ plan.md - Architecture, implementation steps
315
- # ✅ tasks.md - Tasks with embedded tests (BDD format)
316
-
317
- # 2. Implement (auto-pauses if blocked, resumes when ready)
318
- /specweave:do
319
-
320
- # While you work:
321
- # - Living docs sync automatically after each task
322
- # - Tests embedded in tasks guide implementation
323
- # - ADRs document "why we chose X over Y"
324
- # - GitHub issues auto-sync (optional)
325
-
326
- # 3. Complete (Quality Judge validates)
327
- /specweave:done 0001
328
-
329
- # Result:
330
- # ✅ Code implemented
331
- # ✅ Tests passing (90% coverage)
332
- # ✅ Docs synced (ADRs, HLDs, runbooks)
333
- # ✅ GitHub issues updated
334
- # ✅ New dev can onboard in 1 hour (not 1 week!)
335
- ```
57
+ | Before | After SpecWeave |
58
+ |--------|-----------------|
59
+ | "It's in my head" | Living docs auto-sync |
60
+ | Manual JIRA updates | AI updates GitHub/JIRA/ADO |
61
+ | Tests? Later... | BDD tests embedded in tasks |
62
+ | Tribal knowledge | Searchable specs + ADRs |
63
+ | Onboarding: 2 weeks | Onboarding: 1 day |
336
64
 
337
65
  ---
338
66
 
339
67
  ## Key Features
340
68
 
341
- ### Strategic Init - AI-Powered Architecture Planning (NEW!)
342
-
343
- - 🎯 **Research-Driven Discovery** - Answer 6 phases of questions about your product
344
- - 🏗️ **Architecture Recommendations** - Tech stack, scaling strategy, cost projections
345
- - 🔒 **Compliance Detection** - Auto-detects 30+ standards (HIPAA, GDPR, SOC2, etc.)
346
- - 👥 **Smart Team Planning** - Current and future team structure, hiring roadmap
347
- - ☁️ **Cloud Credits Discovery** - AWS Activate, Azure Startup, GCP eligibility
348
- - 📦 **Repository Selection** - Batch select 1-100+ repos with intelligent routing
69
+ **Structured Development**
70
+ - `/specweave:increment` → AI generates spec.md, plan.md, tasks.md
71
+ - WIP limits enforce focus (1 active increment at a time)
72
+ - Three-file structure: WHAT (spec) HOW (plan) DO (tasks)
349
73
 
350
- ### Multi-Platform Git Support (NEW!)
74
+ **Living Documentation**
75
+ - Specs auto-sync after every task completion
76
+ - Architecture Decision Records (ADRs) captured
77
+ - Runbooks and SLOs generated
351
78
 
352
- - 🌐 **Platform Choice** - GitHub (fully supported), GitLab & Bitbucket (coming soon)
353
- - 🔑 **SSH & HTTPS URLs** - Choose your preferred Git authentication method
354
- - 🏢 **Self-Hosted Support** - GitHub Enterprise, GitLab self-hosted, custom domains
355
- - 🔄 **Platform-Agnostic Architecture** - Zero hardcoded platform references
356
- - **Smart Validation** - Owner/repo/token validation before repository creation
357
- - 📝 **Actionable Errors** - Platform-specific troubleshooting steps when things go wrong
79
+ **External Tool Sync**
80
+ - **GitHub Issues**: Three-permission sync (create, update, status)
81
+ - **JIRA**: Epic/Story hierarchy sync
82
+ - **Azure DevOps**: Work item integration
83
+ - Choose your sync direction per project
358
84
 
359
- **During `specweave init`:**
360
- ```bash
361
- ? Select Git hosting platform:
362
- > GitHub (Modern, cloud-native development platform)
363
- GitLab (Coming soon! Q1 2026)
364
- Bitbucket (Coming soon! Q2 2026)
365
-
366
- ? Choose Git URL format:
367
- > SSH (Recommended - More secure, no password prompts)
368
- HTTPS (Uses personal access token for authentication)
369
- ```
370
-
371
- **Result:**
372
- ```bash
373
- # SSH URLs (recommended)
374
- git@github.com:owner/repo.git
375
- git@gitlab.com:namespace/project.git
376
- git@bitbucket.org:workspace/repo.git
377
-
378
- # HTTPS URLs
379
- https://github.com/owner/repo.git
380
- https://gitlab.com/namespace/project.git
381
- https://bitbucket.org/workspace/repo.git
382
- ```
383
-
384
- ### Production Features
85
+ **AI Orchestration**
86
+ - PM Agent → Architect Agent → Tech Lead Agent
87
+ - Quality gates between phases
88
+ - Auto-validates completion
385
89
 
386
- - 🤖 **AI-Native Enterprise Sync** - Claude updates JIRA/GitHub/ADO automatically (three-permission control)
387
- - 📚 **Living Documentation** - Auto-updates after every task (no manual sync!)
388
- - 🧪 **Test-Aware Planning** - Embedded tests in BDD format (Given/When/Then)
389
- - 🎯 **Disciplined Progress** - Can't start increment N+1 until N is DONE
390
- - ⏸️ **Intelligent Pausing** - Auto-detects blockers, pauses with context, resumes when ready
391
- - 🔄 **Smart Reopen** - Report "broken" → Auto-detects what to reopen, respects WIP limits
392
- - 👥 **Multi-Project Tracking** - Unlimited JIRA/ADO/GitHub repos, intelligent routing
393
- - 🤖 **AI Agents** - PM, Architect, Quality Judge guide your work
394
- - 🔧 **CI/CD Auto-Fix** - Workflow failures auto-fixed by Claude (just mention `@claude`)
395
- - 🌍 **Multilingual** - Work in 11 languages (FREE translation)
396
- - 🏢 **Multi-Project Organization** - Organize by team/repo/microservice
397
-
398
- **[→ Complete Feature List](https://spec-weave.com/docs/overview/features)**
90
+ **Multi-Project Support**
91
+ - Monorepo and multi-repo setups
92
+ - Profile-based sync (different repos per project)
93
+ - Project-aware task routing
399
94
 
400
95
  ---
401
96
 
402
- ## 🔧 CI/CD Auto-Fix
403
-
404
- **Workflow fails? Claude fixes it automatically.**
97
+ ## Workflow
405
98
 
406
- When any GitHub Actions workflow fails, SpecWeave automatically:
407
- 1. Creates an issue mentioning `@claude`
408
- 2. Claude analyzes the failure logs
409
- 3. Claude creates a PR with the fix
410
- 4. You review and merge
411
- 5. Workflow re-runs and passes ✅
412
-
413
- **Manual Trigger**:
414
- ```markdown
415
- @claude This workflow failed: https://github.com/your-org/repo/actions/runs/12345
416
-
417
- Please analyze the logs and create a fix PR.
99
+ ```mermaid
100
+ graph LR
101
+ A[/specweave:increment] -->|PM Agent| B[spec.md]
102
+ B -->|Architect Agent| C[plan.md]
103
+ C -->|Planner| D[tasks.md]
104
+ D -->|/specweave:do| E[Implementation]
105
+ E -->|Hooks| F[Auto-sync Docs]
106
+ F -->|/specweave:done| G[Complete]
418
107
  ```
419
108
 
420
- **Automatic** (via GitHub Actions):
421
- - Detects failures automatically
422
- - No manual intervention needed
423
- - Works 24/7 in the cloud
424
- - Zero cost (uses GitHub Actions free tier)
425
-
426
- **Common fixes**:
427
- - TypeScript compilation errors
428
- - Test failures
429
- - Linting violations
430
- - Missing imports
431
- - Type mismatches
432
- - Configuration issues
433
-
434
- **[→ Setup Guide](https://spec-weave.com/docs/features/cicd-autofix)**
435
-
436
109
  ---
437
110
 
438
- ## 🔄 Smart Reopen (v0.19.0)
111
+ ## Strategic Init
439
112
 
440
- **Production bug? Just say "it's broken" - AI figures out what to reopen.**
113
+ New project? SpecWeave guides you through 6 research phases:
441
114
 
442
- ### Auto-Detection Feature
115
+ 1. **Vision & Market** - What are you building?
116
+ 2. **Scaling Goals** - Expected users, services
117
+ 3. **Compliance** - Auto-detects 30+ standards (HIPAA, SOC2, GDPR...)
118
+ 4. **Budget** - Cloud credits eligibility
119
+ 5. **Methodology** - Agile or Waterfall
120
+ 6. **Repositories** - Multi-repo selection
443
121
 
444
- Report issues naturally:
445
- ```
446
- "The GitHub sync isn't working"
447
- ```
122
+ **Result**: Architecture recommendations, team sizing, cost estimates.
448
123
 
449
- SpecWeave automatically:
450
- 1. 🔍 Scans recent work (active + 7 days completed)
451
- 2. 🎯 Finds related items (relevance scoring)
452
- 3. 💡 Suggests exact reopen command
453
- 4. ⚠️ Validates WIP limits
124
+ ---
454
125
 
455
- ```bash
456
- # Suggested by AI:
457
- /specweave:reopen 0031 --reason "GitHub sync failing"
458
-
459
- # Result:
460
- ✅ Increment 0031 reopened
461
- ⚠️ WIP LIMIT: 3/2 active (EXCEEDED)
462
- 📋 Reopened 5 tasks
463
- 💡 Continue work: /specweave:do 0031
464
- ```
126
+ ## Greenfield & Brownfield
465
127
 
466
- ### Three Reopen Levels
128
+ **New Projects**: Start spec-driven from day one.
467
129
 
468
- **Task-Level** (Surgical Fix):
130
+ **Existing Projects**:
469
131
  ```bash
470
- /specweave:reopen 0031 --task T-003 --reason "API rate limiting"
132
+ specweave init .
133
+ /specweave:import-docs ~/exports/notion --source=notion
471
134
  ```
135
+ Import from Notion, Confluence, GitHub Wiki. AI classifies docs automatically.
472
136
 
473
- **User Story-Level** (Feature Fix):
474
- ```bash
475
- /specweave:reopen 0031 --user-story US-001 --reason "AC not met"
476
- ```
137
+ ---
477
138
 
478
- **Increment-Level** (Systemic Fix):
479
- ```bash
480
- /specweave:reopen 0031 --reason "Multiple production issues"
481
- ```
139
+ ## Commands
482
140
 
483
- ### Complete Audit Trail
484
-
485
- Every reopen is tracked:
486
- ```json
487
- {
488
- "reopened": {
489
- "count": 1,
490
- "history": [
491
- {
492
- "date": "2025-11-14T15:30:00Z",
493
- "reason": "GitHub sync failing",
494
- "previousStatus": "completed"
495
- }
496
- ]
497
- }
498
- }
499
- ```
141
+ | Command | Purpose |
142
+ |---------|---------|
143
+ | `/specweave:increment "feature"` | Plan new increment |
144
+ | `/specweave:do` | Execute tasks |
145
+ | `/specweave:done 0001` | Complete increment |
146
+ | `/specweave:progress` | Show status |
147
+ | `/specweave:validate 0001` | Quality check |
148
+ | `/specweave:sync-progress` | Sync to external tools |
500
149
 
501
- **WIP Limits Respected** - No more "I'll just squeeze in one more fix" chaos!
150
+ **[Full Command Reference →](https://spec-weave.com/docs/commands/overview)**
502
151
 
503
152
  ---
504
153
 
505
- ## 📖 Documentation
154
+ ## Requirements
506
155
 
507
- **Complete guides, tutorials, and API reference:**
156
+ - Node.js 20+
157
+ - Claude Code (recommended) or compatible AI assistant
158
+ - Git repository
159
+
160
+ ---
508
161
 
509
- ### **[spec-weave.com](https://spec-weave.com)**
162
+ ## Integrations
510
163
 
511
- **Start here:**
512
- - 🚀 [Quickstart Guide](https://spec-weave.com/docs/guides/getting-started/quickstart) - 5-minute setup
513
- - 📘 [Complete Workflow](https://spec-weave.com/docs/workflows/overview) - End-to-end journey
514
- - 📋 [Commands Reference](https://spec-weave.com/docs/commands/status-management) - All commands
515
- - [FAQ](https://spec-weave.com/docs/faq) - Common questions
164
+ | Platform | Status |
165
+ |----------|--------|
166
+ | GitHub Issues | Production |
167
+ | JIRA | Production |
168
+ | Azure DevOps | Production |
169
+ | Linear | Coming Q1 2026 |
516
170
 
517
171
  ---
518
172
 
519
173
  ## Community
520
174
 
521
- - 💬 **[Discord](https://discord.gg/UYg4BGJ65V)** - Get help, share tips
522
- - 🎥 **[YouTube](https://www.youtube.com/@antonabyzov)** - Tutorials, demos
523
- - 🐛 **[GitHub Issues](https://github.com/anton-abyzov/specweave/issues)** - Report bugs
524
- - 💡 **[Discussions](https://github.com/anton-abyzov/specweave/discussions)** - Q&A, feature requests
175
+ - **[Discord](https://discord.gg/UYg4BGJ65V)** - Get help, share tips
176
+ - **[Documentation](https://spec-weave.com)** - Full guides
177
+ - **[GitHub Issues](https://github.com/anton-abyzov/specweave/issues)** - Bug reports
178
+ - **[YouTube](https://www.youtube.com/@antonabyzov)** - Tutorials
525
179
 
526
180
  ---
527
181
 
528
182
  ## Contributing
529
183
 
530
184
  ```bash
531
- # Setup
532
185
  git clone https://github.com/anton-abyzov/specweave.git
533
186
  cd specweave
534
187
  npm install && npm run build
535
-
536
- # Test
537
188
  npm test
538
189
  ```
539
190
 
540
- **[Contributor Guide](https://spec-weave.com/docs/guides/contributing)**
541
-
542
- ---
543
-
544
- ## Best with Claude Code
545
-
546
- SpecWeave works best with **[Claude Code](https://claude.com/claude-code)** (native plugins, auto-activating skills, lifecycle hooks).
547
-
548
- Also works with: Cursor, GitHub Copilot, ChatGPT (manual workflow).
549
-
550
- **[→ Tool Comparison](https://spec-weave.com/docs/overview/features#claude-code-native)**
191
+ **[Contributor Guide](https://spec-weave.com/docs/guides/contributing)**
551
192
 
552
193
  ---
553
194
 
@@ -557,4 +198,8 @@ MIT - [github.com/anton-abyzov/specweave](https://github.com/anton-abyzov/specwe
557
198
 
558
199
  ---
559
200
 
560
- **Get started**: `npm install -g specweave` → **[Read the Docs](https://spec-weave.com)**
201
+ **Stop vibe-coding. Start spec-coding.**
202
+
203
+ ```bash
204
+ npm install -g specweave
205
+ ```
@@ -1 +1 @@
1
- {"version":3,"file":"setup-wizard.d.ts","sourceRoot":"","sources":["../../../../plugins/specweave-jira/lib/setup-wizard.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAsB,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAM/F,OAAO,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAE3E,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,MAAM,CAAC,EAAE,KAAK,GAAG,aAAa,CAAC;CAChC;AAMD;;GAEG;AACH,wBAAsB,qBAAqB,IAAI,OAAO,CAAC,yBAAyB,CAAC,CAiBhF;AAMD;;;GAGG;AACH,wBAAsB,oBAAoB,IAAI,OAAO,CAAC,eAAe,CAAC,CAsHrE;AAmED;;GAEG;AACH,wBAAsB,kBAAkB,IAAI,OAAO,CAAC,eAAe,CAAC,CASnE"}
1
+ {"version":3,"file":"setup-wizard.d.ts","sourceRoot":"","sources":["../../../../plugins/specweave-jira/lib/setup-wizard.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAsB,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAM/F,OAAO,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAE3E,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,MAAM,CAAC,EAAE,KAAK,GAAG,aAAa,CAAC;CAChC;AAMD;;GAEG;AACH,wBAAsB,qBAAqB,IAAI,OAAO,CAAC,yBAAyB,CAAC,CAiBhF;AAMD;;;GAGG;AACH,wBAAsB,oBAAoB,IAAI,OAAO,CAAC,eAAe,CAAC,CAwGrE;AA+DD;;GAEG;AACH,wBAAsB,kBAAkB,IAAI,OAAO,CAAC,eAAe,CAAC,CASnE"}