specweave 1.0.117 → 1.0.119
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/.claude-plugin/marketplace.json +0 -11
- package/CLAUDE.md +31 -25
- package/README.md +73 -7
- package/dist/src/cli/commands/auto-status.d.ts +10 -0
- package/dist/src/cli/commands/auto-status.d.ts.map +1 -1
- package/dist/src/cli/commands/auto-status.js +172 -0
- package/dist/src/cli/commands/auto-status.js.map +1 -1
- package/dist/src/cli/commands/auto.d.ts +29 -0
- package/dist/src/cli/commands/auto.d.ts.map +1 -1
- package/dist/src/cli/commands/auto.js +226 -0
- package/dist/src/cli/commands/auto.js.map +1 -1
- package/dist/src/cli/commands/refresh-marketplace.d.ts.map +1 -1
- package/dist/src/cli/commands/refresh-marketplace.js +41 -25
- package/dist/src/cli/commands/refresh-marketplace.js.map +1 -1
- package/dist/src/core/ac-test-validator-cli.js +13 -0
- package/dist/src/core/ac-test-validator-cli.js.map +1 -1
- package/dist/src/core/auto/config.d.ts.map +1 -1
- package/dist/src/core/auto/config.js +58 -2
- package/dist/src/core/auto/config.js.map +1 -1
- package/dist/src/core/auto/index.d.ts +1 -0
- package/dist/src/core/auto/index.d.ts.map +1 -1
- package/dist/src/core/auto/index.js +2 -0
- package/dist/src/core/auto/index.js.map +1 -1
- package/dist/src/core/auto/parallel/agent-spawner.d.ts +76 -0
- package/dist/src/core/auto/parallel/agent-spawner.d.ts.map +1 -0
- package/dist/src/core/auto/parallel/agent-spawner.js +210 -0
- package/dist/src/core/auto/parallel/agent-spawner.js.map +1 -0
- package/dist/src/core/auto/parallel/index.d.ts +16 -0
- package/dist/src/core/auto/parallel/index.d.ts.map +1 -0
- package/dist/src/core/auto/parallel/index.js +22 -0
- package/dist/src/core/auto/parallel/index.js.map +1 -0
- package/dist/src/core/auto/parallel/orchestrator.d.ts +215 -0
- package/dist/src/core/auto/parallel/orchestrator.d.ts.map +1 -0
- package/dist/src/core/auto/parallel/orchestrator.js +443 -0
- package/dist/src/core/auto/parallel/orchestrator.js.map +1 -0
- package/dist/src/core/auto/parallel/platform-utils.d.ts +107 -0
- package/dist/src/core/auto/parallel/platform-utils.d.ts.map +1 -0
- package/dist/src/core/auto/parallel/platform-utils.js +259 -0
- package/dist/src/core/auto/parallel/platform-utils.js.map +1 -0
- package/dist/src/core/auto/parallel/pr-generator.d.ts +69 -0
- package/dist/src/core/auto/parallel/pr-generator.d.ts.map +1 -0
- package/dist/src/core/auto/parallel/pr-generator.js +283 -0
- package/dist/src/core/auto/parallel/pr-generator.js.map +1 -0
- package/dist/src/core/auto/parallel/prompt-analyzer.d.ts +82 -0
- package/dist/src/core/auto/parallel/prompt-analyzer.d.ts.map +1 -0
- package/dist/src/core/auto/parallel/prompt-analyzer.js +323 -0
- package/dist/src/core/auto/parallel/prompt-analyzer.js.map +1 -0
- package/dist/src/core/auto/parallel/state-manager.d.ts +121 -0
- package/dist/src/core/auto/parallel/state-manager.d.ts.map +1 -0
- package/dist/src/core/auto/parallel/state-manager.js +307 -0
- package/dist/src/core/auto/parallel/state-manager.js.map +1 -0
- package/dist/src/core/auto/parallel/worktree-manager.d.ts +98 -0
- package/dist/src/core/auto/parallel/worktree-manager.d.ts.map +1 -0
- package/dist/src/core/auto/parallel/worktree-manager.js +353 -0
- package/dist/src/core/auto/parallel/worktree-manager.js.map +1 -0
- package/dist/src/core/auto/types.d.ts +130 -0
- package/dist/src/core/auto/types.d.ts.map +1 -1
- package/dist/src/core/auto/types.js +62 -0
- package/dist/src/core/auto/types.js.map +1 -1
- package/dist/src/core/llm/provider-factory.js +2 -2
- package/dist/src/core/llm/provider-factory.js.map +1 -1
- package/dist/src/core/llm/providers/anthropic-provider.d.ts.map +1 -1
- package/dist/src/core/llm/providers/anthropic-provider.js +5 -3
- package/dist/src/core/llm/providers/anthropic-provider.js.map +1 -1
- package/dist/src/core/llm/providers/bedrock-provider.d.ts.map +1 -1
- package/dist/src/core/llm/providers/bedrock-provider.js +5 -2
- package/dist/src/core/llm/providers/bedrock-provider.js.map +1 -1
- package/dist/src/core/llm/types.d.ts +27 -1
- package/dist/src/core/llm/types.d.ts.map +1 -1
- package/dist/src/core/llm/types.js +55 -2
- package/dist/src/core/llm/types.js.map +1 -1
- package/dist/src/hooks/auto-create-external-issue.js +13 -0
- package/dist/src/hooks/auto-create-external-issue.js.map +1 -1
- package/dist/src/utils/auth-helpers.d.ts.map +1 -1
- package/dist/src/utils/auth-helpers.js +5 -1
- package/dist/src/utils/auth-helpers.js.map +1 -1
- package/dist/src/utils/docs-preview/package-installer.d.ts.map +1 -1
- package/dist/src/utils/docs-preview/package-installer.js +4 -1
- package/dist/src/utils/docs-preview/package-installer.js.map +1 -1
- package/dist/src/utils/notification-manager.d.ts +4 -1
- package/dist/src/utils/notification-manager.d.ts.map +1 -1
- package/dist/src/utils/notification-manager.js +23 -4
- package/dist/src/utils/notification-manager.js.map +1 -1
- package/package.json +1 -1
- package/plugins/PLUGINS-INDEX.md +1 -2
- package/plugins/specweave/commands/auto.md +181 -0
- package/plugins/specweave/commands/reflect.md +50 -7
- package/plugins/specweave/hooks/stop-auto.sh +29 -0
- package/plugins/specweave/lib/hooks/invoke-translator-skill.js +1 -1
- package/plugins/specweave/lib/hooks/invoke-translator-skill.ts +1 -1
- package/plugins/specweave/lib/hooks/translate-file.js +2 -2
- package/plugins/specweave/lib/hooks/translate-file.ts +2 -2
- package/plugins/specweave/lib/vendor/core/ac-test-validator-cli.js +13 -0
- package/plugins/specweave/lib/vendor/core/ac-test-validator-cli.js.map +1 -1
- package/plugins/specweave/skills/code-reviewer/SKILL.md +1 -1
- package/plugins/specweave/skills/docs-updater/.!44309!SKILL.md +20 -0
- package/plugins/specweave/skills/reflect/SKILL.md +126 -0
- package/plugins/specweave-ado/agents/ado-manager/AGENT.md +1 -1
- package/plugins/specweave-ado/agents/ado-multi-project-mapper/AGENT.md +1 -1
- package/plugins/specweave-ado/agents/ado-sync-judge/AGENT.md +1 -1
- package/plugins/specweave-ado/skills/ado-mapper/SKILL.md +1 -1
- package/plugins/specweave-backend/agents/database-optimizer/AGENT.md +1 -1
- package/plugins/specweave-backend/skills/dotnet-backend/SKILL.md +1 -1
- package/plugins/specweave-backend/skills/nodejs-backend/SKILL.md +1 -1
- package/plugins/specweave-backend/skills/python-backend/SKILL.md +1 -1
- package/plugins/specweave-confluent/agents/confluent-architect/AGENT.md +1 -1
- package/plugins/specweave-diagrams/agents/diagrams-architect/AGENT.md +1 -1
- package/plugins/specweave-diagrams/skills/diagrams-architect/SKILL.md +1 -1
- package/plugins/specweave-frontend/agents/code-explorer/AGENT.md +2 -2
- package/plugins/specweave-frontend/agents/frontend-architect/AGENT.md +1 -1
- package/plugins/specweave-frontend/agents/frontend-design/AGENT.md +2 -2
- package/plugins/specweave-github/agents/github-task-splitter/AGENT.md +1 -1
- package/plugins/specweave-github/agents/user-story-updater/AGENT.md +1 -1
- package/plugins/specweave-infrastructure/agents/devops/AGENT.md +1 -1
- package/plugins/specweave-infrastructure/agents/network-engineer/AGENT.md +1 -1
- package/plugins/specweave-infrastructure/agents/observability-engineer/AGENT.md +1 -1
- package/plugins/specweave-infrastructure/agents/performance-engineer/AGENT.md +1 -1
- package/plugins/specweave-infrastructure/agents/sre/AGENT.md +1 -1
- package/plugins/specweave-jira/agents/jira-manager/AGENT.md +1 -1
- package/plugins/specweave-jira/agents/jira-multi-project-mapper/AGENT.md +1 -1
- package/plugins/specweave-jira/agents/jira-sync-judge/AGENT.md +1 -1
- package/plugins/specweave-jira/skills/jira-mapper/SKILL.md +1 -1
- package/plugins/specweave-kafka/agents/kafka-architect/AGENT.md +1 -1
- package/plugins/specweave-kafka/agents/kafka-devops/AGENT.md +1 -1
- package/plugins/specweave-kafka/agents/kafka-observability/AGENT.md +1 -1
- package/plugins/specweave-kubernetes/agents/kubernetes-architect/AGENT.md +1 -1
- package/plugins/specweave-ml/agents/data-scientist/AGENT.md +1 -1
- package/plugins/specweave-ml/agents/ml-engineer/AGENT.md +1 -1
- package/plugins/specweave-ml/agents/mlops-engineer/AGENT.md +1 -1
- package/plugins/specweave-mobile/agents/mobile-architect/AGENT.md +1 -1
- package/plugins/specweave-payments/agents/payment-integration/AGENT.md +1 -1
- package/plugins/specweave-release/agents/release-manager/AGENT.md +1 -1
- package/plugins/specweave-testing/agents/comment-analyzer/AGENT.md +2 -2
- package/plugins/specweave-testing/agents/pr-test-analyzer/AGENT.md +2 -2
- package/plugins/specweave-testing/agents/qa-engineer/AGENT.md +1 -1
- package/plugins/specweave-testing/agents/silent-failure-hunter/AGENT.md +2 -2
- package/plugins/specweave-testing/agents/type-design-analyzer/AGENT.md +2 -2
- package/plugins/specweave-ui/skills/image-generation/SKILL.md +386 -0
- package/plugins/specweave-alternatives/.claude-plugin/plugin.json +0 -10
- package/plugins/specweave-alternatives/commands/alternatives-analyze.md +0 -336
- package/plugins/specweave-alternatives/skills/architecture-alternatives/SKILL.md +0 -652
- package/plugins/specweave-alternatives/skills/bmad-method/SKILL.md +0 -421
- package/plugins/specweave-alternatives/skills/spec-kit-expert/SKILL.md +0 -487
|
@@ -238,17 +238,6 @@
|
|
|
238
238
|
"email": "anton.abyzov@gmail.com"
|
|
239
239
|
}
|
|
240
240
|
},
|
|
241
|
-
{
|
|
242
|
-
"name": "sw-alternatives",
|
|
243
|
-
"description": "Technology stack alternatives analysis using BMAD method - Best, Most Appropriate, Design decisions for architecture choices",
|
|
244
|
-
"source": "./plugins/specweave-alternatives",
|
|
245
|
-
"category": "development",
|
|
246
|
-
"version": "1.0.0",
|
|
247
|
-
"author": {
|
|
248
|
-
"name": "Anton Abyzov",
|
|
249
|
-
"email": "anton.abyzov@gmail.com"
|
|
250
|
-
}
|
|
251
|
-
},
|
|
252
241
|
{
|
|
253
242
|
"name": "sw-cost",
|
|
254
243
|
"description": "Cloud cost optimization - AWS, GCP, Azure cost analysis, right-sizing, reserved instances, savings plans",
|
package/CLAUDE.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
<!-- SW:META template="claude" version="1.0.
|
|
1
|
+
<!-- SW:META template="claude" version="1.0.118" sections="header,start,autodetect,metarule,rules,workflow,reflect,context,lsp,structure,taskformat,secrets,syncing,mapping,testing,api,limits,troubleshooting,principles,linking,mcp,autoexecute,auto,docs" -->
|
|
2
2
|
|
|
3
|
-
<!-- SW:SECTION:header version="1.0.
|
|
3
|
+
<!-- SW:SECTION:header version="1.0.118" -->
|
|
4
4
|
**Framework**: SpecWeave | **Truth**: `spec.md` + `tasks.md`
|
|
5
5
|
<!-- SW:END:header -->
|
|
6
6
|
|
|
7
|
-
<!-- SW:SECTION:start version="1.0.
|
|
7
|
+
<!-- SW:SECTION:start version="1.0.118" -->
|
|
8
8
|
## Getting Started
|
|
9
9
|
|
|
10
10
|
**Initial increment**: `0001-project-setup` (auto-created by `specweave init`)
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
2. **Customize**: Edit spec.md and use for setup tasks
|
|
15
15
|
<!-- SW:END:start -->
|
|
16
16
|
|
|
17
|
-
<!-- SW:SECTION:autodetect version="1.0.
|
|
17
|
+
<!-- SW:SECTION:autodetect version="1.0.118" -->
|
|
18
18
|
## Auto-Detection
|
|
19
19
|
|
|
20
20
|
SpecWeave auto-detects product descriptions and routes to `/sw:increment`:
|
|
@@ -24,7 +24,7 @@ SpecWeave auto-detects product descriptions and routes to `/sw:increment`:
|
|
|
24
24
|
**Opt-out phrases**: "Just brainstorm first" | "Don't plan yet" | "Quick discussion" | "Let's explore ideas"
|
|
25
25
|
<!-- SW:END:autodetect -->
|
|
26
26
|
|
|
27
|
-
<!-- SW:SECTION:metarule version="1.0.
|
|
27
|
+
<!-- SW:SECTION:metarule version="1.0.118" -->
|
|
28
28
|
## Meta-Rule: Think-Before-Act
|
|
29
29
|
|
|
30
30
|
**Satisfy dependencies BEFORE dependent operations.**
|
|
@@ -35,7 +35,7 @@ SpecWeave auto-detects product descriptions and routes to `/sw:increment`:
|
|
|
35
35
|
```
|
|
36
36
|
<!-- SW:END:metarule -->
|
|
37
37
|
|
|
38
|
-
<!-- SW:SECTION:rules version="1.0.
|
|
38
|
+
<!-- SW:SECTION:rules version="1.0.118" -->
|
|
39
39
|
## Rules
|
|
40
40
|
|
|
41
41
|
1. **Files** → `.specweave/increments/####-name/` (spec.md, plan.md, tasks.md at root; reports/, scripts/, logs/ subfolders)
|
|
@@ -48,7 +48,7 @@ SpecWeave auto-detects product descriptions and routes to `/sw:increment`:
|
|
|
48
48
|
8. **⛔ Marketplace refresh**: ALWAYS use `specweave refresh-marketplace` CLI command. NEVER suggest `scripts/refresh-marketplace.sh` - end users don't have the scripts folder (npm global install).
|
|
49
49
|
<!-- SW:END:rules -->
|
|
50
50
|
|
|
51
|
-
<!-- SW:SECTION:workflow version="1.0.
|
|
51
|
+
<!-- SW:SECTION:workflow version="1.0.118" -->
|
|
52
52
|
## Workflow
|
|
53
53
|
|
|
54
54
|
`/sw:increment "X"` → `/sw:do` → `/sw:progress` → `/sw:done 0001`
|
|
@@ -68,7 +68,7 @@ SpecWeave auto-detects product descriptions and routes to `/sw:increment`:
|
|
|
68
68
|
**Natural language**: "Let's build X" → `/sw:increment` | "What's status?" → `/sw:progress` | "We're done" → `/sw:done` | "Ship while sleeping" → `/sw:auto`
|
|
69
69
|
<!-- SW:END:workflow -->
|
|
70
70
|
|
|
71
|
-
<!-- SW:SECTION:reflect version="1.0.
|
|
71
|
+
<!-- SW:SECTION:reflect version="1.0.118" -->
|
|
72
72
|
## Self-Improving Skills (Reflect)
|
|
73
73
|
|
|
74
74
|
**Learn once, never repeat.** Claude learns from corrections and patterns across sessions.
|
|
@@ -85,6 +85,12 @@ SpecWeave auto-detects product descriptions and routes to `/sw:increment`:
|
|
|
85
85
|
2. Learning saved to centralized memory files (by category)
|
|
86
86
|
3. Future sessions apply learned patterns automatically
|
|
87
87
|
|
|
88
|
+
**⚠️ Learning Quality Rules** (CRITICAL):
|
|
89
|
+
- **NEVER** store user input verbatim → **ALWAYS** synthesize into actionable rules
|
|
90
|
+
- **REJECT**: questions, truncated fragments, raw complaints, gibberish
|
|
91
|
+
- **Transform**: "command not recognized" → "Voice dictation mangles slash commands - type manually"
|
|
92
|
+
- **Self-check**: "Would this help me in 6 months with no context?" If no → don't store
|
|
93
|
+
|
|
88
94
|
**CRITICAL - Memory Loading**: Before starting work, **check centralized memory** for learned patterns:
|
|
89
95
|
```bash
|
|
90
96
|
# Check if memory exists and read relevant categories
|
|
@@ -112,7 +118,7 @@ ls ~/.specweave/memory/*.md 2>/dev/null
|
|
|
112
118
|
**Enable auto-learning**: `/sw:reflect-on` → Stop hook analyzes sessions automatically
|
|
113
119
|
<!-- SW:END:reflect -->
|
|
114
120
|
|
|
115
|
-
<!-- SW:SECTION:context version="1.0.
|
|
121
|
+
<!-- SW:SECTION:context version="1.0.118" -->
|
|
116
122
|
## Living Docs Context
|
|
117
123
|
|
|
118
124
|
**Before implementing features**: Check existing docs for patterns and decisions.
|
|
@@ -132,7 +138,7 @@ grep -ril "keyword" .specweave/docs/internal/
|
|
|
132
138
|
**Use `/sw:context <topic>`** to load relevant living docs into conversation.
|
|
133
139
|
<!-- SW:END:context -->
|
|
134
140
|
|
|
135
|
-
<!-- SW:SECTION:lsp version="1.0.
|
|
141
|
+
<!-- SW:SECTION:lsp version="1.0.118" -->
|
|
136
142
|
## LSP-Enhanced Exploration
|
|
137
143
|
|
|
138
144
|
**USE LSP ACTIVELY** for semantic code understanding (100x faster than grep).
|
|
@@ -149,7 +155,7 @@ go install golang.org/x/tools/gopls@latest # Go
|
|
|
149
155
|
**Best Practices**: ALWAYS use `findReferences` before refactoring | Use `goToDefinition` instead of grep | Combine with Explore agent
|
|
150
156
|
<!-- SW:END:lsp -->
|
|
151
157
|
|
|
152
|
-
<!-- SW:SECTION:structure version="1.0.
|
|
158
|
+
<!-- SW:SECTION:structure version="1.0.118" -->
|
|
153
159
|
## Structure
|
|
154
160
|
|
|
155
161
|
```
|
|
@@ -219,7 +225,7 @@ my-project/
|
|
|
219
225
|
```
|
|
220
226
|
<!-- SW:END:structure -->
|
|
221
227
|
|
|
222
|
-
<!-- SW:SECTION:taskformat version="1.0.
|
|
228
|
+
<!-- SW:SECTION:taskformat version="1.0.118" -->
|
|
223
229
|
## Task Format
|
|
224
230
|
|
|
225
231
|
```markdown
|
|
@@ -229,7 +235,7 @@ my-project/
|
|
|
229
235
|
```
|
|
230
236
|
<!-- SW:END:taskformat -->
|
|
231
237
|
|
|
232
|
-
<!-- SW:SECTION:secrets version="1.0.
|
|
238
|
+
<!-- SW:SECTION:secrets version="1.0.118" -->
|
|
233
239
|
## Secrets Check
|
|
234
240
|
|
|
235
241
|
**BEFORE CLI tools**: Check existing config first!
|
|
@@ -243,7 +249,7 @@ gh auth status
|
|
|
243
249
|
**SECURITY**: NEVER use `grep TOKEN .env` without `-q` flag - it exposes credentials in terminal!
|
|
244
250
|
<!-- SW:END:secrets -->
|
|
245
251
|
|
|
246
|
-
<!-- SW:SECTION:syncing version="1.0.
|
|
252
|
+
<!-- SW:SECTION:syncing version="1.0.118" -->
|
|
247
253
|
## External Sync (GitHub/JIRA/ADO)
|
|
248
254
|
|
|
249
255
|
**After increment creation**: Run `/sw-github:sync {id}` to create issues!
|
|
@@ -271,7 +277,7 @@ Living docs sync ≠ External sync. They are separate:
|
|
|
271
277
|
**Verify tokens**: `grep -q GITHUB_TOKEN .env && echo "Token configured"` | `gh auth status`
|
|
272
278
|
<!-- SW:END:syncing -->
|
|
273
279
|
|
|
274
|
-
<!-- SW:SECTION:mapping version="1.0.
|
|
280
|
+
<!-- SW:SECTION:mapping version="1.0.118" -->
|
|
275
281
|
## GitHub Mapping
|
|
276
282
|
|
|
277
283
|
| SpecWeave | GitHub |
|
|
@@ -281,7 +287,7 @@ Living docs sync ≠ External sync. They are separate:
|
|
|
281
287
|
| Task T-XXX | Checkbox |
|
|
282
288
|
<!-- SW:END:mapping -->
|
|
283
289
|
|
|
284
|
-
<!-- SW:SECTION:testing version="1.0.
|
|
290
|
+
<!-- SW:SECTION:testing version="1.0.118" -->
|
|
285
291
|
## Testing
|
|
286
292
|
|
|
287
293
|
BDD in tasks.md | Unit >80% | `.test.ts` (Vitest)
|
|
@@ -293,7 +299,7 @@ vi.mock('fs', () => ({ readFile: vi.fn() }));
|
|
|
293
299
|
```
|
|
294
300
|
<!-- SW:END:testing -->
|
|
295
301
|
|
|
296
|
-
<!-- SW:SECTION:api version="1.0.
|
|
302
|
+
<!-- SW:SECTION:api version="1.0.118" -->
|
|
297
303
|
## API Development (OpenAPI-First)
|
|
298
304
|
|
|
299
305
|
**For API projects only.** OpenAPI = source of truth → Postman derived from it.
|
|
@@ -312,13 +318,13 @@ vi.mock('fs', () => ({ readFile: vi.fn() }));
|
|
|
312
318
|
**Import**: Postman → Import collection + env → Fill secrets → Select env
|
|
313
319
|
<!-- SW:END:api -->
|
|
314
320
|
|
|
315
|
-
<!-- SW:SECTION:limits version="1.0.
|
|
321
|
+
<!-- SW:SECTION:limits version="1.0.118" -->
|
|
316
322
|
## Limits
|
|
317
323
|
|
|
318
324
|
**Max 1500 lines/file** — extract before adding
|
|
319
325
|
<!-- SW:END:limits -->
|
|
320
326
|
|
|
321
|
-
<!-- SW:SECTION:troubleshooting version="1.0.
|
|
327
|
+
<!-- SW:SECTION:troubleshooting version="1.0.118" -->
|
|
322
328
|
## Troubleshooting
|
|
323
329
|
|
|
324
330
|
| Issue | Fix |
|
|
@@ -338,7 +344,7 @@ vi.mock('fs', () => ({ readFile: vi.fn() }));
|
|
|
338
344
|
| Path patterns not working | `//path` = absolute, `/path` = relative to settings file, `additionalDirectories` for explicit working dirs |
|
|
339
345
|
<!-- SW:END:troubleshooting -->
|
|
340
346
|
|
|
341
|
-
<!-- SW:SECTION:principles version="1.0.
|
|
347
|
+
<!-- SW:SECTION:principles version="1.0.118" -->
|
|
342
348
|
## Principles
|
|
343
349
|
|
|
344
350
|
1. **Spec-first**: `/sw:increment` before coding
|
|
@@ -348,7 +354,7 @@ vi.mock('fs', () => ({ readFile: vi.fn() }));
|
|
|
348
354
|
5. **Clean**: All files in increment folders
|
|
349
355
|
<!-- SW:END:principles -->
|
|
350
356
|
|
|
351
|
-
<!-- SW:SECTION:linking version="1.0.
|
|
357
|
+
<!-- SW:SECTION:linking version="1.0.118" -->
|
|
352
358
|
## Bidirectional Linking
|
|
353
359
|
|
|
354
360
|
Tasks ↔ User Stories auto-linked via AC-IDs: `AC-US1-01` → `US-001`
|
|
@@ -356,7 +362,7 @@ Tasks ↔ User Stories auto-linked via AC-IDs: `AC-US1-01` → `US-001`
|
|
|
356
362
|
Task format: `**AC**: AC-US1-01, AC-US1-02` (CRITICAL for linking)
|
|
357
363
|
<!-- SW:END:linking -->
|
|
358
364
|
|
|
359
|
-
<!-- SW:SECTION:mcp version="1.0.
|
|
365
|
+
<!-- SW:SECTION:mcp version="1.0.118" -->
|
|
360
366
|
## External Service Connection
|
|
361
367
|
|
|
362
368
|
**Priority**: MCP Server → REST API → CLI → Direct Connection
|
|
@@ -381,7 +387,7 @@ wrangler whoami 2>/dev/null
|
|
|
381
387
|
```
|
|
382
388
|
<!-- SW:END:mcp -->
|
|
383
389
|
|
|
384
|
-
<!-- SW:SECTION:autoexecute version="1.0.
|
|
390
|
+
<!-- SW:SECTION:autoexecute version="1.0.118" -->
|
|
385
391
|
## Auto-Execute Rule
|
|
386
392
|
|
|
387
393
|
**NEVER** output "Manual Step Required" when credentials exist. **EXECUTE DIRECTLY.**
|
|
@@ -396,7 +402,7 @@ wrangler whoami 2>/dev/null && gh auth status 2>/dev/null
|
|
|
396
402
|
```
|
|
397
403
|
<!-- SW:END:autoexecute -->
|
|
398
404
|
|
|
399
|
-
<!-- SW:SECTION:auto version="1.0.
|
|
405
|
+
<!-- SW:SECTION:auto version="1.0.118" -->
|
|
400
406
|
## Auto Mode (Autonomous Execution)
|
|
401
407
|
|
|
402
408
|
**Continuous execution until all tasks complete.**
|
|
@@ -473,7 +479,7 @@ wrangler whoami 2>/dev/null && gh auth status 2>/dev/null
|
|
|
473
479
|
**Circuit Breaker**: External API fails 3x? Queue & continue
|
|
474
480
|
<!-- SW:END:auto -->
|
|
475
481
|
|
|
476
|
-
<!-- SW:SECTION:docs version="1.0.
|
|
482
|
+
<!-- SW:SECTION:docs version="1.0.118" -->
|
|
477
483
|
## Docs
|
|
478
484
|
|
|
479
485
|
[spec-weave.com](https://spec-weave.com) | `.specweave/docs/internal/`
|
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# SpecWeave
|
|
2
2
|
|
|
3
|
-
**The
|
|
3
|
+
**The Enterprise Layer for AI Coding.**
|
|
4
4
|
|
|
5
|
-
*
|
|
5
|
+
*Enterprise capabilities for Claude Code — without enterprise complexity. Permanent memory, GitHub/JIRA sync, quality gates, autonomous execution. Ship features while you sleep.*
|
|
6
6
|
|
|
7
7
|
[](https://www.npmjs.com/package/specweave)
|
|
8
8
|
[](https://opensource.org/licenses/MIT)
|
|
@@ -17,6 +17,49 @@ npm install -g specweave
|
|
|
17
17
|
|
|
18
18
|
---
|
|
19
19
|
|
|
20
|
+
## Stop Repeating Yourself
|
|
21
|
+
|
|
22
|
+
Every app needs the same things: auth, tests, docs, deployment. Without SpecWeave, you dictate every step:
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
"Create user authentication"
|
|
26
|
+
"Now add tests for that"
|
|
27
|
+
"Document the architecture"
|
|
28
|
+
"Update JIRA with progress"
|
|
29
|
+
"Create the PR description"
|
|
30
|
+
"Run the linter and fix issues"
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
**With SpecWeave:**
|
|
34
|
+
```bash
|
|
35
|
+
/sw:increment "User authentication"
|
|
36
|
+
/sw:auto
|
|
37
|
+
# Done. Tests, docs, sync - all handled.
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### One Command = Many Prompts
|
|
41
|
+
|
|
42
|
+
| What You Used To Dictate | SpecWeave Command |
|
|
43
|
+
|-------------------------|-------------------|
|
|
44
|
+
| "Create spec with user stories and ACs..." | `/sw:increment "feature"` |
|
|
45
|
+
| "Implement, test, fix failures, repeat..." | `/sw:auto` (runs for hours) |
|
|
46
|
+
| "Update GitHub/JIRA with my progress..." | `/sw:sync-progress` |
|
|
47
|
+
| "Review for security vulnerabilities..." | Auto-activates on keywords |
|
|
48
|
+
| "Commit everything and create a PR..." | `/sw:save` |
|
|
49
|
+
|
|
50
|
+
### Built-In Expertise, Not Just Commands
|
|
51
|
+
|
|
52
|
+
SpecWeave isn't just shortcuts - it's **encapsulated expertise**:
|
|
53
|
+
|
|
54
|
+
- **15+ AI agents** (PM, Architect, QA, Security) work in parallel
|
|
55
|
+
- **Skills auto-activate** - mention "security" and security expertise loads
|
|
56
|
+
- **Quality gates** enforce what senior devs know: tests before merge, docs before close
|
|
57
|
+
- **Patterns learned once, applied everywhere** - your best practices become defaults
|
|
58
|
+
|
|
59
|
+
**Real result**: I built 5 production apps using SpecWeave. Then taught my 10 and 14-year-old daughters to do the same - because the expertise is in the framework, not in knowing what to ask.
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
20
63
|
## The Problem With AI Coding Tools
|
|
21
64
|
|
|
22
65
|
Every AI coding tool promises productivity. But after the chat ends:
|
|
@@ -229,12 +272,23 @@ Three gates before any increment closes:
|
|
|
229
272
|
2. **Tests**: 60%+ coverage (configurable)
|
|
230
273
|
3. **Documentation**: Living docs updated
|
|
231
274
|
|
|
232
|
-
### Token Efficiency
|
|
275
|
+
### Token Efficiency (MCP Tool Search)
|
|
276
|
+
|
|
277
|
+
**85%+ context reduction** with Claude Code 2.1.7+ MCP Tool Search (lazy loading):
|
|
278
|
+
|
|
279
|
+
| Before (2.1.6-) | After (2.1.7+) |
|
|
280
|
+
|-----------------|----------------|
|
|
281
|
+
| All plugins loaded upfront (~100k tokens) | On-demand loading (~5-10k tokens) |
|
|
282
|
+
| Max ~25 tasks/increment | ~50+ tasks/increment |
|
|
283
|
+
| `/sw:auto` context-limited | Hours of autonomous work |
|
|
233
284
|
|
|
234
|
-
|
|
235
|
-
-
|
|
236
|
-
-
|
|
237
|
-
-
|
|
285
|
+
**How it works:**
|
|
286
|
+
- **Lazy loading by default** - Tools load on-demand via search, not all at once
|
|
287
|
+
- **Auto-enabled** - When MCP tools exceed 10% of context window
|
|
288
|
+
- **SpecWeave's 24 plugins** discovered only when keywords match
|
|
289
|
+
- **Skills activate on demand** - Architecture, PM, TDD skills load when needed
|
|
290
|
+
|
|
291
|
+
**No configuration needed** - enabled by default. [Learn more about Tool Search](https://platform.claude.com/docs/en/agents-and-tools/tool-use/tool-search-tool).
|
|
238
292
|
|
|
239
293
|
### Claude Code 2.1.x Optimizations
|
|
240
294
|
|
|
@@ -263,6 +317,18 @@ hooks: # Skill-scoped hooks
|
|
|
263
317
|
---
|
|
264
318
|
```
|
|
265
319
|
|
|
320
|
+
### Built on Industry Standards
|
|
321
|
+
|
|
322
|
+
Anthropic doesn't just use standards — they **define** them. SpecWeave builds on:
|
|
323
|
+
|
|
324
|
+
| Standard | What It Does |
|
|
325
|
+
|----------|--------------|
|
|
326
|
+
| **[MCP](https://modelcontextprotocol.io)** | Model Context Protocol — adopted by OpenAI, Google, Microsoft |
|
|
327
|
+
| **[Agent Skills](https://agentskills.io)** | Open format for reusable AI capabilities across agent products |
|
|
328
|
+
| **Plugin Architecture** | Skills, agents, hooks pattern — becoming the standard for AI dev tools |
|
|
329
|
+
|
|
330
|
+
**Learn SpecWeave = Learn the future.** Your skills are portable across any agent that supports these standards.
|
|
331
|
+
|
|
266
332
|
---
|
|
267
333
|
|
|
268
334
|
## Commands
|
|
@@ -11,6 +11,16 @@
|
|
|
11
11
|
import { Command } from 'commander';
|
|
12
12
|
export interface AutoStatusOptions {
|
|
13
13
|
json?: boolean;
|
|
14
|
+
parallel?: boolean;
|
|
15
|
+
watch?: boolean;
|
|
14
16
|
}
|
|
15
17
|
export declare function createAutoStatusCommand(): Command;
|
|
18
|
+
/**
|
|
19
|
+
* Display parallel session status
|
|
20
|
+
*/
|
|
21
|
+
export declare function displayParallelStatus(projectPath: string, options: AutoStatusOptions): void;
|
|
22
|
+
/**
|
|
23
|
+
* Watch mode: refresh every 2 seconds
|
|
24
|
+
*/
|
|
25
|
+
export declare function watchParallelStatus(projectPath: string, options: AutoStatusOptions): Promise<void>;
|
|
16
26
|
//# sourceMappingURL=auto-status.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auto-status.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/auto-status.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAKH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"auto-status.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/auto-status.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAKH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,wBAAgB,uBAAuB,IAAI,OAAO,CA2BjD;AAiID;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,IAAI,CA2B3F;AA+HD;;GAEG;AACH,wBAAsB,mBAAmB,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,CA2BxG"}
|
|
@@ -12,10 +12,13 @@ import * as path from 'path';
|
|
|
12
12
|
import * as fs from 'fs';
|
|
13
13
|
import chalk from 'chalk';
|
|
14
14
|
import { Command } from 'commander';
|
|
15
|
+
import { ParallelOrchestrator } from '../../core/auto/parallel/index.js';
|
|
15
16
|
export function createAutoStatusCommand() {
|
|
16
17
|
const cmd = new Command('auto-status')
|
|
17
18
|
.description('Check auto mode status')
|
|
18
19
|
.option('--json', 'Output as JSON')
|
|
20
|
+
.option('--parallel', 'Show parallel session details')
|
|
21
|
+
.option('--watch', 'Watch mode: auto-refresh every 2 seconds')
|
|
19
22
|
.action(async (options) => {
|
|
20
23
|
const projectPath = process.cwd();
|
|
21
24
|
// Check if SpecWeave is initialized
|
|
@@ -40,6 +43,16 @@ export function createAutoStatusCommand() {
|
|
|
40
43
|
* Handle auto-status command
|
|
41
44
|
*/
|
|
42
45
|
async function handleAutoStatus(projectPath, options) {
|
|
46
|
+
// Handle watch mode
|
|
47
|
+
if (options.watch) {
|
|
48
|
+
await watchParallelStatus(projectPath, options);
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
// Handle parallel mode status
|
|
52
|
+
if (options.parallel) {
|
|
53
|
+
displayParallelStatus(projectPath, options);
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
43
56
|
const autoFlagPath = path.join(projectPath, '.specweave/state/auto-mode.json');
|
|
44
57
|
const incrementsDir = path.join(projectPath, '.specweave/increments');
|
|
45
58
|
// Check if auto mode is active
|
|
@@ -138,4 +151,163 @@ function findActiveIncrements(incrementsDir) {
|
|
|
138
151
|
}
|
|
139
152
|
return increments;
|
|
140
153
|
}
|
|
154
|
+
// ============================================================================
|
|
155
|
+
// PARALLEL MODE STATUS
|
|
156
|
+
// ============================================================================
|
|
157
|
+
/**
|
|
158
|
+
* Display parallel session status
|
|
159
|
+
*/
|
|
160
|
+
export function displayParallelStatus(projectPath, options) {
|
|
161
|
+
const orchestrator = new ParallelOrchestrator(projectPath);
|
|
162
|
+
const status = orchestrator.getSessionStatus();
|
|
163
|
+
if (!status) {
|
|
164
|
+
if (options.json) {
|
|
165
|
+
console.log(JSON.stringify({ parallelSession: null }, null, 2));
|
|
166
|
+
return;
|
|
167
|
+
}
|
|
168
|
+
console.log('');
|
|
169
|
+
console.log(chalk.bold('PARALLEL SESSION STATUS'));
|
|
170
|
+
console.log('━'.repeat(70));
|
|
171
|
+
console.log(chalk.gray(' No active parallel session'));
|
|
172
|
+
console.log('');
|
|
173
|
+
console.log('Start parallel mode: ' + chalk.cyan('specweave auto --parallel --frontend --backend <increment-id>'));
|
|
174
|
+
console.log('');
|
|
175
|
+
return;
|
|
176
|
+
}
|
|
177
|
+
if (options.json) {
|
|
178
|
+
console.log(JSON.stringify(status, null, 2));
|
|
179
|
+
return;
|
|
180
|
+
}
|
|
181
|
+
// Display parallel dashboard
|
|
182
|
+
displayParallelDashboard(status, orchestrator);
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Display the parallel dashboard
|
|
186
|
+
*/
|
|
187
|
+
function displayParallelDashboard(status, orchestrator) {
|
|
188
|
+
if (!status)
|
|
189
|
+
return;
|
|
190
|
+
console.log('');
|
|
191
|
+
console.log(chalk.bold('╔═══════════════════════════════════════════════════════════════════╗'));
|
|
192
|
+
console.log(chalk.bold(`║ PARALLEL SESSION: ${status.sessionId.padEnd(46)}║`));
|
|
193
|
+
console.log(chalk.bold('╠═══════════════════════════════════════════════════════════════════╣'));
|
|
194
|
+
// Get session
|
|
195
|
+
const session = orchestrator.getSession();
|
|
196
|
+
if (!session)
|
|
197
|
+
return;
|
|
198
|
+
// Header
|
|
199
|
+
console.log(chalk.bold('║ Agent │ Status │ Progress │ Time │ Branch ║'));
|
|
200
|
+
console.log(chalk.bold('║ ───────────────────────────────────────────────────────────────── ║'));
|
|
201
|
+
// Agents
|
|
202
|
+
for (const agentSummary of session.agents) {
|
|
203
|
+
const agent = orchestrator.getAgent(agentSummary.id);
|
|
204
|
+
if (!agent)
|
|
205
|
+
continue;
|
|
206
|
+
const statusIcon = getStatusIcon(agent.status);
|
|
207
|
+
const statusText = agent.status.padEnd(4);
|
|
208
|
+
const progress = formatProgress(agent.progress.completed, agent.progress.total);
|
|
209
|
+
const elapsed = formatElapsedTime(agent.startedAt);
|
|
210
|
+
const branch = agent.worktree.branch.substring(0, 20).padEnd(20);
|
|
211
|
+
console.log(chalk.bold('║ ') +
|
|
212
|
+
chalk.cyan(agent.domain.padEnd(10)) +
|
|
213
|
+
' │ ' +
|
|
214
|
+
statusIcon +
|
|
215
|
+
' ' +
|
|
216
|
+
statusText +
|
|
217
|
+
' │ ' +
|
|
218
|
+
progress +
|
|
219
|
+
' │ ' +
|
|
220
|
+
chalk.gray(elapsed) +
|
|
221
|
+
' │ ' +
|
|
222
|
+
chalk.gray(branch) +
|
|
223
|
+
chalk.bold(' ║'));
|
|
224
|
+
}
|
|
225
|
+
console.log(chalk.bold('╠═══════════════════════════════════════════════════════════════════╣'));
|
|
226
|
+
// Overall progress
|
|
227
|
+
const overallPercent = Math.round(((status.overall.completed + status.overall.failed) / status.overall.totalAgents) * 100) || 0;
|
|
228
|
+
console.log(chalk.bold('║ Overall: ') +
|
|
229
|
+
chalk.green(`${overallPercent}%`) +
|
|
230
|
+
' │ ' +
|
|
231
|
+
`Completed: ${status.overall.completed} │ Running: ${status.overall.running} │ Failed: ${status.overall.failed}`.padEnd(50) +
|
|
232
|
+
chalk.bold('║'));
|
|
233
|
+
console.log(chalk.bold('╚═══════════════════════════════════════════════════════════════════╝'));
|
|
234
|
+
console.log('');
|
|
235
|
+
// Actions
|
|
236
|
+
console.log(chalk.bold('ACTIONS'));
|
|
237
|
+
console.log('━'.repeat(70));
|
|
238
|
+
console.log(' • Check detailed status: ' + chalk.cyan('/sw:auto-status --parallel'));
|
|
239
|
+
console.log(' • Cancel session: ' + chalk.cyan('specweave auto --reset'));
|
|
240
|
+
console.log('');
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* Get status icon
|
|
244
|
+
*/
|
|
245
|
+
function getStatusIcon(status) {
|
|
246
|
+
switch (status) {
|
|
247
|
+
case 'pending':
|
|
248
|
+
return '⏳';
|
|
249
|
+
case 'running':
|
|
250
|
+
return '🔄';
|
|
251
|
+
case 'completed':
|
|
252
|
+
return '✅';
|
|
253
|
+
case 'failed':
|
|
254
|
+
return '❌';
|
|
255
|
+
case 'cancelled':
|
|
256
|
+
return '🚫';
|
|
257
|
+
default:
|
|
258
|
+
return '❓';
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Format progress bar
|
|
263
|
+
*/
|
|
264
|
+
function formatProgress(completed, total) {
|
|
265
|
+
const barLength = 6;
|
|
266
|
+
const filledLength = total > 0 ? Math.round((completed / total) * barLength) : 0;
|
|
267
|
+
const bar = '█'.repeat(filledLength) + '░'.repeat(barLength - filledLength);
|
|
268
|
+
const count = `${completed}/${total}`;
|
|
269
|
+
return `${bar} ${count.padEnd(4)}`;
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* Format elapsed time
|
|
273
|
+
*/
|
|
274
|
+
function formatElapsedTime(startedAt) {
|
|
275
|
+
if (!startedAt)
|
|
276
|
+
return ' - ';
|
|
277
|
+
const started = new Date(startedAt);
|
|
278
|
+
const now = new Date();
|
|
279
|
+
const diffMs = now.getTime() - started.getTime();
|
|
280
|
+
const diffMins = Math.floor(diffMs / 60000);
|
|
281
|
+
if (diffMins < 60) {
|
|
282
|
+
return `${diffMins}m`.padStart(5);
|
|
283
|
+
}
|
|
284
|
+
const hours = Math.floor(diffMins / 60);
|
|
285
|
+
const mins = diffMins % 60;
|
|
286
|
+
return `${hours}h${mins}m`;
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* Watch mode: refresh every 2 seconds
|
|
290
|
+
*/
|
|
291
|
+
export async function watchParallelStatus(projectPath, options) {
|
|
292
|
+
const refreshInterval = 2000; // 2 seconds
|
|
293
|
+
console.log(chalk.gray('Watching parallel status (Ctrl+C to exit)...'));
|
|
294
|
+
const refresh = () => {
|
|
295
|
+
// Clear screen
|
|
296
|
+
console.clear();
|
|
297
|
+
displayParallelStatus(projectPath, { ...options, watch: false });
|
|
298
|
+
console.log(chalk.gray(`Last updated: ${new Date().toLocaleTimeString()} (refreshing every 2s)`));
|
|
299
|
+
};
|
|
300
|
+
refresh();
|
|
301
|
+
// Set up interval
|
|
302
|
+
const interval = setInterval(refresh, refreshInterval);
|
|
303
|
+
// Handle exit
|
|
304
|
+
process.on('SIGINT', () => {
|
|
305
|
+
clearInterval(interval);
|
|
306
|
+
console.log('');
|
|
307
|
+
console.log(chalk.gray('Watch mode ended'));
|
|
308
|
+
process.exit(0);
|
|
309
|
+
});
|
|
310
|
+
// Keep process running
|
|
311
|
+
await new Promise(() => { });
|
|
312
|
+
}
|
|
141
313
|
//# sourceMappingURL=auto-status.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auto-status.js","sourceRoot":"","sources":["../../../../src/cli/commands/auto-status.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AACzB,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAOpC,MAAM,UAAU,uBAAuB;IACrC,MAAM,GAAG,GAAG,IAAI,OAAO,CAAC,aAAa,CAAC;SACnC,WAAW,CAAC,wBAAwB,CAAC;SACrC,MAAM,CAAC,QAAQ,EAAE,gBAAgB,CAAC;SAClC,MAAM,CAAC,KAAK,EAAE,OAA0B,EAAE,EAAE;QAC3C,MAAM,WAAW,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;QAElC,oCAAoC;QACpC,MAAM,aAAa,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;QAC3D,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,CAAC;YAClC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,kDAAkD,CAAC,CAAC,CAAC;YAC9E,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,+CAA+C,CAAC,CAAC,CAAC;YACzE,OAAO;QACT,CAAC;QAED,IAAI,CAAC;YACH,MAAM,gBAAgB,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;QAC/C,CAAC;Q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@
|
|
|
16
16
|
* specweave auto --all-backlog # Activate all backlog items
|
|
17
17
|
*/
|
|
18
18
|
import { Command } from 'commander';
|
|
19
|
+
import { type AgentDomain, type ParallelConfig } from '../../core/auto/parallel/index.js';
|
|
19
20
|
export interface AutoCommandOptions {
|
|
20
21
|
dryRun?: boolean;
|
|
21
22
|
allBacklog?: boolean;
|
|
22
23
|
reset?: boolean;
|
|
24
|
+
parallel?: boolean;
|
|
25
|
+
maxParallel?: number;
|
|
26
|
+
frontend?: boolean;
|
|
27
|
+
backend?: boolean;
|
|
28
|
+
database?: boolean;
|
|
29
|
+
devops?: boolean;
|
|
30
|
+
qa?: boolean;
|
|
31
|
+
pr?: boolean;
|
|
32
|
+
draftPr?: boolean;
|
|
33
|
+
mergeStrategy?: 'auto' | 'manual' | 'pr';
|
|
34
|
+
baseBranch?: string;
|
|
35
|
+
prompt?: string;
|
|
23
36
|
}
|
|
24
37
|
export declare function createAutoCommand(): Command;
|
|
25
38
|
/**
|
|
26
39
|
* Main auto command handler
|
|
27
40
|
*/
|
|
28
41
|
export declare function handleAutoCommand(projectPath: string, incrementIds: string[], options: AutoCommandOptions): Promise<void>;
|
|
42
|
+
/**
|
|
43
|
+
* Check if parallel mode is requested
|
|
44
|
+
*/
|
|
45
|
+
export declare function isParallelModeRequested(options: AutoCommandOptions): boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Get selected domains from options
|
|
48
|
+
*/
|
|
49
|
+
export declare function getSelectedDomains(options: AutoCommandOptions): AgentDomain[];
|
|
50
|
+
/**
|
|
51
|
+
* Build parallel config from options
|
|
52
|
+
*/
|
|
53
|
+
export declare function buildParallelConfig(options: AutoCommandOptions): ParallelConfig;
|
|
54
|
+
/**
|
|
55
|
+
* Handle parallel mode execution
|
|
56
|
+
*/
|
|
57
|
+
export declare function handleParallelMode(projectPath: string, incrementId: string, options: AutoCommandOptions): Promise<void>;
|
|
29
58
|
//# sourceMappingURL=auto.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auto.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/auto.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAKH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"auto.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/auto.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAKH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC,OAAO,EAEL,KAAK,WAAW,EAChB,KAAK,cAAc,EACpB,MAAM,mCAAmC,CAAC;AAE3C,MAAM,WAAW,kBAAkB;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,IAAI,CAAC;IACzC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,iBAAiB,IAAI,OAAO,CAuC3C;AAED;;GAEG;AACH,wBAAsB,iBAAiB,CACrC,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EAAE,EACtB,OAAO,EAAE,kBAAkB,GAC1B,OAAO,CAAC,IAAI,CAAC,CA+Nf;AA0JD;;GAEG;AACH,wBAAgB,uBA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