@task-shepherd/agent 1.0.2

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.
@@ -0,0 +1,1893 @@
1
+ import { z } from 'zod';
2
+ export declare const AnalysisStrengthSchema: z.ZodObject<{
3
+ title: z.ZodString;
4
+ description: z.ZodString;
5
+ impact: z.ZodEnum<["low", "medium", "high"]>;
6
+ evidence: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ title: string;
9
+ description: string;
10
+ impact: "low" | "medium" | "high";
11
+ evidence?: string[] | undefined;
12
+ }, {
13
+ title: string;
14
+ description: string;
15
+ impact: "low" | "medium" | "high";
16
+ evidence?: string[] | undefined;
17
+ }>;
18
+ export declare const AnalysisWeaknessSchema: z.ZodObject<{
19
+ title: z.ZodString;
20
+ description: z.ZodString;
21
+ severity: z.ZodEnum<["low", "medium", "high"]>;
22
+ affected_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
23
+ improvement_effort: z.ZodOptional<z.ZodEnum<["minimal", "moderate", "significant"]>>;
24
+ }, "strip", z.ZodTypeAny, {
25
+ title: string;
26
+ description: string;
27
+ severity: "low" | "medium" | "high";
28
+ affected_areas?: string[] | undefined;
29
+ improvement_effort?: "minimal" | "moderate" | "significant" | undefined;
30
+ }, {
31
+ title: string;
32
+ description: string;
33
+ severity: "low" | "medium" | "high";
34
+ affected_areas?: string[] | undefined;
35
+ improvement_effort?: "minimal" | "moderate" | "significant" | undefined;
36
+ }>;
37
+ export declare const AnalysisRiskSchema: z.ZodObject<{
38
+ title: z.ZodString;
39
+ description: z.ZodString;
40
+ probability: z.ZodEnum<["low", "medium", "high"]>;
41
+ impact: z.ZodEnum<["low", "medium", "high"]>;
42
+ mitigation_strategy: z.ZodOptional<z.ZodString>;
43
+ }, "strip", z.ZodTypeAny, {
44
+ title: string;
45
+ description: string;
46
+ impact: "low" | "medium" | "high";
47
+ probability: "low" | "medium" | "high";
48
+ mitigation_strategy?: string | undefined;
49
+ }, {
50
+ title: string;
51
+ description: string;
52
+ impact: "low" | "medium" | "high";
53
+ probability: "low" | "medium" | "high";
54
+ mitigation_strategy?: string | undefined;
55
+ }>;
56
+ export declare const AnalysisOpportunitySchema: z.ZodObject<{
57
+ title: z.ZodString;
58
+ description: z.ZodString;
59
+ potential_value: z.ZodEnum<["low", "medium", "high"]>;
60
+ implementation_complexity: z.ZodOptional<z.ZodEnum<["simple", "moderate", "complex"]>>;
61
+ }, "strip", z.ZodTypeAny, {
62
+ title: string;
63
+ description: string;
64
+ potential_value: "low" | "medium" | "high";
65
+ implementation_complexity?: "moderate" | "simple" | "complex" | undefined;
66
+ }, {
67
+ title: string;
68
+ description: string;
69
+ potential_value: "low" | "medium" | "high";
70
+ implementation_complexity?: "moderate" | "simple" | "complex" | undefined;
71
+ }>;
72
+ export declare const ScoreWithReasoningSchema: z.ZodObject<{
73
+ score: z.ZodNumber;
74
+ reasoning: z.ZodString;
75
+ }, "strip", z.ZodTypeAny, {
76
+ score: number;
77
+ reasoning: string;
78
+ }, {
79
+ score: number;
80
+ reasoning: string;
81
+ }>;
82
+ export declare const RecommendationSchema: z.ZodObject<{
83
+ id: z.ZodString;
84
+ category: z.ZodEnum<["requirements", "architecture", "security", "performance", "maintainability", "testing"]>;
85
+ title: z.ZodString;
86
+ description: z.ZodString;
87
+ implementation_guide: z.ZodOptional<z.ZodString>;
88
+ priority: z.ZodEnum<["low", "medium", "high", "critical"]>;
89
+ estimated_effort: z.ZodOptional<z.ZodString>;
90
+ business_impact: z.ZodOptional<z.ZodString>;
91
+ technical_complexity: z.ZodOptional<z.ZodEnum<["simple", "moderate", "complex"]>>;
92
+ }, "strip", z.ZodTypeAny, {
93
+ title: string;
94
+ description: string;
95
+ id: string;
96
+ category: "requirements" | "architecture" | "security" | "performance" | "maintainability" | "testing";
97
+ priority: "low" | "medium" | "high" | "critical";
98
+ implementation_guide?: string | undefined;
99
+ estimated_effort?: string | undefined;
100
+ business_impact?: string | undefined;
101
+ technical_complexity?: "moderate" | "simple" | "complex" | undefined;
102
+ }, {
103
+ title: string;
104
+ description: string;
105
+ id: string;
106
+ category: "requirements" | "architecture" | "security" | "performance" | "maintainability" | "testing";
107
+ priority: "low" | "medium" | "high" | "critical";
108
+ implementation_guide?: string | undefined;
109
+ estimated_effort?: string | undefined;
110
+ business_impact?: string | undefined;
111
+ technical_complexity?: "moderate" | "simple" | "complex" | undefined;
112
+ }>;
113
+ export declare const ExplicitRequirementSchema: z.ZodObject<{
114
+ requirement: z.ZodString;
115
+ source_text: z.ZodString;
116
+ confidence: z.ZodEnum<["high", "medium", "low"]>;
117
+ }, "strip", z.ZodTypeAny, {
118
+ requirement: string;
119
+ source_text: string;
120
+ confidence: "low" | "medium" | "high";
121
+ }, {
122
+ requirement: string;
123
+ source_text: string;
124
+ confidence: "low" | "medium" | "high";
125
+ }>;
126
+ export declare const InferredRequirementSchema: z.ZodObject<{
127
+ requirement: z.ZodString;
128
+ rationale: z.ZodString;
129
+ domain_pattern: z.ZodString;
130
+ priority: z.ZodEnum<["critical", "high", "medium", "low"]>;
131
+ }, "strip", z.ZodTypeAny, {
132
+ priority: "low" | "medium" | "high" | "critical";
133
+ requirement: string;
134
+ rationale: string;
135
+ domain_pattern: string;
136
+ }, {
137
+ priority: "low" | "medium" | "high" | "critical";
138
+ requirement: string;
139
+ rationale: string;
140
+ domain_pattern: string;
141
+ }>;
142
+ export declare const NonFunctionalRequirementSchema: z.ZodObject<{
143
+ category: z.ZodString;
144
+ requirement: z.ZodString;
145
+ industry_standard: z.ZodBoolean;
146
+ customization_needed: z.ZodBoolean;
147
+ }, "strip", z.ZodTypeAny, {
148
+ category: string;
149
+ requirement: string;
150
+ industry_standard: boolean;
151
+ customization_needed: boolean;
152
+ }, {
153
+ category: string;
154
+ requirement: string;
155
+ industry_standard: boolean;
156
+ customization_needed: boolean;
157
+ }>;
158
+ export declare const ClarificationQuestionSchema: z.ZodObject<{
159
+ category: z.ZodString;
160
+ question: z.ZodString;
161
+ impact_if_unclear: z.ZodString;
162
+ suggested_default: z.ZodString;
163
+ }, "strip", z.ZodTypeAny, {
164
+ category: string;
165
+ question: string;
166
+ impact_if_unclear: string;
167
+ suggested_default: string;
168
+ }, {
169
+ category: string;
170
+ question: string;
171
+ impact_if_unclear: string;
172
+ suggested_default: string;
173
+ }>;
174
+ export declare const SuggestedProductRequirementsSchema: z.ZodObject<{
175
+ explicit_requirements: z.ZodArray<z.ZodObject<{
176
+ requirement: z.ZodString;
177
+ source_text: z.ZodString;
178
+ confidence: z.ZodEnum<["high", "medium", "low"]>;
179
+ }, "strip", z.ZodTypeAny, {
180
+ requirement: string;
181
+ source_text: string;
182
+ confidence: "low" | "medium" | "high";
183
+ }, {
184
+ requirement: string;
185
+ source_text: string;
186
+ confidence: "low" | "medium" | "high";
187
+ }>, "many">;
188
+ inferred_functional_requirements: z.ZodArray<z.ZodObject<{
189
+ requirement: z.ZodString;
190
+ rationale: z.ZodString;
191
+ domain_pattern: z.ZodString;
192
+ priority: z.ZodEnum<["critical", "high", "medium", "low"]>;
193
+ }, "strip", z.ZodTypeAny, {
194
+ priority: "low" | "medium" | "high" | "critical";
195
+ requirement: string;
196
+ rationale: string;
197
+ domain_pattern: string;
198
+ }, {
199
+ priority: "low" | "medium" | "high" | "critical";
200
+ requirement: string;
201
+ rationale: string;
202
+ domain_pattern: string;
203
+ }>, "many">;
204
+ suggested_non_functional_requirements: z.ZodArray<z.ZodObject<{
205
+ category: z.ZodString;
206
+ requirement: z.ZodString;
207
+ industry_standard: z.ZodBoolean;
208
+ customization_needed: z.ZodBoolean;
209
+ }, "strip", z.ZodTypeAny, {
210
+ category: string;
211
+ requirement: string;
212
+ industry_standard: boolean;
213
+ customization_needed: boolean;
214
+ }, {
215
+ category: string;
216
+ requirement: string;
217
+ industry_standard: boolean;
218
+ customization_needed: boolean;
219
+ }>, "many">;
220
+ requirements_clarification_questions: z.ZodArray<z.ZodObject<{
221
+ category: z.ZodString;
222
+ question: z.ZodString;
223
+ impact_if_unclear: z.ZodString;
224
+ suggested_default: z.ZodString;
225
+ }, "strip", z.ZodTypeAny, {
226
+ category: string;
227
+ question: string;
228
+ impact_if_unclear: string;
229
+ suggested_default: string;
230
+ }, {
231
+ category: string;
232
+ question: string;
233
+ impact_if_unclear: string;
234
+ suggested_default: string;
235
+ }>, "many">;
236
+ }, "strip", z.ZodTypeAny, {
237
+ explicit_requirements: {
238
+ requirement: string;
239
+ source_text: string;
240
+ confidence: "low" | "medium" | "high";
241
+ }[];
242
+ inferred_functional_requirements: {
243
+ priority: "low" | "medium" | "high" | "critical";
244
+ requirement: string;
245
+ rationale: string;
246
+ domain_pattern: string;
247
+ }[];
248
+ suggested_non_functional_requirements: {
249
+ category: string;
250
+ requirement: string;
251
+ industry_standard: boolean;
252
+ customization_needed: boolean;
253
+ }[];
254
+ requirements_clarification_questions: {
255
+ category: string;
256
+ question: string;
257
+ impact_if_unclear: string;
258
+ suggested_default: string;
259
+ }[];
260
+ }, {
261
+ explicit_requirements: {
262
+ requirement: string;
263
+ source_text: string;
264
+ confidence: "low" | "medium" | "high";
265
+ }[];
266
+ inferred_functional_requirements: {
267
+ priority: "low" | "medium" | "high" | "critical";
268
+ requirement: string;
269
+ rationale: string;
270
+ domain_pattern: string;
271
+ }[];
272
+ suggested_non_functional_requirements: {
273
+ category: string;
274
+ requirement: string;
275
+ industry_standard: boolean;
276
+ customization_needed: boolean;
277
+ }[];
278
+ requirements_clarification_questions: {
279
+ category: string;
280
+ question: string;
281
+ impact_if_unclear: string;
282
+ suggested_default: string;
283
+ }[];
284
+ }>;
285
+ export declare const FeatureGapSchema: z.ZodObject<{
286
+ feature: z.ZodString;
287
+ priority: z.ZodEnum<["critical", "high", "medium", "low"]>;
288
+ rationale: z.ZodString;
289
+ suggested_approach: z.ZodString;
290
+ estimated_effort: z.ZodString;
291
+ }, "strip", z.ZodTypeAny, {
292
+ priority: "low" | "medium" | "high" | "critical";
293
+ estimated_effort: string;
294
+ rationale: string;
295
+ feature: string;
296
+ suggested_approach: string;
297
+ }, {
298
+ priority: "low" | "medium" | "high" | "critical";
299
+ estimated_effort: string;
300
+ rationale: string;
301
+ feature: string;
302
+ suggested_approach: string;
303
+ }>;
304
+ export declare const MissingNonFunctionalRequirementSchema: z.ZodObject<{
305
+ requirement: z.ZodString;
306
+ category: z.ZodEnum<["security", "performance", "accessibility", "monitoring", "documentation", "testing", "deployment"]>;
307
+ impact: z.ZodString;
308
+ recommendation: z.ZodString;
309
+ }, "strip", z.ZodTypeAny, {
310
+ impact: string;
311
+ category: "security" | "performance" | "testing" | "accessibility" | "monitoring" | "documentation" | "deployment";
312
+ requirement: string;
313
+ recommendation: string;
314
+ }, {
315
+ impact: string;
316
+ category: "security" | "performance" | "testing" | "accessibility" | "monitoring" | "documentation" | "deployment";
317
+ requirement: string;
318
+ recommendation: string;
319
+ }>;
320
+ export declare const FeatureGapAnalysisSchema: z.ZodObject<{
321
+ missing_core_features: z.ZodArray<z.ZodObject<{
322
+ feature: z.ZodString;
323
+ priority: z.ZodEnum<["critical", "high", "medium", "low"]>;
324
+ rationale: z.ZodString;
325
+ suggested_approach: z.ZodString;
326
+ estimated_effort: z.ZodString;
327
+ }, "strip", z.ZodTypeAny, {
328
+ priority: "low" | "medium" | "high" | "critical";
329
+ estimated_effort: string;
330
+ rationale: string;
331
+ feature: string;
332
+ suggested_approach: string;
333
+ }, {
334
+ priority: "low" | "medium" | "high" | "critical";
335
+ estimated_effort: string;
336
+ rationale: string;
337
+ feature: string;
338
+ suggested_approach: string;
339
+ }>, "many">;
340
+ missing_non_functional_requirements: z.ZodArray<z.ZodObject<{
341
+ requirement: z.ZodString;
342
+ category: z.ZodEnum<["security", "performance", "accessibility", "monitoring", "documentation", "testing", "deployment"]>;
343
+ impact: z.ZodString;
344
+ recommendation: z.ZodString;
345
+ }, "strip", z.ZodTypeAny, {
346
+ impact: string;
347
+ category: "security" | "performance" | "testing" | "accessibility" | "monitoring" | "documentation" | "deployment";
348
+ requirement: string;
349
+ recommendation: string;
350
+ }, {
351
+ impact: string;
352
+ category: "security" | "performance" | "testing" | "accessibility" | "monitoring" | "documentation" | "deployment";
353
+ requirement: string;
354
+ recommendation: string;
355
+ }>, "many">;
356
+ }, "strip", z.ZodTypeAny, {
357
+ missing_core_features: {
358
+ priority: "low" | "medium" | "high" | "critical";
359
+ estimated_effort: string;
360
+ rationale: string;
361
+ feature: string;
362
+ suggested_approach: string;
363
+ }[];
364
+ missing_non_functional_requirements: {
365
+ impact: string;
366
+ category: "security" | "performance" | "testing" | "accessibility" | "monitoring" | "documentation" | "deployment";
367
+ requirement: string;
368
+ recommendation: string;
369
+ }[];
370
+ }, {
371
+ missing_core_features: {
372
+ priority: "low" | "medium" | "high" | "critical";
373
+ estimated_effort: string;
374
+ rationale: string;
375
+ feature: string;
376
+ suggested_approach: string;
377
+ }[];
378
+ missing_non_functional_requirements: {
379
+ impact: string;
380
+ category: "security" | "performance" | "testing" | "accessibility" | "monitoring" | "documentation" | "deployment";
381
+ requirement: string;
382
+ recommendation: string;
383
+ }[];
384
+ }>;
385
+ export declare const TimelinePhaseSchema: z.ZodObject<{
386
+ id: z.ZodString;
387
+ name: z.ZodString;
388
+ description: z.ZodString;
389
+ duration_weeks: z.ZodNumber;
390
+ start_week: z.ZodNumber;
391
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
392
+ deliverables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
393
+ key_milestones: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
394
+ resources_required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
395
+ risks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
396
+ }, "strip", z.ZodTypeAny, {
397
+ description: string;
398
+ id: string;
399
+ name: string;
400
+ duration_weeks: number;
401
+ start_week: number;
402
+ dependencies?: string[] | undefined;
403
+ deliverables?: string[] | undefined;
404
+ key_milestones?: string[] | undefined;
405
+ resources_required?: string[] | undefined;
406
+ risks?: string[] | undefined;
407
+ }, {
408
+ description: string;
409
+ id: string;
410
+ name: string;
411
+ duration_weeks: number;
412
+ start_week: number;
413
+ dependencies?: string[] | undefined;
414
+ deliverables?: string[] | undefined;
415
+ key_milestones?: string[] | undefined;
416
+ resources_required?: string[] | undefined;
417
+ risks?: string[] | undefined;
418
+ }>;
419
+ export declare const TimelineSchema: z.ZodObject<{
420
+ total_duration_weeks: z.ZodNumber;
421
+ phases: z.ZodArray<z.ZodObject<{
422
+ id: z.ZodString;
423
+ name: z.ZodString;
424
+ description: z.ZodString;
425
+ duration_weeks: z.ZodNumber;
426
+ start_week: z.ZodNumber;
427
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
428
+ deliverables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
429
+ key_milestones: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
430
+ resources_required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
431
+ risks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
432
+ }, "strip", z.ZodTypeAny, {
433
+ description: string;
434
+ id: string;
435
+ name: string;
436
+ duration_weeks: number;
437
+ start_week: number;
438
+ dependencies?: string[] | undefined;
439
+ deliverables?: string[] | undefined;
440
+ key_milestones?: string[] | undefined;
441
+ resources_required?: string[] | undefined;
442
+ risks?: string[] | undefined;
443
+ }, {
444
+ description: string;
445
+ id: string;
446
+ name: string;
447
+ duration_weeks: number;
448
+ start_week: number;
449
+ dependencies?: string[] | undefined;
450
+ deliverables?: string[] | undefined;
451
+ key_milestones?: string[] | undefined;
452
+ resources_required?: string[] | undefined;
453
+ risks?: string[] | undefined;
454
+ }>, "many">;
455
+ }, "strip", z.ZodTypeAny, {
456
+ total_duration_weeks: number;
457
+ phases: {
458
+ description: string;
459
+ id: string;
460
+ name: string;
461
+ duration_weeks: number;
462
+ start_week: number;
463
+ dependencies?: string[] | undefined;
464
+ deliverables?: string[] | undefined;
465
+ key_milestones?: string[] | undefined;
466
+ resources_required?: string[] | undefined;
467
+ risks?: string[] | undefined;
468
+ }[];
469
+ }, {
470
+ total_duration_weeks: number;
471
+ phases: {
472
+ description: string;
473
+ id: string;
474
+ name: string;
475
+ duration_weeks: number;
476
+ start_week: number;
477
+ dependencies?: string[] | undefined;
478
+ deliverables?: string[] | undefined;
479
+ key_milestones?: string[] | undefined;
480
+ resources_required?: string[] | undefined;
481
+ risks?: string[] | undefined;
482
+ }[];
483
+ }>;
484
+ export declare const ProjectAnalysisSchema: z.ZodObject<{
485
+ project_id: z.ZodString;
486
+ analysis_type: z.ZodEnum<["project_review", "development_plan", "story_implementation"]>;
487
+ executive_summary: z.ZodString;
488
+ analysis: z.ZodObject<{
489
+ strengths: z.ZodArray<z.ZodObject<{
490
+ title: z.ZodString;
491
+ description: z.ZodString;
492
+ impact: z.ZodEnum<["low", "medium", "high"]>;
493
+ evidence: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
494
+ }, "strip", z.ZodTypeAny, {
495
+ title: string;
496
+ description: string;
497
+ impact: "low" | "medium" | "high";
498
+ evidence?: string[] | undefined;
499
+ }, {
500
+ title: string;
501
+ description: string;
502
+ impact: "low" | "medium" | "high";
503
+ evidence?: string[] | undefined;
504
+ }>, "many">;
505
+ weaknesses: z.ZodArray<z.ZodObject<{
506
+ title: z.ZodString;
507
+ description: z.ZodString;
508
+ severity: z.ZodEnum<["low", "medium", "high"]>;
509
+ affected_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
510
+ improvement_effort: z.ZodOptional<z.ZodEnum<["minimal", "moderate", "significant"]>>;
511
+ }, "strip", z.ZodTypeAny, {
512
+ title: string;
513
+ description: string;
514
+ severity: "low" | "medium" | "high";
515
+ affected_areas?: string[] | undefined;
516
+ improvement_effort?: "minimal" | "moderate" | "significant" | undefined;
517
+ }, {
518
+ title: string;
519
+ description: string;
520
+ severity: "low" | "medium" | "high";
521
+ affected_areas?: string[] | undefined;
522
+ improvement_effort?: "minimal" | "moderate" | "significant" | undefined;
523
+ }>, "many">;
524
+ risks: z.ZodArray<z.ZodObject<{
525
+ title: z.ZodString;
526
+ description: z.ZodString;
527
+ probability: z.ZodEnum<["low", "medium", "high"]>;
528
+ impact: z.ZodEnum<["low", "medium", "high"]>;
529
+ mitigation_strategy: z.ZodOptional<z.ZodString>;
530
+ }, "strip", z.ZodTypeAny, {
531
+ title: string;
532
+ description: string;
533
+ impact: "low" | "medium" | "high";
534
+ probability: "low" | "medium" | "high";
535
+ mitigation_strategy?: string | undefined;
536
+ }, {
537
+ title: string;
538
+ description: string;
539
+ impact: "low" | "medium" | "high";
540
+ probability: "low" | "medium" | "high";
541
+ mitigation_strategy?: string | undefined;
542
+ }>, "many">;
543
+ opportunities: z.ZodArray<z.ZodObject<{
544
+ title: z.ZodString;
545
+ description: z.ZodString;
546
+ potential_value: z.ZodEnum<["low", "medium", "high"]>;
547
+ implementation_complexity: z.ZodOptional<z.ZodEnum<["simple", "moderate", "complex"]>>;
548
+ }, "strip", z.ZodTypeAny, {
549
+ title: string;
550
+ description: string;
551
+ potential_value: "low" | "medium" | "high";
552
+ implementation_complexity?: "moderate" | "simple" | "complex" | undefined;
553
+ }, {
554
+ title: string;
555
+ description: string;
556
+ potential_value: "low" | "medium" | "high";
557
+ implementation_complexity?: "moderate" | "simple" | "complex" | undefined;
558
+ }>, "many">;
559
+ }, "strip", z.ZodTypeAny, {
560
+ risks: {
561
+ title: string;
562
+ description: string;
563
+ impact: "low" | "medium" | "high";
564
+ probability: "low" | "medium" | "high";
565
+ mitigation_strategy?: string | undefined;
566
+ }[];
567
+ strengths: {
568
+ title: string;
569
+ description: string;
570
+ impact: "low" | "medium" | "high";
571
+ evidence?: string[] | undefined;
572
+ }[];
573
+ weaknesses: {
574
+ title: string;
575
+ description: string;
576
+ severity: "low" | "medium" | "high";
577
+ affected_areas?: string[] | undefined;
578
+ improvement_effort?: "minimal" | "moderate" | "significant" | undefined;
579
+ }[];
580
+ opportunities: {
581
+ title: string;
582
+ description: string;
583
+ potential_value: "low" | "medium" | "high";
584
+ implementation_complexity?: "moderate" | "simple" | "complex" | undefined;
585
+ }[];
586
+ }, {
587
+ risks: {
588
+ title: string;
589
+ description: string;
590
+ impact: "low" | "medium" | "high";
591
+ probability: "low" | "medium" | "high";
592
+ mitigation_strategy?: string | undefined;
593
+ }[];
594
+ strengths: {
595
+ title: string;
596
+ description: string;
597
+ impact: "low" | "medium" | "high";
598
+ evidence?: string[] | undefined;
599
+ }[];
600
+ weaknesses: {
601
+ title: string;
602
+ description: string;
603
+ severity: "low" | "medium" | "high";
604
+ affected_areas?: string[] | undefined;
605
+ improvement_effort?: "minimal" | "moderate" | "significant" | undefined;
606
+ }[];
607
+ opportunities: {
608
+ title: string;
609
+ description: string;
610
+ potential_value: "low" | "medium" | "high";
611
+ implementation_complexity?: "moderate" | "simple" | "complex" | undefined;
612
+ }[];
613
+ }>;
614
+ scores: z.ZodObject<{
615
+ completeness: z.ZodObject<{
616
+ score: z.ZodNumber;
617
+ reasoning: z.ZodString;
618
+ }, "strip", z.ZodTypeAny, {
619
+ score: number;
620
+ reasoning: string;
621
+ }, {
622
+ score: number;
623
+ reasoning: string;
624
+ }>;
625
+ clarity: z.ZodObject<{
626
+ score: z.ZodNumber;
627
+ reasoning: z.ZodString;
628
+ }, "strip", z.ZodTypeAny, {
629
+ score: number;
630
+ reasoning: string;
631
+ }, {
632
+ score: number;
633
+ reasoning: string;
634
+ }>;
635
+ feasibility: z.ZodObject<{
636
+ score: z.ZodNumber;
637
+ reasoning: z.ZodString;
638
+ }, "strip", z.ZodTypeAny, {
639
+ score: number;
640
+ reasoning: string;
641
+ }, {
642
+ score: number;
643
+ reasoning: string;
644
+ }>;
645
+ overall: z.ZodObject<{
646
+ score: z.ZodNumber;
647
+ reasoning: z.ZodString;
648
+ }, "strip", z.ZodTypeAny, {
649
+ score: number;
650
+ reasoning: string;
651
+ }, {
652
+ score: number;
653
+ reasoning: string;
654
+ }>;
655
+ }, "strip", z.ZodTypeAny, {
656
+ completeness: {
657
+ score: number;
658
+ reasoning: string;
659
+ };
660
+ clarity: {
661
+ score: number;
662
+ reasoning: string;
663
+ };
664
+ feasibility: {
665
+ score: number;
666
+ reasoning: string;
667
+ };
668
+ overall: {
669
+ score: number;
670
+ reasoning: string;
671
+ };
672
+ }, {
673
+ completeness: {
674
+ score: number;
675
+ reasoning: string;
676
+ };
677
+ clarity: {
678
+ score: number;
679
+ reasoning: string;
680
+ };
681
+ feasibility: {
682
+ score: number;
683
+ reasoning: string;
684
+ };
685
+ overall: {
686
+ score: number;
687
+ reasoning: string;
688
+ };
689
+ }>;
690
+ recommendations: z.ZodArray<z.ZodObject<{
691
+ id: z.ZodString;
692
+ category: z.ZodEnum<["requirements", "architecture", "security", "performance", "maintainability", "testing"]>;
693
+ title: z.ZodString;
694
+ description: z.ZodString;
695
+ implementation_guide: z.ZodOptional<z.ZodString>;
696
+ priority: z.ZodEnum<["low", "medium", "high", "critical"]>;
697
+ estimated_effort: z.ZodOptional<z.ZodString>;
698
+ business_impact: z.ZodOptional<z.ZodString>;
699
+ technical_complexity: z.ZodOptional<z.ZodEnum<["simple", "moderate", "complex"]>>;
700
+ }, "strip", z.ZodTypeAny, {
701
+ title: string;
702
+ description: string;
703
+ id: string;
704
+ category: "requirements" | "architecture" | "security" | "performance" | "maintainability" | "testing";
705
+ priority: "low" | "medium" | "high" | "critical";
706
+ implementation_guide?: string | undefined;
707
+ estimated_effort?: string | undefined;
708
+ business_impact?: string | undefined;
709
+ technical_complexity?: "moderate" | "simple" | "complex" | undefined;
710
+ }, {
711
+ title: string;
712
+ description: string;
713
+ id: string;
714
+ category: "requirements" | "architecture" | "security" | "performance" | "maintainability" | "testing";
715
+ priority: "low" | "medium" | "high" | "critical";
716
+ implementation_guide?: string | undefined;
717
+ estimated_effort?: string | undefined;
718
+ business_impact?: string | undefined;
719
+ technical_complexity?: "moderate" | "simple" | "complex" | undefined;
720
+ }>, "many">;
721
+ suggested_product_requirements: z.ZodObject<{
722
+ explicit_requirements: z.ZodArray<z.ZodObject<{
723
+ requirement: z.ZodString;
724
+ source_text: z.ZodString;
725
+ confidence: z.ZodEnum<["high", "medium", "low"]>;
726
+ }, "strip", z.ZodTypeAny, {
727
+ requirement: string;
728
+ source_text: string;
729
+ confidence: "low" | "medium" | "high";
730
+ }, {
731
+ requirement: string;
732
+ source_text: string;
733
+ confidence: "low" | "medium" | "high";
734
+ }>, "many">;
735
+ inferred_functional_requirements: z.ZodArray<z.ZodObject<{
736
+ requirement: z.ZodString;
737
+ rationale: z.ZodString;
738
+ domain_pattern: z.ZodString;
739
+ priority: z.ZodEnum<["critical", "high", "medium", "low"]>;
740
+ }, "strip", z.ZodTypeAny, {
741
+ priority: "low" | "medium" | "high" | "critical";
742
+ requirement: string;
743
+ rationale: string;
744
+ domain_pattern: string;
745
+ }, {
746
+ priority: "low" | "medium" | "high" | "critical";
747
+ requirement: string;
748
+ rationale: string;
749
+ domain_pattern: string;
750
+ }>, "many">;
751
+ suggested_non_functional_requirements: z.ZodArray<z.ZodObject<{
752
+ category: z.ZodString;
753
+ requirement: z.ZodString;
754
+ industry_standard: z.ZodBoolean;
755
+ customization_needed: z.ZodBoolean;
756
+ }, "strip", z.ZodTypeAny, {
757
+ category: string;
758
+ requirement: string;
759
+ industry_standard: boolean;
760
+ customization_needed: boolean;
761
+ }, {
762
+ category: string;
763
+ requirement: string;
764
+ industry_standard: boolean;
765
+ customization_needed: boolean;
766
+ }>, "many">;
767
+ requirements_clarification_questions: z.ZodArray<z.ZodObject<{
768
+ category: z.ZodString;
769
+ question: z.ZodString;
770
+ impact_if_unclear: z.ZodString;
771
+ suggested_default: z.ZodString;
772
+ }, "strip", z.ZodTypeAny, {
773
+ category: string;
774
+ question: string;
775
+ impact_if_unclear: string;
776
+ suggested_default: string;
777
+ }, {
778
+ category: string;
779
+ question: string;
780
+ impact_if_unclear: string;
781
+ suggested_default: string;
782
+ }>, "many">;
783
+ }, "strip", z.ZodTypeAny, {
784
+ explicit_requirements: {
785
+ requirement: string;
786
+ source_text: string;
787
+ confidence: "low" | "medium" | "high";
788
+ }[];
789
+ inferred_functional_requirements: {
790
+ priority: "low" | "medium" | "high" | "critical";
791
+ requirement: string;
792
+ rationale: string;
793
+ domain_pattern: string;
794
+ }[];
795
+ suggested_non_functional_requirements: {
796
+ category: string;
797
+ requirement: string;
798
+ industry_standard: boolean;
799
+ customization_needed: boolean;
800
+ }[];
801
+ requirements_clarification_questions: {
802
+ category: string;
803
+ question: string;
804
+ impact_if_unclear: string;
805
+ suggested_default: string;
806
+ }[];
807
+ }, {
808
+ explicit_requirements: {
809
+ requirement: string;
810
+ source_text: string;
811
+ confidence: "low" | "medium" | "high";
812
+ }[];
813
+ inferred_functional_requirements: {
814
+ priority: "low" | "medium" | "high" | "critical";
815
+ requirement: string;
816
+ rationale: string;
817
+ domain_pattern: string;
818
+ }[];
819
+ suggested_non_functional_requirements: {
820
+ category: string;
821
+ requirement: string;
822
+ industry_standard: boolean;
823
+ customization_needed: boolean;
824
+ }[];
825
+ requirements_clarification_questions: {
826
+ category: string;
827
+ question: string;
828
+ impact_if_unclear: string;
829
+ suggested_default: string;
830
+ }[];
831
+ }>;
832
+ feature_gap_analysis: z.ZodOptional<z.ZodObject<{
833
+ missing_core_features: z.ZodArray<z.ZodObject<{
834
+ feature: z.ZodString;
835
+ priority: z.ZodEnum<["critical", "high", "medium", "low"]>;
836
+ rationale: z.ZodString;
837
+ suggested_approach: z.ZodString;
838
+ estimated_effort: z.ZodString;
839
+ }, "strip", z.ZodTypeAny, {
840
+ priority: "low" | "medium" | "high" | "critical";
841
+ estimated_effort: string;
842
+ rationale: string;
843
+ feature: string;
844
+ suggested_approach: string;
845
+ }, {
846
+ priority: "low" | "medium" | "high" | "critical";
847
+ estimated_effort: string;
848
+ rationale: string;
849
+ feature: string;
850
+ suggested_approach: string;
851
+ }>, "many">;
852
+ missing_non_functional_requirements: z.ZodArray<z.ZodObject<{
853
+ requirement: z.ZodString;
854
+ category: z.ZodEnum<["security", "performance", "accessibility", "monitoring", "documentation", "testing", "deployment"]>;
855
+ impact: z.ZodString;
856
+ recommendation: z.ZodString;
857
+ }, "strip", z.ZodTypeAny, {
858
+ impact: string;
859
+ category: "security" | "performance" | "testing" | "accessibility" | "monitoring" | "documentation" | "deployment";
860
+ requirement: string;
861
+ recommendation: string;
862
+ }, {
863
+ impact: string;
864
+ category: "security" | "performance" | "testing" | "accessibility" | "monitoring" | "documentation" | "deployment";
865
+ requirement: string;
866
+ recommendation: string;
867
+ }>, "many">;
868
+ }, "strip", z.ZodTypeAny, {
869
+ missing_core_features: {
870
+ priority: "low" | "medium" | "high" | "critical";
871
+ estimated_effort: string;
872
+ rationale: string;
873
+ feature: string;
874
+ suggested_approach: string;
875
+ }[];
876
+ missing_non_functional_requirements: {
877
+ impact: string;
878
+ category: "security" | "performance" | "testing" | "accessibility" | "monitoring" | "documentation" | "deployment";
879
+ requirement: string;
880
+ recommendation: string;
881
+ }[];
882
+ }, {
883
+ missing_core_features: {
884
+ priority: "low" | "medium" | "high" | "critical";
885
+ estimated_effort: string;
886
+ rationale: string;
887
+ feature: string;
888
+ suggested_approach: string;
889
+ }[];
890
+ missing_non_functional_requirements: {
891
+ impact: string;
892
+ category: "security" | "performance" | "testing" | "accessibility" | "monitoring" | "documentation" | "deployment";
893
+ requirement: string;
894
+ recommendation: string;
895
+ }[];
896
+ }>>;
897
+ metadata: z.ZodObject<{
898
+ analysis_duration_seconds: z.ZodNumber;
899
+ claude_model: z.ZodString;
900
+ confidence_level: z.ZodNumber;
901
+ analysis_timestamp: z.ZodString;
902
+ reviewer_notes: z.ZodOptional<z.ZodString>;
903
+ }, "strip", z.ZodTypeAny, {
904
+ analysis_duration_seconds: number;
905
+ claude_model: string;
906
+ confidence_level: number;
907
+ analysis_timestamp: string;
908
+ reviewer_notes?: string | undefined;
909
+ }, {
910
+ analysis_duration_seconds: number;
911
+ claude_model: string;
912
+ confidence_level: number;
913
+ analysis_timestamp: string;
914
+ reviewer_notes?: string | undefined;
915
+ }>;
916
+ }, "strip", z.ZodTypeAny, {
917
+ project_id: string;
918
+ analysis_type: "project_review" | "development_plan" | "story_implementation";
919
+ executive_summary: string;
920
+ analysis: {
921
+ risks: {
922
+ title: string;
923
+ description: string;
924
+ impact: "low" | "medium" | "high";
925
+ probability: "low" | "medium" | "high";
926
+ mitigation_strategy?: string | undefined;
927
+ }[];
928
+ strengths: {
929
+ title: string;
930
+ description: string;
931
+ impact: "low" | "medium" | "high";
932
+ evidence?: string[] | undefined;
933
+ }[];
934
+ weaknesses: {
935
+ title: string;
936
+ description: string;
937
+ severity: "low" | "medium" | "high";
938
+ affected_areas?: string[] | undefined;
939
+ improvement_effort?: "minimal" | "moderate" | "significant" | undefined;
940
+ }[];
941
+ opportunities: {
942
+ title: string;
943
+ description: string;
944
+ potential_value: "low" | "medium" | "high";
945
+ implementation_complexity?: "moderate" | "simple" | "complex" | undefined;
946
+ }[];
947
+ };
948
+ scores: {
949
+ completeness: {
950
+ score: number;
951
+ reasoning: string;
952
+ };
953
+ clarity: {
954
+ score: number;
955
+ reasoning: string;
956
+ };
957
+ feasibility: {
958
+ score: number;
959
+ reasoning: string;
960
+ };
961
+ overall: {
962
+ score: number;
963
+ reasoning: string;
964
+ };
965
+ };
966
+ recommendations: {
967
+ title: string;
968
+ description: string;
969
+ id: string;
970
+ category: "requirements" | "architecture" | "security" | "performance" | "maintainability" | "testing";
971
+ priority: "low" | "medium" | "high" | "critical";
972
+ implementation_guide?: string | undefined;
973
+ estimated_effort?: string | undefined;
974
+ business_impact?: string | undefined;
975
+ technical_complexity?: "moderate" | "simple" | "complex" | undefined;
976
+ }[];
977
+ suggested_product_requirements: {
978
+ explicit_requirements: {
979
+ requirement: string;
980
+ source_text: string;
981
+ confidence: "low" | "medium" | "high";
982
+ }[];
983
+ inferred_functional_requirements: {
984
+ priority: "low" | "medium" | "high" | "critical";
985
+ requirement: string;
986
+ rationale: string;
987
+ domain_pattern: string;
988
+ }[];
989
+ suggested_non_functional_requirements: {
990
+ category: string;
991
+ requirement: string;
992
+ industry_standard: boolean;
993
+ customization_needed: boolean;
994
+ }[];
995
+ requirements_clarification_questions: {
996
+ category: string;
997
+ question: string;
998
+ impact_if_unclear: string;
999
+ suggested_default: string;
1000
+ }[];
1001
+ };
1002
+ metadata: {
1003
+ analysis_duration_seconds: number;
1004
+ claude_model: string;
1005
+ confidence_level: number;
1006
+ analysis_timestamp: string;
1007
+ reviewer_notes?: string | undefined;
1008
+ };
1009
+ feature_gap_analysis?: {
1010
+ missing_core_features: {
1011
+ priority: "low" | "medium" | "high" | "critical";
1012
+ estimated_effort: string;
1013
+ rationale: string;
1014
+ feature: string;
1015
+ suggested_approach: string;
1016
+ }[];
1017
+ missing_non_functional_requirements: {
1018
+ impact: string;
1019
+ category: "security" | "performance" | "testing" | "accessibility" | "monitoring" | "documentation" | "deployment";
1020
+ requirement: string;
1021
+ recommendation: string;
1022
+ }[];
1023
+ } | undefined;
1024
+ }, {
1025
+ project_id: string;
1026
+ analysis_type: "project_review" | "development_plan" | "story_implementation";
1027
+ executive_summary: string;
1028
+ analysis: {
1029
+ risks: {
1030
+ title: string;
1031
+ description: string;
1032
+ impact: "low" | "medium" | "high";
1033
+ probability: "low" | "medium" | "high";
1034
+ mitigation_strategy?: string | undefined;
1035
+ }[];
1036
+ strengths: {
1037
+ title: string;
1038
+ description: string;
1039
+ impact: "low" | "medium" | "high";
1040
+ evidence?: string[] | undefined;
1041
+ }[];
1042
+ weaknesses: {
1043
+ title: string;
1044
+ description: string;
1045
+ severity: "low" | "medium" | "high";
1046
+ affected_areas?: string[] | undefined;
1047
+ improvement_effort?: "minimal" | "moderate" | "significant" | undefined;
1048
+ }[];
1049
+ opportunities: {
1050
+ title: string;
1051
+ description: string;
1052
+ potential_value: "low" | "medium" | "high";
1053
+ implementation_complexity?: "moderate" | "simple" | "complex" | undefined;
1054
+ }[];
1055
+ };
1056
+ scores: {
1057
+ completeness: {
1058
+ score: number;
1059
+ reasoning: string;
1060
+ };
1061
+ clarity: {
1062
+ score: number;
1063
+ reasoning: string;
1064
+ };
1065
+ feasibility: {
1066
+ score: number;
1067
+ reasoning: string;
1068
+ };
1069
+ overall: {
1070
+ score: number;
1071
+ reasoning: string;
1072
+ };
1073
+ };
1074
+ recommendations: {
1075
+ title: string;
1076
+ description: string;
1077
+ id: string;
1078
+ category: "requirements" | "architecture" | "security" | "performance" | "maintainability" | "testing";
1079
+ priority: "low" | "medium" | "high" | "critical";
1080
+ implementation_guide?: string | undefined;
1081
+ estimated_effort?: string | undefined;
1082
+ business_impact?: string | undefined;
1083
+ technical_complexity?: "moderate" | "simple" | "complex" | undefined;
1084
+ }[];
1085
+ suggested_product_requirements: {
1086
+ explicit_requirements: {
1087
+ requirement: string;
1088
+ source_text: string;
1089
+ confidence: "low" | "medium" | "high";
1090
+ }[];
1091
+ inferred_functional_requirements: {
1092
+ priority: "low" | "medium" | "high" | "critical";
1093
+ requirement: string;
1094
+ rationale: string;
1095
+ domain_pattern: string;
1096
+ }[];
1097
+ suggested_non_functional_requirements: {
1098
+ category: string;
1099
+ requirement: string;
1100
+ industry_standard: boolean;
1101
+ customization_needed: boolean;
1102
+ }[];
1103
+ requirements_clarification_questions: {
1104
+ category: string;
1105
+ question: string;
1106
+ impact_if_unclear: string;
1107
+ suggested_default: string;
1108
+ }[];
1109
+ };
1110
+ metadata: {
1111
+ analysis_duration_seconds: number;
1112
+ claude_model: string;
1113
+ confidence_level: number;
1114
+ analysis_timestamp: string;
1115
+ reviewer_notes?: string | undefined;
1116
+ };
1117
+ feature_gap_analysis?: {
1118
+ missing_core_features: {
1119
+ priority: "low" | "medium" | "high" | "critical";
1120
+ estimated_effort: string;
1121
+ rationale: string;
1122
+ feature: string;
1123
+ suggested_approach: string;
1124
+ }[];
1125
+ missing_non_functional_requirements: {
1126
+ impact: string;
1127
+ category: "security" | "performance" | "testing" | "accessibility" | "monitoring" | "documentation" | "deployment";
1128
+ requirement: string;
1129
+ recommendation: string;
1130
+ }[];
1131
+ } | undefined;
1132
+ }>;
1133
+ export type AnalysisStrength = z.infer<typeof AnalysisStrengthSchema>;
1134
+ export type AnalysisWeakness = z.infer<typeof AnalysisWeaknessSchema>;
1135
+ export type AnalysisRisk = z.infer<typeof AnalysisRiskSchema>;
1136
+ export type AnalysisOpportunity = z.infer<typeof AnalysisOpportunitySchema>;
1137
+ export type ScoreWithReasoning = z.infer<typeof ScoreWithReasoningSchema>;
1138
+ export type Recommendation = z.infer<typeof RecommendationSchema>;
1139
+ export type ExplicitRequirement = z.infer<typeof ExplicitRequirementSchema>;
1140
+ export type InferredRequirement = z.infer<typeof InferredRequirementSchema>;
1141
+ export type NonFunctionalRequirement = z.infer<typeof NonFunctionalRequirementSchema>;
1142
+ export type ClarificationQuestion = z.infer<typeof ClarificationQuestionSchema>;
1143
+ export type SuggestedProductRequirements = z.infer<typeof SuggestedProductRequirementsSchema>;
1144
+ export type FeatureGap = z.infer<typeof FeatureGapSchema>;
1145
+ export type MissingNonFunctionalRequirement = z.infer<typeof MissingNonFunctionalRequirementSchema>;
1146
+ export type FeatureGapAnalysis = z.infer<typeof FeatureGapAnalysisSchema>;
1147
+ export type ProjectAnalysis = z.infer<typeof ProjectAnalysisSchema>;
1148
+ export declare const ImplementationPlanSchema: z.ZodObject<{
1149
+ project_id: z.ZodString;
1150
+ executive_summary: z.ZodString;
1151
+ analysis: z.ZodObject<{
1152
+ strengths: z.ZodArray<z.ZodObject<{
1153
+ title: z.ZodString;
1154
+ description: z.ZodString;
1155
+ impact: z.ZodEnum<["low", "medium", "high"]>;
1156
+ evidence: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1157
+ }, "strip", z.ZodTypeAny, {
1158
+ title: string;
1159
+ description: string;
1160
+ impact: "low" | "medium" | "high";
1161
+ evidence?: string[] | undefined;
1162
+ }, {
1163
+ title: string;
1164
+ description: string;
1165
+ impact: "low" | "medium" | "high";
1166
+ evidence?: string[] | undefined;
1167
+ }>, "many">;
1168
+ weaknesses: z.ZodArray<z.ZodObject<{
1169
+ title: z.ZodString;
1170
+ description: z.ZodString;
1171
+ severity: z.ZodEnum<["low", "medium", "high"]>;
1172
+ affected_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1173
+ improvement_effort: z.ZodOptional<z.ZodEnum<["minimal", "moderate", "significant"]>>;
1174
+ }, "strip", z.ZodTypeAny, {
1175
+ title: string;
1176
+ description: string;
1177
+ severity: "low" | "medium" | "high";
1178
+ affected_areas?: string[] | undefined;
1179
+ improvement_effort?: "minimal" | "moderate" | "significant" | undefined;
1180
+ }, {
1181
+ title: string;
1182
+ description: string;
1183
+ severity: "low" | "medium" | "high";
1184
+ affected_areas?: string[] | undefined;
1185
+ improvement_effort?: "minimal" | "moderate" | "significant" | undefined;
1186
+ }>, "many">;
1187
+ risks: z.ZodArray<z.ZodObject<{
1188
+ title: z.ZodString;
1189
+ description: z.ZodString;
1190
+ probability: z.ZodEnum<["low", "medium", "high"]>;
1191
+ impact: z.ZodEnum<["low", "medium", "high"]>;
1192
+ mitigation_strategy: z.ZodOptional<z.ZodString>;
1193
+ }, "strip", z.ZodTypeAny, {
1194
+ title: string;
1195
+ description: string;
1196
+ impact: "low" | "medium" | "high";
1197
+ probability: "low" | "medium" | "high";
1198
+ mitigation_strategy?: string | undefined;
1199
+ }, {
1200
+ title: string;
1201
+ description: string;
1202
+ impact: "low" | "medium" | "high";
1203
+ probability: "low" | "medium" | "high";
1204
+ mitigation_strategy?: string | undefined;
1205
+ }>, "many">;
1206
+ opportunities: z.ZodArray<z.ZodObject<{
1207
+ title: z.ZodString;
1208
+ description: z.ZodString;
1209
+ potential_value: z.ZodEnum<["low", "medium", "high"]>;
1210
+ implementation_complexity: z.ZodOptional<z.ZodEnum<["simple", "moderate", "complex"]>>;
1211
+ }, "strip", z.ZodTypeAny, {
1212
+ title: string;
1213
+ description: string;
1214
+ potential_value: "low" | "medium" | "high";
1215
+ implementation_complexity?: "moderate" | "simple" | "complex" | undefined;
1216
+ }, {
1217
+ title: string;
1218
+ description: string;
1219
+ potential_value: "low" | "medium" | "high";
1220
+ implementation_complexity?: "moderate" | "simple" | "complex" | undefined;
1221
+ }>, "many">;
1222
+ }, "strip", z.ZodTypeAny, {
1223
+ risks: {
1224
+ title: string;
1225
+ description: string;
1226
+ impact: "low" | "medium" | "high";
1227
+ probability: "low" | "medium" | "high";
1228
+ mitigation_strategy?: string | undefined;
1229
+ }[];
1230
+ strengths: {
1231
+ title: string;
1232
+ description: string;
1233
+ impact: "low" | "medium" | "high";
1234
+ evidence?: string[] | undefined;
1235
+ }[];
1236
+ weaknesses: {
1237
+ title: string;
1238
+ description: string;
1239
+ severity: "low" | "medium" | "high";
1240
+ affected_areas?: string[] | undefined;
1241
+ improvement_effort?: "minimal" | "moderate" | "significant" | undefined;
1242
+ }[];
1243
+ opportunities: {
1244
+ title: string;
1245
+ description: string;
1246
+ potential_value: "low" | "medium" | "high";
1247
+ implementation_complexity?: "moderate" | "simple" | "complex" | undefined;
1248
+ }[];
1249
+ }, {
1250
+ risks: {
1251
+ title: string;
1252
+ description: string;
1253
+ impact: "low" | "medium" | "high";
1254
+ probability: "low" | "medium" | "high";
1255
+ mitigation_strategy?: string | undefined;
1256
+ }[];
1257
+ strengths: {
1258
+ title: string;
1259
+ description: string;
1260
+ impact: "low" | "medium" | "high";
1261
+ evidence?: string[] | undefined;
1262
+ }[];
1263
+ weaknesses: {
1264
+ title: string;
1265
+ description: string;
1266
+ severity: "low" | "medium" | "high";
1267
+ affected_areas?: string[] | undefined;
1268
+ improvement_effort?: "minimal" | "moderate" | "significant" | undefined;
1269
+ }[];
1270
+ opportunities: {
1271
+ title: string;
1272
+ description: string;
1273
+ potential_value: "low" | "medium" | "high";
1274
+ implementation_complexity?: "moderate" | "simple" | "complex" | undefined;
1275
+ }[];
1276
+ }>;
1277
+ scores: z.ZodObject<{
1278
+ completeness: z.ZodObject<{
1279
+ score: z.ZodNumber;
1280
+ reasoning: z.ZodString;
1281
+ }, "strip", z.ZodTypeAny, {
1282
+ score: number;
1283
+ reasoning: string;
1284
+ }, {
1285
+ score: number;
1286
+ reasoning: string;
1287
+ }>;
1288
+ clarity: z.ZodObject<{
1289
+ score: z.ZodNumber;
1290
+ reasoning: z.ZodString;
1291
+ }, "strip", z.ZodTypeAny, {
1292
+ score: number;
1293
+ reasoning: string;
1294
+ }, {
1295
+ score: number;
1296
+ reasoning: string;
1297
+ }>;
1298
+ feasibility: z.ZodObject<{
1299
+ score: z.ZodNumber;
1300
+ reasoning: z.ZodString;
1301
+ }, "strip", z.ZodTypeAny, {
1302
+ score: number;
1303
+ reasoning: string;
1304
+ }, {
1305
+ score: number;
1306
+ reasoning: string;
1307
+ }>;
1308
+ overall: z.ZodObject<{
1309
+ score: z.ZodNumber;
1310
+ reasoning: z.ZodString;
1311
+ }, "strip", z.ZodTypeAny, {
1312
+ score: number;
1313
+ reasoning: string;
1314
+ }, {
1315
+ score: number;
1316
+ reasoning: string;
1317
+ }>;
1318
+ }, "strip", z.ZodTypeAny, {
1319
+ completeness: {
1320
+ score: number;
1321
+ reasoning: string;
1322
+ };
1323
+ clarity: {
1324
+ score: number;
1325
+ reasoning: string;
1326
+ };
1327
+ feasibility: {
1328
+ score: number;
1329
+ reasoning: string;
1330
+ };
1331
+ overall: {
1332
+ score: number;
1333
+ reasoning: string;
1334
+ };
1335
+ }, {
1336
+ completeness: {
1337
+ score: number;
1338
+ reasoning: string;
1339
+ };
1340
+ clarity: {
1341
+ score: number;
1342
+ reasoning: string;
1343
+ };
1344
+ feasibility: {
1345
+ score: number;
1346
+ reasoning: string;
1347
+ };
1348
+ overall: {
1349
+ score: number;
1350
+ reasoning: string;
1351
+ };
1352
+ }>;
1353
+ recommendations: z.ZodArray<z.ZodObject<{
1354
+ id: z.ZodString;
1355
+ category: z.ZodEnum<["requirements", "architecture", "security", "performance", "maintainability", "testing"]>;
1356
+ title: z.ZodString;
1357
+ description: z.ZodString;
1358
+ implementation_guide: z.ZodOptional<z.ZodString>;
1359
+ priority: z.ZodEnum<["low", "medium", "high", "critical"]>;
1360
+ estimated_effort: z.ZodOptional<z.ZodString>;
1361
+ business_impact: z.ZodOptional<z.ZodString>;
1362
+ technical_complexity: z.ZodOptional<z.ZodEnum<["simple", "moderate", "complex"]>>;
1363
+ }, "strip", z.ZodTypeAny, {
1364
+ title: string;
1365
+ description: string;
1366
+ id: string;
1367
+ category: "requirements" | "architecture" | "security" | "performance" | "maintainability" | "testing";
1368
+ priority: "low" | "medium" | "high" | "critical";
1369
+ implementation_guide?: string | undefined;
1370
+ estimated_effort?: string | undefined;
1371
+ business_impact?: string | undefined;
1372
+ technical_complexity?: "moderate" | "simple" | "complex" | undefined;
1373
+ }, {
1374
+ title: string;
1375
+ description: string;
1376
+ id: string;
1377
+ category: "requirements" | "architecture" | "security" | "performance" | "maintainability" | "testing";
1378
+ priority: "low" | "medium" | "high" | "critical";
1379
+ implementation_guide?: string | undefined;
1380
+ estimated_effort?: string | undefined;
1381
+ business_impact?: string | undefined;
1382
+ technical_complexity?: "moderate" | "simple" | "complex" | undefined;
1383
+ }>, "many">;
1384
+ suggested_product_requirements: z.ZodObject<{
1385
+ explicit_requirements: z.ZodArray<z.ZodObject<{
1386
+ requirement: z.ZodString;
1387
+ source_text: z.ZodString;
1388
+ confidence: z.ZodEnum<["high", "medium", "low"]>;
1389
+ }, "strip", z.ZodTypeAny, {
1390
+ requirement: string;
1391
+ source_text: string;
1392
+ confidence: "low" | "medium" | "high";
1393
+ }, {
1394
+ requirement: string;
1395
+ source_text: string;
1396
+ confidence: "low" | "medium" | "high";
1397
+ }>, "many">;
1398
+ inferred_functional_requirements: z.ZodArray<z.ZodObject<{
1399
+ requirement: z.ZodString;
1400
+ rationale: z.ZodString;
1401
+ domain_pattern: z.ZodString;
1402
+ priority: z.ZodEnum<["critical", "high", "medium", "low"]>;
1403
+ }, "strip", z.ZodTypeAny, {
1404
+ priority: "low" | "medium" | "high" | "critical";
1405
+ requirement: string;
1406
+ rationale: string;
1407
+ domain_pattern: string;
1408
+ }, {
1409
+ priority: "low" | "medium" | "high" | "critical";
1410
+ requirement: string;
1411
+ rationale: string;
1412
+ domain_pattern: string;
1413
+ }>, "many">;
1414
+ suggested_non_functional_requirements: z.ZodArray<z.ZodObject<{
1415
+ category: z.ZodString;
1416
+ requirement: z.ZodString;
1417
+ industry_standard: z.ZodBoolean;
1418
+ customization_needed: z.ZodBoolean;
1419
+ }, "strip", z.ZodTypeAny, {
1420
+ category: string;
1421
+ requirement: string;
1422
+ industry_standard: boolean;
1423
+ customization_needed: boolean;
1424
+ }, {
1425
+ category: string;
1426
+ requirement: string;
1427
+ industry_standard: boolean;
1428
+ customization_needed: boolean;
1429
+ }>, "many">;
1430
+ requirements_clarification_questions: z.ZodArray<z.ZodObject<{
1431
+ category: z.ZodString;
1432
+ question: z.ZodString;
1433
+ impact_if_unclear: z.ZodString;
1434
+ suggested_default: z.ZodString;
1435
+ }, "strip", z.ZodTypeAny, {
1436
+ category: string;
1437
+ question: string;
1438
+ impact_if_unclear: string;
1439
+ suggested_default: string;
1440
+ }, {
1441
+ category: string;
1442
+ question: string;
1443
+ impact_if_unclear: string;
1444
+ suggested_default: string;
1445
+ }>, "many">;
1446
+ }, "strip", z.ZodTypeAny, {
1447
+ explicit_requirements: {
1448
+ requirement: string;
1449
+ source_text: string;
1450
+ confidence: "low" | "medium" | "high";
1451
+ }[];
1452
+ inferred_functional_requirements: {
1453
+ priority: "low" | "medium" | "high" | "critical";
1454
+ requirement: string;
1455
+ rationale: string;
1456
+ domain_pattern: string;
1457
+ }[];
1458
+ suggested_non_functional_requirements: {
1459
+ category: string;
1460
+ requirement: string;
1461
+ industry_standard: boolean;
1462
+ customization_needed: boolean;
1463
+ }[];
1464
+ requirements_clarification_questions: {
1465
+ category: string;
1466
+ question: string;
1467
+ impact_if_unclear: string;
1468
+ suggested_default: string;
1469
+ }[];
1470
+ }, {
1471
+ explicit_requirements: {
1472
+ requirement: string;
1473
+ source_text: string;
1474
+ confidence: "low" | "medium" | "high";
1475
+ }[];
1476
+ inferred_functional_requirements: {
1477
+ priority: "low" | "medium" | "high" | "critical";
1478
+ requirement: string;
1479
+ rationale: string;
1480
+ domain_pattern: string;
1481
+ }[];
1482
+ suggested_non_functional_requirements: {
1483
+ category: string;
1484
+ requirement: string;
1485
+ industry_standard: boolean;
1486
+ customization_needed: boolean;
1487
+ }[];
1488
+ requirements_clarification_questions: {
1489
+ category: string;
1490
+ question: string;
1491
+ impact_if_unclear: string;
1492
+ suggested_default: string;
1493
+ }[];
1494
+ }>;
1495
+ feature_gap_analysis: z.ZodOptional<z.ZodObject<{
1496
+ missing_core_features: z.ZodArray<z.ZodObject<{
1497
+ feature: z.ZodString;
1498
+ priority: z.ZodEnum<["critical", "high", "medium", "low"]>;
1499
+ rationale: z.ZodString;
1500
+ suggested_approach: z.ZodString;
1501
+ estimated_effort: z.ZodString;
1502
+ }, "strip", z.ZodTypeAny, {
1503
+ priority: "low" | "medium" | "high" | "critical";
1504
+ estimated_effort: string;
1505
+ rationale: string;
1506
+ feature: string;
1507
+ suggested_approach: string;
1508
+ }, {
1509
+ priority: "low" | "medium" | "high" | "critical";
1510
+ estimated_effort: string;
1511
+ rationale: string;
1512
+ feature: string;
1513
+ suggested_approach: string;
1514
+ }>, "many">;
1515
+ missing_non_functional_requirements: z.ZodArray<z.ZodObject<{
1516
+ requirement: z.ZodString;
1517
+ category: z.ZodEnum<["security", "performance", "accessibility", "monitoring", "documentation", "testing", "deployment"]>;
1518
+ impact: z.ZodString;
1519
+ recommendation: z.ZodString;
1520
+ }, "strip", z.ZodTypeAny, {
1521
+ impact: string;
1522
+ category: "security" | "performance" | "testing" | "accessibility" | "monitoring" | "documentation" | "deployment";
1523
+ requirement: string;
1524
+ recommendation: string;
1525
+ }, {
1526
+ impact: string;
1527
+ category: "security" | "performance" | "testing" | "accessibility" | "monitoring" | "documentation" | "deployment";
1528
+ requirement: string;
1529
+ recommendation: string;
1530
+ }>, "many">;
1531
+ }, "strip", z.ZodTypeAny, {
1532
+ missing_core_features: {
1533
+ priority: "low" | "medium" | "high" | "critical";
1534
+ estimated_effort: string;
1535
+ rationale: string;
1536
+ feature: string;
1537
+ suggested_approach: string;
1538
+ }[];
1539
+ missing_non_functional_requirements: {
1540
+ impact: string;
1541
+ category: "security" | "performance" | "testing" | "accessibility" | "monitoring" | "documentation" | "deployment";
1542
+ requirement: string;
1543
+ recommendation: string;
1544
+ }[];
1545
+ }, {
1546
+ missing_core_features: {
1547
+ priority: "low" | "medium" | "high" | "critical";
1548
+ estimated_effort: string;
1549
+ rationale: string;
1550
+ feature: string;
1551
+ suggested_approach: string;
1552
+ }[];
1553
+ missing_non_functional_requirements: {
1554
+ impact: string;
1555
+ category: "security" | "performance" | "testing" | "accessibility" | "monitoring" | "documentation" | "deployment";
1556
+ requirement: string;
1557
+ recommendation: string;
1558
+ }[];
1559
+ }>>;
1560
+ metadata: z.ZodObject<{
1561
+ analysis_duration_seconds: z.ZodNumber;
1562
+ claude_model: z.ZodString;
1563
+ confidence_level: z.ZodNumber;
1564
+ analysis_timestamp: z.ZodString;
1565
+ reviewer_notes: z.ZodOptional<z.ZodString>;
1566
+ }, "strip", z.ZodTypeAny, {
1567
+ analysis_duration_seconds: number;
1568
+ claude_model: string;
1569
+ confidence_level: number;
1570
+ analysis_timestamp: string;
1571
+ reviewer_notes?: string | undefined;
1572
+ }, {
1573
+ analysis_duration_seconds: number;
1574
+ claude_model: string;
1575
+ confidence_level: number;
1576
+ analysis_timestamp: string;
1577
+ reviewer_notes?: string | undefined;
1578
+ }>;
1579
+ } & {
1580
+ analysis_type: z.ZodLiteral<"implementation_plan">;
1581
+ timeline: z.ZodObject<{
1582
+ total_duration_weeks: z.ZodNumber;
1583
+ phases: z.ZodArray<z.ZodObject<{
1584
+ id: z.ZodString;
1585
+ name: z.ZodString;
1586
+ description: z.ZodString;
1587
+ duration_weeks: z.ZodNumber;
1588
+ start_week: z.ZodNumber;
1589
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1590
+ deliverables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1591
+ key_milestones: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1592
+ resources_required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1593
+ risks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1594
+ }, "strip", z.ZodTypeAny, {
1595
+ description: string;
1596
+ id: string;
1597
+ name: string;
1598
+ duration_weeks: number;
1599
+ start_week: number;
1600
+ dependencies?: string[] | undefined;
1601
+ deliverables?: string[] | undefined;
1602
+ key_milestones?: string[] | undefined;
1603
+ resources_required?: string[] | undefined;
1604
+ risks?: string[] | undefined;
1605
+ }, {
1606
+ description: string;
1607
+ id: string;
1608
+ name: string;
1609
+ duration_weeks: number;
1610
+ start_week: number;
1611
+ dependencies?: string[] | undefined;
1612
+ deliverables?: string[] | undefined;
1613
+ key_milestones?: string[] | undefined;
1614
+ resources_required?: string[] | undefined;
1615
+ risks?: string[] | undefined;
1616
+ }>, "many">;
1617
+ }, "strip", z.ZodTypeAny, {
1618
+ total_duration_weeks: number;
1619
+ phases: {
1620
+ description: string;
1621
+ id: string;
1622
+ name: string;
1623
+ duration_weeks: number;
1624
+ start_week: number;
1625
+ dependencies?: string[] | undefined;
1626
+ deliverables?: string[] | undefined;
1627
+ key_milestones?: string[] | undefined;
1628
+ resources_required?: string[] | undefined;
1629
+ risks?: string[] | undefined;
1630
+ }[];
1631
+ }, {
1632
+ total_duration_weeks: number;
1633
+ phases: {
1634
+ description: string;
1635
+ id: string;
1636
+ name: string;
1637
+ duration_weeks: number;
1638
+ start_week: number;
1639
+ dependencies?: string[] | undefined;
1640
+ deliverables?: string[] | undefined;
1641
+ key_milestones?: string[] | undefined;
1642
+ resources_required?: string[] | undefined;
1643
+ risks?: string[] | undefined;
1644
+ }[];
1645
+ }>;
1646
+ }, "strip", z.ZodTypeAny, {
1647
+ project_id: string;
1648
+ analysis_type: "implementation_plan";
1649
+ executive_summary: string;
1650
+ analysis: {
1651
+ risks: {
1652
+ title: string;
1653
+ description: string;
1654
+ impact: "low" | "medium" | "high";
1655
+ probability: "low" | "medium" | "high";
1656
+ mitigation_strategy?: string | undefined;
1657
+ }[];
1658
+ strengths: {
1659
+ title: string;
1660
+ description: string;
1661
+ impact: "low" | "medium" | "high";
1662
+ evidence?: string[] | undefined;
1663
+ }[];
1664
+ weaknesses: {
1665
+ title: string;
1666
+ description: string;
1667
+ severity: "low" | "medium" | "high";
1668
+ affected_areas?: string[] | undefined;
1669
+ improvement_effort?: "minimal" | "moderate" | "significant" | undefined;
1670
+ }[];
1671
+ opportunities: {
1672
+ title: string;
1673
+ description: string;
1674
+ potential_value: "low" | "medium" | "high";
1675
+ implementation_complexity?: "moderate" | "simple" | "complex" | undefined;
1676
+ }[];
1677
+ };
1678
+ scores: {
1679
+ completeness: {
1680
+ score: number;
1681
+ reasoning: string;
1682
+ };
1683
+ clarity: {
1684
+ score: number;
1685
+ reasoning: string;
1686
+ };
1687
+ feasibility: {
1688
+ score: number;
1689
+ reasoning: string;
1690
+ };
1691
+ overall: {
1692
+ score: number;
1693
+ reasoning: string;
1694
+ };
1695
+ };
1696
+ recommendations: {
1697
+ title: string;
1698
+ description: string;
1699
+ id: string;
1700
+ category: "requirements" | "architecture" | "security" | "performance" | "maintainability" | "testing";
1701
+ priority: "low" | "medium" | "high" | "critical";
1702
+ implementation_guide?: string | undefined;
1703
+ estimated_effort?: string | undefined;
1704
+ business_impact?: string | undefined;
1705
+ technical_complexity?: "moderate" | "simple" | "complex" | undefined;
1706
+ }[];
1707
+ suggested_product_requirements: {
1708
+ explicit_requirements: {
1709
+ requirement: string;
1710
+ source_text: string;
1711
+ confidence: "low" | "medium" | "high";
1712
+ }[];
1713
+ inferred_functional_requirements: {
1714
+ priority: "low" | "medium" | "high" | "critical";
1715
+ requirement: string;
1716
+ rationale: string;
1717
+ domain_pattern: string;
1718
+ }[];
1719
+ suggested_non_functional_requirements: {
1720
+ category: string;
1721
+ requirement: string;
1722
+ industry_standard: boolean;
1723
+ customization_needed: boolean;
1724
+ }[];
1725
+ requirements_clarification_questions: {
1726
+ category: string;
1727
+ question: string;
1728
+ impact_if_unclear: string;
1729
+ suggested_default: string;
1730
+ }[];
1731
+ };
1732
+ metadata: {
1733
+ analysis_duration_seconds: number;
1734
+ claude_model: string;
1735
+ confidence_level: number;
1736
+ analysis_timestamp: string;
1737
+ reviewer_notes?: string | undefined;
1738
+ };
1739
+ timeline: {
1740
+ total_duration_weeks: number;
1741
+ phases: {
1742
+ description: string;
1743
+ id: string;
1744
+ name: string;
1745
+ duration_weeks: number;
1746
+ start_week: number;
1747
+ dependencies?: string[] | undefined;
1748
+ deliverables?: string[] | undefined;
1749
+ key_milestones?: string[] | undefined;
1750
+ resources_required?: string[] | undefined;
1751
+ risks?: string[] | undefined;
1752
+ }[];
1753
+ };
1754
+ feature_gap_analysis?: {
1755
+ missing_core_features: {
1756
+ priority: "low" | "medium" | "high" | "critical";
1757
+ estimated_effort: string;
1758
+ rationale: string;
1759
+ feature: string;
1760
+ suggested_approach: string;
1761
+ }[];
1762
+ missing_non_functional_requirements: {
1763
+ impact: string;
1764
+ category: "security" | "performance" | "testing" | "accessibility" | "monitoring" | "documentation" | "deployment";
1765
+ requirement: string;
1766
+ recommendation: string;
1767
+ }[];
1768
+ } | undefined;
1769
+ }, {
1770
+ project_id: string;
1771
+ analysis_type: "implementation_plan";
1772
+ executive_summary: string;
1773
+ analysis: {
1774
+ risks: {
1775
+ title: string;
1776
+ description: string;
1777
+ impact: "low" | "medium" | "high";
1778
+ probability: "low" | "medium" | "high";
1779
+ mitigation_strategy?: string | undefined;
1780
+ }[];
1781
+ strengths: {
1782
+ title: string;
1783
+ description: string;
1784
+ impact: "low" | "medium" | "high";
1785
+ evidence?: string[] | undefined;
1786
+ }[];
1787
+ weaknesses: {
1788
+ title: string;
1789
+ description: string;
1790
+ severity: "low" | "medium" | "high";
1791
+ affected_areas?: string[] | undefined;
1792
+ improvement_effort?: "minimal" | "moderate" | "significant" | undefined;
1793
+ }[];
1794
+ opportunities: {
1795
+ title: string;
1796
+ description: string;
1797
+ potential_value: "low" | "medium" | "high";
1798
+ implementation_complexity?: "moderate" | "simple" | "complex" | undefined;
1799
+ }[];
1800
+ };
1801
+ scores: {
1802
+ completeness: {
1803
+ score: number;
1804
+ reasoning: string;
1805
+ };
1806
+ clarity: {
1807
+ score: number;
1808
+ reasoning: string;
1809
+ };
1810
+ feasibility: {
1811
+ score: number;
1812
+ reasoning: string;
1813
+ };
1814
+ overall: {
1815
+ score: number;
1816
+ reasoning: string;
1817
+ };
1818
+ };
1819
+ recommendations: {
1820
+ title: string;
1821
+ description: string;
1822
+ id: string;
1823
+ category: "requirements" | "architecture" | "security" | "performance" | "maintainability" | "testing";
1824
+ priority: "low" | "medium" | "high" | "critical";
1825
+ implementation_guide?: string | undefined;
1826
+ estimated_effort?: string | undefined;
1827
+ business_impact?: string | undefined;
1828
+ technical_complexity?: "moderate" | "simple" | "complex" | undefined;
1829
+ }[];
1830
+ suggested_product_requirements: {
1831
+ explicit_requirements: {
1832
+ requirement: string;
1833
+ source_text: string;
1834
+ confidence: "low" | "medium" | "high";
1835
+ }[];
1836
+ inferred_functional_requirements: {
1837
+ priority: "low" | "medium" | "high" | "critical";
1838
+ requirement: string;
1839
+ rationale: string;
1840
+ domain_pattern: string;
1841
+ }[];
1842
+ suggested_non_functional_requirements: {
1843
+ category: string;
1844
+ requirement: string;
1845
+ industry_standard: boolean;
1846
+ customization_needed: boolean;
1847
+ }[];
1848
+ requirements_clarification_questions: {
1849
+ category: string;
1850
+ question: string;
1851
+ impact_if_unclear: string;
1852
+ suggested_default: string;
1853
+ }[];
1854
+ };
1855
+ metadata: {
1856
+ analysis_duration_seconds: number;
1857
+ claude_model: string;
1858
+ confidence_level: number;
1859
+ analysis_timestamp: string;
1860
+ reviewer_notes?: string | undefined;
1861
+ };
1862
+ timeline: {
1863
+ total_duration_weeks: number;
1864
+ phases: {
1865
+ description: string;
1866
+ id: string;
1867
+ name: string;
1868
+ duration_weeks: number;
1869
+ start_week: number;
1870
+ dependencies?: string[] | undefined;
1871
+ deliverables?: string[] | undefined;
1872
+ key_milestones?: string[] | undefined;
1873
+ resources_required?: string[] | undefined;
1874
+ risks?: string[] | undefined;
1875
+ }[];
1876
+ };
1877
+ feature_gap_analysis?: {
1878
+ missing_core_features: {
1879
+ priority: "low" | "medium" | "high" | "critical";
1880
+ estimated_effort: string;
1881
+ rationale: string;
1882
+ feature: string;
1883
+ suggested_approach: string;
1884
+ }[];
1885
+ missing_non_functional_requirements: {
1886
+ impact: string;
1887
+ category: "security" | "performance" | "testing" | "accessibility" | "monitoring" | "documentation" | "deployment";
1888
+ requirement: string;
1889
+ recommendation: string;
1890
+ }[];
1891
+ } | undefined;
1892
+ }>;
1893
+ export type ImplementationPlan = z.infer<typeof ImplementationPlanSchema>;