specweave 0.8.18 → 0.8.20

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 (34) hide show
  1. package/CLAUDE.md +48 -12
  2. package/dist/cli/commands/migrate-to-profiles.js +2 -2
  3. package/dist/cli/commands/migrate-to-profiles.js.map +1 -1
  4. package/dist/cli/helpers/issue-tracker/ado.d.ts.map +1 -1
  5. package/dist/cli/helpers/issue-tracker/ado.js +17 -5
  6. package/dist/cli/helpers/issue-tracker/ado.js.map +1 -1
  7. package/dist/cli/helpers/issue-tracker/types.d.ts +3 -0
  8. package/dist/cli/helpers/issue-tracker/types.d.ts.map +1 -1
  9. package/dist/cli/helpers/issue-tracker/types.js.map +1 -1
  10. package/dist/core/credentials-manager.d.ts +3 -0
  11. package/dist/core/credentials-manager.d.ts.map +1 -1
  12. package/dist/core/credentials-manager.js +69 -9
  13. package/dist/core/credentials-manager.js.map +1 -1
  14. package/dist/core/sync/bidirectional-engine.d.ts +110 -0
  15. package/dist/core/sync/bidirectional-engine.d.ts.map +1 -0
  16. package/dist/core/sync/bidirectional-engine.js +356 -0
  17. package/dist/core/sync/bidirectional-engine.js.map +1 -0
  18. package/dist/integrations/ado/ado-client.d.ts +4 -0
  19. package/dist/integrations/ado/ado-client.d.ts.map +1 -1
  20. package/dist/integrations/ado/ado-client.js +18 -0
  21. package/dist/integrations/ado/ado-client.js.map +1 -1
  22. package/package.json +1 -1
  23. package/plugins/specweave-ado/lib/project-selector.d.ts +42 -0
  24. package/plugins/specweave-ado/lib/project-selector.d.ts.map +1 -0
  25. package/plugins/specweave-ado/lib/project-selector.js +211 -0
  26. package/plugins/specweave-ado/lib/project-selector.js.map +1 -0
  27. package/plugins/specweave-ado/lib/project-selector.ts +317 -0
  28. package/plugins/specweave-github/lib/github-client.ts +28 -0
  29. package/plugins/specweave-github/lib/repo-selector.ts +329 -0
  30. package/plugins/specweave-jira/lib/project-selector.ts +323 -0
  31. package/plugins/specweave-jira/lib/reorganization-detector.ts +359 -0
  32. package/plugins/specweave-jira/lib/setup-wizard.ts +256 -0
  33. package/README.md.bak +0 -304
  34. package/plugins/specweave-jira/lib/jira-client-v2.ts +0 -529
package/README.md.bak DELETED
@@ -1,304 +0,0 @@
1
- # SpecWeave
2
-
3
- > **AI made us fast. SpecWeave makes us sustainable.**
4
-
5
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6
- [![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)
7
- [![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)
8
- [![Discord](https://img.shields.io/badge/Discord-Join_Server-5865F2?logo=discord&logoColor=white)](https://discord.gg/UYg4BGJ65V)
9
- [![YouTube](https://img.shields.io/badge/YouTube-Subscribe-red?logo=youtube&logoColor=white)](https://www.youtube.com/@antonabyzov)
10
-
11
- ---
12
-
13
- ## The Problem Everyone Feels But Nobody Talks About
14
-
15
- Your AI coding assistant writes features in 30 minutes.
16
-
17
- You spend 3 days updating documentation.
18
-
19
- By day 4, the code has changed again.
20
-
21
- **The docs? Already wrong.**
22
-
23
- ---
24
-
25
- ## The Dirty Secret of AI Coding
26
-
27
- AI coding assistants made us:
28
- - ✅ **10x faster at shipping**
29
- - ❌ **100x worse at maintaining**
30
-
31
- We're all "vibe coding" now. Fast. Fun. Chaotic.
32
-
33
- No structure. No boundaries. No memory of why we built it this way.
34
-
35
- New developers? Lost in 1 hour.
36
-
37
- **This is not sustainable.**
38
-
39
- ---
40
-
41
- ## The Fortune 500 Gap
42
-
43
- Big companies don't have this problem.
44
-
45
- They have systems:
46
- - **PRDs** (Product Requirements) - What and why
47
- - **HLDs** (High-Level Design) - Architecture decisions
48
- - **ADRs** (Architecture Decision Records) - Why we chose X over Y
49
- - **Runbooks** (Operations) - How to actually run this
50
- - **Glossaries** (Terms) - What these acronyms mean
51
-
52
- Their docs stay updated because there's a team, a process, a **discipline**.
53
-
54
- But for solo developers and small teams?
55
-
56
- **Impossible to maintain manually.**
57
-
58
- ---
59
-
60
- ## What is SpecWeave?
61
-
62
- **Fortune 500 discipline. Zero overhead. AI-native.**
63
-
64
- SpecWeave is a spec-driven development framework that brings enterprise-grade processes to developers of any size—without the bureaucracy.
65
-
66
- It's not just a tool. **It's a movement.**
67
-
68
- > *"Dad, AI writes your code but you update docs MANUALLY?"*
69
- > — My 14-year-old daughter (who was absolutely right)
70
-
71
- **The new way:**
72
- - Living docs that ACTUALLY stay synced (automatically)
73
- - Complete knowledge system (PRDs, HLDs, ADRs, glossaries, runbooks)
74
- - Tests embedded in tasks (BDD format, full traceability)
75
- - Enterprise structure without enterprise overhead
76
- - **Vibe coding... but with boundaries**
77
-
78
- ---
79
-
80
- ## What Changes
81
-
82
- **BEFORE (Vibe Coding):**
83
- - "I think we used JWT tokens?"
84
- - "Why did we choose PostgreSQL again?"
85
- - "What does this acronym mean?"
86
- - New developer: **Lost in 1 hour**
87
-
88
- **AFTER (SpecWeave):**
89
- - Check ADR-003: JWT vs Session Tokens (we chose JWT, here's why)
90
- - Check HLD: Database section (Postgres for ACID compliance)
91
- - Check Glossary: All technical terms defined
92
- - New developer: **Productive in 1 hour**
93
-
94
- ---
95
-
96
- ## 📊 Engineering Metrics (DORA)
97
-
98
- [![Deploy Frequency](https://img.shields.io/badge/dynamic/json?url=https://raw.githubusercontent.com/anton-abyzov/specweave/develop/metrics/dora-latest.json&query=$.metrics.deploymentFrequency.value&label=Deploy%20Frequency&suffix=/month&color=brightgreen)](https://spec-weave.com/docs/metrics)
99
- [![Lead Time](https://img.shields.io/badge/dynamic/json?url=https://raw.githubusercontent.com/anton-abyzov/specweave/develop/metrics/dora-latest.json&query=$.metrics.leadTime.value&label=Lead%20Time&suffix=h&color=brightgreen)](https://spec-weave.com/docs/metrics)
100
- [![Change Failure Rate](https://img.shields.io/badge/dynamic/json?url=https://raw.githubusercontent.com/anton-abyzov/specweave/develop/metrics/dora-latest.json&query=$.metrics.changeFailureRate.value&label=Change%20Failure%20Rate&suffix=%25&color=brightgreen)](https://spec-weave.com/docs/metrics)
101
- [![MTTR](https://img.shields.io/badge/dynamic/json?url=https://raw.githubusercontent.com/anton-abyzov/specweave/develop/metrics/dora-latest.json&query=$.metrics.mttr.value&label=MTTR&suffix=min&color=brightgreen)](https://spec-weave.com/docs/metrics)
102
-
103
- [View detailed metrics dashboard →](https://spec-weave.com/docs/metrics)
104
-
105
- ---
106
-
107
- ## 📖 Full Documentation
108
-
109
- **For complete guides, tutorials, and API reference:**
110
-
111
- ### **[spec-weave.com](https://spec-weave.com)**
112
-
113
- ---
114
-
115
- ## Quick Start
116
-
117
- ```bash
118
- # Install SpecWeave CLI
119
- npm install -g specweave
120
-
121
- # Initialize your project
122
- specweave init my-project
123
- cd my-project
124
-
125
- # Start building - SpecWeave guides you through the entire workflow
126
- /specweave:increment "User authentication" # Plan increment
127
- /specweave:do # Implement tasks (auto-pauses if blocked, auto-resumes when ready)
128
- /specweave:done 0001 # Complete increment
129
- ```
130
-
131
- **New to SpecWeave?** → **[Getting Started Guide](https://spec-weave.com/docs/guides/getting-started/quickstart)**
132
-
133
- ---
134
-
135
- ## Key Features
136
-
137
- ### 🧪 Test-Aware Planning
138
- Embedded test plans in every task with BDD format (Given/When/Then) for clarity
139
-
140
- ### 🎯 Disciplined Progress
141
- Cannot start increment N+1 until N is DONE - enforces completion before moving forward
142
-
143
- ### ⏸️ Intelligent Status Management
144
- Automatically detects when you're blocked (missing API keys, waiting for approval), pauses work with clear context, and resumes when ready - no manual intervention needed
145
-
146
- ### 📚 Living Documentation
147
- Auto-updates after every task via Claude Code hooks - never outdated
148
-
149
- ### 🤖 Intelligent Agents
150
- PM Agent, Architect, test-aware-planner, Quality Judge - specialized AI agents guide you
151
-
152
- ### 🌍 Multilingual Support
153
- Work in 9 languages (Russian, Spanish, Chinese, German, French, Japanese, Korean, Portuguese) with zero-cost LLM-native translation
154
-
155
- **[→ Explore All Features](https://spec-weave.com/docs/overview/features)**
156
-
157
- ---
158
-
159
- ## Enterprise Features
160
-
161
- ### 🏢 Multi-Project Support (v0.8.0+)
162
-
163
- Organize documentation by team, repo, or microservice:
164
-
165
- - **Team-Based Organization**: Frontend, Backend, Mobile, Platform teams with separate documentation
166
- - **Microservices Architecture**: Each service gets its own specs, modules, and team playbooks
167
- - **Per-Project Sync**: Link projects to different GitHub repos, JIRA projects, or ADO boards
168
- - **Unified Architecture**: Single project = multi-project with 1 project (NO special cases!)
169
-
170
- **Five Documentation Types Per Project**:
171
- 1. **specs/** - Living documentation specs (user stories, AC)
172
- 2. **modules/** - Module/component documentation (architecture, APIs)
173
- 3. **team/** - Team playbooks (onboarding, conventions, workflows)
174
- 4. **architecture/** - Project-specific ADRs (optional)
175
- 5. **legacy/** - Brownfield imports (temporary)
176
-
177
- **[→ Multi-Project Setup Guide](https://spec-weave.com/docs/guides/multi-project-setup)**
178
-
179
- ### 📦 Brownfield Import
180
-
181
- Import existing documentation from external sources:
182
-
183
- - **Automatic Classification**: AI-powered keyword detection (85%+ accuracy)
184
- - **Supported Sources**: Notion, Confluence, GitHub Wiki, custom markdown folders
185
- - **Smart Organization**: Classifies into specs, modules, team docs, or legacy
186
- - **Migration Reports**: Complete audit trail with confidence scores and manual review checklist
187
-
188
- **Example**:
189
- ```bash
190
- # Import Notion export to web-app project
191
- /specweave:import-docs ~/Downloads/notion-export --source=notion --project=web-app
192
-
193
- # Result:
194
- # ✅ Classified 127 files
195
- # - 37 specs → projects/web-app/specs/
196
- # - 18 modules → projects/web-app/modules/
197
- # - 12 team docs → projects/web-app/team/
198
- # - 60 legacy → projects/web-app/legacy/notion/
199
- ```
200
-
201
- **[→ Brownfield Integration Guide](https://spec-weave.com/docs/workflows/brownfield)**
202
-
203
- ---
204
-
205
- ## Documentation Hub
206
-
207
- **Learn SpecWeave:**
208
- - 📘 [What is SpecWeave?](https://spec-weave.com/docs/overview/introduction)
209
- - 🚀 [Quickstart Guide](https://spec-weave.com/docs/guides/getting-started/quickstart)
210
- - 🏗️ [Complete Workflow Journey](https://spec-weave.com/docs/workflows/overview)
211
- - ❓ [FAQ - Common Questions](https://spec-weave.com/docs/faq)
212
-
213
- **Commands & API:**
214
- - 📋 [Commands Reference](https://spec-weave.com/docs/commands/status-management)
215
- - 🔧 [API Documentation](https://spec-weave.com/docs/api)
216
-
217
- **Advanced Topics:**
218
- - 📊 [DORA Metrics Dashboard](https://spec-weave.com/docs/metrics)
219
- - 🏢 [Brownfield Integration](https://spec-weave.com/docs/workflows/brownfield)
220
- - 🌍 [Multilingual Support](https://spec-weave.com/docs/tutorial-extras/multilingual-support)
221
- - 🔗 [GitHub Actions Setup](https://spec-weave.com/docs/guides/github-action-setup)
222
-
223
- ---
224
-
225
- ## Community & Support
226
-
227
- **Join the Community:**
228
-
229
- - 💬 **[Discord Server](https://discord.gg/UYg4BGJ65V)** - Get help, share tips, discuss features
230
- - 🎥 **[YouTube Channel](https://www.youtube.com/@antonabyzov)** - Tutorials, demos, deep dives
231
- - 📖 **[Documentation](https://spec-weave.com)** - Complete guides and API reference
232
- - 🐛 **[GitHub Issues](https://github.com/anton-abyzov/specweave/issues)** - Bug reports and feature requests
233
- - 💡 **[GitHub Discussions](https://github.com/anton-abyzov/specweave/discussions)** - Q&A and community discussions
234
-
235
- **Need Help?**
236
- 1. Check the **[FAQ](https://spec-weave.com/docs/faq)** first
237
- 2. Ask in **[Discord](https://discord.gg/UYg4BGJ65V)** for quick answers
238
- 3. Create a **[GitHub Discussion](https://github.com/anton-abyzov/specweave/discussions)** for detailed questions
239
-
240
- ---
241
-
242
- ## Contributing
243
-
244
- **Development Setup:**
245
-
246
- ```bash
247
- # Clone and setup
248
- git clone https://github.com/anton-abyzov/specweave.git
249
- cd specweave
250
- npm install
251
- npm run build
252
-
253
- # Run tests
254
- npm test
255
- ```
256
-
257
- **To Contribute:**
258
- 1. Fork repository
259
- 2. Create feature branch: `git checkout -b features/002-new-feature`
260
- 3. Follow SpecWeave conventions (see CLAUDE.md)
261
- 4. Add tests (minimum 3 test cases)
262
- 5. Create PR to `develop` branch
263
-
264
- **[→ Contributor Guide](https://spec-weave.com/docs/guides/contributing)**
265
-
266
- ---
267
-
268
- ## Best Results with Claude Code
269
-
270
- SpecWeave gives **best results with Claude Code** due to unique capabilities:
271
-
272
- - ✅ **Native Plugin Marketplace** - Skills and agents auto-activate (no manual setup)
273
- - ✅ **Auto-Activating Skills** - Context-aware activation (no @ mentions)
274
- - ✅ **Isolated Agent Contexts** - True multi-agent role separation
275
- - ✅ **Pre/Post Lifecycle Hooks** - Automated living docs sync after every task
276
- - ✅ **MCP Protocol** - Industry standard for context management
277
-
278
- **Also works with**: Cursor, GitHub Copilot, ChatGPT (with manual workflow, reduced automation)
279
-
280
- **[→ Tool Comparison](https://spec-weave.com/docs/overview/features#claude-code-native)**
281
-
282
- ---
283
-
284
- ## Status & License
285
-
286
- **Status**: Beta - Ready for testing and contributions
287
- **License**: MIT
288
- **Repository**: [github.com/anton-abyzov/specweave](https://github.com/anton-abyzov/specweave)
289
-
290
- ---
291
-
292
- ## Acknowledgments
293
-
294
- SpecWeave is inspired by:
295
- - [spec-kit](https://github.com/github/spec-kit) - GitHub's specification toolkit
296
- - [BMAD-METHOD](https://github.com/bmad-code-org/BMAD-METHOD) - Agentic agile framework
297
- - [Claude Code](https://claude.com/claude-code) - Anthropic's native plugin system
298
- - [C4 Model](https://c4model.com/) - Software architecture diagrams
299
-
300
- ---
301
-
302
- **SpecWeave** - AI made us fast. SpecWeave makes us sustainable.
303
-
304
- **Get started**: `npm install -g specweave` → `specweave init my-project` → **[Read the Docs](https://spec-weave.com)**