@makerkit/prd 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +78 -0
- package/.turbo/turbo-test.log +19 -0
- package/.turbo/turbo-typecheck.log +6 -0
- package/README.md +7 -1
- package/dist/README.md +71 -0
- package/dist/attachment-paths-BAhRGiib.js +112 -0
- package/dist/attachment-paths-C-SWgoSx.mjs +77 -0
- package/dist/index.d.ts +81 -0
- package/{index.js → dist/index.js} +257 -524
- package/{index.mjs → dist/index.mjs} +189 -462
- package/{mcp.d.ts → dist/mcp.d.ts} +2 -4
- package/{mcp.js → dist/mcp.js} +24 -24
- package/{mcp.mjs → dist/mcp.mjs} +24 -24
- package/{node.d.ts → dist/node.d.ts} +4 -4
- package/{node.js → dist/node.js} +28 -4
- package/{node.mjs → dist/node.mjs} +30 -6
- package/dist/operations.d.ts +141 -0
- package/dist/operations.js +22 -0
- package/dist/operations.mjs +1 -0
- package/dist/package.json +54 -0
- package/dist/prd-operations-BvFxo9bg.mjs +459 -0
- package/dist/prd-operations-CcahfbOy.js +584 -0
- package/dist/prd.service-CTwKZV-3.d.ts +114 -0
- package/{prompts-DJQ4FQ11.js → dist/prompts-1qhax_dj.js} +150 -167
- package/{prompts-B0VejF7q.mjs → dist/prompts-BlsYD0gf.mjs} +121 -132
- package/{prd.service-x5EpOoMv.d.ts → dist/schema-BwTnt0B9.d.ts} +545 -323
- package/package.json +26 -2
- package/src/__tests__/agent-workflow.test.ts +417 -0
- package/src/__tests__/attachments.test.ts +505 -0
- package/src/__tests__/node.test.ts +199 -0
- package/src/__tests__/plan-check.test.ts +390 -0
- package/src/__tests__/planning.test.ts +1137 -0
- package/src/__tests__/prd-operations.test.ts +571 -0
- package/src/__tests__/prd.service.test.ts +652 -0
- package/src/__tests__/prd.tool.test.ts +282 -0
- package/src/__tests__/templates.test.ts +145 -0
- package/src/applicability.ts +73 -0
- package/src/attachment-paths.ts +83 -0
- package/src/attachments.ts +166 -0
- package/src/edge-cases.ts +61 -0
- package/src/index.ts +33 -0
- package/src/markdown.ts +297 -0
- package/src/mcp/index.ts +875 -0
- package/src/mcp/tool-response.ts +85 -0
- package/src/node.ts +184 -0
- package/src/open-questions.ts +98 -0
- package/src/plan-check.ts +385 -0
- package/src/planning-operations.ts +524 -0
- package/src/prd-operations.ts +769 -0
- package/src/prd.service.ts +1165 -0
- package/src/prompts.ts +161 -0
- package/src/safe-file-name.ts +42 -0
- package/src/schema.ts +1090 -0
- package/src/templates.ts +173 -0
- package/src/testing/fake-mcp-server.ts +81 -0
- package/src/types.ts +381 -0
- package/tsconfig.json +23 -0
- package/tsconfig.lib.json +8 -0
- package/tsconfig.spec.json +7 -0
- package/tsdown.config.mts +12 -0
- package/vitest.config.mts +8 -0
- package/index.d.ts +0 -228
- /package/{LICENSE → dist/LICENSE} +0 -0
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from "zod/v3";
|
|
2
|
-
//#region src/types.d.ts
|
|
3
2
|
interface CustomPhase {
|
|
4
3
|
id: string;
|
|
5
4
|
name: string;
|
|
@@ -11,6 +10,32 @@ interface CustomPhase {
|
|
|
11
10
|
type StoryStatus = 'not_started' | 'research' | 'in_progress' | 'review' | 'completed' | 'blocked';
|
|
12
11
|
type StoryPriority = 'P0' | 'P1' | 'P2' | 'P3';
|
|
13
12
|
type StoryComplexity = 'XS' | 'S' | 'M' | 'L' | 'XL';
|
|
13
|
+
/**
|
|
14
|
+
* How a criterion is shown to work. `unit`, `integration` and `e2e` are tests
|
|
15
|
+
* the agent writes; `judge` is scored against a rubric by the agent reviewing
|
|
16
|
+
* the story, for judgment that can be written down (tone, clarity, layout);
|
|
17
|
+
* `manual` and `post-deploy` are checks a person does, for truths that live
|
|
18
|
+
* outside the test environment (a real third party, production-only
|
|
19
|
+
* conditions, judgment no rubric captures).
|
|
20
|
+
*/
|
|
21
|
+
type ProofKind = 'unit' | 'integration' | 'e2e' | 'judge' | 'manual' | 'post-deploy';
|
|
22
|
+
/** The proof for one of a story's acceptance criteria, decided while planning. */
|
|
23
|
+
interface CriterionProof {
|
|
24
|
+
/** The acceptance criterion this proves, exactly as written in the story. */
|
|
25
|
+
criterion: string;
|
|
26
|
+
kind: ProofKind;
|
|
27
|
+
/** The entry point or test file the test exercises. */
|
|
28
|
+
seam?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Why a test cannot prove it (manual, post-deploy) or why a lower seam will
|
|
31
|
+
* not do (e2e).
|
|
32
|
+
*/
|
|
33
|
+
reason?: string;
|
|
34
|
+
/** For manual and post-deploy: the strongest automated check still made. */
|
|
35
|
+
fallback?: string;
|
|
36
|
+
/** For judge: what the reviewer scores against, one line per point. */
|
|
37
|
+
rubric?: string[];
|
|
38
|
+
}
|
|
14
39
|
/** Recorded when a story is marked completed and the project checks passed. */
|
|
15
40
|
interface StoryVerification {
|
|
16
41
|
verifiedAt: string;
|
|
@@ -45,6 +70,8 @@ interface UserStory {
|
|
|
45
70
|
estimatedComplexity: StoryComplexity;
|
|
46
71
|
dependencies: string[];
|
|
47
72
|
notes?: string;
|
|
73
|
+
/** Worker that claimed the active story through update_story_status. */
|
|
74
|
+
workerId?: string;
|
|
48
75
|
completedAt?: string;
|
|
49
76
|
verification?: StoryVerification;
|
|
50
77
|
log?: StoryLogEntry[];
|
|
@@ -53,6 +80,8 @@ interface UserStory {
|
|
|
53
80
|
* action, a service function) whose behaviour the tests exercise.
|
|
54
81
|
*/
|
|
55
82
|
testSeams?: string[];
|
|
83
|
+
/** How each acceptance criterion is proven; see `CriterionProof`. */
|
|
84
|
+
proofs?: CriterionProof[];
|
|
56
85
|
/** Ids of the PRD's attachments this story uses, e.g. a mockup. */
|
|
57
86
|
attachmentIds?: string[];
|
|
58
87
|
/**
|
|
@@ -163,6 +192,13 @@ interface StoryTraceabilityMap {
|
|
|
163
192
|
acceptanceCriteriaIds: string[];
|
|
164
193
|
successMetricIds: string[];
|
|
165
194
|
}
|
|
195
|
+
interface PrdRoadmap {
|
|
196
|
+
order?: number;
|
|
197
|
+
criticality?: 'critical' | 'high' | 'medium' | 'low';
|
|
198
|
+
plan?: string;
|
|
199
|
+
group?: string;
|
|
200
|
+
section?: string;
|
|
201
|
+
}
|
|
166
202
|
/**
|
|
167
203
|
* Text fields may use Markdown. Longer text (the overview, problem, solution
|
|
168
204
|
* description, story notes, decision rationale) may use any block Markdown;
|
|
@@ -171,6 +207,7 @@ interface StoryTraceabilityMap {
|
|
|
171
207
|
* and links. Raw HTML is not rendered.
|
|
172
208
|
*/
|
|
173
209
|
interface StructuredPRD {
|
|
210
|
+
roadmap?: PrdRoadmap;
|
|
174
211
|
introduction: {
|
|
175
212
|
title: string;
|
|
176
213
|
overview: string;
|
|
@@ -286,11 +323,71 @@ interface StructuredPRD {
|
|
|
286
323
|
blocked: number;
|
|
287
324
|
};
|
|
288
325
|
}
|
|
289
|
-
//#endregion
|
|
290
|
-
//#region src/schema.d.ts
|
|
291
326
|
declare const StoryStatusSchema: z.ZodEnum<["not_started", "research", "in_progress", "review", "completed", "blocked"]>;
|
|
292
327
|
declare const StoryPrioritySchema: z.ZodEnum<["P0", "P1", "P2", "P3"]>;
|
|
293
328
|
declare const StoryComplexitySchema: z.ZodEnum<["XS", "S", "M", "L", "XL"]>;
|
|
329
|
+
declare const ProofKindSchema: z.ZodEnum<["unit", "integration", "e2e", "judge", "manual", "post-deploy"]>;
|
|
330
|
+
declare const CriterionProofSchema: z.ZodObject<{
|
|
331
|
+
criterion: z.ZodString;
|
|
332
|
+
kind: z.ZodEnum<["unit", "integration", "e2e", "judge", "manual", "post-deploy"]>;
|
|
333
|
+
seam: z.ZodOptional<z.ZodString>;
|
|
334
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
335
|
+
fallback: z.ZodOptional<z.ZodString>;
|
|
336
|
+
rubric: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
337
|
+
}, "strip", z.ZodTypeAny, {
|
|
338
|
+
criterion: string;
|
|
339
|
+
kind: "e2e" | "integration" | "judge" | "manual" | "post-deploy" | "unit";
|
|
340
|
+
seam?: string | undefined;
|
|
341
|
+
reason?: string | undefined;
|
|
342
|
+
fallback?: string | undefined;
|
|
343
|
+
rubric?: string[] | undefined;
|
|
344
|
+
}, {
|
|
345
|
+
criterion: string;
|
|
346
|
+
kind: "e2e" | "integration" | "judge" | "manual" | "post-deploy" | "unit";
|
|
347
|
+
seam?: string | undefined;
|
|
348
|
+
reason?: string | undefined;
|
|
349
|
+
fallback?: string | undefined;
|
|
350
|
+
rubric?: string[] | undefined;
|
|
351
|
+
}>;
|
|
352
|
+
declare const PrdCriticalitySchema: z.ZodEnum<["critical", "high", "medium", "low"]>;
|
|
353
|
+
declare const PrdRoadmapSchema: z.ZodObject<{
|
|
354
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
355
|
+
criticality: z.ZodOptional<z.ZodEnum<["critical", "high", "medium", "low"]>>;
|
|
356
|
+
plan: z.ZodOptional<z.ZodString>;
|
|
357
|
+
group: z.ZodOptional<z.ZodString>;
|
|
358
|
+
section: z.ZodOptional<z.ZodString>;
|
|
359
|
+
}, "strip", z.ZodTypeAny, {
|
|
360
|
+
order?: number | undefined;
|
|
361
|
+
criticality?: "critical" | "high" | "low" | "medium" | undefined;
|
|
362
|
+
plan?: string | undefined;
|
|
363
|
+
group?: string | undefined;
|
|
364
|
+
section?: string | undefined;
|
|
365
|
+
}, {
|
|
366
|
+
order?: number | undefined;
|
|
367
|
+
criticality?: "critical" | "high" | "low" | "medium" | undefined;
|
|
368
|
+
plan?: string | undefined;
|
|
369
|
+
group?: string | undefined;
|
|
370
|
+
section?: string | undefined;
|
|
371
|
+
}>;
|
|
372
|
+
declare const PrdRoadmapUpdateSchema: z.ZodObject<{
|
|
373
|
+
order: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
374
|
+
criticality: z.ZodNullable<z.ZodOptional<z.ZodEnum<["critical", "high", "medium", "low"]>>>;
|
|
375
|
+
plan: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
376
|
+
group: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
377
|
+
section: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
378
|
+
}, "strict", z.ZodTypeAny, {
|
|
379
|
+
order?: number | null | undefined;
|
|
380
|
+
criticality?: "critical" | "high" | "low" | "medium" | null | undefined;
|
|
381
|
+
plan?: string | null | undefined;
|
|
382
|
+
group?: string | null | undefined;
|
|
383
|
+
section?: string | null | undefined;
|
|
384
|
+
}, {
|
|
385
|
+
order?: number | null | undefined;
|
|
386
|
+
criticality?: "critical" | "high" | "low" | "medium" | null | undefined;
|
|
387
|
+
plan?: string | null | undefined;
|
|
388
|
+
group?: string | null | undefined;
|
|
389
|
+
section?: string | null | undefined;
|
|
390
|
+
}>;
|
|
294
391
|
declare const PrdSummarySchema: z.ZodObject<{
|
|
295
392
|
filename: z.ZodString;
|
|
296
393
|
title: z.ZodString;
|
|
@@ -299,6 +396,25 @@ declare const PrdSummarySchema: z.ZodObject<{
|
|
|
299
396
|
total_stories: z.ZodNumber;
|
|
300
397
|
completed_stories: z.ZodNumber;
|
|
301
398
|
blocked_stories: z.ZodNumber;
|
|
399
|
+
roadmap: z.ZodOptional<z.ZodObject<{
|
|
400
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
401
|
+
criticality: z.ZodOptional<z.ZodEnum<["critical", "high", "medium", "low"]>>;
|
|
402
|
+
plan: z.ZodOptional<z.ZodString>;
|
|
403
|
+
group: z.ZodOptional<z.ZodString>;
|
|
404
|
+
section: z.ZodOptional<z.ZodString>;
|
|
405
|
+
}, "strip", z.ZodTypeAny, {
|
|
406
|
+
order?: number | undefined;
|
|
407
|
+
criticality?: "critical" | "high" | "low" | "medium" | undefined;
|
|
408
|
+
plan?: string | undefined;
|
|
409
|
+
group?: string | undefined;
|
|
410
|
+
section?: string | undefined;
|
|
411
|
+
}, {
|
|
412
|
+
order?: number | undefined;
|
|
413
|
+
criticality?: "critical" | "high" | "low" | "medium" | undefined;
|
|
414
|
+
plan?: string | undefined;
|
|
415
|
+
group?: string | undefined;
|
|
416
|
+
section?: string | undefined;
|
|
417
|
+
}>>;
|
|
302
418
|
}, "strip", z.ZodTypeAny, {
|
|
303
419
|
filename: string;
|
|
304
420
|
title: string;
|
|
@@ -307,6 +423,13 @@ declare const PrdSummarySchema: z.ZodObject<{
|
|
|
307
423
|
total_stories: number;
|
|
308
424
|
completed_stories: number;
|
|
309
425
|
blocked_stories: number;
|
|
426
|
+
roadmap?: {
|
|
427
|
+
order?: number | undefined;
|
|
428
|
+
criticality?: "critical" | "high" | "low" | "medium" | undefined;
|
|
429
|
+
plan?: string | undefined;
|
|
430
|
+
group?: string | undefined;
|
|
431
|
+
section?: string | undefined;
|
|
432
|
+
} | undefined;
|
|
310
433
|
}, {
|
|
311
434
|
filename: string;
|
|
312
435
|
title: string;
|
|
@@ -315,6 +438,13 @@ declare const PrdSummarySchema: z.ZodObject<{
|
|
|
315
438
|
total_stories: number;
|
|
316
439
|
completed_stories: number;
|
|
317
440
|
blocked_stories: number;
|
|
441
|
+
roadmap?: {
|
|
442
|
+
order?: number | undefined;
|
|
443
|
+
criticality?: "critical" | "high" | "low" | "medium" | undefined;
|
|
444
|
+
plan?: string | undefined;
|
|
445
|
+
group?: string | undefined;
|
|
446
|
+
section?: string | undefined;
|
|
447
|
+
} | undefined;
|
|
318
448
|
}>;
|
|
319
449
|
declare const ListPrdsInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
320
450
|
declare const ListPrdsOutputSchema: z.ZodObject<{
|
|
@@ -326,6 +456,25 @@ declare const ListPrdsOutputSchema: z.ZodObject<{
|
|
|
326
456
|
total_stories: z.ZodNumber;
|
|
327
457
|
completed_stories: z.ZodNumber;
|
|
328
458
|
blocked_stories: z.ZodNumber;
|
|
459
|
+
roadmap: z.ZodOptional<z.ZodObject<{
|
|
460
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
461
|
+
criticality: z.ZodOptional<z.ZodEnum<["critical", "high", "medium", "low"]>>;
|
|
462
|
+
plan: z.ZodOptional<z.ZodString>;
|
|
463
|
+
group: z.ZodOptional<z.ZodString>;
|
|
464
|
+
section: z.ZodOptional<z.ZodString>;
|
|
465
|
+
}, "strip", z.ZodTypeAny, {
|
|
466
|
+
order?: number | undefined;
|
|
467
|
+
criticality?: "critical" | "high" | "low" | "medium" | undefined;
|
|
468
|
+
plan?: string | undefined;
|
|
469
|
+
group?: string | undefined;
|
|
470
|
+
section?: string | undefined;
|
|
471
|
+
}, {
|
|
472
|
+
order?: number | undefined;
|
|
473
|
+
criticality?: "critical" | "high" | "low" | "medium" | undefined;
|
|
474
|
+
plan?: string | undefined;
|
|
475
|
+
group?: string | undefined;
|
|
476
|
+
section?: string | undefined;
|
|
477
|
+
}>>;
|
|
329
478
|
}, "strip", z.ZodTypeAny, {
|
|
330
479
|
filename: string;
|
|
331
480
|
title: string;
|
|
@@ -334,6 +483,13 @@ declare const ListPrdsOutputSchema: z.ZodObject<{
|
|
|
334
483
|
total_stories: number;
|
|
335
484
|
completed_stories: number;
|
|
336
485
|
blocked_stories: number;
|
|
486
|
+
roadmap?: {
|
|
487
|
+
order?: number | undefined;
|
|
488
|
+
criticality?: "critical" | "high" | "low" | "medium" | undefined;
|
|
489
|
+
plan?: string | undefined;
|
|
490
|
+
group?: string | undefined;
|
|
491
|
+
section?: string | undefined;
|
|
492
|
+
} | undefined;
|
|
337
493
|
}, {
|
|
338
494
|
filename: string;
|
|
339
495
|
title: string;
|
|
@@ -342,6 +498,13 @@ declare const ListPrdsOutputSchema: z.ZodObject<{
|
|
|
342
498
|
total_stories: number;
|
|
343
499
|
completed_stories: number;
|
|
344
500
|
blocked_stories: number;
|
|
501
|
+
roadmap?: {
|
|
502
|
+
order?: number | undefined;
|
|
503
|
+
criticality?: "critical" | "high" | "low" | "medium" | undefined;
|
|
504
|
+
plan?: string | undefined;
|
|
505
|
+
group?: string | undefined;
|
|
506
|
+
section?: string | undefined;
|
|
507
|
+
} | undefined;
|
|
345
508
|
}>, "many">;
|
|
346
509
|
total: z.ZodNumber;
|
|
347
510
|
prds_dir: z.ZodString;
|
|
@@ -356,6 +519,13 @@ declare const ListPrdsOutputSchema: z.ZodObject<{
|
|
|
356
519
|
total_stories: number;
|
|
357
520
|
completed_stories: number;
|
|
358
521
|
blocked_stories: number;
|
|
522
|
+
roadmap?: {
|
|
523
|
+
order?: number | undefined;
|
|
524
|
+
criticality?: "critical" | "high" | "low" | "medium" | undefined;
|
|
525
|
+
plan?: string | undefined;
|
|
526
|
+
group?: string | undefined;
|
|
527
|
+
section?: string | undefined;
|
|
528
|
+
} | undefined;
|
|
359
529
|
}[];
|
|
360
530
|
total: number;
|
|
361
531
|
prds_dir: string;
|
|
@@ -369,6 +539,13 @@ declare const ListPrdsOutputSchema: z.ZodObject<{
|
|
|
369
539
|
total_stories: number;
|
|
370
540
|
completed_stories: number;
|
|
371
541
|
blocked_stories: number;
|
|
542
|
+
roadmap?: {
|
|
543
|
+
order?: number | undefined;
|
|
544
|
+
criticality?: "critical" | "high" | "low" | "medium" | undefined;
|
|
545
|
+
plan?: string | undefined;
|
|
546
|
+
group?: string | undefined;
|
|
547
|
+
section?: string | undefined;
|
|
548
|
+
} | undefined;
|
|
372
549
|
}[];
|
|
373
550
|
total: number;
|
|
374
551
|
prds_dir: string;
|
|
@@ -408,6 +585,25 @@ declare const CreatePrdInputSchema: z.ZodObject<{
|
|
|
408
585
|
outOfScope: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
409
586
|
assumptions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
410
587
|
openQuestions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
588
|
+
roadmap: z.ZodOptional<z.ZodObject<{
|
|
589
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
590
|
+
criticality: z.ZodOptional<z.ZodEnum<["critical", "high", "medium", "low"]>>;
|
|
591
|
+
plan: z.ZodOptional<z.ZodString>;
|
|
592
|
+
group: z.ZodOptional<z.ZodString>;
|
|
593
|
+
section: z.ZodOptional<z.ZodString>;
|
|
594
|
+
}, "strict", z.ZodTypeAny, {
|
|
595
|
+
order?: number | undefined;
|
|
596
|
+
criticality?: "critical" | "high" | "low" | "medium" | undefined;
|
|
597
|
+
plan?: string | undefined;
|
|
598
|
+
group?: string | undefined;
|
|
599
|
+
section?: string | undefined;
|
|
600
|
+
}, {
|
|
601
|
+
order?: number | undefined;
|
|
602
|
+
criticality?: "critical" | "high" | "low" | "medium" | undefined;
|
|
603
|
+
plan?: string | undefined;
|
|
604
|
+
group?: string | undefined;
|
|
605
|
+
section?: string | undefined;
|
|
606
|
+
}>>;
|
|
411
607
|
template: z.ZodOptional<z.ZodEnum<["saas-feature", "internal-tool", "integration", "mvp"]>>;
|
|
412
608
|
}, "strip", z.ZodTypeAny, {
|
|
413
609
|
title: string;
|
|
@@ -422,7 +618,14 @@ declare const CreatePrdInputSchema: z.ZodObject<{
|
|
|
422
618
|
outOfScope?: string[] | undefined;
|
|
423
619
|
assumptions?: string[] | undefined;
|
|
424
620
|
openQuestions?: string[] | undefined;
|
|
425
|
-
|
|
621
|
+
roadmap?: {
|
|
622
|
+
order?: number | undefined;
|
|
623
|
+
criticality?: "critical" | "high" | "low" | "medium" | undefined;
|
|
624
|
+
plan?: string | undefined;
|
|
625
|
+
group?: string | undefined;
|
|
626
|
+
section?: string | undefined;
|
|
627
|
+
} | undefined;
|
|
628
|
+
template?: "integration" | "internal-tool" | "mvp" | "saas-feature" | undefined;
|
|
426
629
|
}, {
|
|
427
630
|
title: string;
|
|
428
631
|
overview: string;
|
|
@@ -436,20 +639,27 @@ declare const CreatePrdInputSchema: z.ZodObject<{
|
|
|
436
639
|
outOfScope?: string[] | undefined;
|
|
437
640
|
assumptions?: string[] | undefined;
|
|
438
641
|
openQuestions?: string[] | undefined;
|
|
439
|
-
|
|
642
|
+
roadmap?: {
|
|
643
|
+
order?: number | undefined;
|
|
644
|
+
criticality?: "critical" | "high" | "low" | "medium" | undefined;
|
|
645
|
+
plan?: string | undefined;
|
|
646
|
+
group?: string | undefined;
|
|
647
|
+
section?: string | undefined;
|
|
648
|
+
} | undefined;
|
|
649
|
+
template?: "integration" | "internal-tool" | "mvp" | "saas-feature" | undefined;
|
|
440
650
|
}>;
|
|
441
651
|
declare const CreatePrdOutputSchema: z.ZodObject<{
|
|
442
652
|
status: z.ZodLiteral<"success">;
|
|
443
653
|
filename: z.ZodString;
|
|
444
654
|
path: z.ZodString;
|
|
445
655
|
}, "strip", z.ZodTypeAny, {
|
|
656
|
+
status: "success";
|
|
446
657
|
filename: string;
|
|
447
658
|
path: string;
|
|
448
|
-
status: "success";
|
|
449
659
|
}, {
|
|
660
|
+
status: "success";
|
|
450
661
|
filename: string;
|
|
451
662
|
path: string;
|
|
452
|
-
status: "success";
|
|
453
663
|
}>;
|
|
454
664
|
declare const DeletePrdInputSchema: z.ZodObject<{
|
|
455
665
|
filename: z.ZodString;
|
|
@@ -462,11 +672,11 @@ declare const DeletePrdOutputSchema: z.ZodObject<{
|
|
|
462
672
|
status: z.ZodLiteral<"success">;
|
|
463
673
|
filename: z.ZodString;
|
|
464
674
|
}, "strip", z.ZodTypeAny, {
|
|
465
|
-
filename: string;
|
|
466
675
|
status: "success";
|
|
467
|
-
}, {
|
|
468
676
|
filename: string;
|
|
677
|
+
}, {
|
|
469
678
|
status: "success";
|
|
679
|
+
filename: string;
|
|
470
680
|
}>;
|
|
471
681
|
declare const AddUserStoryInputSchema: z.ZodObject<{
|
|
472
682
|
filename: z.ZodString;
|
|
@@ -483,6 +693,28 @@ declare const AddUserStoryInputSchema: z.ZodObject<{
|
|
|
483
693
|
*/
|
|
484
694
|
estimatedComplexity: z.ZodOptional<z.ZodEnum<["XS", "S", "M", "L", "XL"]>>;
|
|
485
695
|
testSeams: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
696
|
+
proofs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
697
|
+
criterion: z.ZodString;
|
|
698
|
+
kind: z.ZodEnum<["unit", "integration", "e2e", "judge", "manual", "post-deploy"]>;
|
|
699
|
+
seam: z.ZodOptional<z.ZodString>;
|
|
700
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
701
|
+
fallback: z.ZodOptional<z.ZodString>;
|
|
702
|
+
rubric: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
703
|
+
}, "strip", z.ZodTypeAny, {
|
|
704
|
+
criterion: string;
|
|
705
|
+
kind: "e2e" | "integration" | "judge" | "manual" | "post-deploy" | "unit";
|
|
706
|
+
seam?: string | undefined;
|
|
707
|
+
reason?: string | undefined;
|
|
708
|
+
fallback?: string | undefined;
|
|
709
|
+
rubric?: string[] | undefined;
|
|
710
|
+
}, {
|
|
711
|
+
criterion: string;
|
|
712
|
+
kind: "e2e" | "integration" | "judge" | "manual" | "post-deploy" | "unit";
|
|
713
|
+
seam?: string | undefined;
|
|
714
|
+
reason?: string | undefined;
|
|
715
|
+
fallback?: string | undefined;
|
|
716
|
+
rubric?: string[] | undefined;
|
|
717
|
+
}>, "many">>;
|
|
486
718
|
dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
487
719
|
phaseId: z.ZodOptional<z.ZodString>;
|
|
488
720
|
attachmentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -496,8 +728,16 @@ declare const AddUserStoryInputSchema: z.ZodObject<{
|
|
|
496
728
|
acceptanceCriteria: string[];
|
|
497
729
|
priority: "P0" | "P1" | "P2" | "P3";
|
|
498
730
|
title?: string | undefined;
|
|
499
|
-
estimatedComplexity?: "
|
|
731
|
+
estimatedComplexity?: "L" | "M" | "S" | "XL" | "XS" | undefined;
|
|
500
732
|
testSeams?: string[] | undefined;
|
|
733
|
+
proofs?: {
|
|
734
|
+
criterion: string;
|
|
735
|
+
kind: "e2e" | "integration" | "judge" | "manual" | "post-deploy" | "unit";
|
|
736
|
+
seam?: string | undefined;
|
|
737
|
+
reason?: string | undefined;
|
|
738
|
+
fallback?: string | undefined;
|
|
739
|
+
rubric?: string[] | undefined;
|
|
740
|
+
}[] | undefined;
|
|
501
741
|
dependencies?: string[] | undefined;
|
|
502
742
|
phaseId?: string | undefined;
|
|
503
743
|
attachmentIds?: string[] | undefined;
|
|
@@ -509,10 +749,18 @@ declare const AddUserStoryInputSchema: z.ZodObject<{
|
|
|
509
749
|
action: string;
|
|
510
750
|
benefit: string;
|
|
511
751
|
acceptanceCriteria: string[];
|
|
512
|
-
title?: string | undefined;
|
|
513
752
|
priority?: "P0" | "P1" | "P2" | "P3" | undefined;
|
|
514
|
-
|
|
753
|
+
title?: string | undefined;
|
|
754
|
+
estimatedComplexity?: "L" | "M" | "S" | "XL" | "XS" | undefined;
|
|
515
755
|
testSeams?: string[] | undefined;
|
|
756
|
+
proofs?: {
|
|
757
|
+
criterion: string;
|
|
758
|
+
kind: "e2e" | "integration" | "judge" | "manual" | "post-deploy" | "unit";
|
|
759
|
+
seam?: string | undefined;
|
|
760
|
+
reason?: string | undefined;
|
|
761
|
+
fallback?: string | undefined;
|
|
762
|
+
rubric?: string[] | undefined;
|
|
763
|
+
}[] | undefined;
|
|
516
764
|
dependencies?: string[] | undefined;
|
|
517
765
|
phaseId?: string | undefined;
|
|
518
766
|
attachmentIds?: string[] | undefined;
|
|
@@ -525,33 +773,39 @@ declare const AddUserStoryOutputSchema: z.ZodObject<{
|
|
|
525
773
|
complexity: z.ZodEnum<["XS", "S", "M", "L", "XL"]>;
|
|
526
774
|
total_stories: z.ZodNumber;
|
|
527
775
|
}, "strip", z.ZodTypeAny, {
|
|
776
|
+
story_id: string;
|
|
528
777
|
title: string;
|
|
778
|
+
complexity: "L" | "M" | "S" | "XL" | "XS";
|
|
529
779
|
total_stories: number;
|
|
530
|
-
story_id: string;
|
|
531
|
-
complexity: "XS" | "S" | "M" | "L" | "XL";
|
|
532
780
|
}, {
|
|
781
|
+
story_id: string;
|
|
533
782
|
title: string;
|
|
783
|
+
complexity: "L" | "M" | "S" | "XL" | "XS";
|
|
534
784
|
total_stories: number;
|
|
535
|
-
story_id: string;
|
|
536
|
-
complexity: "XS" | "S" | "M" | "L" | "XL";
|
|
537
785
|
}>;
|
|
538
786
|
declare const UpdateStoryStatusInputSchema: z.ZodObject<{
|
|
539
787
|
filename: z.ZodString;
|
|
540
788
|
storyId: z.ZodString;
|
|
541
789
|
status: z.ZodEnum<["not_started", "research", "in_progress", "review", "completed", "blocked"]>;
|
|
790
|
+
workerId: z.ZodOptional<z.ZodString>;
|
|
542
791
|
notes: z.ZodOptional<z.ZodString>;
|
|
792
|
+
recordDeviations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
543
793
|
expectedRevision: z.ZodOptional<z.ZodNumber>;
|
|
544
794
|
}, "strip", z.ZodTypeAny, {
|
|
545
795
|
filename: string;
|
|
546
|
-
status: "not_started" | "research" | "in_progress" | "review" | "completed" | "blocked";
|
|
547
796
|
storyId: string;
|
|
797
|
+
status: "blocked" | "completed" | "in_progress" | "not_started" | "research" | "review";
|
|
798
|
+
workerId?: string | undefined;
|
|
548
799
|
notes?: string | undefined;
|
|
800
|
+
recordDeviations?: string[] | undefined;
|
|
549
801
|
expectedRevision?: number | undefined;
|
|
550
802
|
}, {
|
|
551
803
|
filename: string;
|
|
552
|
-
status: "not_started" | "research" | "in_progress" | "review" | "completed" | "blocked";
|
|
553
804
|
storyId: string;
|
|
805
|
+
status: "blocked" | "completed" | "in_progress" | "not_started" | "research" | "review";
|
|
806
|
+
workerId?: string | undefined;
|
|
554
807
|
notes?: string | undefined;
|
|
808
|
+
recordDeviations?: string[] | undefined;
|
|
555
809
|
expectedRevision?: number | undefined;
|
|
556
810
|
}>;
|
|
557
811
|
declare const StoryVerificationSchema: z.ZodObject<{
|
|
@@ -586,26 +840,30 @@ declare const UpdateStoryStatusOutputSchema: z.ZodObject<{
|
|
|
586
840
|
checks: string[];
|
|
587
841
|
passed: true;
|
|
588
842
|
}>>;
|
|
843
|
+
/** Ids of the decisions recorded from the story's deviations. */
|
|
844
|
+
recorded_decisions: z.ZodArray<z.ZodString, "many">;
|
|
589
845
|
}, "strip", z.ZodTypeAny, {
|
|
846
|
+
story_id: string;
|
|
590
847
|
title: string;
|
|
848
|
+
status: "blocked" | "completed" | "in_progress" | "not_started" | "research" | "review";
|
|
591
849
|
progress: number;
|
|
592
|
-
status: "not_started" | "research" | "in_progress" | "review" | "completed" | "blocked";
|
|
593
|
-
story_id: string;
|
|
594
850
|
verification: {
|
|
595
851
|
verified_at: string;
|
|
596
852
|
checks: string[];
|
|
597
853
|
passed: true;
|
|
598
854
|
} | null;
|
|
855
|
+
recorded_decisions: string[];
|
|
599
856
|
}, {
|
|
857
|
+
story_id: string;
|
|
600
858
|
title: string;
|
|
859
|
+
status: "blocked" | "completed" | "in_progress" | "not_started" | "research" | "review";
|
|
601
860
|
progress: number;
|
|
602
|
-
status: "not_started" | "research" | "in_progress" | "review" | "completed" | "blocked";
|
|
603
|
-
story_id: string;
|
|
604
861
|
verification: {
|
|
605
862
|
verified_at: string;
|
|
606
863
|
checks: string[];
|
|
607
864
|
passed: true;
|
|
608
865
|
} | null;
|
|
866
|
+
recorded_decisions: string[];
|
|
609
867
|
}>;
|
|
610
868
|
declare const UpdateUserStoryInputSchema: z.ZodObject<{
|
|
611
869
|
filename: z.ZodString;
|
|
@@ -622,6 +880,28 @@ declare const UpdateUserStoryInputSchema: z.ZodObject<{
|
|
|
622
880
|
dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
623
881
|
notes: z.ZodOptional<z.ZodString>;
|
|
624
882
|
testSeams: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
883
|
+
proofs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
884
|
+
criterion: z.ZodString;
|
|
885
|
+
kind: z.ZodEnum<["unit", "integration", "e2e", "judge", "manual", "post-deploy"]>;
|
|
886
|
+
seam: z.ZodOptional<z.ZodString>;
|
|
887
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
888
|
+
fallback: z.ZodOptional<z.ZodString>;
|
|
889
|
+
rubric: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
890
|
+
}, "strip", z.ZodTypeAny, {
|
|
891
|
+
criterion: string;
|
|
892
|
+
kind: "e2e" | "integration" | "judge" | "manual" | "post-deploy" | "unit";
|
|
893
|
+
seam?: string | undefined;
|
|
894
|
+
reason?: string | undefined;
|
|
895
|
+
fallback?: string | undefined;
|
|
896
|
+
rubric?: string[] | undefined;
|
|
897
|
+
}, {
|
|
898
|
+
criterion: string;
|
|
899
|
+
kind: "e2e" | "integration" | "judge" | "manual" | "post-deploy" | "unit";
|
|
900
|
+
seam?: string | undefined;
|
|
901
|
+
reason?: string | undefined;
|
|
902
|
+
fallback?: string | undefined;
|
|
903
|
+
rubric?: string[] | undefined;
|
|
904
|
+
}>, "many">>;
|
|
625
905
|
attachmentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
626
906
|
designNotes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
627
907
|
securityNotes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -634,18 +914,26 @@ declare const UpdateUserStoryInputSchema: z.ZodObject<{
|
|
|
634
914
|
userType?: string | undefined;
|
|
635
915
|
action?: string | undefined;
|
|
636
916
|
benefit?: string | undefined;
|
|
917
|
+
businessValue?: string | undefined;
|
|
637
918
|
acceptanceCriteria?: string[] | undefined;
|
|
638
919
|
priority?: "P0" | "P1" | "P2" | "P3" | undefined;
|
|
639
|
-
estimatedComplexity?: "
|
|
640
|
-
testSeams?: string[] | undefined;
|
|
920
|
+
estimatedComplexity?: "L" | "M" | "S" | "XL" | "XS" | undefined;
|
|
641
921
|
dependencies?: string[] | undefined;
|
|
642
|
-
|
|
922
|
+
notes?: string | undefined;
|
|
923
|
+
testSeams?: string[] | undefined;
|
|
924
|
+
proofs?: {
|
|
925
|
+
criterion: string;
|
|
926
|
+
kind: "e2e" | "integration" | "judge" | "manual" | "post-deploy" | "unit";
|
|
927
|
+
seam?: string | undefined;
|
|
928
|
+
reason?: string | undefined;
|
|
929
|
+
fallback?: string | undefined;
|
|
930
|
+
rubric?: string[] | undefined;
|
|
931
|
+
}[] | undefined;
|
|
643
932
|
attachmentIds?: string[] | undefined;
|
|
644
933
|
designNotes?: string[] | undefined;
|
|
645
934
|
securityNotes?: string[] | undefined;
|
|
646
|
-
|
|
935
|
+
phaseId?: string | null | undefined;
|
|
647
936
|
expectedRevision?: number | undefined;
|
|
648
|
-
businessValue?: string | undefined;
|
|
649
937
|
}, {
|
|
650
938
|
filename: string;
|
|
651
939
|
storyId: string;
|
|
@@ -653,18 +941,26 @@ declare const UpdateUserStoryInputSchema: z.ZodObject<{
|
|
|
653
941
|
userType?: string | undefined;
|
|
654
942
|
action?: string | undefined;
|
|
655
943
|
benefit?: string | undefined;
|
|
944
|
+
businessValue?: string | undefined;
|
|
656
945
|
acceptanceCriteria?: string[] | undefined;
|
|
657
946
|
priority?: "P0" | "P1" | "P2" | "P3" | undefined;
|
|
658
|
-
estimatedComplexity?: "
|
|
659
|
-
testSeams?: string[] | undefined;
|
|
947
|
+
estimatedComplexity?: "L" | "M" | "S" | "XL" | "XS" | undefined;
|
|
660
948
|
dependencies?: string[] | undefined;
|
|
661
|
-
|
|
949
|
+
notes?: string | undefined;
|
|
950
|
+
testSeams?: string[] | undefined;
|
|
951
|
+
proofs?: {
|
|
952
|
+
criterion: string;
|
|
953
|
+
kind: "e2e" | "integration" | "judge" | "manual" | "post-deploy" | "unit";
|
|
954
|
+
seam?: string | undefined;
|
|
955
|
+
reason?: string | undefined;
|
|
956
|
+
fallback?: string | undefined;
|
|
957
|
+
rubric?: string[] | undefined;
|
|
958
|
+
}[] | undefined;
|
|
662
959
|
attachmentIds?: string[] | undefined;
|
|
663
960
|
designNotes?: string[] | undefined;
|
|
664
961
|
securityNotes?: string[] | undefined;
|
|
665
|
-
|
|
962
|
+
phaseId?: string | null | undefined;
|
|
666
963
|
expectedRevision?: number | undefined;
|
|
667
|
-
businessValue?: string | undefined;
|
|
668
964
|
}>;
|
|
669
965
|
declare const UpdateUserStoryOutputSchema: z.ZodObject<{
|
|
670
966
|
story_id: z.ZodString;
|
|
@@ -672,13 +968,13 @@ declare const UpdateUserStoryOutputSchema: z.ZodObject<{
|
|
|
672
968
|
updated_fields: z.ZodArray<z.ZodString, "many">;
|
|
673
969
|
story: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
674
970
|
}, "strip", z.ZodTypeAny, {
|
|
675
|
-
title: string;
|
|
676
971
|
story_id: string;
|
|
972
|
+
title: string;
|
|
677
973
|
updated_fields: string[];
|
|
678
974
|
story: Record<string, unknown>;
|
|
679
975
|
}, {
|
|
680
|
-
title: string;
|
|
681
976
|
story_id: string;
|
|
977
|
+
title: string;
|
|
682
978
|
updated_fields: string[];
|
|
683
979
|
story: Record<string, unknown>;
|
|
684
980
|
}>;
|
|
@@ -701,17 +997,17 @@ declare const DeleteUserStoryOutputSchema: z.ZodObject<{
|
|
|
701
997
|
dependency_references_removed: z.ZodArray<z.ZodString, "many">;
|
|
702
998
|
phases_updated: z.ZodArray<z.ZodString, "many">;
|
|
703
999
|
}, "strip", z.ZodTypeAny, {
|
|
1000
|
+
story_id: string;
|
|
704
1001
|
title: string;
|
|
705
|
-
progress: number;
|
|
706
1002
|
total_stories: number;
|
|
707
|
-
|
|
1003
|
+
progress: number;
|
|
708
1004
|
dependency_references_removed: string[];
|
|
709
1005
|
phases_updated: string[];
|
|
710
1006
|
}, {
|
|
1007
|
+
story_id: string;
|
|
711
1008
|
title: string;
|
|
712
|
-
progress: number;
|
|
713
1009
|
total_stories: number;
|
|
714
|
-
|
|
1010
|
+
progress: number;
|
|
715
1011
|
dependency_references_removed: string[];
|
|
716
1012
|
phases_updated: string[];
|
|
717
1013
|
}>;
|
|
@@ -739,17 +1035,17 @@ declare const CustomPhaseSchema: z.ZodObject<{
|
|
|
739
1035
|
order: z.ZodNumber;
|
|
740
1036
|
user_story_ids: z.ZodArray<z.ZodString, "many">;
|
|
741
1037
|
}, "strip", z.ZodTypeAny, {
|
|
1038
|
+
id: string;
|
|
742
1039
|
name: string;
|
|
743
1040
|
description: string;
|
|
744
1041
|
color: string;
|
|
745
|
-
id: string;
|
|
746
1042
|
order: number;
|
|
747
1043
|
user_story_ids: string[];
|
|
748
1044
|
}, {
|
|
1045
|
+
id: string;
|
|
749
1046
|
name: string;
|
|
750
1047
|
description: string;
|
|
751
1048
|
color: string;
|
|
752
|
-
id: string;
|
|
753
1049
|
order: number;
|
|
754
1050
|
user_story_ids: string[];
|
|
755
1051
|
}>;
|
|
@@ -762,37 +1058,37 @@ declare const CreateCustomPhaseOutputSchema: z.ZodObject<{
|
|
|
762
1058
|
order: z.ZodNumber;
|
|
763
1059
|
user_story_ids: z.ZodArray<z.ZodString, "many">;
|
|
764
1060
|
}, "strip", z.ZodTypeAny, {
|
|
1061
|
+
id: string;
|
|
765
1062
|
name: string;
|
|
766
1063
|
description: string;
|
|
767
1064
|
color: string;
|
|
768
|
-
id: string;
|
|
769
1065
|
order: number;
|
|
770
1066
|
user_story_ids: string[];
|
|
771
1067
|
}, {
|
|
1068
|
+
id: string;
|
|
772
1069
|
name: string;
|
|
773
1070
|
description: string;
|
|
774
1071
|
color: string;
|
|
775
|
-
id: string;
|
|
776
1072
|
order: number;
|
|
777
1073
|
user_story_ids: string[];
|
|
778
1074
|
}>;
|
|
779
1075
|
total_phases: z.ZodNumber;
|
|
780
1076
|
}, "strip", z.ZodTypeAny, {
|
|
781
1077
|
phase: {
|
|
1078
|
+
id: string;
|
|
782
1079
|
name: string;
|
|
783
1080
|
description: string;
|
|
784
1081
|
color: string;
|
|
785
|
-
id: string;
|
|
786
1082
|
order: number;
|
|
787
1083
|
user_story_ids: string[];
|
|
788
1084
|
};
|
|
789
1085
|
total_phases: number;
|
|
790
1086
|
}, {
|
|
791
1087
|
phase: {
|
|
1088
|
+
id: string;
|
|
792
1089
|
name: string;
|
|
793
1090
|
description: string;
|
|
794
1091
|
color: string;
|
|
795
|
-
id: string;
|
|
796
1092
|
order: number;
|
|
797
1093
|
user_story_ids: string[];
|
|
798
1094
|
};
|
|
@@ -805,8 +1101,8 @@ declare const AssignStoryToPhaseInputSchema: z.ZodObject<{
|
|
|
805
1101
|
phaseId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
806
1102
|
}, "strip", z.ZodTypeAny, {
|
|
807
1103
|
filename: string;
|
|
808
|
-
phaseId: string | null;
|
|
809
1104
|
storyId: string;
|
|
1105
|
+
phaseId: string | null;
|
|
810
1106
|
}, {
|
|
811
1107
|
filename: string;
|
|
812
1108
|
storyId: string;
|
|
@@ -839,11 +1135,11 @@ declare const ExportPrdMarkdownOutputSchema: z.ZodObject<{
|
|
|
839
1135
|
markdown_file: z.ZodString;
|
|
840
1136
|
path: z.ZodString;
|
|
841
1137
|
}, "strip", z.ZodTypeAny, {
|
|
842
|
-
path: string;
|
|
843
1138
|
markdown_file: string;
|
|
844
|
-
}, {
|
|
845
1139
|
path: string;
|
|
1140
|
+
}, {
|
|
846
1141
|
markdown_file: string;
|
|
1142
|
+
path: string;
|
|
847
1143
|
}>;
|
|
848
1144
|
declare const GetImplementationPromptsInputSchema: z.ZodObject<{
|
|
849
1145
|
filename: z.ZodString;
|
|
@@ -856,11 +1152,11 @@ declare const GetImplementationPromptsOutputSchema: z.ZodObject<{
|
|
|
856
1152
|
prompts: z.ZodArray<z.ZodString, "many">;
|
|
857
1153
|
total: z.ZodNumber;
|
|
858
1154
|
}, "strip", z.ZodTypeAny, {
|
|
859
|
-
total: number;
|
|
860
1155
|
prompts: string[];
|
|
861
|
-
}, {
|
|
862
1156
|
total: number;
|
|
1157
|
+
}, {
|
|
863
1158
|
prompts: string[];
|
|
1159
|
+
total: number;
|
|
864
1160
|
}>;
|
|
865
1161
|
declare const GetImprovementSuggestionsInputSchema: z.ZodObject<{
|
|
866
1162
|
filename: z.ZodString;
|
|
@@ -873,11 +1169,11 @@ declare const GetImprovementSuggestionsOutputSchema: z.ZodObject<{
|
|
|
873
1169
|
suggestions: z.ZodArray<z.ZodString, "many">;
|
|
874
1170
|
total: z.ZodNumber;
|
|
875
1171
|
}, "strip", z.ZodTypeAny, {
|
|
876
|
-
total: number;
|
|
877
1172
|
suggestions: string[];
|
|
878
|
-
}, {
|
|
879
1173
|
total: number;
|
|
1174
|
+
}, {
|
|
880
1175
|
suggestions: string[];
|
|
1176
|
+
total: number;
|
|
881
1177
|
}>;
|
|
882
1178
|
declare const GetProjectStatusInputSchema: z.ZodObject<{
|
|
883
1179
|
filename: z.ZodString;
|
|
@@ -895,13 +1191,13 @@ declare const GetProjectStatusOutputSchema: z.ZodObject<{
|
|
|
895
1191
|
title: z.ZodString;
|
|
896
1192
|
notes: z.ZodNullable<z.ZodString>;
|
|
897
1193
|
}, "strip", z.ZodTypeAny, {
|
|
1194
|
+
id: string;
|
|
898
1195
|
title: string;
|
|
899
1196
|
notes: string | null;
|
|
900
|
-
id: string;
|
|
901
1197
|
}, {
|
|
1198
|
+
id: string;
|
|
902
1199
|
title: string;
|
|
903
1200
|
notes: string | null;
|
|
904
|
-
id: string;
|
|
905
1201
|
}>, "many">;
|
|
906
1202
|
open_questions: z.ZodArray<z.ZodString, "many">;
|
|
907
1203
|
high_risks: z.ZodArray<z.ZodObject<{
|
|
@@ -910,13 +1206,13 @@ declare const GetProjectStatusOutputSchema: z.ZodObject<{
|
|
|
910
1206
|
mitigation: z.ZodString;
|
|
911
1207
|
owner: z.ZodString;
|
|
912
1208
|
}, "strip", z.ZodTypeAny, {
|
|
913
|
-
description: string;
|
|
914
1209
|
id: string;
|
|
1210
|
+
description: string;
|
|
915
1211
|
mitigation: string;
|
|
916
1212
|
owner: string;
|
|
917
1213
|
}, {
|
|
918
|
-
description: string;
|
|
919
1214
|
id: string;
|
|
1215
|
+
description: string;
|
|
920
1216
|
mitigation: string;
|
|
921
1217
|
owner: string;
|
|
922
1218
|
}>, "many">;
|
|
@@ -925,14 +1221,14 @@ declare const GetProjectStatusOutputSchema: z.ZodObject<{
|
|
|
925
1221
|
summary: string;
|
|
926
1222
|
next_steps: string[];
|
|
927
1223
|
blockers: {
|
|
1224
|
+
id: string;
|
|
928
1225
|
title: string;
|
|
929
1226
|
notes: string | null;
|
|
930
|
-
id: string;
|
|
931
1227
|
}[];
|
|
932
1228
|
open_questions: string[];
|
|
933
1229
|
high_risks: {
|
|
934
|
-
description: string;
|
|
935
1230
|
id: string;
|
|
1231
|
+
description: string;
|
|
936
1232
|
mitigation: string;
|
|
937
1233
|
owner: string;
|
|
938
1234
|
}[];
|
|
@@ -941,14 +1237,14 @@ declare const GetProjectStatusOutputSchema: z.ZodObject<{
|
|
|
941
1237
|
summary: string;
|
|
942
1238
|
next_steps: string[];
|
|
943
1239
|
blockers: {
|
|
1240
|
+
id: string;
|
|
944
1241
|
title: string;
|
|
945
1242
|
notes: string | null;
|
|
946
|
-
id: string;
|
|
947
1243
|
}[];
|
|
948
1244
|
open_questions: string[];
|
|
949
1245
|
high_risks: {
|
|
950
|
-
description: string;
|
|
951
1246
|
id: string;
|
|
1247
|
+
description: string;
|
|
952
1248
|
mitigation: string;
|
|
953
1249
|
owner: string;
|
|
954
1250
|
}[];
|
|
@@ -986,30 +1282,30 @@ declare const GetNextStoryOutputSchema: z.ZodObject<{
|
|
|
986
1282
|
title: z.ZodString;
|
|
987
1283
|
waiting_on: z.ZodArray<z.ZodString, "many">;
|
|
988
1284
|
}, "strip", z.ZodTypeAny, {
|
|
989
|
-
title: string;
|
|
990
1285
|
id: string;
|
|
1286
|
+
title: string;
|
|
991
1287
|
waiting_on: string[];
|
|
992
1288
|
}, {
|
|
993
|
-
title: string;
|
|
994
1289
|
id: string;
|
|
1290
|
+
title: string;
|
|
995
1291
|
waiting_on: string[];
|
|
996
1292
|
}>, "many">;
|
|
997
1293
|
}, "strip", z.ZodTypeAny, {
|
|
998
|
-
in_progress: string[];
|
|
999
1294
|
story: UserStory | null;
|
|
1000
1295
|
ready_count: number;
|
|
1296
|
+
in_progress: string[];
|
|
1001
1297
|
waiting: {
|
|
1002
|
-
title: string;
|
|
1003
1298
|
id: string;
|
|
1299
|
+
title: string;
|
|
1004
1300
|
waiting_on: string[];
|
|
1005
1301
|
}[];
|
|
1006
1302
|
}, {
|
|
1007
|
-
in_progress: string[];
|
|
1008
1303
|
story: UserStory | null;
|
|
1009
1304
|
ready_count: number;
|
|
1305
|
+
in_progress: string[];
|
|
1010
1306
|
waiting: {
|
|
1011
|
-
title: string;
|
|
1012
1307
|
id: string;
|
|
1308
|
+
title: string;
|
|
1013
1309
|
waiting_on: string[];
|
|
1014
1310
|
}[];
|
|
1015
1311
|
}>;
|
|
@@ -1031,14 +1327,14 @@ declare const StoryAttachmentSchema: z.ZodObject<{
|
|
|
1031
1327
|
url: z.ZodOptional<z.ZodString>;
|
|
1032
1328
|
note: z.ZodOptional<z.ZodString>;
|
|
1033
1329
|
}, "strip", z.ZodTypeAny, {
|
|
1034
|
-
title: string;
|
|
1035
1330
|
id: string;
|
|
1331
|
+
title: string;
|
|
1036
1332
|
path?: string | undefined;
|
|
1037
1333
|
url?: string | undefined;
|
|
1038
1334
|
note?: string | undefined;
|
|
1039
1335
|
}, {
|
|
1040
|
-
title: string;
|
|
1041
1336
|
id: string;
|
|
1337
|
+
title: string;
|
|
1042
1338
|
path?: string | undefined;
|
|
1043
1339
|
url?: string | undefined;
|
|
1044
1340
|
note?: string | undefined;
|
|
@@ -1058,14 +1354,14 @@ declare const GetStoryOutputSchema: z.ZodObject<{
|
|
|
1058
1354
|
url: z.ZodOptional<z.ZodString>;
|
|
1059
1355
|
note: z.ZodOptional<z.ZodString>;
|
|
1060
1356
|
}, "strip", z.ZodTypeAny, {
|
|
1061
|
-
title: string;
|
|
1062
1357
|
id: string;
|
|
1358
|
+
title: string;
|
|
1063
1359
|
path?: string | undefined;
|
|
1064
1360
|
url?: string | undefined;
|
|
1065
1361
|
note?: string | undefined;
|
|
1066
1362
|
}, {
|
|
1067
|
-
title: string;
|
|
1068
1363
|
id: string;
|
|
1364
|
+
title: string;
|
|
1069
1365
|
path?: string | undefined;
|
|
1070
1366
|
url?: string | undefined;
|
|
1071
1367
|
note?: string | undefined;
|
|
@@ -1077,8 +1373,8 @@ declare const GetStoryOutputSchema: z.ZodObject<{
|
|
|
1077
1373
|
out_of_scope: string[];
|
|
1078
1374
|
global_acceptance_criteria: string[];
|
|
1079
1375
|
attachments: {
|
|
1080
|
-
title: string;
|
|
1081
1376
|
id: string;
|
|
1377
|
+
title: string;
|
|
1082
1378
|
path?: string | undefined;
|
|
1083
1379
|
url?: string | undefined;
|
|
1084
1380
|
note?: string | undefined;
|
|
@@ -1090,8 +1386,8 @@ declare const GetStoryOutputSchema: z.ZodObject<{
|
|
|
1090
1386
|
out_of_scope: string[];
|
|
1091
1387
|
global_acceptance_criteria: string[];
|
|
1092
1388
|
attachments: {
|
|
1093
|
-
title: string;
|
|
1094
1389
|
id: string;
|
|
1390
|
+
title: string;
|
|
1095
1391
|
path?: string | undefined;
|
|
1096
1392
|
url?: string | undefined;
|
|
1097
1393
|
note?: string | undefined;
|
|
@@ -1106,14 +1402,14 @@ declare const GetStoryOutputSchema: z.ZodObject<{
|
|
|
1106
1402
|
url: z.ZodOptional<z.ZodString>;
|
|
1107
1403
|
note: z.ZodOptional<z.ZodString>;
|
|
1108
1404
|
}, "strip", z.ZodTypeAny, {
|
|
1109
|
-
title: string;
|
|
1110
1405
|
id: string;
|
|
1406
|
+
title: string;
|
|
1111
1407
|
path?: string | undefined;
|
|
1112
1408
|
url?: string | undefined;
|
|
1113
1409
|
note?: string | undefined;
|
|
1114
1410
|
}, {
|
|
1115
|
-
title: string;
|
|
1116
1411
|
id: string;
|
|
1412
|
+
title: string;
|
|
1117
1413
|
path?: string | undefined;
|
|
1118
1414
|
url?: string | undefined;
|
|
1119
1415
|
note?: string | undefined;
|
|
@@ -1122,11 +1418,11 @@ declare const GetStoryOutputSchema: z.ZodObject<{
|
|
|
1122
1418
|
id: z.ZodString;
|
|
1123
1419
|
name: z.ZodString;
|
|
1124
1420
|
}, "strip", z.ZodTypeAny, {
|
|
1125
|
-
name: string;
|
|
1126
1421
|
id: string;
|
|
1127
|
-
}, {
|
|
1128
1422
|
name: string;
|
|
1423
|
+
}, {
|
|
1129
1424
|
id: string;
|
|
1425
|
+
name: string;
|
|
1130
1426
|
}>>;
|
|
1131
1427
|
/**
|
|
1132
1428
|
* Edge cases for this story (linked to it, or to the whole PRD). Decided
|
|
@@ -1139,16 +1435,16 @@ declare const GetStoryOutputSchema: z.ZodObject<{
|
|
|
1139
1435
|
status: z.ZodEnum<["open", "decided"]>;
|
|
1140
1436
|
storyIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1141
1437
|
}, "strip", z.ZodTypeAny, {
|
|
1142
|
-
status: "open" | "decided";
|
|
1143
1438
|
id: string;
|
|
1144
1439
|
case: string;
|
|
1145
1440
|
expectedBehavior: string;
|
|
1441
|
+
status: "decided" | "open";
|
|
1146
1442
|
storyIds?: string[] | undefined;
|
|
1147
1443
|
}, {
|
|
1148
|
-
status: "open" | "decided";
|
|
1149
1444
|
id: string;
|
|
1150
1445
|
case: string;
|
|
1151
1446
|
expectedBehavior: string;
|
|
1447
|
+
status: "decided" | "open";
|
|
1152
1448
|
storyIds?: string[] | undefined;
|
|
1153
1449
|
}>, "many">;
|
|
1154
1450
|
/** Open questions that block this story: ask, do not guess. */
|
|
@@ -1162,37 +1458,41 @@ declare const GetStoryOutputSchema: z.ZodObject<{
|
|
|
1162
1458
|
}, "strip", z.ZodTypeAny, {
|
|
1163
1459
|
id: string;
|
|
1164
1460
|
question: string;
|
|
1165
|
-
options?: string[] | undefined;
|
|
1166
|
-
storyIds?: string[] | undefined;
|
|
1167
1461
|
why?: string | undefined;
|
|
1462
|
+
options?: string[] | undefined;
|
|
1168
1463
|
recommended?: string | undefined;
|
|
1464
|
+
storyIds?: string[] | undefined;
|
|
1169
1465
|
}, {
|
|
1170
1466
|
id: string;
|
|
1171
1467
|
question: string;
|
|
1172
|
-
options?: string[] | undefined;
|
|
1173
|
-
storyIds?: string[] | undefined;
|
|
1174
1468
|
why?: string | undefined;
|
|
1469
|
+
options?: string[] | undefined;
|
|
1175
1470
|
recommended?: string | undefined;
|
|
1471
|
+
storyIds?: string[] | undefined;
|
|
1176
1472
|
}>, "many">;
|
|
1177
1473
|
/** Who can do what, sensitive data and standing security rules. Binding. */
|
|
1178
1474
|
security: z.ZodObject<{
|
|
1179
1475
|
permissions: z.ZodArray<z.ZodString, "many">;
|
|
1180
1476
|
compliance: z.ZodArray<z.ZodString, "many">;
|
|
1181
1477
|
considerations: z.ZodArray<z.ZodString, "many">;
|
|
1478
|
+
story_notes: z.ZodArray<z.ZodString, "many">;
|
|
1182
1479
|
}, "strip", z.ZodTypeAny, {
|
|
1183
1480
|
permissions: string[];
|
|
1184
1481
|
compliance: string[];
|
|
1185
1482
|
considerations: string[];
|
|
1483
|
+
story_notes: string[];
|
|
1186
1484
|
}, {
|
|
1187
1485
|
permissions: string[];
|
|
1188
1486
|
compliance: string[];
|
|
1189
1487
|
considerations: string[];
|
|
1488
|
+
story_notes: string[];
|
|
1190
1489
|
}>;
|
|
1191
1490
|
/** Parts of the PRD that do not apply, with the reason: do not invent them. */
|
|
1192
1491
|
not_applicable: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1193
1492
|
/** Standing design rules and accepted design decisions. */
|
|
1194
1493
|
design: z.ZodObject<{
|
|
1195
1494
|
guidance: z.ZodArray<z.ZodString, "many">;
|
|
1495
|
+
story_notes: z.ZodArray<z.ZodString, "many">;
|
|
1196
1496
|
decisions: z.ZodArray<z.ZodObject<{
|
|
1197
1497
|
id: z.ZodString;
|
|
1198
1498
|
decision: z.ZodString;
|
|
@@ -1208,6 +1508,7 @@ declare const GetStoryOutputSchema: z.ZodObject<{
|
|
|
1208
1508
|
}>, "many">;
|
|
1209
1509
|
}, "strip", z.ZodTypeAny, {
|
|
1210
1510
|
guidance: string[];
|
|
1511
|
+
story_notes: string[];
|
|
1211
1512
|
decisions: {
|
|
1212
1513
|
id: string;
|
|
1213
1514
|
decision: string;
|
|
@@ -1215,6 +1516,7 @@ declare const GetStoryOutputSchema: z.ZodObject<{
|
|
|
1215
1516
|
}[];
|
|
1216
1517
|
}, {
|
|
1217
1518
|
guidance: string[];
|
|
1519
|
+
story_notes: string[];
|
|
1218
1520
|
decisions: {
|
|
1219
1521
|
id: string;
|
|
1220
1522
|
decision: string;
|
|
@@ -1242,9 +1544,9 @@ declare const GetStoryOutputSchema: z.ZodObject<{
|
|
|
1242
1544
|
deviations?: string[] | undefined;
|
|
1243
1545
|
}>, "many">;
|
|
1244
1546
|
}, "strip", z.ZodTypeAny, {
|
|
1547
|
+
id: string;
|
|
1245
1548
|
title: string | null;
|
|
1246
1549
|
status: string | null;
|
|
1247
|
-
id: string;
|
|
1248
1550
|
log: {
|
|
1249
1551
|
at: string;
|
|
1250
1552
|
whatsNew: string[];
|
|
@@ -1252,9 +1554,9 @@ declare const GetStoryOutputSchema: z.ZodObject<{
|
|
|
1252
1554
|
deviations?: string[] | undefined;
|
|
1253
1555
|
}[];
|
|
1254
1556
|
}, {
|
|
1557
|
+
id: string;
|
|
1255
1558
|
title: string | null;
|
|
1256
1559
|
status: string | null;
|
|
1257
|
-
id: string;
|
|
1258
1560
|
log: {
|
|
1259
1561
|
at: string;
|
|
1260
1562
|
whatsNew: string[];
|
|
@@ -1282,8 +1584,8 @@ declare const GetStoryOutputSchema: z.ZodObject<{
|
|
|
1282
1584
|
deviations?: string[] | undefined;
|
|
1283
1585
|
}>, "many">;
|
|
1284
1586
|
}, "strip", z.ZodTypeAny, {
|
|
1285
|
-
title: string;
|
|
1286
1587
|
id: string;
|
|
1588
|
+
title: string;
|
|
1287
1589
|
log: {
|
|
1288
1590
|
at: string;
|
|
1289
1591
|
whatsNew: string[];
|
|
@@ -1291,8 +1593,8 @@ declare const GetStoryOutputSchema: z.ZodObject<{
|
|
|
1291
1593
|
deviations?: string[] | undefined;
|
|
1292
1594
|
}[];
|
|
1293
1595
|
}, {
|
|
1294
|
-
title: string;
|
|
1295
1596
|
id: string;
|
|
1597
|
+
title: string;
|
|
1296
1598
|
log: {
|
|
1297
1599
|
at: string;
|
|
1298
1600
|
whatsNew: string[];
|
|
@@ -1308,68 +1610,70 @@ declare const GetStoryOutputSchema: z.ZodObject<{
|
|
|
1308
1610
|
out_of_scope: string[];
|
|
1309
1611
|
global_acceptance_criteria: string[];
|
|
1310
1612
|
attachments: {
|
|
1311
|
-
title: string;
|
|
1312
1613
|
id: string;
|
|
1614
|
+
title: string;
|
|
1313
1615
|
path?: string | undefined;
|
|
1314
1616
|
url?: string | undefined;
|
|
1315
1617
|
note?: string | undefined;
|
|
1316
1618
|
}[];
|
|
1317
1619
|
};
|
|
1318
|
-
dependencies: {
|
|
1319
|
-
title: string | null;
|
|
1320
|
-
status: string | null;
|
|
1321
|
-
id: string;
|
|
1322
|
-
log: {
|
|
1323
|
-
at: string;
|
|
1324
|
-
whatsNew: string[];
|
|
1325
|
-
technicalNotes: string[];
|
|
1326
|
-
deviations?: string[] | undefined;
|
|
1327
|
-
}[];
|
|
1328
|
-
}[];
|
|
1329
1620
|
story: UserStory;
|
|
1330
|
-
phase: {
|
|
1331
|
-
name: string;
|
|
1332
|
-
id: string;
|
|
1333
|
-
} | null;
|
|
1334
|
-
open_questions: {
|
|
1335
|
-
id: string;
|
|
1336
|
-
question: string;
|
|
1337
|
-
options?: string[] | undefined;
|
|
1338
|
-
storyIds?: string[] | undefined;
|
|
1339
|
-
why?: string | undefined;
|
|
1340
|
-
recommended?: string | undefined;
|
|
1341
|
-
}[];
|
|
1342
1621
|
attachments: {
|
|
1343
|
-
title: string;
|
|
1344
1622
|
id: string;
|
|
1623
|
+
title: string;
|
|
1345
1624
|
path?: string | undefined;
|
|
1346
1625
|
url?: string | undefined;
|
|
1347
1626
|
note?: string | undefined;
|
|
1348
1627
|
}[];
|
|
1628
|
+
phase: {
|
|
1629
|
+
id: string;
|
|
1630
|
+
name: string;
|
|
1631
|
+
} | null;
|
|
1349
1632
|
edge_cases: {
|
|
1350
|
-
status: "open" | "decided";
|
|
1351
1633
|
id: string;
|
|
1352
1634
|
case: string;
|
|
1353
1635
|
expectedBehavior: string;
|
|
1636
|
+
status: "decided" | "open";
|
|
1637
|
+
storyIds?: string[] | undefined;
|
|
1638
|
+
}[];
|
|
1639
|
+
open_questions: {
|
|
1640
|
+
id: string;
|
|
1641
|
+
question: string;
|
|
1642
|
+
why?: string | undefined;
|
|
1643
|
+
options?: string[] | undefined;
|
|
1644
|
+
recommended?: string | undefined;
|
|
1354
1645
|
storyIds?: string[] | undefined;
|
|
1355
1646
|
}[];
|
|
1356
1647
|
security: {
|
|
1357
1648
|
permissions: string[];
|
|
1358
1649
|
compliance: string[];
|
|
1359
1650
|
considerations: string[];
|
|
1651
|
+
story_notes: string[];
|
|
1360
1652
|
};
|
|
1361
1653
|
not_applicable: Record<string, string>;
|
|
1362
1654
|
design: {
|
|
1363
1655
|
guidance: string[];
|
|
1656
|
+
story_notes: string[];
|
|
1364
1657
|
decisions: {
|
|
1365
1658
|
id: string;
|
|
1366
1659
|
decision: string;
|
|
1367
1660
|
rationale: string;
|
|
1368
1661
|
}[];
|
|
1369
1662
|
};
|
|
1663
|
+
dependencies: {
|
|
1664
|
+
id: string;
|
|
1665
|
+
title: string | null;
|
|
1666
|
+
status: string | null;
|
|
1667
|
+
log: {
|
|
1668
|
+
at: string;
|
|
1669
|
+
whatsNew: string[];
|
|
1670
|
+
technicalNotes: string[];
|
|
1671
|
+
deviations?: string[] | undefined;
|
|
1672
|
+
}[];
|
|
1673
|
+
}[];
|
|
1370
1674
|
previous_story: {
|
|
1371
|
-
title: string;
|
|
1372
1675
|
id: string;
|
|
1676
|
+
title: string;
|
|
1373
1677
|
log: {
|
|
1374
1678
|
at: string;
|
|
1375
1679
|
whatsNew: string[];
|
|
@@ -1385,68 +1689,70 @@ declare const GetStoryOutputSchema: z.ZodObject<{
|
|
|
1385
1689
|
out_of_scope: string[];
|
|
1386
1690
|
global_acceptance_criteria: string[];
|
|
1387
1691
|
attachments: {
|
|
1388
|
-
title: string;
|
|
1389
1692
|
id: string;
|
|
1693
|
+
title: string;
|
|
1390
1694
|
path?: string | undefined;
|
|
1391
1695
|
url?: string | undefined;
|
|
1392
1696
|
note?: string | undefined;
|
|
1393
1697
|
}[];
|
|
1394
1698
|
};
|
|
1395
|
-
dependencies: {
|
|
1396
|
-
title: string | null;
|
|
1397
|
-
status: string | null;
|
|
1398
|
-
id: string;
|
|
1399
|
-
log: {
|
|
1400
|
-
at: string;
|
|
1401
|
-
whatsNew: string[];
|
|
1402
|
-
technicalNotes: string[];
|
|
1403
|
-
deviations?: string[] | undefined;
|
|
1404
|
-
}[];
|
|
1405
|
-
}[];
|
|
1406
1699
|
story: UserStory;
|
|
1407
|
-
phase: {
|
|
1408
|
-
name: string;
|
|
1409
|
-
id: string;
|
|
1410
|
-
} | null;
|
|
1411
|
-
open_questions: {
|
|
1412
|
-
id: string;
|
|
1413
|
-
question: string;
|
|
1414
|
-
options?: string[] | undefined;
|
|
1415
|
-
storyIds?: string[] | undefined;
|
|
1416
|
-
why?: string | undefined;
|
|
1417
|
-
recommended?: string | undefined;
|
|
1418
|
-
}[];
|
|
1419
1700
|
attachments: {
|
|
1420
|
-
title: string;
|
|
1421
1701
|
id: string;
|
|
1702
|
+
title: string;
|
|
1422
1703
|
path?: string | undefined;
|
|
1423
1704
|
url?: string | undefined;
|
|
1424
1705
|
note?: string | undefined;
|
|
1425
1706
|
}[];
|
|
1707
|
+
phase: {
|
|
1708
|
+
id: string;
|
|
1709
|
+
name: string;
|
|
1710
|
+
} | null;
|
|
1426
1711
|
edge_cases: {
|
|
1427
|
-
status: "open" | "decided";
|
|
1428
1712
|
id: string;
|
|
1429
1713
|
case: string;
|
|
1430
1714
|
expectedBehavior: string;
|
|
1715
|
+
status: "decided" | "open";
|
|
1716
|
+
storyIds?: string[] | undefined;
|
|
1717
|
+
}[];
|
|
1718
|
+
open_questions: {
|
|
1719
|
+
id: string;
|
|
1720
|
+
question: string;
|
|
1721
|
+
why?: string | undefined;
|
|
1722
|
+
options?: string[] | undefined;
|
|
1723
|
+
recommended?: string | undefined;
|
|
1431
1724
|
storyIds?: string[] | undefined;
|
|
1432
1725
|
}[];
|
|
1433
1726
|
security: {
|
|
1434
1727
|
permissions: string[];
|
|
1435
1728
|
compliance: string[];
|
|
1436
1729
|
considerations: string[];
|
|
1730
|
+
story_notes: string[];
|
|
1437
1731
|
};
|
|
1438
1732
|
not_applicable: Record<string, string>;
|
|
1439
1733
|
design: {
|
|
1440
1734
|
guidance: string[];
|
|
1735
|
+
story_notes: string[];
|
|
1441
1736
|
decisions: {
|
|
1442
1737
|
id: string;
|
|
1443
1738
|
decision: string;
|
|
1444
1739
|
rationale: string;
|
|
1445
1740
|
}[];
|
|
1446
1741
|
};
|
|
1742
|
+
dependencies: {
|
|
1743
|
+
id: string;
|
|
1744
|
+
title: string | null;
|
|
1745
|
+
status: string | null;
|
|
1746
|
+
log: {
|
|
1747
|
+
at: string;
|
|
1748
|
+
whatsNew: string[];
|
|
1749
|
+
technicalNotes: string[];
|
|
1750
|
+
deviations?: string[] | undefined;
|
|
1751
|
+
}[];
|
|
1752
|
+
}[];
|
|
1447
1753
|
previous_story: {
|
|
1448
|
-
title: string;
|
|
1449
1754
|
id: string;
|
|
1755
|
+
title: string;
|
|
1450
1756
|
log: {
|
|
1451
1757
|
at: string;
|
|
1452
1758
|
whatsNew: string[];
|
|
@@ -1458,18 +1764,21 @@ declare const GetStoryOutputSchema: z.ZodObject<{
|
|
|
1458
1764
|
declare const AddStoryLogInputSchema: z.ZodObject<{
|
|
1459
1765
|
filename: z.ZodString;
|
|
1460
1766
|
storyId: z.ZodString;
|
|
1767
|
+
workerId: z.ZodOptional<z.ZodString>;
|
|
1461
1768
|
whatsNew: z.ZodArray<z.ZodString, "many">;
|
|
1462
1769
|
technicalNotes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1463
1770
|
deviations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1464
1771
|
}, "strip", z.ZodTypeAny, {
|
|
1465
1772
|
filename: string;
|
|
1466
1773
|
storyId: string;
|
|
1774
|
+
workerId?: string | undefined;
|
|
1467
1775
|
whatsNew: string[];
|
|
1468
1776
|
technicalNotes: string[];
|
|
1469
1777
|
deviations?: string[] | undefined;
|
|
1470
1778
|
}, {
|
|
1471
1779
|
filename: string;
|
|
1472
1780
|
storyId: string;
|
|
1781
|
+
workerId?: string | undefined;
|
|
1473
1782
|
whatsNew: string[];
|
|
1474
1783
|
technicalNotes?: string[] | undefined;
|
|
1475
1784
|
deviations?: string[] | undefined;
|
|
@@ -1478,17 +1787,36 @@ declare const AddStoryLogOutputSchema: z.ZodObject<{
|
|
|
1478
1787
|
story_id: z.ZodString;
|
|
1479
1788
|
entries: z.ZodNumber;
|
|
1480
1789
|
}, "strip", z.ZodTypeAny, {
|
|
1481
|
-
entries: number;
|
|
1482
1790
|
story_id: string;
|
|
1483
|
-
}, {
|
|
1484
1791
|
entries: number;
|
|
1792
|
+
}, {
|
|
1485
1793
|
story_id: string;
|
|
1794
|
+
entries: number;
|
|
1486
1795
|
}>;
|
|
1487
1796
|
/**
|
|
1488
1797
|
* Accepted `value` for each `update_prd_section` section. Object sections are
|
|
1489
1798
|
* merged (only the keys supplied change); list sections are replaced.
|
|
1490
1799
|
*/
|
|
1491
1800
|
declare const PrdSectionValueSchemas: {
|
|
1801
|
+
readonly roadmap: z.ZodObject<{
|
|
1802
|
+
order: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1803
|
+
criticality: z.ZodNullable<z.ZodOptional<z.ZodEnum<["critical", "high", "medium", "low"]>>>;
|
|
1804
|
+
plan: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1805
|
+
group: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1806
|
+
section: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1807
|
+
}, "strict", z.ZodTypeAny, {
|
|
1808
|
+
order?: number | null | undefined;
|
|
1809
|
+
criticality?: "critical" | "high" | "low" | "medium" | null | undefined;
|
|
1810
|
+
plan?: string | null | undefined;
|
|
1811
|
+
group?: string | null | undefined;
|
|
1812
|
+
section?: string | null | undefined;
|
|
1813
|
+
}, {
|
|
1814
|
+
order?: number | null | undefined;
|
|
1815
|
+
criticality?: "critical" | "high" | "low" | "medium" | null | undefined;
|
|
1816
|
+
plan?: string | null | undefined;
|
|
1817
|
+
group?: string | null | undefined;
|
|
1818
|
+
section?: string | null | undefined;
|
|
1819
|
+
}>;
|
|
1492
1820
|
readonly introduction: z.ZodObject<{
|
|
1493
1821
|
title: z.ZodOptional<z.ZodString>;
|
|
1494
1822
|
overview: z.ZodOptional<z.ZodString>;
|
|
@@ -1504,26 +1832,26 @@ declare const PrdSectionValueSchemas: {
|
|
|
1504
1832
|
marketOpportunity: z.ZodOptional<z.ZodString>;
|
|
1505
1833
|
targetUsers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1506
1834
|
}, "strict", z.ZodTypeAny, {
|
|
1835
|
+
problem?: string | undefined;
|
|
1507
1836
|
marketOpportunity?: string | undefined;
|
|
1508
1837
|
targetUsers?: string[] | undefined;
|
|
1509
|
-
problem?: string | undefined;
|
|
1510
1838
|
}, {
|
|
1839
|
+
problem?: string | undefined;
|
|
1511
1840
|
marketOpportunity?: string | undefined;
|
|
1512
1841
|
targetUsers?: string[] | undefined;
|
|
1513
|
-
problem?: string | undefined;
|
|
1514
1842
|
}>;
|
|
1515
1843
|
readonly solutionOverview: z.ZodObject<{
|
|
1516
1844
|
description: z.ZodOptional<z.ZodString>;
|
|
1517
1845
|
keyFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1518
1846
|
successMetrics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1519
1847
|
}, "strict", z.ZodTypeAny, {
|
|
1848
|
+
description?: string | undefined;
|
|
1520
1849
|
keyFeatures?: string[] | undefined;
|
|
1521
1850
|
successMetrics?: string[] | undefined;
|
|
1522
|
-
description?: string | undefined;
|
|
1523
1851
|
}, {
|
|
1852
|
+
description?: string | undefined;
|
|
1524
1853
|
keyFeatures?: string[] | undefined;
|
|
1525
1854
|
successMetrics?: string[] | undefined;
|
|
1526
|
-
description?: string | undefined;
|
|
1527
1855
|
}>;
|
|
1528
1856
|
readonly nonGoals: z.ZodArray<z.ZodString, "many">;
|
|
1529
1857
|
readonly outOfScope: z.ZodArray<z.ZodString, "many">;
|
|
@@ -1536,19 +1864,19 @@ declare const PrdSectionValueSchemas: {
|
|
|
1536
1864
|
recommended: z.ZodOptional<z.ZodString>;
|
|
1537
1865
|
storyIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1538
1866
|
}, "strip", z.ZodTypeAny, {
|
|
1539
|
-
question: string;
|
|
1540
|
-
options?: string[] | undefined;
|
|
1541
1867
|
id?: string | undefined;
|
|
1542
|
-
|
|
1868
|
+
question: string;
|
|
1543
1869
|
why?: string | undefined;
|
|
1870
|
+
options?: string[] | undefined;
|
|
1544
1871
|
recommended?: string | undefined;
|
|
1872
|
+
storyIds?: string[] | undefined;
|
|
1545
1873
|
}, {
|
|
1546
|
-
question: string;
|
|
1547
|
-
options?: string[] | undefined;
|
|
1548
1874
|
id?: string | undefined;
|
|
1549
|
-
|
|
1875
|
+
question: string;
|
|
1550
1876
|
why?: string | undefined;
|
|
1877
|
+
options?: string[] | undefined;
|
|
1551
1878
|
recommended?: string | undefined;
|
|
1879
|
+
storyIds?: string[] | undefined;
|
|
1552
1880
|
}>]>, "many">;
|
|
1553
1881
|
readonly technicalRequirements: z.ZodObject<{
|
|
1554
1882
|
constraints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1569,14 +1897,14 @@ declare const PrdSectionValueSchemas: {
|
|
|
1569
1897
|
permissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1570
1898
|
integrationBoundaries: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1571
1899
|
}, "strict", z.ZodTypeAny, {
|
|
1572
|
-
permissions?: string[] | undefined;
|
|
1573
1900
|
apis?: string[] | undefined;
|
|
1574
1901
|
dataModels?: string[] | undefined;
|
|
1902
|
+
permissions?: string[] | undefined;
|
|
1575
1903
|
integrationBoundaries?: string[] | undefined;
|
|
1576
1904
|
}, {
|
|
1577
|
-
permissions?: string[] | undefined;
|
|
1578
1905
|
apis?: string[] | undefined;
|
|
1579
1906
|
dataModels?: string[] | undefined;
|
|
1907
|
+
permissions?: string[] | undefined;
|
|
1580
1908
|
integrationBoundaries?: string[] | undefined;
|
|
1581
1909
|
}>;
|
|
1582
1910
|
readonly acceptanceCriteria: z.ZodObject<{
|
|
@@ -1647,17 +1975,17 @@ declare const PrdSectionValueSchemas: {
|
|
|
1647
1975
|
owner: z.ZodString;
|
|
1648
1976
|
severity: z.ZodEnum<["low", "medium", "high"]>;
|
|
1649
1977
|
}, "strip", z.ZodTypeAny, {
|
|
1978
|
+
id?: string | undefined;
|
|
1650
1979
|
description: string;
|
|
1651
1980
|
mitigation: string;
|
|
1652
1981
|
owner: string;
|
|
1653
|
-
severity: "
|
|
1654
|
-
id?: string | undefined;
|
|
1982
|
+
severity: "high" | "low" | "medium";
|
|
1655
1983
|
}, {
|
|
1984
|
+
id?: string | undefined;
|
|
1656
1985
|
description: string;
|
|
1657
1986
|
mitigation: string;
|
|
1658
1987
|
owner: string;
|
|
1659
|
-
severity: "
|
|
1660
|
-
id?: string | undefined;
|
|
1988
|
+
severity: "high" | "low" | "medium";
|
|
1661
1989
|
}>, "many">;
|
|
1662
1990
|
readonly dependencies: z.ZodArray<z.ZodObject<{
|
|
1663
1991
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1666,16 +1994,16 @@ declare const PrdSectionValueSchemas: {
|
|
|
1666
1994
|
blocking: z.ZodBoolean;
|
|
1667
1995
|
owner: z.ZodOptional<z.ZodString>;
|
|
1668
1996
|
}, "strip", z.ZodTypeAny, {
|
|
1997
|
+
id?: string | undefined;
|
|
1669
1998
|
name: string;
|
|
1670
1999
|
description: string;
|
|
1671
2000
|
blocking: boolean;
|
|
1672
|
-
id?: string | undefined;
|
|
1673
2001
|
owner?: string | undefined;
|
|
1674
2002
|
}, {
|
|
2003
|
+
id?: string | undefined;
|
|
1675
2004
|
name: string;
|
|
1676
2005
|
description: string;
|
|
1677
2006
|
blocking: boolean;
|
|
1678
|
-
id?: string | undefined;
|
|
1679
2007
|
owner?: string | undefined;
|
|
1680
2008
|
}>, "many">;
|
|
1681
2009
|
readonly edgeCases: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
@@ -1685,28 +2013,28 @@ declare const PrdSectionValueSchemas: {
|
|
|
1685
2013
|
status: z.ZodDefault<z.ZodEnum<["open", "decided"]>>;
|
|
1686
2014
|
storyIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1687
2015
|
}, "strip", z.ZodTypeAny, {
|
|
1688
|
-
|
|
2016
|
+
id?: string | undefined;
|
|
1689
2017
|
case: string;
|
|
1690
2018
|
expectedBehavior: string;
|
|
1691
|
-
|
|
2019
|
+
status: "decided" | "open";
|
|
1692
2020
|
storyIds?: string[] | undefined;
|
|
1693
2021
|
}, {
|
|
1694
|
-
case: string;
|
|
1695
|
-
status?: "open" | "decided" | undefined;
|
|
1696
2022
|
id?: string | undefined;
|
|
2023
|
+
case: string;
|
|
1697
2024
|
expectedBehavior?: string | undefined;
|
|
2025
|
+
status?: "decided" | "open" | undefined;
|
|
1698
2026
|
storyIds?: string[] | undefined;
|
|
1699
2027
|
}>, {
|
|
1700
|
-
|
|
2028
|
+
id?: string | undefined;
|
|
1701
2029
|
case: string;
|
|
1702
2030
|
expectedBehavior: string;
|
|
1703
|
-
|
|
2031
|
+
status: "decided" | "open";
|
|
1704
2032
|
storyIds?: string[] | undefined;
|
|
1705
2033
|
}, {
|
|
1706
|
-
case: string;
|
|
1707
|
-
status?: "open" | "decided" | undefined;
|
|
1708
2034
|
id?: string | undefined;
|
|
2035
|
+
case: string;
|
|
1709
2036
|
expectedBehavior?: string | undefined;
|
|
2037
|
+
status?: "decided" | "open" | undefined;
|
|
1710
2038
|
storyIds?: string[] | undefined;
|
|
1711
2039
|
}>, "many">;
|
|
1712
2040
|
readonly designGuidance: z.ZodArray<z.ZodString, "many">;
|
|
@@ -1715,19 +2043,19 @@ declare const PrdSectionValueSchemas: {
|
|
|
1715
2043
|
type PrdSection = keyof typeof PrdSectionValueSchemas;
|
|
1716
2044
|
declare const UpdatePrdSectionInputSchema: z.ZodObject<{
|
|
1717
2045
|
filename: z.ZodString;
|
|
1718
|
-
section: z.ZodEnum<["
|
|
2046
|
+
section: z.ZodEnum<["acceptanceCriteria" | "assumptions" | "constraints" | "dependencies" | "designGuidance" | "edgeCases" | "introduction" | "measurementPlan" | "nonGoals" | "openQuestions" | "outOfScope" | "problemStatement" | "risks" | "roadmap" | "rolloutPlan" | "securityConsiderations" | "solutionOverview" | "technicalContracts" | "technicalRequirements", ...("acceptanceCriteria" | "assumptions" | "constraints" | "dependencies" | "designGuidance" | "edgeCases" | "introduction" | "measurementPlan" | "nonGoals" | "openQuestions" | "outOfScope" | "problemStatement" | "risks" | "roadmap" | "rolloutPlan" | "securityConsiderations" | "solutionOverview" | "technicalContracts" | "technicalRequirements")[]]>;
|
|
1719
2047
|
expectedRevision: z.ZodOptional<z.ZodNumber>;
|
|
1720
2048
|
value: z.ZodUnknown;
|
|
1721
2049
|
}, "strip", z.ZodTypeAny, {
|
|
1722
2050
|
filename: string;
|
|
1723
|
-
section: "
|
|
1724
|
-
value?: unknown;
|
|
2051
|
+
section: "acceptanceCriteria" | "assumptions" | "constraints" | "dependencies" | "designGuidance" | "edgeCases" | "introduction" | "measurementPlan" | "nonGoals" | "openQuestions" | "outOfScope" | "problemStatement" | "risks" | "roadmap" | "rolloutPlan" | "securityConsiderations" | "solutionOverview" | "technicalContracts" | "technicalRequirements";
|
|
1725
2052
|
expectedRevision?: number | undefined;
|
|
2053
|
+
value?: unknown;
|
|
1726
2054
|
}, {
|
|
1727
2055
|
filename: string;
|
|
1728
|
-
section: "
|
|
1729
|
-
value?: unknown;
|
|
2056
|
+
section: "acceptanceCriteria" | "assumptions" | "constraints" | "dependencies" | "designGuidance" | "edgeCases" | "introduction" | "measurementPlan" | "nonGoals" | "openQuestions" | "outOfScope" | "problemStatement" | "risks" | "roadmap" | "rolloutPlan" | "securityConsiderations" | "solutionOverview" | "technicalContracts" | "technicalRequirements";
|
|
1730
2057
|
expectedRevision?: number | undefined;
|
|
2058
|
+
value?: unknown;
|
|
1731
2059
|
}>;
|
|
1732
2060
|
declare const UpdatePrdSectionOutputSchema: z.ZodObject<{
|
|
1733
2061
|
section: z.ZodString;
|
|
@@ -1748,28 +2076,28 @@ declare const MarkNotApplicableInputSchema: z.ZodObject<{
|
|
|
1748
2076
|
expectedRevision: z.ZodOptional<z.ZodNumber>;
|
|
1749
2077
|
}, "strip", z.ZodTypeAny, {
|
|
1750
2078
|
filename: string;
|
|
1751
|
-
topic: "
|
|
2079
|
+
topic: "dataModel" | "design" | "edgeCases" | "glossary" | "measurement" | "outsideServices" | "qualityBar" | "risks" | "rollout" | "security";
|
|
1752
2080
|
notApplicable: boolean;
|
|
1753
|
-
expectedRevision?: number | undefined;
|
|
1754
2081
|
reason?: string | undefined;
|
|
2082
|
+
expectedRevision?: number | undefined;
|
|
1755
2083
|
}, {
|
|
1756
2084
|
filename: string;
|
|
1757
|
-
topic: "
|
|
1758
|
-
expectedRevision?: number | undefined;
|
|
2085
|
+
topic: "dataModel" | "design" | "edgeCases" | "glossary" | "measurement" | "outsideServices" | "qualityBar" | "risks" | "rollout" | "security";
|
|
1759
2086
|
notApplicable?: boolean | undefined;
|
|
1760
2087
|
reason?: string | undefined;
|
|
2088
|
+
expectedRevision?: number | undefined;
|
|
1761
2089
|
}>;
|
|
1762
2090
|
declare const MarkNotApplicableOutputSchema: z.ZodObject<{
|
|
1763
2091
|
topic: z.ZodEnum<["dataModel", "outsideServices", "security", "design", "qualityBar", "edgeCases", "rollout", "measurement", "glossary", "risks"]>;
|
|
1764
2092
|
not_applicable: z.ZodBoolean;
|
|
1765
2093
|
reason: z.ZodNullable<z.ZodString>;
|
|
1766
2094
|
}, "strip", z.ZodTypeAny, {
|
|
2095
|
+
topic: "dataModel" | "design" | "edgeCases" | "glossary" | "measurement" | "outsideServices" | "qualityBar" | "risks" | "rollout" | "security";
|
|
1767
2096
|
not_applicable: boolean;
|
|
1768
|
-
topic: "security" | "design" | "risks" | "edgeCases" | "dataModel" | "outsideServices" | "qualityBar" | "rollout" | "measurement" | "glossary";
|
|
1769
2097
|
reason: string | null;
|
|
1770
2098
|
}, {
|
|
2099
|
+
topic: "dataModel" | "design" | "edgeCases" | "glossary" | "measurement" | "outsideServices" | "qualityBar" | "risks" | "rollout" | "security";
|
|
1771
2100
|
not_applicable: boolean;
|
|
1772
|
-
topic: "security" | "design" | "risks" | "edgeCases" | "dataModel" | "outsideServices" | "qualityBar" | "rollout" | "measurement" | "glossary";
|
|
1773
2101
|
reason: string | null;
|
|
1774
2102
|
}>;
|
|
1775
2103
|
declare const AddDecisionInputSchema: z.ZodObject<{
|
|
@@ -1782,19 +2110,19 @@ declare const AddDecisionInputSchema: z.ZodObject<{
|
|
|
1782
2110
|
supersedes: z.ZodOptional<z.ZodString>;
|
|
1783
2111
|
}, "strip", z.ZodTypeAny, {
|
|
1784
2112
|
filename: string;
|
|
1785
|
-
status: "proposed" | "accepted";
|
|
1786
2113
|
decision: string;
|
|
1787
2114
|
rationale: string;
|
|
1788
2115
|
owner?: string | undefined;
|
|
1789
2116
|
topic?: string | undefined;
|
|
2117
|
+
status: "accepted" | "proposed";
|
|
1790
2118
|
supersedes?: string | undefined;
|
|
1791
2119
|
}, {
|
|
1792
2120
|
filename: string;
|
|
1793
2121
|
decision: string;
|
|
1794
2122
|
rationale: string;
|
|
1795
|
-
status?: "proposed" | "accepted" | undefined;
|
|
1796
2123
|
owner?: string | undefined;
|
|
1797
2124
|
topic?: string | undefined;
|
|
2125
|
+
status?: "accepted" | "proposed" | undefined;
|
|
1798
2126
|
supersedes?: string | undefined;
|
|
1799
2127
|
}>;
|
|
1800
2128
|
declare const AddDecisionOutputSchema: z.ZodObject<{
|
|
@@ -1822,18 +2150,18 @@ declare const AddAttachmentInputSchema: z.ZodObject<{
|
|
|
1822
2150
|
filename: string;
|
|
1823
2151
|
title: string;
|
|
1824
2152
|
path?: string | undefined;
|
|
1825
|
-
expectedRevision?: number | undefined;
|
|
1826
2153
|
url?: string | undefined;
|
|
1827
2154
|
note?: string | undefined;
|
|
1828
2155
|
storyIds?: string[] | undefined;
|
|
2156
|
+
expectedRevision?: number | undefined;
|
|
1829
2157
|
}, {
|
|
1830
2158
|
filename: string;
|
|
1831
2159
|
title: string;
|
|
1832
2160
|
path?: string | undefined;
|
|
1833
|
-
expectedRevision?: number | undefined;
|
|
1834
2161
|
url?: string | undefined;
|
|
1835
2162
|
note?: string | undefined;
|
|
1836
2163
|
storyIds?: string[] | undefined;
|
|
2164
|
+
expectedRevision?: number | undefined;
|
|
1837
2165
|
}>;
|
|
1838
2166
|
declare const AddAttachmentOutputSchema: z.ZodObject<{
|
|
1839
2167
|
attachment_id: z.ZodString;
|
|
@@ -1842,13 +2170,13 @@ declare const AddAttachmentOutputSchema: z.ZodObject<{
|
|
|
1842
2170
|
stories_updated: z.ZodArray<z.ZodString, "many">;
|
|
1843
2171
|
total_attachments: z.ZodNumber;
|
|
1844
2172
|
}, "strip", z.ZodTypeAny, {
|
|
1845
|
-
path: string | null;
|
|
1846
2173
|
attachment_id: string;
|
|
2174
|
+
path: string | null;
|
|
1847
2175
|
stories_updated: string[];
|
|
1848
2176
|
total_attachments: number;
|
|
1849
2177
|
}, {
|
|
1850
|
-
path: string | null;
|
|
1851
2178
|
attachment_id: string;
|
|
2179
|
+
path: string | null;
|
|
1852
2180
|
stories_updated: string[];
|
|
1853
2181
|
total_attachments: number;
|
|
1854
2182
|
}>;
|
|
@@ -1876,16 +2204,16 @@ declare const UpdateAttachmentInputSchema: z.ZodObject<{
|
|
|
1876
2204
|
filename: string;
|
|
1877
2205
|
attachmentId: string;
|
|
1878
2206
|
title?: string | undefined;
|
|
1879
|
-
expectedRevision?: number | undefined;
|
|
1880
2207
|
note?: string | undefined;
|
|
1881
2208
|
storyIds?: string[] | undefined;
|
|
2209
|
+
expectedRevision?: number | undefined;
|
|
1882
2210
|
}, {
|
|
1883
2211
|
filename: string;
|
|
1884
2212
|
attachmentId: string;
|
|
1885
2213
|
title?: string | undefined;
|
|
1886
|
-
expectedRevision?: number | undefined;
|
|
1887
2214
|
note?: string | undefined;
|
|
1888
2215
|
storyIds?: string[] | undefined;
|
|
2216
|
+
expectedRevision?: number | undefined;
|
|
1889
2217
|
}>;
|
|
1890
2218
|
declare const UpdateAttachmentOutputSchema: z.ZodObject<{
|
|
1891
2219
|
attachment_id: z.ZodString;
|
|
@@ -1919,32 +2247,32 @@ declare const ResolveOpenQuestionInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1919
2247
|
expectedRevision: z.ZodOptional<z.ZodNumber>;
|
|
1920
2248
|
}, "strip", z.ZodTypeAny, {
|
|
1921
2249
|
filename: string;
|
|
2250
|
+
questionId?: string | undefined;
|
|
2251
|
+
question?: string | undefined;
|
|
1922
2252
|
answer: string;
|
|
1923
2253
|
recordDecision: boolean;
|
|
1924
2254
|
expectedRevision?: number | undefined;
|
|
1925
|
-
question?: string | undefined;
|
|
1926
|
-
questionId?: string | undefined;
|
|
1927
2255
|
}, {
|
|
1928
2256
|
filename: string;
|
|
1929
|
-
answer: string;
|
|
1930
|
-
expectedRevision?: number | undefined;
|
|
1931
|
-
question?: string | undefined;
|
|
1932
2257
|
questionId?: string | undefined;
|
|
2258
|
+
question?: string | undefined;
|
|
2259
|
+
answer: string;
|
|
1933
2260
|
recordDecision?: boolean | undefined;
|
|
2261
|
+
expectedRevision?: number | undefined;
|
|
1934
2262
|
}>, {
|
|
1935
2263
|
filename: string;
|
|
2264
|
+
questionId?: string | undefined;
|
|
2265
|
+
question?: string | undefined;
|
|
1936
2266
|
answer: string;
|
|
1937
2267
|
recordDecision: boolean;
|
|
1938
2268
|
expectedRevision?: number | undefined;
|
|
1939
|
-
question?: string | undefined;
|
|
1940
|
-
questionId?: string | undefined;
|
|
1941
2269
|
}, {
|
|
1942
2270
|
filename: string;
|
|
1943
|
-
answer: string;
|
|
1944
|
-
expectedRevision?: number | undefined;
|
|
1945
|
-
question?: string | undefined;
|
|
1946
2271
|
questionId?: string | undefined;
|
|
2272
|
+
question?: string | undefined;
|
|
2273
|
+
answer: string;
|
|
1947
2274
|
recordDecision?: boolean | undefined;
|
|
2275
|
+
expectedRevision?: number | undefined;
|
|
1948
2276
|
}>;
|
|
1949
2277
|
declare const DecideEdgeCaseInputSchema: z.ZodObject<{
|
|
1950
2278
|
filename: z.ZodString;
|
|
@@ -1953,13 +2281,13 @@ declare const DecideEdgeCaseInputSchema: z.ZodObject<{
|
|
|
1953
2281
|
expectedRevision: z.ZodOptional<z.ZodNumber>;
|
|
1954
2282
|
}, "strip", z.ZodTypeAny, {
|
|
1955
2283
|
filename: string;
|
|
1956
|
-
expectedBehavior: string;
|
|
1957
2284
|
edgeCaseId: string;
|
|
2285
|
+
expectedBehavior: string;
|
|
1958
2286
|
expectedRevision?: number | undefined;
|
|
1959
2287
|
}, {
|
|
1960
2288
|
filename: string;
|
|
1961
|
-
expectedBehavior: string;
|
|
1962
2289
|
edgeCaseId: string;
|
|
2290
|
+
expectedBehavior: string;
|
|
1963
2291
|
expectedRevision?: number | undefined;
|
|
1964
2292
|
}>;
|
|
1965
2293
|
declare const DecideEdgeCaseOutputSchema: z.ZodObject<{
|
|
@@ -1976,11 +2304,11 @@ declare const ResolveOpenQuestionOutputSchema: z.ZodObject<{
|
|
|
1976
2304
|
remaining_questions: z.ZodNumber;
|
|
1977
2305
|
decision_id: z.ZodNullable<z.ZodString>;
|
|
1978
2306
|
}, "strip", z.ZodTypeAny, {
|
|
1979
|
-
decision_id: string | null;
|
|
1980
2307
|
remaining_questions: number;
|
|
1981
|
-
}, {
|
|
1982
2308
|
decision_id: string | null;
|
|
2309
|
+
}, {
|
|
1983
2310
|
remaining_questions: number;
|
|
2311
|
+
decision_id: string | null;
|
|
1984
2312
|
}>;
|
|
1985
2313
|
declare const AddGlossaryTermInputSchema: z.ZodObject<{
|
|
1986
2314
|
filename: z.ZodString;
|
|
@@ -2057,27 +2385,27 @@ declare const PhasesOutputSchema: z.ZodObject<{
|
|
|
2057
2385
|
order: z.ZodNumber;
|
|
2058
2386
|
user_story_ids: z.ZodArray<z.ZodString, "many">;
|
|
2059
2387
|
}, "strip", z.ZodTypeAny, {
|
|
2060
|
-
name: string;
|
|
2061
2388
|
id: string;
|
|
2389
|
+
name: string;
|
|
2062
2390
|
order: number;
|
|
2063
2391
|
user_story_ids: string[];
|
|
2064
2392
|
}, {
|
|
2065
|
-
name: string;
|
|
2066
2393
|
id: string;
|
|
2394
|
+
name: string;
|
|
2067
2395
|
order: number;
|
|
2068
2396
|
user_story_ids: string[];
|
|
2069
2397
|
}>, "many">;
|
|
2070
2398
|
}, "strip", z.ZodTypeAny, {
|
|
2071
2399
|
phases: {
|
|
2072
|
-
name: string;
|
|
2073
2400
|
id: string;
|
|
2401
|
+
name: string;
|
|
2074
2402
|
order: number;
|
|
2075
2403
|
user_story_ids: string[];
|
|
2076
2404
|
}[];
|
|
2077
2405
|
}, {
|
|
2078
2406
|
phases: {
|
|
2079
|
-
name: string;
|
|
2080
2407
|
id: string;
|
|
2408
|
+
name: string;
|
|
2081
2409
|
order: number;
|
|
2082
2410
|
user_story_ids: string[];
|
|
2083
2411
|
}[];
|
|
@@ -2099,34 +2427,34 @@ declare const CheckPlanOutputSchema: z.ZodObject<{
|
|
|
2099
2427
|
severity: z.ZodEnum<["required", "recommended"]>;
|
|
2100
2428
|
storyIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2101
2429
|
}, "strip", z.ZodTypeAny, {
|
|
2102
|
-
message: string;
|
|
2103
2430
|
id: string;
|
|
2104
|
-
severity: "recommended" | "required";
|
|
2105
2431
|
section: string;
|
|
2432
|
+
message: string;
|
|
2433
|
+
severity: "recommended" | "required";
|
|
2106
2434
|
storyIds?: string[] | undefined;
|
|
2107
2435
|
}, {
|
|
2108
|
-
message: string;
|
|
2109
2436
|
id: string;
|
|
2110
|
-
severity: "recommended" | "required";
|
|
2111
2437
|
section: string;
|
|
2438
|
+
message: string;
|
|
2439
|
+
severity: "recommended" | "required";
|
|
2112
2440
|
storyIds?: string[] | undefined;
|
|
2113
2441
|
}>, "many">;
|
|
2114
2442
|
}, "strip", z.ZodTypeAny, {
|
|
2115
2443
|
ready_to_build: boolean;
|
|
2116
2444
|
items: {
|
|
2117
|
-
message: string;
|
|
2118
2445
|
id: string;
|
|
2119
|
-
severity: "recommended" | "required";
|
|
2120
2446
|
section: string;
|
|
2447
|
+
message: string;
|
|
2448
|
+
severity: "recommended" | "required";
|
|
2121
2449
|
storyIds?: string[] | undefined;
|
|
2122
2450
|
}[];
|
|
2123
2451
|
}, {
|
|
2124
2452
|
ready_to_build: boolean;
|
|
2125
2453
|
items: {
|
|
2126
|
-
message: string;
|
|
2127
2454
|
id: string;
|
|
2128
|
-
severity: "recommended" | "required";
|
|
2129
2455
|
section: string;
|
|
2456
|
+
message: string;
|
|
2457
|
+
severity: "recommended" | "required";
|
|
2130
2458
|
storyIds?: string[] | undefined;
|
|
2131
2459
|
}[];
|
|
2132
2460
|
}>;
|
|
@@ -2140,31 +2468,31 @@ declare const ListTemplatesOutputSchema: z.ZodObject<{
|
|
|
2140
2468
|
when_to_use: z.ZodString;
|
|
2141
2469
|
interview_focus: z.ZodArray<z.ZodString, "many">;
|
|
2142
2470
|
}, "strip", z.ZodTypeAny, {
|
|
2471
|
+
id: string;
|
|
2143
2472
|
name: string;
|
|
2144
2473
|
description: string;
|
|
2145
|
-
id: string;
|
|
2146
2474
|
when_to_use: string;
|
|
2147
2475
|
interview_focus: string[];
|
|
2148
2476
|
}, {
|
|
2477
|
+
id: string;
|
|
2149
2478
|
name: string;
|
|
2150
2479
|
description: string;
|
|
2151
|
-
id: string;
|
|
2152
2480
|
when_to_use: string;
|
|
2153
2481
|
interview_focus: string[];
|
|
2154
2482
|
}>, "many">;
|
|
2155
2483
|
}, "strip", z.ZodTypeAny, {
|
|
2156
2484
|
templates: {
|
|
2485
|
+
id: string;
|
|
2157
2486
|
name: string;
|
|
2158
2487
|
description: string;
|
|
2159
|
-
id: string;
|
|
2160
2488
|
when_to_use: string;
|
|
2161
2489
|
interview_focus: string[];
|
|
2162
2490
|
}[];
|
|
2163
2491
|
}, {
|
|
2164
2492
|
templates: {
|
|
2493
|
+
id: string;
|
|
2165
2494
|
name: string;
|
|
2166
2495
|
description: string;
|
|
2167
|
-
id: string;
|
|
2168
2496
|
when_to_use: string;
|
|
2169
2497
|
interview_focus: string[];
|
|
2170
2498
|
}[];
|
|
@@ -2223,110 +2551,4 @@ type UpdatePhaseInput = z.infer<typeof UpdatePhaseInputSchema>;
|
|
|
2223
2551
|
type DeletePhaseInput = z.infer<typeof DeletePhaseInputSchema>;
|
|
2224
2552
|
type ReorderPhasesInput = z.infer<typeof ReorderPhasesInputSchema>;
|
|
2225
2553
|
type PhasesOutput = z.infer<typeof PhasesOutputSchema>;
|
|
2226
|
-
|
|
2227
|
-
//#region src/prd.service.d.ts
|
|
2228
|
-
interface PrdVerificationDiagnostic {
|
|
2229
|
-
file: string;
|
|
2230
|
-
line: number | null;
|
|
2231
|
-
message: string;
|
|
2232
|
-
severity: string;
|
|
2233
|
-
}
|
|
2234
|
-
interface PrdVerificationResult {
|
|
2235
|
-
passed: boolean;
|
|
2236
|
-
/** Scripts that ran, e.g. ['typecheck', 'lint']. */
|
|
2237
|
-
checks: string[];
|
|
2238
|
-
errors: number;
|
|
2239
|
-
warnings: number;
|
|
2240
|
-
diagnostics: PrdVerificationDiagnostic[];
|
|
2241
|
-
/** Human-readable reasons for checks that failed without diagnostics. */
|
|
2242
|
-
messages: string[];
|
|
2243
|
-
}
|
|
2244
|
-
interface PrdDeps {
|
|
2245
|
-
rootPath: string;
|
|
2246
|
-
readdir(path: string): Promise<string[]>;
|
|
2247
|
-
readFile(path: string): Promise<string>;
|
|
2248
|
-
writeFile(path: string, content: string): Promise<void>;
|
|
2249
|
-
/** Must not throw when the directory already exists. */
|
|
2250
|
-
mkdir(path: string): Promise<void>;
|
|
2251
|
-
unlink(path: string): Promise<void>;
|
|
2252
|
-
fileExists(path: string): Promise<boolean>;
|
|
2253
|
-
now(): Date;
|
|
2254
|
-
/**
|
|
2255
|
-
* Runs the project's checks before a story may be marked completed. When
|
|
2256
|
-
* the result is not passing the status change is rejected, so "completed"
|
|
2257
|
-
* always means "the code verifies", not "the agent believes it is done".
|
|
2258
|
-
*/
|
|
2259
|
-
verifyCompletion(): Promise<PrdVerificationResult>;
|
|
2260
|
-
}
|
|
2261
|
-
/**
|
|
2262
|
-
* A write was based on an older revision of the PRD than the one on disk:
|
|
2263
|
-
* someone else (an agent, Loop, another editor) changed it in between. Read
|
|
2264
|
-
* the PRD again and retry; never overwrite.
|
|
2265
|
-
*/
|
|
2266
|
-
declare class PrdRevisionConflictError extends Error {
|
|
2267
|
-
readonly filename: string;
|
|
2268
|
-
readonly expectedRevision: number;
|
|
2269
|
-
readonly currentRevision: number;
|
|
2270
|
-
readonly code = "PRD_REVISION_CONFLICT";
|
|
2271
|
-
constructor(filename: string, expectedRevision: number, currentRevision: number);
|
|
2272
|
-
}
|
|
2273
|
-
declare function createPrdService(deps: PrdDeps): PrdService;
|
|
2274
|
-
declare class PrdService {
|
|
2275
|
-
private readonly deps;
|
|
2276
|
-
constructor(deps: PrdDeps);
|
|
2277
|
-
get prdsDir(): string;
|
|
2278
|
-
list(): Promise<ListPrdsOutput>;
|
|
2279
|
-
get(input: GetPrdInput): Promise<GetPrdOutput>;
|
|
2280
|
-
create(input: CreatePrdInput): Promise<CreatePrdOutput>;
|
|
2281
|
-
delete(input: DeletePrdInput): Promise<DeletePrdOutput>;
|
|
2282
|
-
addUserStory(input: AddUserStoryInput): Promise<AddUserStoryOutput>;
|
|
2283
|
-
updateUserStory(input: UpdateUserStoryInput): Promise<UpdateUserStoryOutput>;
|
|
2284
|
-
deleteUserStory(input: DeleteUserStoryInput): Promise<DeleteUserStoryOutput>;
|
|
2285
|
-
createCustomPhase(input: CreateCustomPhaseInput): Promise<CreateCustomPhaseOutput>;
|
|
2286
|
-
assignStoryToPhase(input: AssignStoryToPhaseInput): Promise<AssignStoryToPhaseOutput>;
|
|
2287
|
-
updateStoryStatus(input: UpdateStoryStatusInput): Promise<UpdateStoryStatusOutput>;
|
|
2288
|
-
exportMarkdown(input: ExportPrdMarkdownInput): Promise<ExportPrdMarkdownOutput>;
|
|
2289
|
-
getImplementationPrompts(filename: string): Promise<GetImplementationPromptsOutput>;
|
|
2290
|
-
getImprovementSuggestions(filename: string): Promise<GetImprovementSuggestionsOutput>;
|
|
2291
|
-
listTemplates(): ListTemplatesOutput;
|
|
2292
|
-
checkPlan(filename: string): Promise<CheckPlanOutput>;
|
|
2293
|
-
getProjectStatus(filename: string): Promise<GetProjectStatusOutput>;
|
|
2294
|
-
updatePrdSection(input: UpdatePrdSectionInput): Promise<UpdatePrdSectionOutput>;
|
|
2295
|
-
/** Mark a part of the PRD (not) applicable, e.g. no rollout for an internal tool. */
|
|
2296
|
-
markNotApplicable(input: MarkNotApplicableInput): Promise<MarkNotApplicableOutput>;
|
|
2297
|
-
addDecision(input: AddDecisionInput): Promise<AddDecisionOutput>;
|
|
2298
|
-
resolveOpenQuestion(input: ResolveOpenQuestionInput): Promise<ResolveOpenQuestionOutput>;
|
|
2299
|
-
decideEdgeCase(input: DecideEdgeCaseInput): Promise<DecideEdgeCaseOutput>;
|
|
2300
|
-
addGlossaryTerm(input: AddGlossaryTermInput): Promise<AddGlossaryTermOutput>;
|
|
2301
|
-
updatePhase(input: UpdatePhaseInput): Promise<PhasesOutput>;
|
|
2302
|
-
deletePhase(input: DeletePhaseInput): Promise<PhasesOutput>;
|
|
2303
|
-
reorderPhases(input: ReorderPhasesInput): Promise<PhasesOutput>;
|
|
2304
|
-
getNextStory(filename: string): Promise<GetNextStoryOutput>;
|
|
2305
|
-
getStory(input: GetStoryInput): Promise<GetStoryOutput>;
|
|
2306
|
-
addStoryLog(input: AddStoryLogInput): Promise<AddStoryLogOutput>;
|
|
2307
|
-
/** Files must already be in the PRD's folder, `.prds/<prd name>/`. */
|
|
2308
|
-
addAttachment(input: AddAttachmentInput): Promise<AddAttachmentOutput>;
|
|
2309
|
-
/** Changes an attachment's title, note or the stories that use it. */
|
|
2310
|
-
updateAttachment(input: UpdateAttachmentInput): Promise<UpdateAttachmentOutput>;
|
|
2311
|
-
/** Removes the attachment from the PRD and its stories; the file stays. */
|
|
2312
|
-
removeAttachment(input: RemoveAttachmentInput): Promise<RemoveAttachmentOutput>;
|
|
2313
|
-
/** Load → transform → save for operations that only touch the PRD. */
|
|
2314
|
-
/**
|
|
2315
|
-
* Load, change and save a PRD. With `expectedRevision` (the revision the
|
|
2316
|
-
* caller's change is based on, e.g. what a person saw before editing), the
|
|
2317
|
-
* change is rejected when the PRD has moved on since.
|
|
2318
|
-
*/
|
|
2319
|
-
private mutate;
|
|
2320
|
-
/**
|
|
2321
|
-
* Load and normalise a PRD. The file name is validated here, at the
|
|
2322
|
-
* filesystem boundary, so every caller (including the dev tool) is covered.
|
|
2323
|
-
*/
|
|
2324
|
-
load(filename: string): Promise<StructuredPRD>;
|
|
2325
|
-
private save;
|
|
2326
|
-
private listFilenames;
|
|
2327
|
-
private safeName;
|
|
2328
|
-
private today;
|
|
2329
|
-
}
|
|
2330
|
-
declare function normalizePrd(input: unknown, today: string): StructuredPRD;
|
|
2331
|
-
//#endregion
|
|
2332
|
-
export { DeletePrdOutputSchema as $, ResolveOpenQuestionOutput as $t, AssignStoryToPhaseOutput as A, DecisionLogEntry as An, ListPrdsOutputSchema as At, CreatePrdInputSchema as B, StoryTraceabilityMap as Bn, PhasesOutputSchema as Bt, AddStoryLogOutputSchema as C, UpdateUserStoryInputSchema as Cn, GetProjectStatusOutputSchema as Ct, AddUserStoryOutputSchema as D, Attachment as Dn, GetStoryOutputSchema as Dt, AddUserStoryOutput as E, AgentTaskPacket as En, GetStoryOutput as Et, CreateCustomPhaseInput as F, RiskItem as Fn, MarkNotApplicableInputSchema as Ft, DecideEdgeCaseInputSchema as G, RemoveAttachmentInput as Gt, CreatePrdOutputSchema as H, StructuredPRD as Hn, PrdSectionValueSchemas as Ht, CreateCustomPhaseInputSchema as I, StoryComplexity as In, MarkNotApplicableOutput as It, DeletePhaseInput as J, RemoveAttachmentOutputSchema as Jt, DecideEdgeCaseOutput as K, RemoveAttachmentInputSchema as Kt, CreateCustomPhaseOutput as L, StoryLogEntry as Ln, MarkNotApplicableOutputSchema as Lt, CheckPlanInputSchema as M, GlossaryTerm as Mn, ListTemplatesOutput as Mt, CheckPlanOutput as N, NotApplicableTopic as Nn, ListTemplatesOutputSchema as Nt, AssignStoryToPhaseInput as O, CrossDependency as On, ListPrdsInputSchema as Ot, CheckPlanOutputSchema as P, OpenQuestion as Pn, MarkNotApplicableInput as Pt, DeletePrdOutput as Q, ResolveOpenQuestionInputSchema as Qt, CreateCustomPhaseOutputSchema as R, StoryPriority as Rn, NotApplicableTopicSchema as Rt, AddStoryLogOutput as S, UpdateUserStoryInput as Sn, GetProjectStatusOutput as St, AddUserStoryInputSchema as T, UpdateUserStoryOutputSchema as Tn, GetStoryInputSchema as Tt, CustomPhaseSchema as U, UserStory as Un, PrdSummary as Ut, CreatePrdOutput as V, StoryVerification as Vn, PrdSection as Vt, DecideEdgeCaseInput as W, PrdSummarySchema as Wt, DeletePrdInput as X, ReorderPhasesInputSchema as Xt, DeletePhaseInputSchema as Y, ReorderPhasesInput as Yt, DeletePrdInputSchema as Z, ResolveOpenQuestionInput as Zt, AddGlossaryTermInputSchema as _, UpdatePrdSectionOutputSchema as _n, GetPrdInput as _t, PrdVerificationResult as a, StoryPrioritySchema as an, ExportPrdMarkdownInputSchema as at, AddStoryLogInput as b, UpdateStoryStatusOutput as bn, GetPrdOutputSchema as bt, AddAttachmentInput as c, UpdateAttachmentInput as cn, GetImplementationPromptsInputSchema as ct, AddAttachmentOutputSchema as d, UpdateAttachmentOutputSchema as dn, GetImprovementSuggestionsInputSchema as dt, ResolveOpenQuestionOutputSchema as en, DeleteUserStoryInput as et, AddDecisionInput as f, UpdatePhaseInput as fn, GetImprovementSuggestionsOutput as ft, AddGlossaryTermInput as g, UpdatePrdSectionOutput as gn, GetNextStoryOutputSchema as gt, AddDecisionOutputSchema as h, UpdatePrdSectionInputSchema as hn, GetNextStoryOutput as ht, PrdVerificationDiagnostic as i, StoryLogEntrySchema as in, ExportPrdMarkdownInput as it, AssignStoryToPhaseOutputSchema as j, EdgeCase as jn, ListTemplatesInputSchema as jt, AssignStoryToPhaseInputSchema as k, CustomPhase as kn, ListPrdsOutput as kt, AddAttachmentInputSchema as l, UpdateAttachmentInputSchema as ln, GetImplementationPromptsOutput as lt, AddDecisionOutput as m, UpdatePrdSectionInput as mn, GetNextStoryInputSchema as mt, PrdRevisionConflictError as n, StoryAttachmentSchema as nn, DeleteUserStoryOutput as nt, createPrdService as o, StoryStatusSchema as on, ExportPrdMarkdownOutput as ot, AddDecisionInputSchema as p, UpdatePhaseInputSchema as pn, GetImprovementSuggestionsOutputSchema as pt, DecideEdgeCaseOutputSchema as q, RemoveAttachmentOutput as qt, PrdService as r, StoryComplexitySchema as rn, DeleteUserStoryOutputSchema as rt, normalizePrd as s, StoryVerificationSchema as sn, ExportPrdMarkdownOutputSchema as st, PrdDeps as t, StoryAttachment as tn, DeleteUserStoryInputSchema as tt, AddAttachmentOutput as u, UpdateAttachmentOutput as un, GetImplementationPromptsOutputSchema as ut, AddGlossaryTermOutput as v, UpdateStoryStatusInput as vn, GetPrdInputSchema as vt, AddUserStoryInput as w, UpdateUserStoryOutput as wn, GetStoryInput as wt, AddStoryLogInputSchema as x, UpdateStoryStatusOutputSchema as xn, GetProjectStatusInputSchema as xt, AddGlossaryTermOutputSchema as y, UpdateStoryStatusInputSchema as yn, GetPrdOutput as yt, CreatePrdInput as z, StoryStatus as zn, PhasesOutput as zt };
|
|
2554
|
+
export { ExportPrdMarkdownInputSchema as $, StoryAttachment as $t, CreateCustomPhaseOutput as A, EdgeCase as An, MarkNotApplicableOutput as At, DecideEdgeCaseOutput as B, StoryStatus as Bn, PrdSummary as Bt, AssignStoryToPhaseOutput as C, UpdateUserStoryOutputSchema as Cn, ListPrdsOutput as Ct, CheckPlanOutputSchema as D, CrossDependency as Dn, ListTemplatesOutputSchema as Dt, CheckPlanOutput as E, CriterionProof as En, ListTemplatesOutput as Et, CreatePrdOutputSchema as F, ProofKind as Fn, PrdCriticalitySchema as Ft, DeletePrdInputSchema as G, RemoveAttachmentOutput as Gt, DeletePhaseInput as H, StoryVerification as Hn, ProofKindSchema as Ht, CriterionProofSchema as I, RiskItem as In, PrdRoadmapSchema as It, DeleteUserStoryInput as J, ReorderPhasesInputSchema as Jt, DeletePrdOutput as K, RemoveAttachmentOutputSchema as Kt, CustomPhaseSchema as L, StoryComplexity as Ln, PrdRoadmapUpdateSchema as Lt, CreatePrdInput as M, NotApplicableTopic as Mn, NotApplicableTopicSchema as Mt, CreatePrdInputSchema as N, OpenQuestion as Nn, PhasesOutput as Nt, CreateCustomPhaseInput as O, CustomPhase as On, MarkNotApplicableInput as Ot, CreatePrdOutput as P, PrdRoadmap as Pn, PhasesOutputSchema as Pt, ExportPrdMarkdownInput as Q, ResolveOpenQuestionOutputSchema as Qt, DecideEdgeCaseInput as R, StoryLogEntry as Rn, PrdSection as Rt, AssignStoryToPhaseInputSchema as S, UpdateUserStoryOutput as Sn, ListPrdsInputSchema as St, CheckPlanInputSchema as T, Attachment as Tn, ListTemplatesInputSchema as Tt, DeletePhaseInputSchema as U, StructuredPRD as Un, RemoveAttachmentInput as Ut, DecideEdgeCaseOutputSchema as V, StoryTraceabilityMap as Vn, PrdSummarySchema as Vt, DeletePrdInput as W, UserStory as Wn, RemoveAttachmentInputSchema as Wt, DeleteUserStoryOutput as X, ResolveOpenQuestionInputSchema as Xt, DeleteUserStoryInputSchema as Y, ResolveOpenQuestionInput as Yt, DeleteUserStoryOutputSchema as Z, ResolveOpenQuestionOutput as Zt, AddUserStoryInput as _, UpdateStoryStatusInputSchema as _n, GetProjectStatusOutputSchema as _t, AddDecisionInput as a, StoryVerificationSchema as an, GetImprovementSuggestionsInputSchema as at, AddUserStoryOutputSchema as b, UpdateUserStoryInput as bn, GetStoryOutput as bt, AddDecisionOutputSchema as c, UpdateAttachmentOutput as cn, GetNextStoryInputSchema as ct, AddGlossaryTermOutput as d, UpdatePhaseInputSchema as dn, GetPrdInput as dt, StoryAttachmentSchema as en, ExportPrdMarkdownOutput as et, AddGlossaryTermOutputSchema as f, UpdatePrdSectionInput as fn, GetPrdInputSchema as ft, AddStoryLogOutputSchema as g, UpdateStoryStatusInput as gn, GetProjectStatusOutput as gt, AddStoryLogOutput as h, UpdatePrdSectionOutputSchema as hn, GetProjectStatusInputSchema as ht, AddAttachmentOutputSchema as i, StoryStatusSchema as in, GetImplementationPromptsOutputSchema as it, CreateCustomPhaseOutputSchema as j, GlossaryTerm as jn, MarkNotApplicableOutputSchema as jt, CreateCustomPhaseInputSchema as k, DecisionLogEntry as kn, MarkNotApplicableInputSchema as kt, AddGlossaryTermInput as l, UpdateAttachmentOutputSchema as ln, GetNextStoryOutput as lt, AddStoryLogInputSchema as m, UpdatePrdSectionOutput as mn, GetPrdOutputSchema as mt, AddAttachmentInputSchema as n, StoryLogEntrySchema as nn, GetImplementationPromptsInputSchema as nt, AddDecisionInputSchema as o, UpdateAttachmentInput as on, GetImprovementSuggestionsOutput as ot, AddStoryLogInput as p, UpdatePrdSectionInputSchema as pn, GetPrdOutput as pt, DeletePrdOutputSchema as q, ReorderPhasesInput as qt, AddAttachmentOutput as r, StoryPrioritySchema as rn, GetImplementationPromptsOutput as rt, AddDecisionOutput as s, UpdateAttachmentInputSchema as sn, GetImprovementSuggestionsOutputSchema as st, AddAttachmentInput as t, StoryComplexitySchema as tn, ExportPrdMarkdownOutputSchema as tt, AddGlossaryTermInputSchema as u, UpdatePhaseInput as un, GetNextStoryOutputSchema as ut, AddUserStoryInputSchema as v, UpdateStoryStatusOutput as vn, GetStoryInput as vt, AssignStoryToPhaseOutputSchema as w, AgentTaskPacket as wn, ListPrdsOutputSchema as wt, AssignStoryToPhaseInput as x, UpdateUserStoryInputSchema as xn, GetStoryOutputSchema as xt, AddUserStoryOutput as y, UpdateStoryStatusOutputSchema as yn, GetStoryInputSchema as yt, DecideEdgeCaseInputSchema as z, StoryPriority as zn, PrdSectionValueSchemas as zt };
|