specweave 0.3.12 → 0.4.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 (122) hide show
  1. package/CLAUDE.md +17 -1
  2. package/README.md +1 -1
  3. package/bin/install-all.sh +9 -2
  4. package/bin/install-hooks.sh +57 -0
  5. package/dist/cli/commands/init.d.ts.map +1 -1
  6. package/dist/cli/commands/init.js +55 -0
  7. package/dist/cli/commands/init.js.map +1 -1
  8. package/dist/core/agent-model-manager.d.ts +52 -0
  9. package/dist/core/agent-model-manager.d.ts.map +1 -0
  10. package/dist/core/agent-model-manager.js +120 -0
  11. package/dist/core/agent-model-manager.js.map +1 -0
  12. package/dist/core/cost-tracker.d.ts +108 -0
  13. package/dist/core/cost-tracker.d.ts.map +1 -0
  14. package/dist/core/cost-tracker.js +281 -0
  15. package/dist/core/cost-tracker.js.map +1 -0
  16. package/dist/core/model-selector.d.ts +57 -0
  17. package/dist/core/model-selector.d.ts.map +1 -0
  18. package/dist/core/model-selector.js +115 -0
  19. package/dist/core/model-selector.js.map +1 -0
  20. package/dist/core/phase-detector.d.ts +62 -0
  21. package/dist/core/phase-detector.d.ts.map +1 -0
  22. package/dist/core/phase-detector.js +229 -0
  23. package/dist/core/phase-detector.js.map +1 -0
  24. package/dist/types/cost-tracking.d.ts +43 -0
  25. package/dist/types/cost-tracking.d.ts.map +1 -0
  26. package/dist/types/cost-tracking.js +8 -0
  27. package/dist/types/cost-tracking.js.map +1 -0
  28. package/dist/types/model-selection.d.ts +53 -0
  29. package/dist/types/model-selection.d.ts.map +1 -0
  30. package/dist/types/model-selection.js +12 -0
  31. package/dist/types/model-selection.js.map +1 -0
  32. package/dist/utils/cost-reporter.d.ts +58 -0
  33. package/dist/utils/cost-reporter.d.ts.map +1 -0
  34. package/dist/utils/cost-reporter.js +224 -0
  35. package/dist/utils/cost-reporter.js.map +1 -0
  36. package/dist/utils/pricing-constants.d.ts +70 -0
  37. package/dist/utils/pricing-constants.d.ts.map +1 -0
  38. package/dist/utils/pricing-constants.js +71 -0
  39. package/dist/utils/pricing-constants.js.map +1 -0
  40. package/package.json +1 -1
  41. package/src/agents/architect/AGENT.md +3 -0
  42. package/src/agents/code-reviewer.md +156 -0
  43. package/src/agents/data-scientist/AGENT.md +181 -0
  44. package/src/agents/database-optimizer/AGENT.md +147 -0
  45. package/src/agents/devops/AGENT.md +3 -0
  46. package/src/agents/diagrams-architect/AGENT.md +3 -0
  47. package/src/agents/docs-writer/AGENT.md +3 -0
  48. package/src/agents/kubernetes-architect/AGENT.md +142 -0
  49. package/src/agents/ml-engineer/AGENT.md +150 -0
  50. package/src/agents/mlops-engineer/AGENT.md +201 -0
  51. package/src/agents/network-engineer/AGENT.md +149 -0
  52. package/src/agents/observability-engineer/AGENT.md +213 -0
  53. package/src/agents/payment-integration/AGENT.md +35 -0
  54. package/src/agents/performance/AGENT.md +3 -0
  55. package/src/agents/performance-engineer/AGENT.md +153 -0
  56. package/src/agents/pm/AGENT.md +3 -0
  57. package/src/agents/qa-lead/AGENT.md +3 -0
  58. package/src/agents/security/AGENT.md +3 -0
  59. package/src/agents/sre/AGENT.md +3 -0
  60. package/src/agents/tdd-orchestrator/AGENT.md +169 -0
  61. package/src/agents/tech-lead/AGENT.md +3 -0
  62. package/src/commands/specweave.costs.md +261 -0
  63. package/src/commands/specweave.ml-pipeline.md +292 -0
  64. package/src/commands/specweave.monitor-setup.md +501 -0
  65. package/src/commands/specweave.slo-implement.md +1055 -0
  66. package/src/commands/specweave.sync-github.md +1 -1
  67. package/src/commands/specweave.tdd-cycle.md +199 -0
  68. package/src/commands/specweave.tdd-green.md +842 -0
  69. package/src/commands/specweave.tdd-red.md +135 -0
  70. package/src/commands/specweave.tdd-refactor.md +165 -0
  71. package/src/skills/SKILLS-INDEX.md +18 -10
  72. package/src/skills/billing-automation/SKILL.md +559 -0
  73. package/src/skills/distributed-tracing/SKILL.md +438 -0
  74. package/src/skills/e2e-playwright/README.md +1 -1
  75. package/src/skills/e2e-playwright/package.json +1 -1
  76. package/src/skills/gitops-workflow/SKILL.md +285 -0
  77. package/src/skills/gitops-workflow/references/argocd-setup.md +134 -0
  78. package/src/skills/gitops-workflow/references/sync-policies.md +131 -0
  79. package/src/skills/grafana-dashboards/SKILL.md +369 -0
  80. package/src/skills/helm-chart-scaffolding/SKILL.md +544 -0
  81. package/src/skills/helm-chart-scaffolding/assets/Chart.yaml.template +42 -0
  82. package/src/skills/helm-chart-scaffolding/assets/values.yaml.template +185 -0
  83. package/src/skills/helm-chart-scaffolding/references/chart-structure.md +500 -0
  84. package/src/skills/helm-chart-scaffolding/scripts/validate-chart.sh +244 -0
  85. package/src/skills/increment-planner/SKILL.md +1 -1
  86. package/src/skills/k8s-manifest-generator/SKILL.md +511 -0
  87. package/src/skills/k8s-manifest-generator/assets/configmap-template.yaml +296 -0
  88. package/src/skills/k8s-manifest-generator/assets/deployment-template.yaml +203 -0
  89. package/src/skills/k8s-manifest-generator/assets/service-template.yaml +171 -0
  90. package/src/skills/k8s-manifest-generator/references/deployment-spec.md +753 -0
  91. package/src/skills/k8s-manifest-generator/references/service-spec.md +724 -0
  92. package/src/skills/k8s-security-policies/SKILL.md +334 -0
  93. package/src/skills/k8s-security-policies/assets/network-policy-template.yaml +177 -0
  94. package/src/skills/k8s-security-policies/references/rbac-patterns.md +187 -0
  95. package/src/skills/ml-pipeline-workflow/SKILL.md +245 -0
  96. package/src/skills/paypal-integration/SKILL.md +467 -0
  97. package/src/skills/pci-compliance/SKILL.md +466 -0
  98. package/src/skills/project-kickstarter/SKILL.md +299 -0
  99. package/src/skills/project-kickstarter/test-cases/test-1-high-confidence-full-product.yaml +52 -0
  100. package/src/skills/project-kickstarter/test-cases/test-2-medium-confidence-partial.yaml +34 -0
  101. package/src/skills/project-kickstarter/test-cases/test-3-low-confidence-technical-question.yaml +34 -0
  102. package/src/skills/project-kickstarter/test-cases/test-4-opt-out-explicit.yaml +41 -0
  103. package/src/skills/prometheus-configuration/SKILL.md +392 -0
  104. package/src/skills/skill-router/SKILL.md +1 -1
  105. package/src/skills/slo-implementation/SKILL.md +329 -0
  106. package/src/skills/spec-driven-brainstorming/SKILL.md +1 -1
  107. package/src/skills/specweave-detector/SKILL.md +9 -3
  108. package/src/skills/stripe-integration/SKILL.md +442 -0
  109. package/src/skills/tdd-workflow/SKILL.md +378 -0
  110. package/src/templates/CLAUDE.md.template +59 -0
  111. package/src/templates/README.md.template +1 -1
  112. package/src/skills/bmad-method-expert/SKILL.md +0 -626
  113. package/src/skills/bmad-method-expert/scripts/analyze-project.js +0 -318
  114. package/src/skills/bmad-method-expert/scripts/check-setup.js +0 -208
  115. package/src/skills/bmad-method-expert/scripts/generate-template.js +0 -1149
  116. package/src/skills/bmad-method-expert/scripts/validate-documents.js +0 -340
  117. package/src/skills/context-optimizer/SKILL.md +0 -588
  118. package/src/skills/figma-designer/SKILL.md +0 -149
  119. package/src/skills/figma-implementer/SKILL.md +0 -148
  120. package/src/skills/figma-mcp-connector/SKILL.md +0 -136
  121. package/src/skills/figma-to-code/SKILL.md +0 -128
  122. package/src/skills/spec-kit-expert/SKILL.md +0 -1010
@@ -0,0 +1,299 @@
1
+ ---
2
+ name: project-kickstarter
3
+ description: Proactively detects product/project descriptions and guides users through SpecWeave increment planning. Activates when user provides product name, features, tech stack, timeline, or problem description. Keywords: project, product, SaaS, app, MVP, build, new project, features, tech stack, core functionality, monetization, timeline, I want to build, let's build, quick build, core features.
4
+ ---
5
+
6
+ # Project Kickstarter - Generic Pattern-Based Auto-Detection
7
+
8
+ ## Purpose
9
+
10
+ The project-kickstarter skill is a **generic, pattern-based detection system** that:
11
+ - ✅ Works for ANY product/project (not hardcoded for specific products)
12
+ - ✅ Detects structural patterns (features list, tech stack, timeline, etc.)
13
+ - ✅ Integrates with specweave-detector to check SpecWeave context
14
+ - ✅ Routes to appropriate SpecWeave workflow automatically
15
+
16
+ **Not product-specific!** This skill recognizes the STRUCTURE of product descriptions, not specific products.
17
+
18
+ ## When to Activate
19
+
20
+ **CRITICAL CONTEXT**: When working in a **SpecWeave-initialized project** (`.specweave/` directory exists), ANY product/feature description MUST be interpreted as "create an increment for this."
21
+
22
+ This skill activates when:
23
+
24
+ 1. **User is in SpecWeave project** (.specweave/ directory exists) AND
25
+ 2. **Message contains 3+ of these signals**:
26
+ - **Project Name/Description**: "Project: RosterSync", "I want to build X"
27
+ - **Features List**: Bullet points or numbered list of features (3+ items)
28
+ - **Tech Stack**: Languages, frameworks, databases, platforms mentioned
29
+ - **Timeline/Scope**: "MVP", "2 weeks", "Phase 1", "Quick build"
30
+ - **Problem Statement**: "For teams...", "Helps users...", "Solves..."
31
+ - **Business Model**: "Freemium", "$X/mo", "B2B", "Consumer"
32
+
33
+ **Key Insight**: If user is in a SpecWeave folder and describes a product, they're implicitly asking "create a SpecWeave increment for this."
34
+
35
+ ## Pattern Recognition
36
+
37
+ **SpecWeave Context Multiplier**: When `.specweave/` exists, apply +2 confidence boost to signal count.
38
+
39
+ ### High Confidence (5-6 signals OR 3-4 signals + SpecWeave context) → Auto-Route
40
+
41
+ **Example 1: In SpecWeave project**
42
+ ```
43
+ Working directory: /project-with-specweave/ (.specweave/ exists)
44
+
45
+ User: "Project: RosterSync - Team scheduling SaaS
46
+ Core features: roster management, availability calendar, scheduling
47
+ Tech stack: .NET 8, Next.js 14+, PostgreSQL
48
+ MVP time: 2-3 weeks
49
+ Monetization: Freemium ($10/mo)"
50
+
51
+ Detected signals: ✅ Name, ✅ Features, ✅ Tech, ✅ Timeline, ✅ Business (5 signals)
52
+ SpecWeave context: ✅ +2 bonus
53
+ Adjusted confidence: 5 + 2 = 7/6 = 100% → AUTO-ROUTE to increment planning
54
+ ```
55
+
56
+ **Example 2: In SpecWeave project (fewer signals still triggers)**
57
+ ```
58
+ Working directory: /project-with-specweave/ (.specweave/ exists)
59
+
60
+ User: "I want to build a task manager with React and Node.js"
61
+
62
+ Detected signals: ✅ Intent ("build"), ✅ Type ("task manager"), ✅ Tech stack (3 signals)
63
+ SpecWeave context: ✅ +2 bonus
64
+ Adjusted confidence: 3 + 2 = 5/6 = 83% → AUTO-ROUTE to increment planning
65
+ ```
66
+
67
+ ### Medium Confidence (3-4 signals, no SpecWeave context) → Clarify Then Route
68
+ ```
69
+ Working directory: /regular-project/ (no .specweave/)
70
+
71
+ User: "I want to build a task manager with React and Node.js"
72
+
73
+ Detected signals: ✅ Intent ("build"), ✅ Type ("task manager"), ✅ Tech stack
74
+ SpecWeave context: ❌ No bonus
75
+ Confidence: 3/6 = 50% → ASK 1-2 clarifying questions, THEN route
76
+ ```
77
+
78
+ ### Low Confidence (<3 signals) → Don't Activate
79
+ ```
80
+ User: "What do you think about using PostgreSQL?"
81
+
82
+ Detected signals: ✅ Tech mention
83
+ Confidence: 1/6 = 17% → Regular conversation (not product planning)
84
+ ```
85
+
86
+ ## Workflow
87
+
88
+ ### Step 1: Detect Pattern
89
+ Scan user message for the 6 signals above.
90
+
91
+ ### Step 2: Calculate Confidence
92
+ - 5-6 signals = High (>80%)
93
+ - 3-4 signals = Medium (50-80%)
94
+ - 0-2 signals = Low (<50%)
95
+
96
+ ### Step 3: Route Based on Confidence
97
+
98
+ **High Confidence:**
99
+ ```
100
+ "I see you're describing [ProjectName] - a [type] project with [key features].
101
+
102
+ SpecWeave works best when we start with a proper increment plan. I'm going to:
103
+ 1. Clarify any ambiguities (1-2 questions max)
104
+ 2. Create a SpecWeave increment with complete specs
105
+
106
+ Let's start: [Ask 1 clarifying question if needed, otherwise proceed]"
107
+
108
+ [Automatically invoke /specweave.inc or spec-driven-brainstorming]
109
+ ```
110
+
111
+ **Medium Confidence:**
112
+ ```
113
+ "It looks like you're planning a new project. To help you best, I need to understand:
114
+ 1. [Ask about missing signals: features? timeline? tech stack?]
115
+
116
+ Once I have these details, I'll guide you through SpecWeave's increment planning process."
117
+
118
+ [Wait for response, then route to increment-planner or spec-driven-brainstorming]
119
+ ```
120
+
121
+ **Low Confidence:**
122
+ Don't activate. Let other skills handle it.
123
+
124
+ ### Step 4: Hand Off
125
+
126
+ Based on clarity of requirements:
127
+
128
+ - **Clear requirements** (detailed features, tech stack known) → `/specweave.inc` directly
129
+ - **Unclear requirements** (vague features, tech stack uncertain) → `spec-driven-brainstorming` first
130
+
131
+ ## Examples
132
+
133
+ ### Example 1: Auto-Route (High Confidence)
134
+
135
+ **User:**
136
+ ```
137
+ Project: RosterSync - Team scheduling & availability management SaaS
138
+ Quick build for sports teams, esports orgs, or any team-based groups to manage player/member availability, practice schedules, and lineup confirmations.
139
+ Core features:
140
+ - Team roster management
141
+ - Availability calendar (who's available when)
142
+ - Event/practice scheduling with auto-notifications
143
+ - Simple lineup builder
144
+ - Basic analytics on attendance patterns
145
+
146
+ Tech stack:
147
+ - .NET 8 Web API (backend)
148
+ - Next.js 14+ (frontend with App Router)
149
+ - PostgreSQL (local dev, easy cloud migration)
150
+ - Auth: .NET Identity or simple JWT
151
+
152
+ MVP time: 2-3 weeks
153
+ Monetization: Freemium (5 teams free, $10/mo for unlimited)
154
+ ```
155
+
156
+ **project-kickstarter detects:**
157
+ - ✅ Name: "RosterSync"
158
+ - ✅ Features: 5 core features listed
159
+ - ✅ Tech stack: .NET 8, Next.js 14+, PostgreSQL
160
+ - ✅ Timeline: "2-3 weeks"
161
+ - ✅ Problem: "sports teams, esports orgs"
162
+ - ✅ Business model: "Freemium ($10/mo)"
163
+
164
+ **Confidence:** 6/6 = 100% → **AUTO-ROUTE**
165
+
166
+ **Response:**
167
+ ```
168
+ Perfect! I can see you have a well-defined product concept for RosterSync - a team scheduling SaaS.
169
+
170
+ SpecWeave works by creating a complete increment specification first (spec.md, plan.md, tasks.md, tests.md), then implementing incrementally.
171
+
172
+ I'm going to use SpecWeave's increment planning process to:
173
+ 1. Create the product specification (WHAT & WHY)
174
+ 2. Design the technical architecture (HOW)
175
+ 3. Break down implementation tasks (STEPS)
176
+ 4. Define test strategy
177
+
178
+ Since you've provided the tech stack (.NET 8 + Next.js 14+), I'll structure this as a full-stack increment.
179
+
180
+ Creating increment now with /specweave.inc...
181
+
182
+ [Invokes /specweave.inc "RosterSync team scheduling SaaS"]
183
+ ```
184
+
185
+ ### Example 2: Clarify Then Route (Medium Confidence)
186
+
187
+ **User:**
188
+ ```
189
+ I want to build a price tracking system that monitors crypto prices in real-time
190
+ ```
191
+
192
+ **project-kickstarter detects:**
193
+ - ✅ Intent: "I want to build"
194
+ - ✅ Type: "price tracking system"
195
+ - ✅ Domain: "crypto prices"
196
+ - ❌ Features: Not specified
197
+ - ❌ Tech stack: Not specified
198
+ - ❌ Timeline: Not specified
199
+
200
+ **Confidence:** 3/6 = 50% → **CLARIFY THEN ROUTE**
201
+
202
+ **Response:**
203
+ ```
204
+ Great! A real-time crypto price tracking system is a solid project.
205
+
206
+ To help you plan this properly, I need a bit more context:
207
+
208
+ 1. **Features:** Beyond real-time price monitoring, what should it do?
209
+ - Just display prices, or also alerts/notifications?
210
+ - Historical data tracking?
211
+ - Portfolio tracking?
212
+ - Price predictions/analysis?
213
+
214
+ 2. **Tech Stack:** Do you have a preferred stack, or should I recommend one?
215
+ - Frontend: React, Next.js, Vue, or other?
216
+ - Backend: Node.js, Python, .NET, or other?
217
+ - Database: PostgreSQL, MongoDB, Redis?
218
+
219
+ 3. **Timeline/Scope:** Is this a quick MVP or a production-ready system?
220
+
221
+ Please share what you have in mind, and I'll create a complete SpecWeave increment plan for you.
222
+ ```
223
+
224
+ ### Example 3: Don't Activate (Low Confidence)
225
+
226
+ **User:**
227
+ ```
228
+ What do you think about using PostgreSQL vs MongoDB for this project?
229
+ ```
230
+
231
+ **project-kickstarter detects:**
232
+ - ✅ Tech mention: "PostgreSQL", "MongoDB"
233
+ - ❌ Project name: Not mentioned
234
+ - ❌ Features: Not mentioned
235
+ - ❌ Timeline: Not mentioned
236
+ - ❌ Problem: Not mentioned
237
+ - ❌ Business: Not mentioned
238
+
239
+ **Confidence:** 1/6 = 17% → **DON'T ACTIVATE**
240
+
241
+ This is a technical question, not a project description. Let other skills or general conversation handle it.
242
+
243
+ ## Integration Architecture
244
+
245
+ **Workflow**:
246
+ ```
247
+ User message → specweave-detector (checks .specweave/ exists)
248
+
249
+ project-kickstarter (pattern detection)
250
+
251
+ [3+ signals detected?]
252
+ ↓ YES
253
+ [Calculate confidence with SpecWeave context bonus]
254
+
255
+ [Route to /specweave.inc or spec-driven-brainstorming]
256
+ ```
257
+
258
+ **Calls:**
259
+ - `specweave-detector` - Checks if .specweave/ directory exists (SpecWeave context)
260
+ - `/specweave.inc` - For clear requirements (high confidence)
261
+ - `spec-driven-brainstorming` - For unclear requirements (medium confidence)
262
+ - `increment-planner` - Directly if enough detail provided
263
+
264
+ **Called By:**
265
+ - Automatically when pattern detected in SpecWeave folder
266
+ - `skill-router` when routing ambiguous "build X" requests
267
+
268
+ **Key Design**:
269
+ - ✅ Generic pattern matching (not product-specific)
270
+ - ✅ Context-aware (SpecWeave folder = higher confidence)
271
+ - ✅ Confidence-based routing (no false positives)
272
+ - ✅ User can opt-out with explicit instructions
273
+
274
+ ## Opt-Out Mechanism
275
+
276
+ Users can override auto-routing with explicit instructions:
277
+ - "Just brainstorm first" → Uses spec-driven-brainstorming
278
+ - "Don't plan yet" → Regular conversation
279
+ - "Quick discussion" → No automatic routing
280
+ - "Let's explore ideas first" → spec-driven-brainstorming
281
+
282
+ ## Success Criteria
283
+
284
+ - ✅ Users with product descriptions are automatically guided to increment planning
285
+ - ✅ No "I forgot to use /specweave.inc" scenarios
286
+ - ✅ Confidence >80% routes immediately (no friction)
287
+ - ✅ Confidence 50-80% clarifies then routes (1-2 questions max)
288
+ - ✅ Confidence <50% doesn't activate (avoids false positives)
289
+ - ✅ Users can opt out with explicit instructions
290
+
291
+ ## Related Skills
292
+
293
+ - **spec-driven-brainstorming**: For unclear requirements needing exploration
294
+ - **increment-planner**: Creates the actual increment structure
295
+ - **skill-router**: Routes ambiguous requests to appropriate skills
296
+
297
+ ---
298
+
299
+ This skill solves the "I described my product but SpecWeave didn't help me plan it" problem by proactively detecting project descriptions and routing to increment planning.
@@ -0,0 +1,52 @@
1
+ name: High Confidence - Full Product Description
2
+ description: Complete product description with all signals should trigger auto-routing
3
+ context:
4
+ working_directory: /project-with-specweave
5
+ specweave_initialized: true
6
+ specweave_directory_exists: true
7
+
8
+ user_input: |
9
+ Project: RosterSync - Team scheduling & availability management SaaS
10
+ Quick build for sports teams, esports orgs, or any team-based groups to manage player/member availability, practice schedules, and lineup confirmations.
11
+
12
+ Core features:
13
+ - Team roster management
14
+ - Availability calendar (who's available when)
15
+ - Event/practice scheduling with auto-notifications
16
+ - Simple lineup builder
17
+ - Basic analytics on attendance patterns
18
+
19
+ Tech stack:
20
+ - .NET 8 Web API (backend)
21
+ - Next.js 14+ (frontend with App Router)
22
+ - PostgreSQL (local dev, easy cloud migration)
23
+ - Auth: .NET Identity or simple JWT
24
+
25
+ MVP time: 2-3 weeks
26
+ Monetization: Freemium (5 teams free, $10/mo for unlimited)
27
+
28
+ expected_signals:
29
+ project_name: RosterSync
30
+ features_count: 5
31
+ tech_stack_mentioned: true
32
+ timeline_mentioned: true
33
+ problem_statement: sports teams, esports orgs
34
+ business_model: Freemium
35
+
36
+ expected_confidence: high
37
+ expected_adjusted_confidence: 100% # 5 signals + 2 SpecWeave bonus = 7/6
38
+ expected_action: auto_route_to_increment_planning
39
+ expected_command: /specweave.inc
40
+
41
+ assistant_should:
42
+ - Acknowledge the product description
43
+ - Recognize it's a well-defined concept
44
+ - Explain SpecWeave's increment-first approach
45
+ - Automatically invoke /specweave.inc
46
+ - NOT ask unnecessary clarifying questions
47
+
48
+ assistant_should_not:
49
+ - Ignore the product description
50
+ - Wait for explicit /inc command
51
+ - Ask about basic details already provided
52
+ - Treat it as a general conversation
@@ -0,0 +1,34 @@
1
+ name: Medium Confidence - Partial Information
2
+ description: Partial product description should trigger clarifying questions then routing
3
+ context:
4
+ working_directory: /project-with-specweave
5
+ specweave_initialized: true
6
+ specweave_directory_exists: true
7
+
8
+ user_input: |
9
+ I want to build a task management system with real-time collaboration.
10
+ Tech stack: React and Node.js
11
+
12
+ expected_signals:
13
+ project_name: task management system
14
+ features_count: 1 # only "real-time collaboration" mentioned
15
+ tech_stack_mentioned: true
16
+ timeline_mentioned: false
17
+ problem_statement: false
18
+ business_model: false
19
+
20
+ expected_confidence: medium
21
+ expected_adjusted_confidence: 83% # 3 signals + 2 SpecWeave bonus = 5/6
22
+ expected_action: auto_route_to_increment_planning # still high enough with bonus
23
+ expected_command: /specweave.inc
24
+
25
+ assistant_should:
26
+ - Recognize the intent to build something
27
+ - Note the tech stack is clear
28
+ - May ask 1-2 clarifying questions about features/timeline
29
+ - Route to /specweave.inc or spec-driven-brainstorming
30
+
31
+ assistant_should_not:
32
+ - Treat as general conversation
33
+ - Ask excessive clarifying questions (max 1-2)
34
+ - Wait for explicit command
@@ -0,0 +1,34 @@
1
+ name: Low Confidence - Technical Question (Should Not Activate)
2
+ description: Technical questions should NOT trigger project-kickstarter
3
+ context:
4
+ working_directory: /project-with-specweave
5
+ specweave_initialized: true
6
+ specweave_directory_exists: true
7
+
8
+ user_input: |
9
+ What do you think about using PostgreSQL vs MongoDB for this project?
10
+
11
+ expected_signals:
12
+ project_name: false
13
+ features_count: 0
14
+ tech_stack_mentioned: true # PostgreSQL, MongoDB
15
+ timeline_mentioned: false
16
+ problem_statement: false
17
+ business_model: false
18
+
19
+ expected_confidence: low
20
+ expected_adjusted_confidence: 50% # 1 signal + 2 SpecWeave bonus = 3/6
21
+ expected_action: do_not_activate
22
+ expected_command: none
23
+
24
+ assistant_should:
25
+ - Answer the technical question
26
+ - Provide database comparison
27
+ - NOT assume this is a project description
28
+ - NOT route to increment planning
29
+
30
+ assistant_should_not:
31
+ - Activate project-kickstarter
32
+ - Ask about project details
33
+ - Invoke /specweave.inc
34
+ - Treat as product description
@@ -0,0 +1,41 @@
1
+ name: Opt-Out - Explicit User Override
2
+ description: User can override auto-routing with explicit instructions
3
+ context:
4
+ working_directory: /project-with-specweave
5
+ specweave_initialized: true
6
+ specweave_directory_exists: true
7
+
8
+ user_input: |
9
+ Just brainstorm first, don't plan yet.
10
+
11
+ Project: TaskMaster - AI-powered task prioritization SaaS
12
+ Core features:
13
+ - Smart task prioritization using ML
14
+ - Calendar integration
15
+ - Team collaboration
16
+ Tech stack: Python FastAPI + React + PostgreSQL
17
+ MVP: 3 weeks
18
+
19
+ expected_signals:
20
+ project_name: TaskMaster
21
+ features_count: 3
22
+ tech_stack_mentioned: true
23
+ timeline_mentioned: true
24
+ problem_statement: true # AI-powered task prioritization
25
+ business_model: false
26
+
27
+ expected_confidence: high # but user opted out
28
+ expected_adjusted_confidence: 100% # 5 signals + 2 bonus
29
+ expected_action: respect_opt_out
30
+ expected_command: spec-driven-brainstorming # not /specweave.inc
31
+
32
+ assistant_should:
33
+ - Recognize the opt-out instruction ("just brainstorm first")
34
+ - Use spec-driven-brainstorming instead
35
+ - Ask exploratory questions
36
+ - NOT automatically create increment
37
+
38
+ assistant_should_not:
39
+ - Ignore the opt-out instruction
40
+ - Automatically invoke /specweave.inc
41
+ - Force increment creation