specweave 1.0.0-rc.2 → 1.0.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.
@@ -9,152 +9,338 @@ import { z } from 'zod';
9
9
  * Research configuration schema
10
10
  */
11
11
  export declare const ResearchConfigSchema: z.ZodObject<{
12
+ /** Vision & Market Research results */
12
13
  vision: z.ZodOptional<z.ZodObject<{
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
- }>;
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"]>;
30
16
  competitors: z.ZodArray<z.ZodObject<{
31
17
  name: z.ZodString;
32
18
  url: z.ZodOptional<z.ZodString>;
33
- strengths: z.ZodArray<z.ZodString>;
34
- weaknesses: z.ZodArray<z.ZodString>;
35
- }, z.core.$strip>>;
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">;
36
32
  opportunityScore: z.ZodNumber;
37
33
  viralPotential: z.ZodBoolean;
38
34
  followUpQuestions: z.ZodArray<z.ZodObject<{
39
35
  question: z.ZodString;
40
- type: z.ZodEnum<{
41
- open: "open";
42
- "multiple-choice": "multiple-choice";
43
- scale: "scale";
44
- }>;
45
- options: z.ZodOptional<z.ZodArray<z.ZodString>>;
36
+ type: z.ZodEnum<["open", "multiple-choice", "scale"]>;
37
+ options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
46
38
  rationale: z.ZodString;
47
- }, z.core.$strip>>;
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">;
48
50
  confidence: z.ZodOptional<z.ZodNumber>;
49
51
  rawVision: z.ZodString;
50
- }, z.core.$strip>>;
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 */
51
92
  compliance: z.ZodOptional<z.ZodObject<{
52
93
  standards: z.ZodArray<z.ZodObject<{
53
94
  id: z.ZodString;
54
95
  name: z.ZodString;
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
- }>>;
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">;
78
99
  costImpact: z.ZodString;
79
100
  certificationRequired: z.ZodBoolean;
80
- auditFrequency: z.ZodEnum<{
81
- none: "none";
82
- annual: "annual";
83
- quarterly: "quarterly";
84
- continuous: "continuous";
85
- }>;
101
+ auditFrequency: z.ZodEnum<["annual", "quarterly", "continuous", "none"]>;
86
102
  description: z.ZodOptional<z.ZodString>;
87
103
  documentationUrl: z.ZodOptional<z.ZodString>;
88
- }, z.core.$strip>>;
89
- teamRequirements: z.ZodArray<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">;
90
128
  totalCostEstimate: z.ZodString;
91
- recommendations: z.ZodArray<z.ZodString>;
92
- }, z.core.$strip>>;
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 */
93
164
  teams: z.ZodOptional<z.ZodArray<z.ZodObject<{
94
165
  teamName: z.ZodString;
95
166
  role: z.ZodString;
96
167
  required: z.ZodBoolean;
97
168
  reason: z.ZodString;
98
169
  size: z.ZodString;
99
- skills: z.ZodArray<z.ZodString>;
170
+ skills: z.ZodArray<z.ZodString, "many">;
100
171
  serverlessAlternative: z.ZodOptional<z.ZodObject<{
101
172
  service: z.ZodString;
102
173
  costSavings: z.ZodNumber;
103
- tradeoffs: z.ZodArray<z.ZodString>;
174
+ tradeoffs: z.ZodArray<z.ZodString, "many">;
104
175
  pricingModel: z.ZodOptional<z.ZodString>;
105
- }, z.core.$strip>>;
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
+ }>>;
106
187
  priority: z.ZodOptional<z.ZodNumber>;
107
- }, z.core.$strip>>>;
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 */
108
218
  architecture: z.ZodOptional<z.ZodObject<{
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>;
219
+ architecture: z.ZodEnum<["serverless", "traditional-monolith", "microservices", "modular-monolith", "jamstack", "hybrid"]>;
220
+ infrastructure: z.ZodArray<z.ZodString, "many">;
118
221
  rationale: z.ZodString;
119
222
  costEstimate: z.ZodObject<{
120
223
  at1K: z.ZodString;
121
224
  at10K: z.ZodString;
122
225
  at100K: z.ZodString;
123
226
  at1M: z.ZodString;
124
- }, z.core.$strip>;
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
+ }>;
125
238
  cloudCredits: z.ZodArray<z.ZodObject<{
126
239
  provider: z.ZodString;
127
240
  amount: z.ZodString;
128
241
  duration: z.ZodString;
129
242
  requirements: z.ZodOptional<z.ZodString>;
130
243
  url: z.ZodOptional<z.ZodString>;
131
- }, z.core.$strip>>;
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">;
132
257
  projects: z.ZodArray<z.ZodObject<{
133
258
  name: z.ZodString;
134
259
  description: z.ZodString;
135
- stack: z.ZodArray<z.ZodString>;
136
- }, z.core.$strip>>;
137
- methodology: z.ZodEnum<{
138
- agile: "agile";
139
- waterfall: "waterfall";
140
- }>;
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"]>;
141
271
  alternatives: z.ZodOptional<z.ZodArray<z.ZodObject<{
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";
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";
157
340
  }>>;
341
+ /** Methodology (Agile or Waterfall) */
342
+ methodology: z.ZodOptional<z.ZodEnum<["agile", "waterfall"]>>;
343
+ /** Repository selection */
158
344
  repositories: z.ZodOptional<z.ZodArray<z.ZodObject<{
159
345
  name: z.ZodString;
160
346
  url: z.ZodString;
@@ -162,170 +348,571 @@ export declare const ResearchConfigSchema: z.ZodObject<{
162
348
  language: z.ZodOptional<z.ZodString>;
163
349
  stars: z.ZodOptional<z.ZodNumber>;
164
350
  lastUpdated: z.ZodOptional<z.ZodString>;
165
- }, z.core.$strip>>>;
166
- }, z.core.$strip>;
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
+ }>;
167
549
  /**
168
550
  * Living Docs configuration schema
169
551
  */
170
552
  export declare const LivingDocsConfigSchema: z.ZodObject<{
553
+ /** Enable copy-based sync */
171
554
  copyBasedSync: z.ZodDefault<z.ZodObject<{
172
555
  enabled: z.ZodDefault<z.ZodBoolean>;
173
- }, z.core.$strip>>;
556
+ }, "strip", z.ZodTypeAny, {
557
+ enabled?: boolean;
558
+ }, {
559
+ enabled?: boolean;
560
+ }>>;
561
+ /** Enable three-layer sync (GitHub <-> Living Docs <-> Increment) */
174
562
  threeLayerSync: z.ZodDefault<z.ZodBoolean>;
175
- }, z.core.$strip>;
563
+ }, "strip", z.ZodTypeAny, {
564
+ copyBasedSync?: {
565
+ enabled?: boolean;
566
+ };
567
+ threeLayerSync?: boolean;
568
+ }, {
569
+ copyBasedSync?: {
570
+ enabled?: boolean;
571
+ };
572
+ threeLayerSync?: boolean;
573
+ }>;
176
574
  /**
177
575
  * Main SpecWeave configuration schema
178
576
  */
179
577
  export declare const SpecWeaveConfigSchema: z.ZodObject<{
578
+ /** Config schema version */
180
579
  version: z.ZodDefault<z.ZodString>;
580
+ /** Project name */
181
581
  projectName: z.ZodString;
582
+ /** Research insights from strategic init */
182
583
  research: z.ZodOptional<z.ZodObject<{
584
+ /** Vision & Market Research results */
183
585
  vision: z.ZodOptional<z.ZodObject<{
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
- }>;
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"]>;
201
588
  competitors: z.ZodArray<z.ZodObject<{
202
589
  name: z.ZodString;
203
590
  url: z.ZodOptional<z.ZodString>;
204
- strengths: z.ZodArray<z.ZodString>;
205
- weaknesses: z.ZodArray<z.ZodString>;
206
- }, z.core.$strip>>;
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">;
207
604
  opportunityScore: z.ZodNumber;
208
605
  viralPotential: z.ZodBoolean;
209
606
  followUpQuestions: z.ZodArray<z.ZodObject<{
210
607
  question: z.ZodString;
211
- type: z.ZodEnum<{
212
- open: "open";
213
- "multiple-choice": "multiple-choice";
214
- scale: "scale";
215
- }>;
216
- options: z.ZodOptional<z.ZodArray<z.ZodString>>;
608
+ type: z.ZodEnum<["open", "multiple-choice", "scale"]>;
609
+ options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
217
610
  rationale: z.ZodString;
218
- }, z.core.$strip>>;
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">;
219
622
  confidence: z.ZodOptional<z.ZodNumber>;
220
623
  rawVision: z.ZodString;
221
- }, z.core.$strip>>;
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 */
222
664
  compliance: z.ZodOptional<z.ZodObject<{
223
665
  standards: z.ZodArray<z.ZodObject<{
224
666
  id: z.ZodString;
225
667
  name: z.ZodString;
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
- }>>;
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">;
249
671
  costImpact: z.ZodString;
250
672
  certificationRequired: z.ZodBoolean;
251
- auditFrequency: z.ZodEnum<{
252
- none: "none";
253
- annual: "annual";
254
- quarterly: "quarterly";
255
- continuous: "continuous";
256
- }>;
673
+ auditFrequency: z.ZodEnum<["annual", "quarterly", "continuous", "none"]>;
257
674
  description: z.ZodOptional<z.ZodString>;
258
675
  documentationUrl: z.ZodOptional<z.ZodString>;
259
- }, z.core.$strip>>;
260
- teamRequirements: z.ZodArray<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">;
261
700
  totalCostEstimate: z.ZodString;
262
- recommendations: z.ZodArray<z.ZodString>;
263
- }, z.core.$strip>>;
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 */
264
736
  teams: z.ZodOptional<z.ZodArray<z.ZodObject<{
265
737
  teamName: z.ZodString;
266
738
  role: z.ZodString;
267
739
  required: z.ZodBoolean;
268
740
  reason: z.ZodString;
269
741
  size: z.ZodString;
270
- skills: z.ZodArray<z.ZodString>;
742
+ skills: z.ZodArray<z.ZodString, "many">;
271
743
  serverlessAlternative: z.ZodOptional<z.ZodObject<{
272
744
  service: z.ZodString;
273
745
  costSavings: z.ZodNumber;
274
- tradeoffs: z.ZodArray<z.ZodString>;
746
+ tradeoffs: z.ZodArray<z.ZodString, "many">;
275
747
  pricingModel: z.ZodOptional<z.ZodString>;
276
- }, z.core.$strip>>;
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
+ }>>;
277
759
  priority: z.ZodOptional<z.ZodNumber>;
278
- }, z.core.$strip>>>;
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 */
279
790
  architecture: z.ZodOptional<z.ZodObject<{
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>;
791
+ architecture: z.ZodEnum<["serverless", "traditional-monolith", "microservices", "modular-monolith", "jamstack", "hybrid"]>;
792
+ infrastructure: z.ZodArray<z.ZodString, "many">;
289
793
  rationale: z.ZodString;
290
794
  costEstimate: z.ZodObject<{
291
795
  at1K: z.ZodString;
292
796
  at10K: z.ZodString;
293
797
  at100K: z.ZodString;
294
798
  at1M: z.ZodString;
295
- }, z.core.$strip>;
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
+ }>;
296
810
  cloudCredits: z.ZodArray<z.ZodObject<{
297
811
  provider: z.ZodString;
298
812
  amount: z.ZodString;
299
813
  duration: z.ZodString;
300
814
  requirements: z.ZodOptional<z.ZodString>;
301
815
  url: z.ZodOptional<z.ZodString>;
302
- }, z.core.$strip>>;
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">;
303
829
  projects: z.ZodArray<z.ZodObject<{
304
830
  name: z.ZodString;
305
831
  description: z.ZodString;
306
- stack: z.ZodArray<z.ZodString>;
307
- }, z.core.$strip>>;
308
- methodology: z.ZodEnum<{
309
- agile: "agile";
310
- waterfall: "waterfall";
311
- }>;
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"]>;
312
843
  alternatives: z.ZodOptional<z.ZodArray<z.ZodObject<{
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";
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";
328
912
  }>>;
913
+ /** Methodology (Agile or Waterfall) */
914
+ methodology: z.ZodOptional<z.ZodEnum<["agile", "waterfall"]>>;
915
+ /** Repository selection */
329
916
  repositories: z.ZodOptional<z.ZodArray<z.ZodObject<{
330
917
  name: z.ZodString;
331
918
  url: z.ZodString;
@@ -333,16 +920,434 @@ export declare const SpecWeaveConfigSchema: z.ZodObject<{
333
920
  language: z.ZodOptional<z.ZodString>;
334
921
  stars: z.ZodOptional<z.ZodNumber>;
335
922
  lastUpdated: z.ZodOptional<z.ZodString>;
336
- }, z.core.$strip>>>;
337
- }, z.core.$strip>>;
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 */
338
1122
  livingDocs: z.ZodDefault<z.ZodObject<{
1123
+ /** Enable copy-based sync */
339
1124
  copyBasedSync: z.ZodDefault<z.ZodObject<{
340
1125
  enabled: z.ZodDefault<z.ZodBoolean>;
341
- }, z.core.$strip>>;
1126
+ }, "strip", z.ZodTypeAny, {
1127
+ enabled?: boolean;
1128
+ }, {
1129
+ enabled?: boolean;
1130
+ }>>;
1131
+ /** Enable three-layer sync (GitHub <-> Living Docs <-> Increment) */
342
1132
  threeLayerSync: z.ZodDefault<z.ZodBoolean>;
343
- }, z.core.$strip>>;
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 */
344
1145
  lastUpdated: z.ZodOptional<z.ZodString>;
345
- }, z.core.$strip>;
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
+ }>;
346
1351
  /**
347
1352
  * Type definitions
348
1353
  */