specweave 1.0.1 → 1.0.6

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 (67) hide show
  1. package/CLAUDE.md +42 -0
  2. package/README.md +6 -4
  3. package/dist/src/cli/commands/init.d.ts.map +1 -1
  4. package/dist/src/cli/commands/init.js +6 -3
  5. package/dist/src/cli/commands/init.js.map +1 -1
  6. package/dist/src/cli/helpers/init/github-repo-cloning.d.ts.map +1 -1
  7. package/dist/src/cli/helpers/init/github-repo-cloning.js +3 -2
  8. package/dist/src/cli/helpers/init/github-repo-cloning.js.map +1 -1
  9. package/dist/src/cli/helpers/issue-tracker/github-multi-repo.d.ts.map +1 -1
  10. package/dist/src/cli/helpers/issue-tracker/github-multi-repo.js +6 -2
  11. package/dist/src/cli/helpers/issue-tracker/github-multi-repo.js.map +1 -1
  12. package/dist/src/cli/helpers/issue-tracker/github.d.ts +11 -2
  13. package/dist/src/cli/helpers/issue-tracker/github.d.ts.map +1 -1
  14. package/dist/src/cli/helpers/issue-tracker/github.js +68 -2
  15. package/dist/src/cli/helpers/issue-tracker/github.js.map +1 -1
  16. package/dist/src/cli/helpers/issue-tracker/index.js +3 -3
  17. package/dist/src/cli/helpers/issue-tracker/index.js.map +1 -1
  18. package/dist/src/cli/helpers/issue-tracker/types.d.ts +5 -0
  19. package/dist/src/cli/helpers/issue-tracker/types.d.ts.map +1 -1
  20. package/dist/src/cli/helpers/issue-tracker/types.js.map +1 -1
  21. package/dist/src/config/types.d.ts +203 -1208
  22. package/dist/src/config/types.d.ts.map +1 -1
  23. package/dist/src/core/repo-structure/repo-structure-manager.d.ts.map +1 -1
  24. package/dist/src/core/repo-structure/repo-structure-manager.js +5 -2
  25. package/dist/src/core/repo-structure/repo-structure-manager.js.map +1 -1
  26. package/dist/src/init/architecture/types.d.ts +33 -140
  27. package/dist/src/init/architecture/types.d.ts.map +1 -1
  28. package/dist/src/init/compliance/types.d.ts +30 -27
  29. package/dist/src/init/compliance/types.d.ts.map +1 -1
  30. package/dist/src/init/repo/types.d.ts +11 -34
  31. package/dist/src/init/repo/types.d.ts.map +1 -1
  32. package/dist/src/init/research/src/config/types.d.ts +15 -82
  33. package/dist/src/init/research/src/config/types.d.ts.map +1 -1
  34. package/dist/src/init/research/types.d.ts +38 -93
  35. package/dist/src/init/research/types.d.ts.map +1 -1
  36. package/dist/src/init/team/types.d.ts +4 -42
  37. package/dist/src/init/team/types.d.ts.map +1 -1
  38. package/package.json +1 -1
  39. package/plugins/specweave/hooks/docs-changed.sh.backup +79 -0
  40. package/plugins/specweave/hooks/human-input-required.sh.backup +75 -0
  41. package/plugins/specweave/hooks/post-first-increment.sh.backup +61 -0
  42. package/plugins/specweave/hooks/post-increment-change.sh.backup +98 -0
  43. package/plugins/specweave/hooks/post-increment-completion.sh.backup +231 -0
  44. package/plugins/specweave/hooks/post-increment-planning.sh.backup +1048 -0
  45. package/plugins/specweave/hooks/post-increment-status-change.sh.backup +147 -0
  46. package/plugins/specweave/hooks/post-spec-update.sh.backup +158 -0
  47. package/plugins/specweave/hooks/post-user-story-complete.sh.backup +179 -0
  48. package/plugins/specweave/hooks/pre-command-deduplication.sh.backup +83 -0
  49. package/plugins/specweave/hooks/pre-implementation.sh.backup +67 -0
  50. package/plugins/specweave/hooks/pre-task-completion.sh.backup +194 -0
  51. package/plugins/specweave/hooks/pre-tool-use.sh.backup +133 -0
  52. package/plugins/specweave/hooks/universal/hook-wrapper.cmd +26 -26
  53. package/plugins/specweave/hooks/universal/session-start.cmd +16 -16
  54. package/plugins/specweave/hooks/universal/session-start.ps1 +16 -16
  55. package/plugins/specweave/hooks/user-prompt-submit.sh.backup +386 -0
  56. package/plugins/specweave/hooks/v2/dispatchers/post-tool-use.sh +13 -0
  57. package/plugins/specweave/hooks/v2/guards/task-ac-sync-guard.sh +357 -0
  58. package/plugins/specweave-ado/hooks/post-living-docs-update.sh.backup +353 -0
  59. package/plugins/specweave-ado/hooks/post-task-completion.sh.backup +172 -0
  60. package/plugins/specweave-ado/lib/enhanced-ado-sync.js +170 -0
  61. package/plugins/specweave-github/hooks/.specweave/logs/hooks-debug.log +1262 -738
  62. package/plugins/specweave-github/hooks/post-task-completion.sh.backup +258 -0
  63. package/plugins/specweave-github/lib/enhanced-github-sync.js +220 -0
  64. package/plugins/specweave-jira/hooks/post-task-completion.sh.backup +172 -0
  65. package/plugins/specweave-jira/lib/enhanced-jira-sync.js +134 -0
  66. package/plugins/specweave-release/hooks/.specweave/logs/dora-tracking.log +1254 -1107
  67. package/plugins/specweave-release/hooks/post-task-completion.sh.backup +110 -0
@@ -9,338 +9,152 @@ import { z } from 'zod';
9
9
  * Research configuration schema
10
10
  */
11
11
  export declare const ResearchConfigSchema: z.ZodObject<{
12
- /** Vision & Market Research results */
13
12
  vision: z.ZodOptional<z.ZodObject<{
14
- keywords: z.ZodArray<z.ZodString, "many">;
15
- market: z.ZodEnum<["productivity-saas", "healthcare", "fintech", "e-commerce", "education", "gaming", "social-network", "enterprise-b2b", "consumer-b2c", "marketplace", "iot", "blockchain", "ai-ml", "unknown"]>;
13
+ keywords: z.ZodArray<z.ZodString>;
14
+ market: z.ZodEnum<{
15
+ unknown: "unknown";
16
+ healthcare: "healthcare";
17
+ fintech: "fintech";
18
+ education: "education";
19
+ iot: "iot";
20
+ gaming: "gaming";
21
+ marketplace: "marketplace";
22
+ "productivity-saas": "productivity-saas";
23
+ "e-commerce": "e-commerce";
24
+ "social-network": "social-network";
25
+ "enterprise-b2b": "enterprise-b2b";
26
+ "consumer-b2c": "consumer-b2c";
27
+ blockchain: "blockchain";
28
+ "ai-ml": "ai-ml";
29
+ }>;
16
30
  competitors: z.ZodArray<z.ZodObject<{
17
31
  name: z.ZodString;
18
32
  url: z.ZodOptional<z.ZodString>;
19
- strengths: z.ZodArray<z.ZodString, "many">;
20
- weaknesses: z.ZodArray<z.ZodString, "many">;
21
- }, "strip", z.ZodTypeAny, {
22
- name?: string;
23
- url?: string;
24
- strengths?: string[];
25
- weaknesses?: string[];
26
- }, {
27
- name?: string;
28
- url?: string;
29
- strengths?: string[];
30
- weaknesses?: string[];
31
- }>, "many">;
33
+ strengths: z.ZodArray<z.ZodString>;
34
+ weaknesses: z.ZodArray<z.ZodString>;
35
+ }, z.core.$strip>>;
32
36
  opportunityScore: z.ZodNumber;
33
37
  viralPotential: z.ZodBoolean;
34
38
  followUpQuestions: z.ZodArray<z.ZodObject<{
35
39
  question: z.ZodString;
36
- type: z.ZodEnum<["open", "multiple-choice", "scale"]>;
37
- options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
40
+ type: z.ZodEnum<{
41
+ open: "open";
42
+ "multiple-choice": "multiple-choice";
43
+ scale: "scale";
44
+ }>;
45
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
38
46
  rationale: z.ZodString;
39
- }, "strip", z.ZodTypeAny, {
40
- type?: "open" | "multiple-choice" | "scale";
41
- options?: string[];
42
- question?: string;
43
- rationale?: string;
44
- }, {
45
- type?: "open" | "multiple-choice" | "scale";
46
- options?: string[];
47
- question?: string;
48
- rationale?: string;
49
- }>, "many">;
47
+ }, z.core.$strip>>;
50
48
  confidence: z.ZodOptional<z.ZodNumber>;
51
49
  rawVision: z.ZodString;
52
- }, "strip", z.ZodTypeAny, {
53
- keywords?: string[];
54
- confidence?: number;
55
- market?: "unknown" | "healthcare" | "fintech" | "education" | "iot" | "gaming" | "marketplace" | "productivity-saas" | "e-commerce" | "social-network" | "enterprise-b2b" | "consumer-b2c" | "blockchain" | "ai-ml";
56
- competitors?: {
57
- name?: string;
58
- url?: string;
59
- strengths?: string[];
60
- weaknesses?: string[];
61
- }[];
62
- opportunityScore?: number;
63
- viralPotential?: boolean;
64
- followUpQuestions?: {
65
- type?: "open" | "multiple-choice" | "scale";
66
- options?: string[];
67
- question?: string;
68
- rationale?: string;
69
- }[];
70
- rawVision?: string;
71
- }, {
72
- keywords?: string[];
73
- confidence?: number;
74
- market?: "unknown" | "healthcare" | "fintech" | "education" | "iot" | "gaming" | "marketplace" | "productivity-saas" | "e-commerce" | "social-network" | "enterprise-b2b" | "consumer-b2c" | "blockchain" | "ai-ml";
75
- competitors?: {
76
- name?: string;
77
- url?: string;
78
- strengths?: string[];
79
- weaknesses?: string[];
80
- }[];
81
- opportunityScore?: number;
82
- viralPotential?: boolean;
83
- followUpQuestions?: {
84
- type?: "open" | "multiple-choice" | "scale";
85
- options?: string[];
86
- question?: string;
87
- rationale?: string;
88
- }[];
89
- rawVision?: string;
90
- }>>;
91
- /** Compliance standards detected */
50
+ }, z.core.$strip>>;
92
51
  compliance: z.ZodOptional<z.ZodObject<{
93
52
  standards: z.ZodArray<z.ZodObject<{
94
53
  id: z.ZodString;
95
54
  name: z.ZodString;
96
- dataTypes: z.ZodArray<z.ZodEnum<["healthcare", "payment", "personal", "government", "student", "financial", "biometric", "location", "children", "sensitive"]>, "many">;
97
- regions: z.ZodArray<z.ZodString, "many">;
98
- teamImpact: z.ZodArray<z.ZodEnum<["auth-team", "data-team", "devsecops-team", "ciso", "dpo", "privacy-engineering", "payments-team", "compliance-team"]>, "many">;
55
+ dataTypes: z.ZodArray<z.ZodEnum<{
56
+ healthcare: "healthcare";
57
+ personal: "personal";
58
+ payment: "payment";
59
+ location: "location";
60
+ financial: "financial";
61
+ government: "government";
62
+ student: "student";
63
+ biometric: "biometric";
64
+ children: "children";
65
+ sensitive: "sensitive";
66
+ }>>;
67
+ regions: z.ZodArray<z.ZodString>;
68
+ teamImpact: z.ZodArray<z.ZodEnum<{
69
+ "auth-team": "auth-team";
70
+ "data-team": "data-team";
71
+ "devsecops-team": "devsecops-team";
72
+ ciso: "ciso";
73
+ dpo: "dpo";
74
+ "privacy-engineering": "privacy-engineering";
75
+ "payments-team": "payments-team";
76
+ "compliance-team": "compliance-team";
77
+ }>>;
99
78
  costImpact: z.ZodString;
100
79
  certificationRequired: z.ZodBoolean;
101
- auditFrequency: z.ZodEnum<["annual", "quarterly", "continuous", "none"]>;
80
+ auditFrequency: z.ZodEnum<{
81
+ none: "none";
82
+ annual: "annual";
83
+ quarterly: "quarterly";
84
+ continuous: "continuous";
85
+ }>;
102
86
  description: z.ZodOptional<z.ZodString>;
103
87
  documentationUrl: z.ZodOptional<z.ZodString>;
104
- }, "strip", z.ZodTypeAny, {
105
- name?: string;
106
- description?: string;
107
- id?: string;
108
- dataTypes?: ("healthcare" | "personal" | "payment" | "location" | "financial" | "government" | "student" | "biometric" | "children" | "sensitive")[];
109
- regions?: string[];
110
- teamImpact?: ("auth-team" | "data-team" | "devsecops-team" | "ciso" | "dpo" | "privacy-engineering" | "payments-team" | "compliance-team")[];
111
- costImpact?: string;
112
- certificationRequired?: boolean;
113
- auditFrequency?: "none" | "annual" | "quarterly" | "continuous";
114
- documentationUrl?: string;
115
- }, {
116
- name?: string;
117
- description?: string;
118
- id?: string;
119
- dataTypes?: ("healthcare" | "personal" | "payment" | "location" | "financial" | "government" | "student" | "biometric" | "children" | "sensitive")[];
120
- regions?: string[];
121
- teamImpact?: ("auth-team" | "data-team" | "devsecops-team" | "ciso" | "dpo" | "privacy-engineering" | "payments-team" | "compliance-team")[];
122
- costImpact?: string;
123
- certificationRequired?: boolean;
124
- auditFrequency?: "none" | "annual" | "quarterly" | "continuous";
125
- documentationUrl?: string;
126
- }>, "many">;
127
- teamRequirements: z.ZodArray<z.ZodString, "many">;
88
+ }, z.core.$strip>>;
89
+ teamRequirements: z.ZodArray<z.ZodString>;
128
90
  totalCostEstimate: z.ZodString;
129
- recommendations: z.ZodArray<z.ZodString, "many">;
130
- }, "strip", z.ZodTypeAny, {
131
- recommendations?: string[];
132
- standards?: {
133
- name?: string;
134
- description?: string;
135
- id?: string;
136
- dataTypes?: ("healthcare" | "personal" | "payment" | "location" | "financial" | "government" | "student" | "biometric" | "children" | "sensitive")[];
137
- regions?: string[];
138
- teamImpact?: ("auth-team" | "data-team" | "devsecops-team" | "ciso" | "dpo" | "privacy-engineering" | "payments-team" | "compliance-team")[];
139
- costImpact?: string;
140
- certificationRequired?: boolean;
141
- auditFrequency?: "none" | "annual" | "quarterly" | "continuous";
142
- documentationUrl?: string;
143
- }[];
144
- teamRequirements?: string[];
145
- totalCostEstimate?: string;
146
- }, {
147
- recommendations?: string[];
148
- standards?: {
149
- name?: string;
150
- description?: string;
151
- id?: string;
152
- dataTypes?: ("healthcare" | "personal" | "payment" | "location" | "financial" | "government" | "student" | "biometric" | "children" | "sensitive")[];
153
- regions?: string[];
154
- teamImpact?: ("auth-team" | "data-team" | "devsecops-team" | "ciso" | "dpo" | "privacy-engineering" | "payments-team" | "compliance-team")[];
155
- costImpact?: string;
156
- certificationRequired?: boolean;
157
- auditFrequency?: "none" | "annual" | "quarterly" | "continuous";
158
- documentationUrl?: string;
159
- }[];
160
- teamRequirements?: string[];
161
- totalCostEstimate?: string;
162
- }>>;
163
- /** Team recommendations */
91
+ recommendations: z.ZodArray<z.ZodString>;
92
+ }, z.core.$strip>>;
164
93
  teams: z.ZodOptional<z.ZodArray<z.ZodObject<{
165
94
  teamName: z.ZodString;
166
95
  role: z.ZodString;
167
96
  required: z.ZodBoolean;
168
97
  reason: z.ZodString;
169
98
  size: z.ZodString;
170
- skills: z.ZodArray<z.ZodString, "many">;
99
+ skills: z.ZodArray<z.ZodString>;
171
100
  serverlessAlternative: z.ZodOptional<z.ZodObject<{
172
101
  service: z.ZodString;
173
102
  costSavings: z.ZodNumber;
174
- tradeoffs: z.ZodArray<z.ZodString, "many">;
103
+ tradeoffs: z.ZodArray<z.ZodString>;
175
104
  pricingModel: z.ZodOptional<z.ZodString>;
176
- }, "strip", z.ZodTypeAny, {
177
- service?: string;
178
- costSavings?: number;
179
- tradeoffs?: string[];
180
- pricingModel?: string;
181
- }, {
182
- service?: string;
183
- costSavings?: number;
184
- tradeoffs?: string[];
185
- pricingModel?: string;
186
- }>>;
105
+ }, z.core.$strip>>;
187
106
  priority: z.ZodOptional<z.ZodNumber>;
188
- }, "strip", z.ZodTypeAny, {
189
- skills?: string[];
190
- reason?: string;
191
- priority?: number;
192
- size?: string;
193
- role?: string;
194
- teamName?: string;
195
- required?: boolean;
196
- serverlessAlternative?: {
197
- service?: string;
198
- costSavings?: number;
199
- tradeoffs?: string[];
200
- pricingModel?: string;
201
- };
202
- }, {
203
- skills?: string[];
204
- reason?: string;
205
- priority?: number;
206
- size?: string;
207
- role?: string;
208
- teamName?: string;
209
- required?: boolean;
210
- serverlessAlternative?: {
211
- service?: string;
212
- costSavings?: number;
213
- tradeoffs?: string[];
214
- pricingModel?: string;
215
- };
216
- }>, "many">>;
217
- /** Architecture decision */
107
+ }, z.core.$strip>>>;
218
108
  architecture: z.ZodOptional<z.ZodObject<{
219
- architecture: z.ZodEnum<["serverless", "traditional-monolith", "microservices", "modular-monolith", "jamstack", "hybrid"]>;
220
- infrastructure: z.ZodArray<z.ZodString, "many">;
109
+ architecture: z.ZodEnum<{
110
+ hybrid: "hybrid";
111
+ microservices: "microservices";
112
+ serverless: "serverless";
113
+ "traditional-monolith": "traditional-monolith";
114
+ "modular-monolith": "modular-monolith";
115
+ jamstack: "jamstack";
116
+ }>;
117
+ infrastructure: z.ZodArray<z.ZodString>;
221
118
  rationale: z.ZodString;
222
119
  costEstimate: z.ZodObject<{
223
120
  at1K: z.ZodString;
224
121
  at10K: z.ZodString;
225
122
  at100K: z.ZodString;
226
123
  at1M: z.ZodString;
227
- }, "strip", z.ZodTypeAny, {
228
- at1K?: string;
229
- at10K?: string;
230
- at100K?: string;
231
- at1M?: string;
232
- }, {
233
- at1K?: string;
234
- at10K?: string;
235
- at100K?: string;
236
- at1M?: string;
237
- }>;
124
+ }, z.core.$strip>;
238
125
  cloudCredits: z.ZodArray<z.ZodObject<{
239
126
  provider: z.ZodString;
240
127
  amount: z.ZodString;
241
128
  duration: z.ZodString;
242
129
  requirements: z.ZodOptional<z.ZodString>;
243
130
  url: z.ZodOptional<z.ZodString>;
244
- }, "strip", z.ZodTypeAny, {
245
- provider?: string;
246
- url?: string;
247
- requirements?: string;
248
- amount?: string;
249
- duration?: string;
250
- }, {
251
- provider?: string;
252
- url?: string;
253
- requirements?: string;
254
- amount?: string;
255
- duration?: string;
256
- }>, "many">;
131
+ }, z.core.$strip>>;
257
132
  projects: z.ZodArray<z.ZodObject<{
258
133
  name: z.ZodString;
259
134
  description: z.ZodString;
260
- stack: z.ZodArray<z.ZodString, "many">;
261
- }, "strip", z.ZodTypeAny, {
262
- name?: string;
263
- stack?: string[];
264
- description?: string;
265
- }, {
266
- name?: string;
267
- stack?: string[];
268
- description?: string;
269
- }>, "many">;
270
- methodology: z.ZodEnum<["agile", "waterfall"]>;
135
+ stack: z.ZodArray<z.ZodString>;
136
+ }, z.core.$strip>>;
137
+ methodology: z.ZodEnum<{
138
+ agile: "agile";
139
+ waterfall: "waterfall";
140
+ }>;
271
141
  alternatives: z.ZodOptional<z.ZodArray<z.ZodObject<{
272
- architecture: z.ZodEnum<["serverless", "traditional-monolith", "microservices", "modular-monolith", "jamstack", "hybrid"]>;
273
- pros: z.ZodArray<z.ZodString, "many">;
274
- cons: z.ZodArray<z.ZodString, "many">;
275
- }, "strip", z.ZodTypeAny, {
276
- architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
277
- pros?: string[];
278
- cons?: string[];
279
- }, {
280
- architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
281
- pros?: string[];
282
- cons?: string[];
283
- }>, "many">>;
284
- }, "strip", z.ZodTypeAny, {
285
- architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
286
- infrastructure?: string[];
287
- projects?: {
288
- name?: string;
289
- stack?: string[];
290
- description?: string;
291
- }[];
292
- alternatives?: {
293
- architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
294
- pros?: string[];
295
- cons?: string[];
296
- }[];
297
- rationale?: string;
298
- costEstimate?: {
299
- at1K?: string;
300
- at10K?: string;
301
- at100K?: string;
302
- at1M?: string;
303
- };
304
- cloudCredits?: {
305
- provider?: string;
306
- url?: string;
307
- requirements?: string;
308
- amount?: string;
309
- duration?: string;
310
- }[];
311
- methodology?: "agile" | "waterfall";
312
- }, {
313
- architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
314
- infrastructure?: string[];
315
- projects?: {
316
- name?: string;
317
- stack?: string[];
318
- description?: string;
319
- }[];
320
- alternatives?: {
321
- architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
322
- pros?: string[];
323
- cons?: string[];
324
- }[];
325
- rationale?: string;
326
- costEstimate?: {
327
- at1K?: string;
328
- at10K?: string;
329
- at100K?: string;
330
- at1M?: string;
331
- };
332
- cloudCredits?: {
333
- provider?: string;
334
- url?: string;
335
- requirements?: string;
336
- amount?: string;
337
- duration?: string;
338
- }[];
339
- methodology?: "agile" | "waterfall";
142
+ architecture: z.ZodEnum<{
143
+ hybrid: "hybrid";
144
+ microservices: "microservices";
145
+ serverless: "serverless";
146
+ "traditional-monolith": "traditional-monolith";
147
+ "modular-monolith": "modular-monolith";
148
+ jamstack: "jamstack";
149
+ }>;
150
+ pros: z.ZodArray<z.ZodString>;
151
+ cons: z.ZodArray<z.ZodString>;
152
+ }, z.core.$strip>>>;
153
+ }, z.core.$strip>>;
154
+ methodology: z.ZodOptional<z.ZodEnum<{
155
+ agile: "agile";
156
+ waterfall: "waterfall";
340
157
  }>>;
341
- /** Methodology (Agile or Waterfall) */
342
- methodology: z.ZodOptional<z.ZodEnum<["agile", "waterfall"]>>;
343
- /** Repository selection */
344
158
  repositories: z.ZodOptional<z.ZodArray<z.ZodObject<{
345
159
  name: z.ZodString;
346
160
  url: z.ZodString;
@@ -348,571 +162,170 @@ export declare const ResearchConfigSchema: z.ZodObject<{
348
162
  language: z.ZodOptional<z.ZodString>;
349
163
  stars: z.ZodOptional<z.ZodNumber>;
350
164
  lastUpdated: z.ZodOptional<z.ZodString>;
351
- }, "strip", z.ZodTypeAny, {
352
- name?: string;
353
- language?: string;
354
- owner?: string;
355
- url?: string;
356
- lastUpdated?: string;
357
- stars?: number;
358
- }, {
359
- name?: string;
360
- language?: string;
361
- owner?: string;
362
- url?: string;
363
- lastUpdated?: string;
364
- stars?: number;
365
- }>, "many">>;
366
- }, "strip", z.ZodTypeAny, {
367
- architecture?: {
368
- architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
369
- infrastructure?: string[];
370
- projects?: {
371
- name?: string;
372
- stack?: string[];
373
- description?: string;
374
- }[];
375
- alternatives?: {
376
- architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
377
- pros?: string[];
378
- cons?: string[];
379
- }[];
380
- rationale?: string;
381
- costEstimate?: {
382
- at1K?: string;
383
- at10K?: string;
384
- at100K?: string;
385
- at1M?: string;
386
- };
387
- cloudCredits?: {
388
- provider?: string;
389
- url?: string;
390
- requirements?: string;
391
- amount?: string;
392
- duration?: string;
393
- }[];
394
- methodology?: "agile" | "waterfall";
395
- };
396
- teams?: {
397
- skills?: string[];
398
- reason?: string;
399
- priority?: number;
400
- size?: string;
401
- role?: string;
402
- teamName?: string;
403
- required?: boolean;
404
- serverlessAlternative?: {
405
- service?: string;
406
- costSavings?: number;
407
- tradeoffs?: string[];
408
- pricingModel?: string;
409
- };
410
- }[];
411
- repositories?: {
412
- name?: string;
413
- language?: string;
414
- owner?: string;
415
- url?: string;
416
- lastUpdated?: string;
417
- stars?: number;
418
- }[];
419
- methodology?: "agile" | "waterfall";
420
- vision?: {
421
- keywords?: string[];
422
- confidence?: number;
423
- market?: "unknown" | "healthcare" | "fintech" | "education" | "iot" | "gaming" | "marketplace" | "productivity-saas" | "e-commerce" | "social-network" | "enterprise-b2b" | "consumer-b2c" | "blockchain" | "ai-ml";
424
- competitors?: {
425
- name?: string;
426
- url?: string;
427
- strengths?: string[];
428
- weaknesses?: string[];
429
- }[];
430
- opportunityScore?: number;
431
- viralPotential?: boolean;
432
- followUpQuestions?: {
433
- type?: "open" | "multiple-choice" | "scale";
434
- options?: string[];
435
- question?: string;
436
- rationale?: string;
437
- }[];
438
- rawVision?: string;
439
- };
440
- compliance?: {
441
- recommendations?: string[];
442
- standards?: {
443
- name?: string;
444
- description?: string;
445
- id?: string;
446
- dataTypes?: ("healthcare" | "personal" | "payment" | "location" | "financial" | "government" | "student" | "biometric" | "children" | "sensitive")[];
447
- regions?: string[];
448
- teamImpact?: ("auth-team" | "data-team" | "devsecops-team" | "ciso" | "dpo" | "privacy-engineering" | "payments-team" | "compliance-team")[];
449
- costImpact?: string;
450
- certificationRequired?: boolean;
451
- auditFrequency?: "none" | "annual" | "quarterly" | "continuous";
452
- documentationUrl?: string;
453
- }[];
454
- teamRequirements?: string[];
455
- totalCostEstimate?: string;
456
- };
457
- }, {
458
- architecture?: {
459
- architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
460
- infrastructure?: string[];
461
- projects?: {
462
- name?: string;
463
- stack?: string[];
464
- description?: string;
465
- }[];
466
- alternatives?: {
467
- architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
468
- pros?: string[];
469
- cons?: string[];
470
- }[];
471
- rationale?: string;
472
- costEstimate?: {
473
- at1K?: string;
474
- at10K?: string;
475
- at100K?: string;
476
- at1M?: string;
477
- };
478
- cloudCredits?: {
479
- provider?: string;
480
- url?: string;
481
- requirements?: string;
482
- amount?: string;
483
- duration?: string;
484
- }[];
485
- methodology?: "agile" | "waterfall";
486
- };
487
- teams?: {
488
- skills?: string[];
489
- reason?: string;
490
- priority?: number;
491
- size?: string;
492
- role?: string;
493
- teamName?: string;
494
- required?: boolean;
495
- serverlessAlternative?: {
496
- service?: string;
497
- costSavings?: number;
498
- tradeoffs?: string[];
499
- pricingModel?: string;
500
- };
501
- }[];
502
- repositories?: {
503
- name?: string;
504
- language?: string;
505
- owner?: string;
506
- url?: string;
507
- lastUpdated?: string;
508
- stars?: number;
509
- }[];
510
- methodology?: "agile" | "waterfall";
511
- vision?: {
512
- keywords?: string[];
513
- confidence?: number;
514
- market?: "unknown" | "healthcare" | "fintech" | "education" | "iot" | "gaming" | "marketplace" | "productivity-saas" | "e-commerce" | "social-network" | "enterprise-b2b" | "consumer-b2c" | "blockchain" | "ai-ml";
515
- competitors?: {
516
- name?: string;
517
- url?: string;
518
- strengths?: string[];
519
- weaknesses?: string[];
520
- }[];
521
- opportunityScore?: number;
522
- viralPotential?: boolean;
523
- followUpQuestions?: {
524
- type?: "open" | "multiple-choice" | "scale";
525
- options?: string[];
526
- question?: string;
527
- rationale?: string;
528
- }[];
529
- rawVision?: string;
530
- };
531
- compliance?: {
532
- recommendations?: string[];
533
- standards?: {
534
- name?: string;
535
- description?: string;
536
- id?: string;
537
- dataTypes?: ("healthcare" | "personal" | "payment" | "location" | "financial" | "government" | "student" | "biometric" | "children" | "sensitive")[];
538
- regions?: string[];
539
- teamImpact?: ("auth-team" | "data-team" | "devsecops-team" | "ciso" | "dpo" | "privacy-engineering" | "payments-team" | "compliance-team")[];
540
- costImpact?: string;
541
- certificationRequired?: boolean;
542
- auditFrequency?: "none" | "annual" | "quarterly" | "continuous";
543
- documentationUrl?: string;
544
- }[];
545
- teamRequirements?: string[];
546
- totalCostEstimate?: string;
547
- };
548
- }>;
165
+ }, z.core.$strip>>>;
166
+ }, z.core.$strip>;
549
167
  /**
550
168
  * Living Docs configuration schema
551
169
  */
552
170
  export declare const LivingDocsConfigSchema: z.ZodObject<{
553
- /** Enable copy-based sync */
554
171
  copyBasedSync: z.ZodDefault<z.ZodObject<{
555
172
  enabled: z.ZodDefault<z.ZodBoolean>;
556
- }, "strip", z.ZodTypeAny, {
557
- enabled?: boolean;
558
- }, {
559
- enabled?: boolean;
560
- }>>;
561
- /** Enable three-layer sync (GitHub <-> Living Docs <-> Increment) */
173
+ }, z.core.$strip>>;
562
174
  threeLayerSync: z.ZodDefault<z.ZodBoolean>;
563
- }, "strip", z.ZodTypeAny, {
564
- copyBasedSync?: {
565
- enabled?: boolean;
566
- };
567
- threeLayerSync?: boolean;
568
- }, {
569
- copyBasedSync?: {
570
- enabled?: boolean;
571
- };
572
- threeLayerSync?: boolean;
573
- }>;
175
+ }, z.core.$strip>;
574
176
  /**
575
177
  * Main SpecWeave configuration schema
576
178
  */
577
179
  export declare const SpecWeaveConfigSchema: z.ZodObject<{
578
- /** Config schema version */
579
180
  version: z.ZodDefault<z.ZodString>;
580
- /** Project name */
581
181
  projectName: z.ZodString;
582
- /** Research insights from strategic init */
583
182
  research: z.ZodOptional<z.ZodObject<{
584
- /** Vision & Market Research results */
585
183
  vision: z.ZodOptional<z.ZodObject<{
586
- keywords: z.ZodArray<z.ZodString, "many">;
587
- market: z.ZodEnum<["productivity-saas", "healthcare", "fintech", "e-commerce", "education", "gaming", "social-network", "enterprise-b2b", "consumer-b2c", "marketplace", "iot", "blockchain", "ai-ml", "unknown"]>;
184
+ keywords: z.ZodArray<z.ZodString>;
185
+ market: z.ZodEnum<{
186
+ unknown: "unknown";
187
+ healthcare: "healthcare";
188
+ fintech: "fintech";
189
+ education: "education";
190
+ iot: "iot";
191
+ gaming: "gaming";
192
+ marketplace: "marketplace";
193
+ "productivity-saas": "productivity-saas";
194
+ "e-commerce": "e-commerce";
195
+ "social-network": "social-network";
196
+ "enterprise-b2b": "enterprise-b2b";
197
+ "consumer-b2c": "consumer-b2c";
198
+ blockchain: "blockchain";
199
+ "ai-ml": "ai-ml";
200
+ }>;
588
201
  competitors: z.ZodArray<z.ZodObject<{
589
202
  name: z.ZodString;
590
203
  url: z.ZodOptional<z.ZodString>;
591
- strengths: z.ZodArray<z.ZodString, "many">;
592
- weaknesses: z.ZodArray<z.ZodString, "many">;
593
- }, "strip", z.ZodTypeAny, {
594
- name?: string;
595
- url?: string;
596
- strengths?: string[];
597
- weaknesses?: string[];
598
- }, {
599
- name?: string;
600
- url?: string;
601
- strengths?: string[];
602
- weaknesses?: string[];
603
- }>, "many">;
204
+ strengths: z.ZodArray<z.ZodString>;
205
+ weaknesses: z.ZodArray<z.ZodString>;
206
+ }, z.core.$strip>>;
604
207
  opportunityScore: z.ZodNumber;
605
208
  viralPotential: z.ZodBoolean;
606
209
  followUpQuestions: z.ZodArray<z.ZodObject<{
607
210
  question: z.ZodString;
608
- type: z.ZodEnum<["open", "multiple-choice", "scale"]>;
609
- options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
211
+ type: z.ZodEnum<{
212
+ open: "open";
213
+ "multiple-choice": "multiple-choice";
214
+ scale: "scale";
215
+ }>;
216
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
610
217
  rationale: z.ZodString;
611
- }, "strip", z.ZodTypeAny, {
612
- type?: "open" | "multiple-choice" | "scale";
613
- options?: string[];
614
- question?: string;
615
- rationale?: string;
616
- }, {
617
- type?: "open" | "multiple-choice" | "scale";
618
- options?: string[];
619
- question?: string;
620
- rationale?: string;
621
- }>, "many">;
218
+ }, z.core.$strip>>;
622
219
  confidence: z.ZodOptional<z.ZodNumber>;
623
220
  rawVision: z.ZodString;
624
- }, "strip", z.ZodTypeAny, {
625
- keywords?: string[];
626
- confidence?: number;
627
- market?: "unknown" | "healthcare" | "fintech" | "education" | "iot" | "gaming" | "marketplace" | "productivity-saas" | "e-commerce" | "social-network" | "enterprise-b2b" | "consumer-b2c" | "blockchain" | "ai-ml";
628
- competitors?: {
629
- name?: string;
630
- url?: string;
631
- strengths?: string[];
632
- weaknesses?: string[];
633
- }[];
634
- opportunityScore?: number;
635
- viralPotential?: boolean;
636
- followUpQuestions?: {
637
- type?: "open" | "multiple-choice" | "scale";
638
- options?: string[];
639
- question?: string;
640
- rationale?: string;
641
- }[];
642
- rawVision?: string;
643
- }, {
644
- keywords?: string[];
645
- confidence?: number;
646
- market?: "unknown" | "healthcare" | "fintech" | "education" | "iot" | "gaming" | "marketplace" | "productivity-saas" | "e-commerce" | "social-network" | "enterprise-b2b" | "consumer-b2c" | "blockchain" | "ai-ml";
647
- competitors?: {
648
- name?: string;
649
- url?: string;
650
- strengths?: string[];
651
- weaknesses?: string[];
652
- }[];
653
- opportunityScore?: number;
654
- viralPotential?: boolean;
655
- followUpQuestions?: {
656
- type?: "open" | "multiple-choice" | "scale";
657
- options?: string[];
658
- question?: string;
659
- rationale?: string;
660
- }[];
661
- rawVision?: string;
662
- }>>;
663
- /** Compliance standards detected */
221
+ }, z.core.$strip>>;
664
222
  compliance: z.ZodOptional<z.ZodObject<{
665
223
  standards: z.ZodArray<z.ZodObject<{
666
224
  id: z.ZodString;
667
225
  name: z.ZodString;
668
- dataTypes: z.ZodArray<z.ZodEnum<["healthcare", "payment", "personal", "government", "student", "financial", "biometric", "location", "children", "sensitive"]>, "many">;
669
- regions: z.ZodArray<z.ZodString, "many">;
670
- teamImpact: z.ZodArray<z.ZodEnum<["auth-team", "data-team", "devsecops-team", "ciso", "dpo", "privacy-engineering", "payments-team", "compliance-team"]>, "many">;
226
+ dataTypes: z.ZodArray<z.ZodEnum<{
227
+ healthcare: "healthcare";
228
+ personal: "personal";
229
+ payment: "payment";
230
+ location: "location";
231
+ financial: "financial";
232
+ government: "government";
233
+ student: "student";
234
+ biometric: "biometric";
235
+ children: "children";
236
+ sensitive: "sensitive";
237
+ }>>;
238
+ regions: z.ZodArray<z.ZodString>;
239
+ teamImpact: z.ZodArray<z.ZodEnum<{
240
+ "auth-team": "auth-team";
241
+ "data-team": "data-team";
242
+ "devsecops-team": "devsecops-team";
243
+ ciso: "ciso";
244
+ dpo: "dpo";
245
+ "privacy-engineering": "privacy-engineering";
246
+ "payments-team": "payments-team";
247
+ "compliance-team": "compliance-team";
248
+ }>>;
671
249
  costImpact: z.ZodString;
672
250
  certificationRequired: z.ZodBoolean;
673
- auditFrequency: z.ZodEnum<["annual", "quarterly", "continuous", "none"]>;
251
+ auditFrequency: z.ZodEnum<{
252
+ none: "none";
253
+ annual: "annual";
254
+ quarterly: "quarterly";
255
+ continuous: "continuous";
256
+ }>;
674
257
  description: z.ZodOptional<z.ZodString>;
675
258
  documentationUrl: z.ZodOptional<z.ZodString>;
676
- }, "strip", z.ZodTypeAny, {
677
- name?: string;
678
- description?: string;
679
- id?: string;
680
- dataTypes?: ("healthcare" | "personal" | "payment" | "location" | "financial" | "government" | "student" | "biometric" | "children" | "sensitive")[];
681
- regions?: string[];
682
- teamImpact?: ("auth-team" | "data-team" | "devsecops-team" | "ciso" | "dpo" | "privacy-engineering" | "payments-team" | "compliance-team")[];
683
- costImpact?: string;
684
- certificationRequired?: boolean;
685
- auditFrequency?: "none" | "annual" | "quarterly" | "continuous";
686
- documentationUrl?: string;
687
- }, {
688
- name?: string;
689
- description?: string;
690
- id?: string;
691
- dataTypes?: ("healthcare" | "personal" | "payment" | "location" | "financial" | "government" | "student" | "biometric" | "children" | "sensitive")[];
692
- regions?: string[];
693
- teamImpact?: ("auth-team" | "data-team" | "devsecops-team" | "ciso" | "dpo" | "privacy-engineering" | "payments-team" | "compliance-team")[];
694
- costImpact?: string;
695
- certificationRequired?: boolean;
696
- auditFrequency?: "none" | "annual" | "quarterly" | "continuous";
697
- documentationUrl?: string;
698
- }>, "many">;
699
- teamRequirements: z.ZodArray<z.ZodString, "many">;
259
+ }, z.core.$strip>>;
260
+ teamRequirements: z.ZodArray<z.ZodString>;
700
261
  totalCostEstimate: z.ZodString;
701
- recommendations: z.ZodArray<z.ZodString, "many">;
702
- }, "strip", z.ZodTypeAny, {
703
- recommendations?: string[];
704
- standards?: {
705
- name?: string;
706
- description?: string;
707
- id?: string;
708
- dataTypes?: ("healthcare" | "personal" | "payment" | "location" | "financial" | "government" | "student" | "biometric" | "children" | "sensitive")[];
709
- regions?: string[];
710
- teamImpact?: ("auth-team" | "data-team" | "devsecops-team" | "ciso" | "dpo" | "privacy-engineering" | "payments-team" | "compliance-team")[];
711
- costImpact?: string;
712
- certificationRequired?: boolean;
713
- auditFrequency?: "none" | "annual" | "quarterly" | "continuous";
714
- documentationUrl?: string;
715
- }[];
716
- teamRequirements?: string[];
717
- totalCostEstimate?: string;
718
- }, {
719
- recommendations?: string[];
720
- standards?: {
721
- name?: string;
722
- description?: string;
723
- id?: string;
724
- dataTypes?: ("healthcare" | "personal" | "payment" | "location" | "financial" | "government" | "student" | "biometric" | "children" | "sensitive")[];
725
- regions?: string[];
726
- teamImpact?: ("auth-team" | "data-team" | "devsecops-team" | "ciso" | "dpo" | "privacy-engineering" | "payments-team" | "compliance-team")[];
727
- costImpact?: string;
728
- certificationRequired?: boolean;
729
- auditFrequency?: "none" | "annual" | "quarterly" | "continuous";
730
- documentationUrl?: string;
731
- }[];
732
- teamRequirements?: string[];
733
- totalCostEstimate?: string;
734
- }>>;
735
- /** Team recommendations */
262
+ recommendations: z.ZodArray<z.ZodString>;
263
+ }, z.core.$strip>>;
736
264
  teams: z.ZodOptional<z.ZodArray<z.ZodObject<{
737
265
  teamName: z.ZodString;
738
266
  role: z.ZodString;
739
267
  required: z.ZodBoolean;
740
268
  reason: z.ZodString;
741
269
  size: z.ZodString;
742
- skills: z.ZodArray<z.ZodString, "many">;
270
+ skills: z.ZodArray<z.ZodString>;
743
271
  serverlessAlternative: z.ZodOptional<z.ZodObject<{
744
272
  service: z.ZodString;
745
273
  costSavings: z.ZodNumber;
746
- tradeoffs: z.ZodArray<z.ZodString, "many">;
274
+ tradeoffs: z.ZodArray<z.ZodString>;
747
275
  pricingModel: z.ZodOptional<z.ZodString>;
748
- }, "strip", z.ZodTypeAny, {
749
- service?: string;
750
- costSavings?: number;
751
- tradeoffs?: string[];
752
- pricingModel?: string;
753
- }, {
754
- service?: string;
755
- costSavings?: number;
756
- tradeoffs?: string[];
757
- pricingModel?: string;
758
- }>>;
276
+ }, z.core.$strip>>;
759
277
  priority: z.ZodOptional<z.ZodNumber>;
760
- }, "strip", z.ZodTypeAny, {
761
- skills?: string[];
762
- reason?: string;
763
- priority?: number;
764
- size?: string;
765
- role?: string;
766
- teamName?: string;
767
- required?: boolean;
768
- serverlessAlternative?: {
769
- service?: string;
770
- costSavings?: number;
771
- tradeoffs?: string[];
772
- pricingModel?: string;
773
- };
774
- }, {
775
- skills?: string[];
776
- reason?: string;
777
- priority?: number;
778
- size?: string;
779
- role?: string;
780
- teamName?: string;
781
- required?: boolean;
782
- serverlessAlternative?: {
783
- service?: string;
784
- costSavings?: number;
785
- tradeoffs?: string[];
786
- pricingModel?: string;
787
- };
788
- }>, "many">>;
789
- /** Architecture decision */
278
+ }, z.core.$strip>>>;
790
279
  architecture: z.ZodOptional<z.ZodObject<{
791
- architecture: z.ZodEnum<["serverless", "traditional-monolith", "microservices", "modular-monolith", "jamstack", "hybrid"]>;
792
- infrastructure: z.ZodArray<z.ZodString, "many">;
280
+ architecture: z.ZodEnum<{
281
+ hybrid: "hybrid";
282
+ microservices: "microservices";
283
+ serverless: "serverless";
284
+ "traditional-monolith": "traditional-monolith";
285
+ "modular-monolith": "modular-monolith";
286
+ jamstack: "jamstack";
287
+ }>;
288
+ infrastructure: z.ZodArray<z.ZodString>;
793
289
  rationale: z.ZodString;
794
290
  costEstimate: z.ZodObject<{
795
291
  at1K: z.ZodString;
796
292
  at10K: z.ZodString;
797
293
  at100K: z.ZodString;
798
294
  at1M: z.ZodString;
799
- }, "strip", z.ZodTypeAny, {
800
- at1K?: string;
801
- at10K?: string;
802
- at100K?: string;
803
- at1M?: string;
804
- }, {
805
- at1K?: string;
806
- at10K?: string;
807
- at100K?: string;
808
- at1M?: string;
809
- }>;
295
+ }, z.core.$strip>;
810
296
  cloudCredits: z.ZodArray<z.ZodObject<{
811
297
  provider: z.ZodString;
812
298
  amount: z.ZodString;
813
299
  duration: z.ZodString;
814
300
  requirements: z.ZodOptional<z.ZodString>;
815
301
  url: z.ZodOptional<z.ZodString>;
816
- }, "strip", z.ZodTypeAny, {
817
- provider?: string;
818
- url?: string;
819
- requirements?: string;
820
- amount?: string;
821
- duration?: string;
822
- }, {
823
- provider?: string;
824
- url?: string;
825
- requirements?: string;
826
- amount?: string;
827
- duration?: string;
828
- }>, "many">;
302
+ }, z.core.$strip>>;
829
303
  projects: z.ZodArray<z.ZodObject<{
830
304
  name: z.ZodString;
831
305
  description: z.ZodString;
832
- stack: z.ZodArray<z.ZodString, "many">;
833
- }, "strip", z.ZodTypeAny, {
834
- name?: string;
835
- stack?: string[];
836
- description?: string;
837
- }, {
838
- name?: string;
839
- stack?: string[];
840
- description?: string;
841
- }>, "many">;
842
- methodology: z.ZodEnum<["agile", "waterfall"]>;
306
+ stack: z.ZodArray<z.ZodString>;
307
+ }, z.core.$strip>>;
308
+ methodology: z.ZodEnum<{
309
+ agile: "agile";
310
+ waterfall: "waterfall";
311
+ }>;
843
312
  alternatives: z.ZodOptional<z.ZodArray<z.ZodObject<{
844
- architecture: z.ZodEnum<["serverless", "traditional-monolith", "microservices", "modular-monolith", "jamstack", "hybrid"]>;
845
- pros: z.ZodArray<z.ZodString, "many">;
846
- cons: z.ZodArray<z.ZodString, "many">;
847
- }, "strip", z.ZodTypeAny, {
848
- architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
849
- pros?: string[];
850
- cons?: string[];
851
- }, {
852
- architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
853
- pros?: string[];
854
- cons?: string[];
855
- }>, "many">>;
856
- }, "strip", z.ZodTypeAny, {
857
- architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
858
- infrastructure?: string[];
859
- projects?: {
860
- name?: string;
861
- stack?: string[];
862
- description?: string;
863
- }[];
864
- alternatives?: {
865
- architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
866
- pros?: string[];
867
- cons?: string[];
868
- }[];
869
- rationale?: string;
870
- costEstimate?: {
871
- at1K?: string;
872
- at10K?: string;
873
- at100K?: string;
874
- at1M?: string;
875
- };
876
- cloudCredits?: {
877
- provider?: string;
878
- url?: string;
879
- requirements?: string;
880
- amount?: string;
881
- duration?: string;
882
- }[];
883
- methodology?: "agile" | "waterfall";
884
- }, {
885
- architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
886
- infrastructure?: string[];
887
- projects?: {
888
- name?: string;
889
- stack?: string[];
890
- description?: string;
891
- }[];
892
- alternatives?: {
893
- architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
894
- pros?: string[];
895
- cons?: string[];
896
- }[];
897
- rationale?: string;
898
- costEstimate?: {
899
- at1K?: string;
900
- at10K?: string;
901
- at100K?: string;
902
- at1M?: string;
903
- };
904
- cloudCredits?: {
905
- provider?: string;
906
- url?: string;
907
- requirements?: string;
908
- amount?: string;
909
- duration?: string;
910
- }[];
911
- methodology?: "agile" | "waterfall";
313
+ architecture: z.ZodEnum<{
314
+ hybrid: "hybrid";
315
+ microservices: "microservices";
316
+ serverless: "serverless";
317
+ "traditional-monolith": "traditional-monolith";
318
+ "modular-monolith": "modular-monolith";
319
+ jamstack: "jamstack";
320
+ }>;
321
+ pros: z.ZodArray<z.ZodString>;
322
+ cons: z.ZodArray<z.ZodString>;
323
+ }, z.core.$strip>>>;
324
+ }, z.core.$strip>>;
325
+ methodology: z.ZodOptional<z.ZodEnum<{
326
+ agile: "agile";
327
+ waterfall: "waterfall";
912
328
  }>>;
913
- /** Methodology (Agile or Waterfall) */
914
- methodology: z.ZodOptional<z.ZodEnum<["agile", "waterfall"]>>;
915
- /** Repository selection */
916
329
  repositories: z.ZodOptional<z.ZodArray<z.ZodObject<{
917
330
  name: z.ZodString;
918
331
  url: z.ZodString;
@@ -920,434 +333,16 @@ export declare const SpecWeaveConfigSchema: z.ZodObject<{
920
333
  language: z.ZodOptional<z.ZodString>;
921
334
  stars: z.ZodOptional<z.ZodNumber>;
922
335
  lastUpdated: z.ZodOptional<z.ZodString>;
923
- }, "strip", z.ZodTypeAny, {
924
- name?: string;
925
- language?: string;
926
- owner?: string;
927
- url?: string;
928
- lastUpdated?: string;
929
- stars?: number;
930
- }, {
931
- name?: string;
932
- language?: string;
933
- owner?: string;
934
- url?: string;
935
- lastUpdated?: string;
936
- stars?: number;
937
- }>, "many">>;
938
- }, "strip", z.ZodTypeAny, {
939
- architecture?: {
940
- architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
941
- infrastructure?: string[];
942
- projects?: {
943
- name?: string;
944
- stack?: string[];
945
- description?: string;
946
- }[];
947
- alternatives?: {
948
- architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
949
- pros?: string[];
950
- cons?: string[];
951
- }[];
952
- rationale?: string;
953
- costEstimate?: {
954
- at1K?: string;
955
- at10K?: string;
956
- at100K?: string;
957
- at1M?: string;
958
- };
959
- cloudCredits?: {
960
- provider?: string;
961
- url?: string;
962
- requirements?: string;
963
- amount?: string;
964
- duration?: string;
965
- }[];
966
- methodology?: "agile" | "waterfall";
967
- };
968
- teams?: {
969
- skills?: string[];
970
- reason?: string;
971
- priority?: number;
972
- size?: string;
973
- role?: string;
974
- teamName?: string;
975
- required?: boolean;
976
- serverlessAlternative?: {
977
- service?: string;
978
- costSavings?: number;
979
- tradeoffs?: string[];
980
- pricingModel?: string;
981
- };
982
- }[];
983
- repositories?: {
984
- name?: string;
985
- language?: string;
986
- owner?: string;
987
- url?: string;
988
- lastUpdated?: string;
989
- stars?: number;
990
- }[];
991
- methodology?: "agile" | "waterfall";
992
- vision?: {
993
- keywords?: string[];
994
- confidence?: number;
995
- market?: "unknown" | "healthcare" | "fintech" | "education" | "iot" | "gaming" | "marketplace" | "productivity-saas" | "e-commerce" | "social-network" | "enterprise-b2b" | "consumer-b2c" | "blockchain" | "ai-ml";
996
- competitors?: {
997
- name?: string;
998
- url?: string;
999
- strengths?: string[];
1000
- weaknesses?: string[];
1001
- }[];
1002
- opportunityScore?: number;
1003
- viralPotential?: boolean;
1004
- followUpQuestions?: {
1005
- type?: "open" | "multiple-choice" | "scale";
1006
- options?: string[];
1007
- question?: string;
1008
- rationale?: string;
1009
- }[];
1010
- rawVision?: string;
1011
- };
1012
- compliance?: {
1013
- recommendations?: string[];
1014
- standards?: {
1015
- name?: string;
1016
- description?: string;
1017
- id?: string;
1018
- dataTypes?: ("healthcare" | "personal" | "payment" | "location" | "financial" | "government" | "student" | "biometric" | "children" | "sensitive")[];
1019
- regions?: string[];
1020
- teamImpact?: ("auth-team" | "data-team" | "devsecops-team" | "ciso" | "dpo" | "privacy-engineering" | "payments-team" | "compliance-team")[];
1021
- costImpact?: string;
1022
- certificationRequired?: boolean;
1023
- auditFrequency?: "none" | "annual" | "quarterly" | "continuous";
1024
- documentationUrl?: string;
1025
- }[];
1026
- teamRequirements?: string[];
1027
- totalCostEstimate?: string;
1028
- };
1029
- }, {
1030
- architecture?: {
1031
- architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
1032
- infrastructure?: string[];
1033
- projects?: {
1034
- name?: string;
1035
- stack?: string[];
1036
- description?: string;
1037
- }[];
1038
- alternatives?: {
1039
- architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
1040
- pros?: string[];
1041
- cons?: string[];
1042
- }[];
1043
- rationale?: string;
1044
- costEstimate?: {
1045
- at1K?: string;
1046
- at10K?: string;
1047
- at100K?: string;
1048
- at1M?: string;
1049
- };
1050
- cloudCredits?: {
1051
- provider?: string;
1052
- url?: string;
1053
- requirements?: string;
1054
- amount?: string;
1055
- duration?: string;
1056
- }[];
1057
- methodology?: "agile" | "waterfall";
1058
- };
1059
- teams?: {
1060
- skills?: string[];
1061
- reason?: string;
1062
- priority?: number;
1063
- size?: string;
1064
- role?: string;
1065
- teamName?: string;
1066
- required?: boolean;
1067
- serverlessAlternative?: {
1068
- service?: string;
1069
- costSavings?: number;
1070
- tradeoffs?: string[];
1071
- pricingModel?: string;
1072
- };
1073
- }[];
1074
- repositories?: {
1075
- name?: string;
1076
- language?: string;
1077
- owner?: string;
1078
- url?: string;
1079
- lastUpdated?: string;
1080
- stars?: number;
1081
- }[];
1082
- methodology?: "agile" | "waterfall";
1083
- vision?: {
1084
- keywords?: string[];
1085
- confidence?: number;
1086
- market?: "unknown" | "healthcare" | "fintech" | "education" | "iot" | "gaming" | "marketplace" | "productivity-saas" | "e-commerce" | "social-network" | "enterprise-b2b" | "consumer-b2c" | "blockchain" | "ai-ml";
1087
- competitors?: {
1088
- name?: string;
1089
- url?: string;
1090
- strengths?: string[];
1091
- weaknesses?: string[];
1092
- }[];
1093
- opportunityScore?: number;
1094
- viralPotential?: boolean;
1095
- followUpQuestions?: {
1096
- type?: "open" | "multiple-choice" | "scale";
1097
- options?: string[];
1098
- question?: string;
1099
- rationale?: string;
1100
- }[];
1101
- rawVision?: string;
1102
- };
1103
- compliance?: {
1104
- recommendations?: string[];
1105
- standards?: {
1106
- name?: string;
1107
- description?: string;
1108
- id?: string;
1109
- dataTypes?: ("healthcare" | "personal" | "payment" | "location" | "financial" | "government" | "student" | "biometric" | "children" | "sensitive")[];
1110
- regions?: string[];
1111
- teamImpact?: ("auth-team" | "data-team" | "devsecops-team" | "ciso" | "dpo" | "privacy-engineering" | "payments-team" | "compliance-team")[];
1112
- costImpact?: string;
1113
- certificationRequired?: boolean;
1114
- auditFrequency?: "none" | "annual" | "quarterly" | "continuous";
1115
- documentationUrl?: string;
1116
- }[];
1117
- teamRequirements?: string[];
1118
- totalCostEstimate?: string;
1119
- };
1120
- }>>;
1121
- /** Living docs settings */
336
+ }, z.core.$strip>>>;
337
+ }, z.core.$strip>>;
1122
338
  livingDocs: z.ZodDefault<z.ZodObject<{
1123
- /** Enable copy-based sync */
1124
339
  copyBasedSync: z.ZodDefault<z.ZodObject<{
1125
340
  enabled: z.ZodDefault<z.ZodBoolean>;
1126
- }, "strip", z.ZodTypeAny, {
1127
- enabled?: boolean;
1128
- }, {
1129
- enabled?: boolean;
1130
- }>>;
1131
- /** Enable three-layer sync (GitHub <-> Living Docs <-> Increment) */
341
+ }, z.core.$strip>>;
1132
342
  threeLayerSync: z.ZodDefault<z.ZodBoolean>;
1133
- }, "strip", z.ZodTypeAny, {
1134
- copyBasedSync?: {
1135
- enabled?: boolean;
1136
- };
1137
- threeLayerSync?: boolean;
1138
- }, {
1139
- copyBasedSync?: {
1140
- enabled?: boolean;
1141
- };
1142
- threeLayerSync?: boolean;
1143
- }>>;
1144
- /** Last updated timestamp */
343
+ }, z.core.$strip>>;
1145
344
  lastUpdated: z.ZodOptional<z.ZodString>;
1146
- }, "strip", z.ZodTypeAny, {
1147
- version?: string;
1148
- livingDocs?: {
1149
- copyBasedSync?: {
1150
- enabled?: boolean;
1151
- };
1152
- threeLayerSync?: boolean;
1153
- };
1154
- projectName?: string;
1155
- lastUpdated?: string;
1156
- research?: {
1157
- architecture?: {
1158
- architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
1159
- infrastructure?: string[];
1160
- projects?: {
1161
- name?: string;
1162
- stack?: string[];
1163
- description?: string;
1164
- }[];
1165
- alternatives?: {
1166
- architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
1167
- pros?: string[];
1168
- cons?: string[];
1169
- }[];
1170
- rationale?: string;
1171
- costEstimate?: {
1172
- at1K?: string;
1173
- at10K?: string;
1174
- at100K?: string;
1175
- at1M?: string;
1176
- };
1177
- cloudCredits?: {
1178
- provider?: string;
1179
- url?: string;
1180
- requirements?: string;
1181
- amount?: string;
1182
- duration?: string;
1183
- }[];
1184
- methodology?: "agile" | "waterfall";
1185
- };
1186
- teams?: {
1187
- skills?: string[];
1188
- reason?: string;
1189
- priority?: number;
1190
- size?: string;
1191
- role?: string;
1192
- teamName?: string;
1193
- required?: boolean;
1194
- serverlessAlternative?: {
1195
- service?: string;
1196
- costSavings?: number;
1197
- tradeoffs?: string[];
1198
- pricingModel?: string;
1199
- };
1200
- }[];
1201
- repositories?: {
1202
- name?: string;
1203
- language?: string;
1204
- owner?: string;
1205
- url?: string;
1206
- lastUpdated?: string;
1207
- stars?: number;
1208
- }[];
1209
- methodology?: "agile" | "waterfall";
1210
- vision?: {
1211
- keywords?: string[];
1212
- confidence?: number;
1213
- market?: "unknown" | "healthcare" | "fintech" | "education" | "iot" | "gaming" | "marketplace" | "productivity-saas" | "e-commerce" | "social-network" | "enterprise-b2b" | "consumer-b2c" | "blockchain" | "ai-ml";
1214
- competitors?: {
1215
- name?: string;
1216
- url?: string;
1217
- strengths?: string[];
1218
- weaknesses?: string[];
1219
- }[];
1220
- opportunityScore?: number;
1221
- viralPotential?: boolean;
1222
- followUpQuestions?: {
1223
- type?: "open" | "multiple-choice" | "scale";
1224
- options?: string[];
1225
- question?: string;
1226
- rationale?: string;
1227
- }[];
1228
- rawVision?: string;
1229
- };
1230
- compliance?: {
1231
- recommendations?: string[];
1232
- standards?: {
1233
- name?: string;
1234
- description?: string;
1235
- id?: string;
1236
- dataTypes?: ("healthcare" | "personal" | "payment" | "location" | "financial" | "government" | "student" | "biometric" | "children" | "sensitive")[];
1237
- regions?: string[];
1238
- teamImpact?: ("auth-team" | "data-team" | "devsecops-team" | "ciso" | "dpo" | "privacy-engineering" | "payments-team" | "compliance-team")[];
1239
- costImpact?: string;
1240
- certificationRequired?: boolean;
1241
- auditFrequency?: "none" | "annual" | "quarterly" | "continuous";
1242
- documentationUrl?: string;
1243
- }[];
1244
- teamRequirements?: string[];
1245
- totalCostEstimate?: string;
1246
- };
1247
- };
1248
- }, {
1249
- version?: string;
1250
- livingDocs?: {
1251
- copyBasedSync?: {
1252
- enabled?: boolean;
1253
- };
1254
- threeLayerSync?: boolean;
1255
- };
1256
- projectName?: string;
1257
- lastUpdated?: string;
1258
- research?: {
1259
- architecture?: {
1260
- architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
1261
- infrastructure?: string[];
1262
- projects?: {
1263
- name?: string;
1264
- stack?: string[];
1265
- description?: string;
1266
- }[];
1267
- alternatives?: {
1268
- architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
1269
- pros?: string[];
1270
- cons?: string[];
1271
- }[];
1272
- rationale?: string;
1273
- costEstimate?: {
1274
- at1K?: string;
1275
- at10K?: string;
1276
- at100K?: string;
1277
- at1M?: string;
1278
- };
1279
- cloudCredits?: {
1280
- provider?: string;
1281
- url?: string;
1282
- requirements?: string;
1283
- amount?: string;
1284
- duration?: string;
1285
- }[];
1286
- methodology?: "agile" | "waterfall";
1287
- };
1288
- teams?: {
1289
- skills?: string[];
1290
- reason?: string;
1291
- priority?: number;
1292
- size?: string;
1293
- role?: string;
1294
- teamName?: string;
1295
- required?: boolean;
1296
- serverlessAlternative?: {
1297
- service?: string;
1298
- costSavings?: number;
1299
- tradeoffs?: string[];
1300
- pricingModel?: string;
1301
- };
1302
- }[];
1303
- repositories?: {
1304
- name?: string;
1305
- language?: string;
1306
- owner?: string;
1307
- url?: string;
1308
- lastUpdated?: string;
1309
- stars?: number;
1310
- }[];
1311
- methodology?: "agile" | "waterfall";
1312
- vision?: {
1313
- keywords?: string[];
1314
- confidence?: number;
1315
- market?: "unknown" | "healthcare" | "fintech" | "education" | "iot" | "gaming" | "marketplace" | "productivity-saas" | "e-commerce" | "social-network" | "enterprise-b2b" | "consumer-b2c" | "blockchain" | "ai-ml";
1316
- competitors?: {
1317
- name?: string;
1318
- url?: string;
1319
- strengths?: string[];
1320
- weaknesses?: string[];
1321
- }[];
1322
- opportunityScore?: number;
1323
- viralPotential?: boolean;
1324
- followUpQuestions?: {
1325
- type?: "open" | "multiple-choice" | "scale";
1326
- options?: string[];
1327
- question?: string;
1328
- rationale?: string;
1329
- }[];
1330
- rawVision?: string;
1331
- };
1332
- compliance?: {
1333
- recommendations?: string[];
1334
- standards?: {
1335
- name?: string;
1336
- description?: string;
1337
- id?: string;
1338
- dataTypes?: ("healthcare" | "personal" | "payment" | "location" | "financial" | "government" | "student" | "biometric" | "children" | "sensitive")[];
1339
- regions?: string[];
1340
- teamImpact?: ("auth-team" | "data-team" | "devsecops-team" | "ciso" | "dpo" | "privacy-engineering" | "payments-team" | "compliance-team")[];
1341
- costImpact?: string;
1342
- certificationRequired?: boolean;
1343
- auditFrequency?: "none" | "annual" | "quarterly" | "continuous";
1344
- documentationUrl?: string;
1345
- }[];
1346
- teamRequirements?: string[];
1347
- totalCostEstimate?: string;
1348
- };
1349
- };
1350
- }>;
345
+ }, z.core.$strip>;
1351
346
  /**
1352
347
  * Type definitions
1353
348
  */