@agent-plan/core 0.2.19-next.20 → 0.2.19-next.21
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/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/plan-store.d.ts +49 -6
- package/dist/plan-store.d.ts.map +1 -1
- package/dist/plan-store.js +117 -25
- package/dist/schema.d.ts +395 -194
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +18 -0
- package/dist/task-context.d.ts +2 -2
- package/dist/task-context.d.ts.map +1 -1
- package/dist/task-context.js +26 -9
- package/dist/task-selection.d.ts +23 -0
- package/dist/task-selection.d.ts.map +1 -0
- package/dist/task-selection.js +66 -0
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -272,6 +272,46 @@ export declare const AcceptedDecisionSchema: z.ZodObject<{
|
|
|
272
272
|
rationale?: string | undefined;
|
|
273
273
|
implementationNotes?: string | undefined;
|
|
274
274
|
}>;
|
|
275
|
+
export declare const WorkDeviationSchema: z.ZodObject<{
|
|
276
|
+
id: z.ZodString;
|
|
277
|
+
/** Task the priority selector recommended when the deviation was approved. */
|
|
278
|
+
recommendedTaskId: z.ZodString;
|
|
279
|
+
/** Task intentionally chosen instead of the recommendation. */
|
|
280
|
+
temporaryTaskId: z.ZodString;
|
|
281
|
+
/** Task to surface explicitly after the temporary work is resolved. */
|
|
282
|
+
resumeTaskId: z.ZodString;
|
|
283
|
+
reason: z.ZodDefault<z.ZodString>;
|
|
284
|
+
requestedBy: z.ZodDefault<z.ZodEnum<["agent", "user"]>>;
|
|
285
|
+
approvedBy: z.ZodDefault<z.ZodString>;
|
|
286
|
+
state: z.ZodDefault<z.ZodEnum<["approved", "active", "resolved", "canceled"]>>;
|
|
287
|
+
createdAt: z.ZodString;
|
|
288
|
+
activatedAt: z.ZodDefault<z.ZodString>;
|
|
289
|
+
resolvedAt: z.ZodDefault<z.ZodString>;
|
|
290
|
+
}, "strip", z.ZodTypeAny, {
|
|
291
|
+
id: string;
|
|
292
|
+
createdAt: string;
|
|
293
|
+
recommendedTaskId: string;
|
|
294
|
+
temporaryTaskId: string;
|
|
295
|
+
resumeTaskId: string;
|
|
296
|
+
reason: string;
|
|
297
|
+
requestedBy: "agent" | "user";
|
|
298
|
+
approvedBy: string;
|
|
299
|
+
state: "approved" | "active" | "resolved" | "canceled";
|
|
300
|
+
activatedAt: string;
|
|
301
|
+
resolvedAt: string;
|
|
302
|
+
}, {
|
|
303
|
+
id: string;
|
|
304
|
+
createdAt: string;
|
|
305
|
+
recommendedTaskId: string;
|
|
306
|
+
temporaryTaskId: string;
|
|
307
|
+
resumeTaskId: string;
|
|
308
|
+
reason?: string | undefined;
|
|
309
|
+
requestedBy?: "agent" | "user" | undefined;
|
|
310
|
+
approvedBy?: string | undefined;
|
|
311
|
+
state?: "approved" | "active" | "resolved" | "canceled" | undefined;
|
|
312
|
+
activatedAt?: string | undefined;
|
|
313
|
+
resolvedAt?: string | undefined;
|
|
314
|
+
}>;
|
|
275
315
|
export declare const ProjectSchema: z.ZodObject<{
|
|
276
316
|
name: z.ZodString;
|
|
277
317
|
goal: z.ZodDefault<z.ZodString>;
|
|
@@ -324,6 +364,47 @@ export declare const ProjectSchema: z.ZodObject<{
|
|
|
324
364
|
nextFeatureNumber: z.ZodDefault<z.ZodNumber>;
|
|
325
365
|
nextPhaseNumber: z.ZodDefault<z.ZodNumber>;
|
|
326
366
|
nextTaskNumber: z.ZodDefault<z.ZodNumber>;
|
|
367
|
+
/** Ordered history of approved temporary work deviations; active entries form a resumable stack. */
|
|
368
|
+
workDeviations: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
369
|
+
id: z.ZodString;
|
|
370
|
+
/** Task the priority selector recommended when the deviation was approved. */
|
|
371
|
+
recommendedTaskId: z.ZodString;
|
|
372
|
+
/** Task intentionally chosen instead of the recommendation. */
|
|
373
|
+
temporaryTaskId: z.ZodString;
|
|
374
|
+
/** Task to surface explicitly after the temporary work is resolved. */
|
|
375
|
+
resumeTaskId: z.ZodString;
|
|
376
|
+
reason: z.ZodDefault<z.ZodString>;
|
|
377
|
+
requestedBy: z.ZodDefault<z.ZodEnum<["agent", "user"]>>;
|
|
378
|
+
approvedBy: z.ZodDefault<z.ZodString>;
|
|
379
|
+
state: z.ZodDefault<z.ZodEnum<["approved", "active", "resolved", "canceled"]>>;
|
|
380
|
+
createdAt: z.ZodString;
|
|
381
|
+
activatedAt: z.ZodDefault<z.ZodString>;
|
|
382
|
+
resolvedAt: z.ZodDefault<z.ZodString>;
|
|
383
|
+
}, "strip", z.ZodTypeAny, {
|
|
384
|
+
id: string;
|
|
385
|
+
createdAt: string;
|
|
386
|
+
recommendedTaskId: string;
|
|
387
|
+
temporaryTaskId: string;
|
|
388
|
+
resumeTaskId: string;
|
|
389
|
+
reason: string;
|
|
390
|
+
requestedBy: "agent" | "user";
|
|
391
|
+
approvedBy: string;
|
|
392
|
+
state: "approved" | "active" | "resolved" | "canceled";
|
|
393
|
+
activatedAt: string;
|
|
394
|
+
resolvedAt: string;
|
|
395
|
+
}, {
|
|
396
|
+
id: string;
|
|
397
|
+
createdAt: string;
|
|
398
|
+
recommendedTaskId: string;
|
|
399
|
+
temporaryTaskId: string;
|
|
400
|
+
resumeTaskId: string;
|
|
401
|
+
reason?: string | undefined;
|
|
402
|
+
requestedBy?: "agent" | "user" | undefined;
|
|
403
|
+
approvedBy?: string | undefined;
|
|
404
|
+
state?: "approved" | "active" | "resolved" | "canceled" | undefined;
|
|
405
|
+
activatedAt?: string | undefined;
|
|
406
|
+
resolvedAt?: string | undefined;
|
|
407
|
+
}>, "many">>;
|
|
327
408
|
}, "strip", z.ZodTypeAny, {
|
|
328
409
|
name: string;
|
|
329
410
|
goal: string;
|
|
@@ -353,6 +434,19 @@ export declare const ProjectSchema: z.ZodObject<{
|
|
|
353
434
|
nextFeatureNumber: number;
|
|
354
435
|
nextPhaseNumber: number;
|
|
355
436
|
nextTaskNumber: number;
|
|
437
|
+
workDeviations: {
|
|
438
|
+
id: string;
|
|
439
|
+
createdAt: string;
|
|
440
|
+
recommendedTaskId: string;
|
|
441
|
+
temporaryTaskId: string;
|
|
442
|
+
resumeTaskId: string;
|
|
443
|
+
reason: string;
|
|
444
|
+
requestedBy: "agent" | "user";
|
|
445
|
+
approvedBy: string;
|
|
446
|
+
state: "approved" | "active" | "resolved" | "canceled";
|
|
447
|
+
activatedAt: string;
|
|
448
|
+
resolvedAt: string;
|
|
449
|
+
}[];
|
|
356
450
|
}, {
|
|
357
451
|
name: string;
|
|
358
452
|
workflowRules: {
|
|
@@ -382,6 +476,19 @@ export declare const ProjectSchema: z.ZodObject<{
|
|
|
382
476
|
nextFeatureNumber?: number | undefined;
|
|
383
477
|
nextPhaseNumber?: number | undefined;
|
|
384
478
|
nextTaskNumber?: number | undefined;
|
|
479
|
+
workDeviations?: {
|
|
480
|
+
id: string;
|
|
481
|
+
createdAt: string;
|
|
482
|
+
recommendedTaskId: string;
|
|
483
|
+
temporaryTaskId: string;
|
|
484
|
+
resumeTaskId: string;
|
|
485
|
+
reason?: string | undefined;
|
|
486
|
+
requestedBy?: "agent" | "user" | undefined;
|
|
487
|
+
approvedBy?: string | undefined;
|
|
488
|
+
state?: "approved" | "active" | "resolved" | "canceled" | undefined;
|
|
489
|
+
activatedAt?: string | undefined;
|
|
490
|
+
resolvedAt?: string | undefined;
|
|
491
|
+
}[] | undefined;
|
|
385
492
|
}>;
|
|
386
493
|
export declare const SubtaskStatusSchema: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
387
494
|
export declare const TaskStatusSchema: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
@@ -396,14 +503,14 @@ export declare const SubtaskSchema: z.ZodObject<{
|
|
|
396
503
|
createdAt: z.ZodString;
|
|
397
504
|
updatedAt: z.ZodString;
|
|
398
505
|
}, "strip", z.ZodTypeAny, {
|
|
399
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
506
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
400
507
|
updatedAt: string;
|
|
401
508
|
id: string;
|
|
402
509
|
createdAt: string;
|
|
403
510
|
title: string;
|
|
404
511
|
description: string;
|
|
405
512
|
}, {
|
|
406
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
513
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
407
514
|
updatedAt: string;
|
|
408
515
|
id: string;
|
|
409
516
|
createdAt: string;
|
|
@@ -450,14 +557,14 @@ export declare const StatusLogEntrySchema: z.ZodObject<{
|
|
|
450
557
|
date: string;
|
|
451
558
|
title: string;
|
|
452
559
|
description: string;
|
|
453
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
454
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
560
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
561
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
455
562
|
}, {
|
|
456
563
|
id: string;
|
|
457
564
|
date: string;
|
|
458
565
|
title: string;
|
|
459
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
460
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
566
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
567
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
461
568
|
description?: string | undefined;
|
|
462
569
|
}>;
|
|
463
570
|
/** Like StatusLogEntrySchema but for the DERIVED PHASE status, which includes
|
|
@@ -474,14 +581,14 @@ export declare const PhaseStatusLogEntrySchema: z.ZodObject<{
|
|
|
474
581
|
date: string;
|
|
475
582
|
title: string;
|
|
476
583
|
description: string;
|
|
477
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
478
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
584
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
585
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
479
586
|
}, {
|
|
480
587
|
id: string;
|
|
481
588
|
date: string;
|
|
482
589
|
title: string;
|
|
483
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
484
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
590
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
591
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
485
592
|
description?: string | undefined;
|
|
486
593
|
}>;
|
|
487
594
|
export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -510,14 +617,14 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
510
617
|
date: string;
|
|
511
618
|
title: string;
|
|
512
619
|
description: string;
|
|
513
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
514
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
620
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
621
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
515
622
|
}, {
|
|
516
623
|
id: string;
|
|
517
624
|
date: string;
|
|
518
625
|
title: string;
|
|
519
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
520
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
626
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
627
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
521
628
|
description?: string | undefined;
|
|
522
629
|
}>, "many">>;
|
|
523
630
|
decisions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -570,14 +677,14 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
570
677
|
createdAt: z.ZodString;
|
|
571
678
|
updatedAt: z.ZodString;
|
|
572
679
|
}, "strip", z.ZodTypeAny, {
|
|
573
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
680
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
574
681
|
updatedAt: string;
|
|
575
682
|
id: string;
|
|
576
683
|
createdAt: string;
|
|
577
684
|
title: string;
|
|
578
685
|
description: string;
|
|
579
686
|
}, {
|
|
580
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
687
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
581
688
|
updatedAt: string;
|
|
582
689
|
id: string;
|
|
583
690
|
createdAt: string;
|
|
@@ -591,7 +698,7 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
591
698
|
updatedAt: z.ZodString;
|
|
592
699
|
}, "strip", z.ZodTypeAny, {
|
|
593
700
|
number: number;
|
|
594
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
701
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
595
702
|
updatedAt: string;
|
|
596
703
|
notes: string;
|
|
597
704
|
id: string;
|
|
@@ -616,8 +723,8 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
616
723
|
date: string;
|
|
617
724
|
title: string;
|
|
618
725
|
description: string;
|
|
619
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
620
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
726
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
727
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
621
728
|
}[];
|
|
622
729
|
checklist: (string | {
|
|
623
730
|
number: number;
|
|
@@ -626,7 +733,7 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
626
733
|
checked: boolean;
|
|
627
734
|
})[];
|
|
628
735
|
subtasks: {
|
|
629
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
736
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
630
737
|
updatedAt: string;
|
|
631
738
|
id: string;
|
|
632
739
|
createdAt: string;
|
|
@@ -637,7 +744,7 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
637
744
|
startedAt: string;
|
|
638
745
|
completedAt: string;
|
|
639
746
|
}, {
|
|
640
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
747
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
641
748
|
updatedAt: string;
|
|
642
749
|
id: string;
|
|
643
750
|
createdAt: string;
|
|
@@ -662,8 +769,8 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
662
769
|
id: string;
|
|
663
770
|
date: string;
|
|
664
771
|
title: string;
|
|
665
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
666
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
772
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
773
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
667
774
|
description?: string | undefined;
|
|
668
775
|
}[] | undefined;
|
|
669
776
|
checklist?: (string | {
|
|
@@ -673,7 +780,7 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
673
780
|
checked?: boolean | undefined;
|
|
674
781
|
})[] | undefined;
|
|
675
782
|
subtasks?: {
|
|
676
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
783
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
677
784
|
updatedAt: string;
|
|
678
785
|
id: string;
|
|
679
786
|
createdAt: string;
|
|
@@ -691,7 +798,7 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
691
798
|
checked: boolean;
|
|
692
799
|
}[];
|
|
693
800
|
number: number;
|
|
694
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
801
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
695
802
|
updatedAt: string;
|
|
696
803
|
notes: string;
|
|
697
804
|
id: string;
|
|
@@ -716,11 +823,11 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
716
823
|
date: string;
|
|
717
824
|
title: string;
|
|
718
825
|
description: string;
|
|
719
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
720
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
826
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
827
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
721
828
|
}[];
|
|
722
829
|
subtasks: {
|
|
723
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
830
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
724
831
|
updatedAt: string;
|
|
725
832
|
id: string;
|
|
726
833
|
createdAt: string;
|
|
@@ -731,7 +838,7 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
731
838
|
startedAt: string;
|
|
732
839
|
completedAt: string;
|
|
733
840
|
}, {
|
|
734
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
841
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
735
842
|
updatedAt: string;
|
|
736
843
|
id: string;
|
|
737
844
|
createdAt: string;
|
|
@@ -756,8 +863,8 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
756
863
|
id: string;
|
|
757
864
|
date: string;
|
|
758
865
|
title: string;
|
|
759
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
760
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
866
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
867
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
761
868
|
description?: string | undefined;
|
|
762
869
|
}[] | undefined;
|
|
763
870
|
checklist?: (string | {
|
|
@@ -767,7 +874,7 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
767
874
|
checked?: boolean | undefined;
|
|
768
875
|
})[] | undefined;
|
|
769
876
|
subtasks?: {
|
|
770
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
877
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
771
878
|
updatedAt: string;
|
|
772
879
|
id: string;
|
|
773
880
|
createdAt: string;
|
|
@@ -786,8 +893,8 @@ export declare const HandoffHistoryEntrySchema: z.ZodObject<{
|
|
|
786
893
|
reason: z.ZodDefault<z.ZodString>;
|
|
787
894
|
}, "strip", z.ZodTypeAny, {
|
|
788
895
|
file: string;
|
|
789
|
-
clearedAt: string;
|
|
790
896
|
reason: string;
|
|
897
|
+
clearedAt: string;
|
|
791
898
|
}, {
|
|
792
899
|
clearedAt: string;
|
|
793
900
|
file?: string | undefined;
|
|
@@ -868,14 +975,14 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
868
975
|
date: string;
|
|
869
976
|
title: string;
|
|
870
977
|
description: string;
|
|
871
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
872
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
978
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
979
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
873
980
|
}, {
|
|
874
981
|
id: string;
|
|
875
982
|
date: string;
|
|
876
983
|
title: string;
|
|
877
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
878
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
984
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
985
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
879
986
|
description?: string | undefined;
|
|
880
987
|
}>, "many">>;
|
|
881
988
|
decisions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -928,14 +1035,14 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
928
1035
|
createdAt: z.ZodString;
|
|
929
1036
|
updatedAt: z.ZodString;
|
|
930
1037
|
}, "strip", z.ZodTypeAny, {
|
|
931
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1038
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
932
1039
|
updatedAt: string;
|
|
933
1040
|
id: string;
|
|
934
1041
|
createdAt: string;
|
|
935
1042
|
title: string;
|
|
936
1043
|
description: string;
|
|
937
1044
|
}, {
|
|
938
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1045
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
939
1046
|
updatedAt: string;
|
|
940
1047
|
id: string;
|
|
941
1048
|
createdAt: string;
|
|
@@ -949,7 +1056,7 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
949
1056
|
updatedAt: z.ZodString;
|
|
950
1057
|
}, "strip", z.ZodTypeAny, {
|
|
951
1058
|
number: number;
|
|
952
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1059
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
953
1060
|
updatedAt: string;
|
|
954
1061
|
notes: string;
|
|
955
1062
|
id: string;
|
|
@@ -974,8 +1081,8 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
974
1081
|
date: string;
|
|
975
1082
|
title: string;
|
|
976
1083
|
description: string;
|
|
977
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
978
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1084
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1085
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
979
1086
|
}[];
|
|
980
1087
|
checklist: (string | {
|
|
981
1088
|
number: number;
|
|
@@ -984,7 +1091,7 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
984
1091
|
checked: boolean;
|
|
985
1092
|
})[];
|
|
986
1093
|
subtasks: {
|
|
987
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1094
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
988
1095
|
updatedAt: string;
|
|
989
1096
|
id: string;
|
|
990
1097
|
createdAt: string;
|
|
@@ -995,7 +1102,7 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
995
1102
|
startedAt: string;
|
|
996
1103
|
completedAt: string;
|
|
997
1104
|
}, {
|
|
998
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1105
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
999
1106
|
updatedAt: string;
|
|
1000
1107
|
id: string;
|
|
1001
1108
|
createdAt: string;
|
|
@@ -1020,8 +1127,8 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1020
1127
|
id: string;
|
|
1021
1128
|
date: string;
|
|
1022
1129
|
title: string;
|
|
1023
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1024
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1130
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1131
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1025
1132
|
description?: string | undefined;
|
|
1026
1133
|
}[] | undefined;
|
|
1027
1134
|
checklist?: (string | {
|
|
@@ -1031,7 +1138,7 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1031
1138
|
checked?: boolean | undefined;
|
|
1032
1139
|
})[] | undefined;
|
|
1033
1140
|
subtasks?: {
|
|
1034
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1141
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1035
1142
|
updatedAt: string;
|
|
1036
1143
|
id: string;
|
|
1037
1144
|
createdAt: string;
|
|
@@ -1049,7 +1156,7 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1049
1156
|
checked: boolean;
|
|
1050
1157
|
}[];
|
|
1051
1158
|
number: number;
|
|
1052
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1159
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1053
1160
|
updatedAt: string;
|
|
1054
1161
|
notes: string;
|
|
1055
1162
|
id: string;
|
|
@@ -1074,11 +1181,11 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1074
1181
|
date: string;
|
|
1075
1182
|
title: string;
|
|
1076
1183
|
description: string;
|
|
1077
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1078
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1184
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1185
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1079
1186
|
}[];
|
|
1080
1187
|
subtasks: {
|
|
1081
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1188
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1082
1189
|
updatedAt: string;
|
|
1083
1190
|
id: string;
|
|
1084
1191
|
createdAt: string;
|
|
@@ -1089,7 +1196,7 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1089
1196
|
startedAt: string;
|
|
1090
1197
|
completedAt: string;
|
|
1091
1198
|
}, {
|
|
1092
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1199
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1093
1200
|
updatedAt: string;
|
|
1094
1201
|
id: string;
|
|
1095
1202
|
createdAt: string;
|
|
@@ -1114,8 +1221,8 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1114
1221
|
id: string;
|
|
1115
1222
|
date: string;
|
|
1116
1223
|
title: string;
|
|
1117
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1118
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1224
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1225
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1119
1226
|
description?: string | undefined;
|
|
1120
1227
|
}[] | undefined;
|
|
1121
1228
|
checklist?: (string | {
|
|
@@ -1125,7 +1232,7 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1125
1232
|
checked?: boolean | undefined;
|
|
1126
1233
|
})[] | undefined;
|
|
1127
1234
|
subtasks?: {
|
|
1128
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1235
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1129
1236
|
updatedAt: string;
|
|
1130
1237
|
id: string;
|
|
1131
1238
|
createdAt: string;
|
|
@@ -1157,8 +1264,8 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1157
1264
|
reason: z.ZodDefault<z.ZodString>;
|
|
1158
1265
|
}, "strip", z.ZodTypeAny, {
|
|
1159
1266
|
file: string;
|
|
1160
|
-
clearedAt: string;
|
|
1161
1267
|
reason: string;
|
|
1268
|
+
clearedAt: string;
|
|
1162
1269
|
}, {
|
|
1163
1270
|
clearedAt: string;
|
|
1164
1271
|
file?: string | undefined;
|
|
@@ -1177,14 +1284,14 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1177
1284
|
date: string;
|
|
1178
1285
|
title: string;
|
|
1179
1286
|
description: string;
|
|
1180
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1181
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1287
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1288
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1182
1289
|
}, {
|
|
1183
1290
|
id: string;
|
|
1184
1291
|
date: string;
|
|
1185
1292
|
title: string;
|
|
1186
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1187
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1293
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1294
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1188
1295
|
description?: string | undefined;
|
|
1189
1296
|
}>, "many">>;
|
|
1190
1297
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1213,8 +1320,8 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1213
1320
|
date: string;
|
|
1214
1321
|
title: string;
|
|
1215
1322
|
description: string;
|
|
1216
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1217
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1323
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1324
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1218
1325
|
}[];
|
|
1219
1326
|
dependsOn: string[];
|
|
1220
1327
|
slug: string;
|
|
@@ -1235,7 +1342,7 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1235
1342
|
checked: boolean;
|
|
1236
1343
|
}[];
|
|
1237
1344
|
number: number;
|
|
1238
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1345
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1239
1346
|
updatedAt: string;
|
|
1240
1347
|
notes: string;
|
|
1241
1348
|
id: string;
|
|
@@ -1260,11 +1367,11 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1260
1367
|
date: string;
|
|
1261
1368
|
title: string;
|
|
1262
1369
|
description: string;
|
|
1263
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1264
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1370
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1371
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1265
1372
|
}[];
|
|
1266
1373
|
subtasks: {
|
|
1267
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1374
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1268
1375
|
updatedAt: string;
|
|
1269
1376
|
id: string;
|
|
1270
1377
|
createdAt: string;
|
|
@@ -1280,8 +1387,8 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1280
1387
|
handoffReadAt: string;
|
|
1281
1388
|
handoffHistory: {
|
|
1282
1389
|
file: string;
|
|
1283
|
-
clearedAt: string;
|
|
1284
1390
|
reason: string;
|
|
1391
|
+
clearedAt: string;
|
|
1285
1392
|
}[];
|
|
1286
1393
|
featureId?: string | undefined;
|
|
1287
1394
|
}, {
|
|
@@ -1310,8 +1417,8 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1310
1417
|
id: string;
|
|
1311
1418
|
date: string;
|
|
1312
1419
|
title: string;
|
|
1313
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1314
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1420
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1421
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1315
1422
|
description?: string | undefined;
|
|
1316
1423
|
}[] | undefined;
|
|
1317
1424
|
dependsOn?: string[] | undefined;
|
|
@@ -1326,7 +1433,7 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1326
1433
|
completionCriteria?: string[] | undefined;
|
|
1327
1434
|
taskIds?: string[] | undefined;
|
|
1328
1435
|
tasks?: {
|
|
1329
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1436
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1330
1437
|
updatedAt: string;
|
|
1331
1438
|
id: string;
|
|
1332
1439
|
createdAt: string;
|
|
@@ -1351,8 +1458,8 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1351
1458
|
id: string;
|
|
1352
1459
|
date: string;
|
|
1353
1460
|
title: string;
|
|
1354
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1355
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1461
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1462
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1356
1463
|
description?: string | undefined;
|
|
1357
1464
|
}[] | undefined;
|
|
1358
1465
|
checklist?: (string | {
|
|
@@ -1362,7 +1469,7 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1362
1469
|
checked?: boolean | undefined;
|
|
1363
1470
|
})[] | undefined;
|
|
1364
1471
|
subtasks?: {
|
|
1365
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1472
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1366
1473
|
updatedAt: string;
|
|
1367
1474
|
id: string;
|
|
1368
1475
|
createdAt: string;
|
|
@@ -1434,14 +1541,14 @@ export declare const FeatureSchema: z.ZodObject<{
|
|
|
1434
1541
|
date: string;
|
|
1435
1542
|
title: string;
|
|
1436
1543
|
description: string;
|
|
1437
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1438
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1544
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1545
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1439
1546
|
}, {
|
|
1440
1547
|
id: string;
|
|
1441
1548
|
date: string;
|
|
1442
1549
|
title: string;
|
|
1443
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1444
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1550
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1551
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1445
1552
|
description?: string | undefined;
|
|
1446
1553
|
}>, "many">>;
|
|
1447
1554
|
createdAt: z.ZodString;
|
|
@@ -1468,8 +1575,8 @@ export declare const FeatureSchema: z.ZodObject<{
|
|
|
1468
1575
|
date: string;
|
|
1469
1576
|
title: string;
|
|
1470
1577
|
description: string;
|
|
1471
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1472
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1578
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1579
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1473
1580
|
}[];
|
|
1474
1581
|
dependsOn: string[];
|
|
1475
1582
|
discussedAt: string;
|
|
@@ -1501,8 +1608,8 @@ export declare const FeatureSchema: z.ZodObject<{
|
|
|
1501
1608
|
id: string;
|
|
1502
1609
|
date: string;
|
|
1503
1610
|
title: string;
|
|
1504
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1505
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1611
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1612
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1506
1613
|
description?: string | undefined;
|
|
1507
1614
|
}[] | undefined;
|
|
1508
1615
|
dependsOn?: string[] | undefined;
|
|
@@ -1568,14 +1675,14 @@ export declare const FeaturesDocumentSchema: z.ZodObject<{
|
|
|
1568
1675
|
date: string;
|
|
1569
1676
|
title: string;
|
|
1570
1677
|
description: string;
|
|
1571
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1572
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1678
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1679
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1573
1680
|
}, {
|
|
1574
1681
|
id: string;
|
|
1575
1682
|
date: string;
|
|
1576
1683
|
title: string;
|
|
1577
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1578
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1684
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1685
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1579
1686
|
description?: string | undefined;
|
|
1580
1687
|
}>, "many">>;
|
|
1581
1688
|
createdAt: z.ZodString;
|
|
@@ -1602,8 +1709,8 @@ export declare const FeaturesDocumentSchema: z.ZodObject<{
|
|
|
1602
1709
|
date: string;
|
|
1603
1710
|
title: string;
|
|
1604
1711
|
description: string;
|
|
1605
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1606
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1712
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1713
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1607
1714
|
}[];
|
|
1608
1715
|
dependsOn: string[];
|
|
1609
1716
|
discussedAt: string;
|
|
@@ -1635,8 +1742,8 @@ export declare const FeaturesDocumentSchema: z.ZodObject<{
|
|
|
1635
1742
|
id: string;
|
|
1636
1743
|
date: string;
|
|
1637
1744
|
title: string;
|
|
1638
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1639
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1745
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1746
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1640
1747
|
description?: string | undefined;
|
|
1641
1748
|
}[] | undefined;
|
|
1642
1749
|
dependsOn?: string[] | undefined;
|
|
@@ -1672,8 +1779,8 @@ export declare const FeaturesDocumentSchema: z.ZodObject<{
|
|
|
1672
1779
|
date: string;
|
|
1673
1780
|
title: string;
|
|
1674
1781
|
description: string;
|
|
1675
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1676
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1782
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1783
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1677
1784
|
}[];
|
|
1678
1785
|
dependsOn: string[];
|
|
1679
1786
|
discussedAt: string;
|
|
@@ -1707,8 +1814,8 @@ export declare const FeaturesDocumentSchema: z.ZodObject<{
|
|
|
1707
1814
|
id: string;
|
|
1708
1815
|
date: string;
|
|
1709
1816
|
title: string;
|
|
1710
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1711
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1817
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1818
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1712
1819
|
description?: string | undefined;
|
|
1713
1820
|
}[] | undefined;
|
|
1714
1821
|
dependsOn?: string[] | undefined;
|
|
@@ -1730,14 +1837,14 @@ export declare const MacroTaskSchema: z.ZodObject<{
|
|
|
1730
1837
|
createdAt: z.ZodString;
|
|
1731
1838
|
updatedAt: z.ZodString;
|
|
1732
1839
|
}, "strip", z.ZodTypeAny, {
|
|
1733
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1840
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1734
1841
|
updatedAt: string;
|
|
1735
1842
|
id: string;
|
|
1736
1843
|
createdAt: string;
|
|
1737
1844
|
title: string;
|
|
1738
1845
|
description: string;
|
|
1739
1846
|
}, {
|
|
1740
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1847
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1741
1848
|
updatedAt: string;
|
|
1742
1849
|
id: string;
|
|
1743
1850
|
createdAt: string;
|
|
@@ -1757,14 +1864,14 @@ export declare const RequirementSchema: z.ZodObject<{
|
|
|
1757
1864
|
createdAt: z.ZodString;
|
|
1758
1865
|
updatedAt: z.ZodString;
|
|
1759
1866
|
}, "strip", z.ZodTypeAny, {
|
|
1760
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1867
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1761
1868
|
updatedAt: string;
|
|
1762
1869
|
id: string;
|
|
1763
1870
|
createdAt: string;
|
|
1764
1871
|
title: string;
|
|
1765
1872
|
description: string;
|
|
1766
1873
|
}, {
|
|
1767
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1874
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1768
1875
|
updatedAt: string;
|
|
1769
1876
|
id: string;
|
|
1770
1877
|
createdAt: string;
|
|
@@ -1775,14 +1882,14 @@ export declare const RequirementSchema: z.ZodObject<{
|
|
|
1775
1882
|
createdAt: z.ZodString;
|
|
1776
1883
|
updatedAt: z.ZodString;
|
|
1777
1884
|
}, "strip", z.ZodTypeAny, {
|
|
1778
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1885
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1779
1886
|
updatedAt: string;
|
|
1780
1887
|
id: string;
|
|
1781
1888
|
createdAt: string;
|
|
1782
1889
|
title: string;
|
|
1783
1890
|
description: string;
|
|
1784
1891
|
macroTasks: {
|
|
1785
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1892
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1786
1893
|
updatedAt: string;
|
|
1787
1894
|
id: string;
|
|
1788
1895
|
createdAt: string;
|
|
@@ -1791,14 +1898,14 @@ export declare const RequirementSchema: z.ZodObject<{
|
|
|
1791
1898
|
}[];
|
|
1792
1899
|
linkedPhaseIds: string[];
|
|
1793
1900
|
}, {
|
|
1794
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1901
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1795
1902
|
updatedAt: string;
|
|
1796
1903
|
id: string;
|
|
1797
1904
|
createdAt: string;
|
|
1798
1905
|
title: string;
|
|
1799
1906
|
description?: string | undefined;
|
|
1800
1907
|
macroTasks?: {
|
|
1801
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1908
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1802
1909
|
updatedAt: string;
|
|
1803
1910
|
id: string;
|
|
1804
1911
|
createdAt: string;
|
|
@@ -1821,14 +1928,14 @@ export declare const RequirementsDocumentSchema: z.ZodObject<{
|
|
|
1821
1928
|
createdAt: z.ZodString;
|
|
1822
1929
|
updatedAt: z.ZodString;
|
|
1823
1930
|
}, "strip", z.ZodTypeAny, {
|
|
1824
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1931
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1825
1932
|
updatedAt: string;
|
|
1826
1933
|
id: string;
|
|
1827
1934
|
createdAt: string;
|
|
1828
1935
|
title: string;
|
|
1829
1936
|
description: string;
|
|
1830
1937
|
}, {
|
|
1831
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1938
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1832
1939
|
updatedAt: string;
|
|
1833
1940
|
id: string;
|
|
1834
1941
|
createdAt: string;
|
|
@@ -1839,14 +1946,14 @@ export declare const RequirementsDocumentSchema: z.ZodObject<{
|
|
|
1839
1946
|
createdAt: z.ZodString;
|
|
1840
1947
|
updatedAt: z.ZodString;
|
|
1841
1948
|
}, "strip", z.ZodTypeAny, {
|
|
1842
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1949
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1843
1950
|
updatedAt: string;
|
|
1844
1951
|
id: string;
|
|
1845
1952
|
createdAt: string;
|
|
1846
1953
|
title: string;
|
|
1847
1954
|
description: string;
|
|
1848
1955
|
macroTasks: {
|
|
1849
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1956
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1850
1957
|
updatedAt: string;
|
|
1851
1958
|
id: string;
|
|
1852
1959
|
createdAt: string;
|
|
@@ -1855,14 +1962,14 @@ export declare const RequirementsDocumentSchema: z.ZodObject<{
|
|
|
1855
1962
|
}[];
|
|
1856
1963
|
linkedPhaseIds: string[];
|
|
1857
1964
|
}, {
|
|
1858
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1965
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1859
1966
|
updatedAt: string;
|
|
1860
1967
|
id: string;
|
|
1861
1968
|
createdAt: string;
|
|
1862
1969
|
title: string;
|
|
1863
1970
|
description?: string | undefined;
|
|
1864
1971
|
macroTasks?: {
|
|
1865
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1972
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1866
1973
|
updatedAt: string;
|
|
1867
1974
|
id: string;
|
|
1868
1975
|
createdAt: string;
|
|
@@ -1873,14 +1980,14 @@ export declare const RequirementsDocumentSchema: z.ZodObject<{
|
|
|
1873
1980
|
}>, "many">;
|
|
1874
1981
|
}, "strip", z.ZodTypeAny, {
|
|
1875
1982
|
requirements: {
|
|
1876
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1983
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1877
1984
|
updatedAt: string;
|
|
1878
1985
|
id: string;
|
|
1879
1986
|
createdAt: string;
|
|
1880
1987
|
title: string;
|
|
1881
1988
|
description: string;
|
|
1882
1989
|
macroTasks: {
|
|
1883
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
1990
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1884
1991
|
updatedAt: string;
|
|
1885
1992
|
id: string;
|
|
1886
1993
|
createdAt: string;
|
|
@@ -1891,14 +1998,14 @@ export declare const RequirementsDocumentSchema: z.ZodObject<{
|
|
|
1891
1998
|
}[];
|
|
1892
1999
|
}, {
|
|
1893
2000
|
requirements: {
|
|
1894
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2001
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1895
2002
|
updatedAt: string;
|
|
1896
2003
|
id: string;
|
|
1897
2004
|
createdAt: string;
|
|
1898
2005
|
title: string;
|
|
1899
2006
|
description?: string | undefined;
|
|
1900
2007
|
macroTasks?: {
|
|
1901
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2008
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1902
2009
|
updatedAt: string;
|
|
1903
2010
|
id: string;
|
|
1904
2011
|
createdAt: string;
|
|
@@ -1980,6 +2087,47 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
1980
2087
|
nextFeatureNumber: z.ZodDefault<z.ZodNumber>;
|
|
1981
2088
|
nextPhaseNumber: z.ZodDefault<z.ZodNumber>;
|
|
1982
2089
|
nextTaskNumber: z.ZodDefault<z.ZodNumber>;
|
|
2090
|
+
/** Ordered history of approved temporary work deviations; active entries form a resumable stack. */
|
|
2091
|
+
workDeviations: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2092
|
+
id: z.ZodString;
|
|
2093
|
+
/** Task the priority selector recommended when the deviation was approved. */
|
|
2094
|
+
recommendedTaskId: z.ZodString;
|
|
2095
|
+
/** Task intentionally chosen instead of the recommendation. */
|
|
2096
|
+
temporaryTaskId: z.ZodString;
|
|
2097
|
+
/** Task to surface explicitly after the temporary work is resolved. */
|
|
2098
|
+
resumeTaskId: z.ZodString;
|
|
2099
|
+
reason: z.ZodDefault<z.ZodString>;
|
|
2100
|
+
requestedBy: z.ZodDefault<z.ZodEnum<["agent", "user"]>>;
|
|
2101
|
+
approvedBy: z.ZodDefault<z.ZodString>;
|
|
2102
|
+
state: z.ZodDefault<z.ZodEnum<["approved", "active", "resolved", "canceled"]>>;
|
|
2103
|
+
createdAt: z.ZodString;
|
|
2104
|
+
activatedAt: z.ZodDefault<z.ZodString>;
|
|
2105
|
+
resolvedAt: z.ZodDefault<z.ZodString>;
|
|
2106
|
+
}, "strip", z.ZodTypeAny, {
|
|
2107
|
+
id: string;
|
|
2108
|
+
createdAt: string;
|
|
2109
|
+
recommendedTaskId: string;
|
|
2110
|
+
temporaryTaskId: string;
|
|
2111
|
+
resumeTaskId: string;
|
|
2112
|
+
reason: string;
|
|
2113
|
+
requestedBy: "agent" | "user";
|
|
2114
|
+
approvedBy: string;
|
|
2115
|
+
state: "approved" | "active" | "resolved" | "canceled";
|
|
2116
|
+
activatedAt: string;
|
|
2117
|
+
resolvedAt: string;
|
|
2118
|
+
}, {
|
|
2119
|
+
id: string;
|
|
2120
|
+
createdAt: string;
|
|
2121
|
+
recommendedTaskId: string;
|
|
2122
|
+
temporaryTaskId: string;
|
|
2123
|
+
resumeTaskId: string;
|
|
2124
|
+
reason?: string | undefined;
|
|
2125
|
+
requestedBy?: "agent" | "user" | undefined;
|
|
2126
|
+
approvedBy?: string | undefined;
|
|
2127
|
+
state?: "approved" | "active" | "resolved" | "canceled" | undefined;
|
|
2128
|
+
activatedAt?: string | undefined;
|
|
2129
|
+
resolvedAt?: string | undefined;
|
|
2130
|
+
}>, "many">>;
|
|
1983
2131
|
}, "strip", z.ZodTypeAny, {
|
|
1984
2132
|
name: string;
|
|
1985
2133
|
goal: string;
|
|
@@ -2009,6 +2157,19 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2009
2157
|
nextFeatureNumber: number;
|
|
2010
2158
|
nextPhaseNumber: number;
|
|
2011
2159
|
nextTaskNumber: number;
|
|
2160
|
+
workDeviations: {
|
|
2161
|
+
id: string;
|
|
2162
|
+
createdAt: string;
|
|
2163
|
+
recommendedTaskId: string;
|
|
2164
|
+
temporaryTaskId: string;
|
|
2165
|
+
resumeTaskId: string;
|
|
2166
|
+
reason: string;
|
|
2167
|
+
requestedBy: "agent" | "user";
|
|
2168
|
+
approvedBy: string;
|
|
2169
|
+
state: "approved" | "active" | "resolved" | "canceled";
|
|
2170
|
+
activatedAt: string;
|
|
2171
|
+
resolvedAt: string;
|
|
2172
|
+
}[];
|
|
2012
2173
|
}, {
|
|
2013
2174
|
name: string;
|
|
2014
2175
|
workflowRules: {
|
|
@@ -2038,6 +2199,19 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2038
2199
|
nextFeatureNumber?: number | undefined;
|
|
2039
2200
|
nextPhaseNumber?: number | undefined;
|
|
2040
2201
|
nextTaskNumber?: number | undefined;
|
|
2202
|
+
workDeviations?: {
|
|
2203
|
+
id: string;
|
|
2204
|
+
createdAt: string;
|
|
2205
|
+
recommendedTaskId: string;
|
|
2206
|
+
temporaryTaskId: string;
|
|
2207
|
+
resumeTaskId: string;
|
|
2208
|
+
reason?: string | undefined;
|
|
2209
|
+
requestedBy?: "agent" | "user" | undefined;
|
|
2210
|
+
approvedBy?: string | undefined;
|
|
2211
|
+
state?: "approved" | "active" | "resolved" | "canceled" | undefined;
|
|
2212
|
+
activatedAt?: string | undefined;
|
|
2213
|
+
resolvedAt?: string | undefined;
|
|
2214
|
+
}[] | undefined;
|
|
2041
2215
|
}>;
|
|
2042
2216
|
features: z.ZodObject<{
|
|
2043
2217
|
features: z.ZodArray<z.ZodObject<{
|
|
@@ -2092,14 +2266,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2092
2266
|
date: string;
|
|
2093
2267
|
title: string;
|
|
2094
2268
|
description: string;
|
|
2095
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2096
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2269
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2270
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2097
2271
|
}, {
|
|
2098
2272
|
id: string;
|
|
2099
2273
|
date: string;
|
|
2100
2274
|
title: string;
|
|
2101
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2102
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2275
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2276
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2103
2277
|
description?: string | undefined;
|
|
2104
2278
|
}>, "many">>;
|
|
2105
2279
|
createdAt: z.ZodString;
|
|
@@ -2126,8 +2300,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2126
2300
|
date: string;
|
|
2127
2301
|
title: string;
|
|
2128
2302
|
description: string;
|
|
2129
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2130
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2303
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2304
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2131
2305
|
}[];
|
|
2132
2306
|
dependsOn: string[];
|
|
2133
2307
|
discussedAt: string;
|
|
@@ -2159,8 +2333,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2159
2333
|
id: string;
|
|
2160
2334
|
date: string;
|
|
2161
2335
|
title: string;
|
|
2162
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2163
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2336
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2337
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2164
2338
|
description?: string | undefined;
|
|
2165
2339
|
}[] | undefined;
|
|
2166
2340
|
dependsOn?: string[] | undefined;
|
|
@@ -2196,8 +2370,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2196
2370
|
date: string;
|
|
2197
2371
|
title: string;
|
|
2198
2372
|
description: string;
|
|
2199
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2200
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2373
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2374
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2201
2375
|
}[];
|
|
2202
2376
|
dependsOn: string[];
|
|
2203
2377
|
discussedAt: string;
|
|
@@ -2231,8 +2405,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2231
2405
|
id: string;
|
|
2232
2406
|
date: string;
|
|
2233
2407
|
title: string;
|
|
2234
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2235
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2408
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2409
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2236
2410
|
description?: string | undefined;
|
|
2237
2411
|
}[] | undefined;
|
|
2238
2412
|
dependsOn?: string[] | undefined;
|
|
@@ -2260,14 +2434,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2260
2434
|
createdAt: z.ZodString;
|
|
2261
2435
|
updatedAt: z.ZodString;
|
|
2262
2436
|
}, "strip", z.ZodTypeAny, {
|
|
2263
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2437
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2264
2438
|
updatedAt: string;
|
|
2265
2439
|
id: string;
|
|
2266
2440
|
createdAt: string;
|
|
2267
2441
|
title: string;
|
|
2268
2442
|
description: string;
|
|
2269
2443
|
}, {
|
|
2270
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2444
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2271
2445
|
updatedAt: string;
|
|
2272
2446
|
id: string;
|
|
2273
2447
|
createdAt: string;
|
|
@@ -2278,14 +2452,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2278
2452
|
createdAt: z.ZodString;
|
|
2279
2453
|
updatedAt: z.ZodString;
|
|
2280
2454
|
}, "strip", z.ZodTypeAny, {
|
|
2281
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2455
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2282
2456
|
updatedAt: string;
|
|
2283
2457
|
id: string;
|
|
2284
2458
|
createdAt: string;
|
|
2285
2459
|
title: string;
|
|
2286
2460
|
description: string;
|
|
2287
2461
|
macroTasks: {
|
|
2288
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2462
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2289
2463
|
updatedAt: string;
|
|
2290
2464
|
id: string;
|
|
2291
2465
|
createdAt: string;
|
|
@@ -2294,14 +2468,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2294
2468
|
}[];
|
|
2295
2469
|
linkedPhaseIds: string[];
|
|
2296
2470
|
}, {
|
|
2297
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2471
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2298
2472
|
updatedAt: string;
|
|
2299
2473
|
id: string;
|
|
2300
2474
|
createdAt: string;
|
|
2301
2475
|
title: string;
|
|
2302
2476
|
description?: string | undefined;
|
|
2303
2477
|
macroTasks?: {
|
|
2304
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2478
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2305
2479
|
updatedAt: string;
|
|
2306
2480
|
id: string;
|
|
2307
2481
|
createdAt: string;
|
|
@@ -2312,14 +2486,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2312
2486
|
}>, "many">;
|
|
2313
2487
|
}, "strip", z.ZodTypeAny, {
|
|
2314
2488
|
requirements: {
|
|
2315
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2489
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2316
2490
|
updatedAt: string;
|
|
2317
2491
|
id: string;
|
|
2318
2492
|
createdAt: string;
|
|
2319
2493
|
title: string;
|
|
2320
2494
|
description: string;
|
|
2321
2495
|
macroTasks: {
|
|
2322
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2496
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2323
2497
|
updatedAt: string;
|
|
2324
2498
|
id: string;
|
|
2325
2499
|
createdAt: string;
|
|
@@ -2330,14 +2504,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2330
2504
|
}[];
|
|
2331
2505
|
}, {
|
|
2332
2506
|
requirements: {
|
|
2333
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2507
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2334
2508
|
updatedAt: string;
|
|
2335
2509
|
id: string;
|
|
2336
2510
|
createdAt: string;
|
|
2337
2511
|
title: string;
|
|
2338
2512
|
description?: string | undefined;
|
|
2339
2513
|
macroTasks?: {
|
|
2340
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2514
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2341
2515
|
updatedAt: string;
|
|
2342
2516
|
id: string;
|
|
2343
2517
|
createdAt: string;
|
|
@@ -2422,14 +2596,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2422
2596
|
date: string;
|
|
2423
2597
|
title: string;
|
|
2424
2598
|
description: string;
|
|
2425
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2426
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2599
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2600
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2427
2601
|
}, {
|
|
2428
2602
|
id: string;
|
|
2429
2603
|
date: string;
|
|
2430
2604
|
title: string;
|
|
2431
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2432
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2605
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2606
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2433
2607
|
description?: string | undefined;
|
|
2434
2608
|
}>, "many">>;
|
|
2435
2609
|
decisions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2482,14 +2656,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2482
2656
|
createdAt: z.ZodString;
|
|
2483
2657
|
updatedAt: z.ZodString;
|
|
2484
2658
|
}, "strip", z.ZodTypeAny, {
|
|
2485
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2659
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2486
2660
|
updatedAt: string;
|
|
2487
2661
|
id: string;
|
|
2488
2662
|
createdAt: string;
|
|
2489
2663
|
title: string;
|
|
2490
2664
|
description: string;
|
|
2491
2665
|
}, {
|
|
2492
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2666
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2493
2667
|
updatedAt: string;
|
|
2494
2668
|
id: string;
|
|
2495
2669
|
createdAt: string;
|
|
@@ -2503,7 +2677,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2503
2677
|
updatedAt: z.ZodString;
|
|
2504
2678
|
}, "strip", z.ZodTypeAny, {
|
|
2505
2679
|
number: number;
|
|
2506
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2680
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2507
2681
|
updatedAt: string;
|
|
2508
2682
|
notes: string;
|
|
2509
2683
|
id: string;
|
|
@@ -2528,8 +2702,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2528
2702
|
date: string;
|
|
2529
2703
|
title: string;
|
|
2530
2704
|
description: string;
|
|
2531
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2532
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2705
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2706
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2533
2707
|
}[];
|
|
2534
2708
|
checklist: (string | {
|
|
2535
2709
|
number: number;
|
|
@@ -2538,7 +2712,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2538
2712
|
checked: boolean;
|
|
2539
2713
|
})[];
|
|
2540
2714
|
subtasks: {
|
|
2541
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2715
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2542
2716
|
updatedAt: string;
|
|
2543
2717
|
id: string;
|
|
2544
2718
|
createdAt: string;
|
|
@@ -2549,7 +2723,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2549
2723
|
startedAt: string;
|
|
2550
2724
|
completedAt: string;
|
|
2551
2725
|
}, {
|
|
2552
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2726
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2553
2727
|
updatedAt: string;
|
|
2554
2728
|
id: string;
|
|
2555
2729
|
createdAt: string;
|
|
@@ -2574,8 +2748,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2574
2748
|
id: string;
|
|
2575
2749
|
date: string;
|
|
2576
2750
|
title: string;
|
|
2577
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2578
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2751
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2752
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2579
2753
|
description?: string | undefined;
|
|
2580
2754
|
}[] | undefined;
|
|
2581
2755
|
checklist?: (string | {
|
|
@@ -2585,7 +2759,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2585
2759
|
checked?: boolean | undefined;
|
|
2586
2760
|
})[] | undefined;
|
|
2587
2761
|
subtasks?: {
|
|
2588
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2762
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2589
2763
|
updatedAt: string;
|
|
2590
2764
|
id: string;
|
|
2591
2765
|
createdAt: string;
|
|
@@ -2603,7 +2777,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2603
2777
|
checked: boolean;
|
|
2604
2778
|
}[];
|
|
2605
2779
|
number: number;
|
|
2606
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2780
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2607
2781
|
updatedAt: string;
|
|
2608
2782
|
notes: string;
|
|
2609
2783
|
id: string;
|
|
@@ -2628,11 +2802,11 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2628
2802
|
date: string;
|
|
2629
2803
|
title: string;
|
|
2630
2804
|
description: string;
|
|
2631
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2632
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2805
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2806
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2633
2807
|
}[];
|
|
2634
2808
|
subtasks: {
|
|
2635
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2809
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2636
2810
|
updatedAt: string;
|
|
2637
2811
|
id: string;
|
|
2638
2812
|
createdAt: string;
|
|
@@ -2643,7 +2817,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2643
2817
|
startedAt: string;
|
|
2644
2818
|
completedAt: string;
|
|
2645
2819
|
}, {
|
|
2646
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2820
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2647
2821
|
updatedAt: string;
|
|
2648
2822
|
id: string;
|
|
2649
2823
|
createdAt: string;
|
|
@@ -2668,8 +2842,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2668
2842
|
id: string;
|
|
2669
2843
|
date: string;
|
|
2670
2844
|
title: string;
|
|
2671
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2672
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2845
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2846
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2673
2847
|
description?: string | undefined;
|
|
2674
2848
|
}[] | undefined;
|
|
2675
2849
|
checklist?: (string | {
|
|
@@ -2679,7 +2853,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2679
2853
|
checked?: boolean | undefined;
|
|
2680
2854
|
})[] | undefined;
|
|
2681
2855
|
subtasks?: {
|
|
2682
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2856
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2683
2857
|
updatedAt: string;
|
|
2684
2858
|
id: string;
|
|
2685
2859
|
createdAt: string;
|
|
@@ -2711,8 +2885,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2711
2885
|
reason: z.ZodDefault<z.ZodString>;
|
|
2712
2886
|
}, "strip", z.ZodTypeAny, {
|
|
2713
2887
|
file: string;
|
|
2714
|
-
clearedAt: string;
|
|
2715
2888
|
reason: string;
|
|
2889
|
+
clearedAt: string;
|
|
2716
2890
|
}, {
|
|
2717
2891
|
clearedAt: string;
|
|
2718
2892
|
file?: string | undefined;
|
|
@@ -2731,14 +2905,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2731
2905
|
date: string;
|
|
2732
2906
|
title: string;
|
|
2733
2907
|
description: string;
|
|
2734
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2735
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2908
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
2909
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
2736
2910
|
}, {
|
|
2737
2911
|
id: string;
|
|
2738
2912
|
date: string;
|
|
2739
2913
|
title: string;
|
|
2740
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2741
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2914
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
2915
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
2742
2916
|
description?: string | undefined;
|
|
2743
2917
|
}>, "many">>;
|
|
2744
2918
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2767,8 +2941,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2767
2941
|
date: string;
|
|
2768
2942
|
title: string;
|
|
2769
2943
|
description: string;
|
|
2770
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2771
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2944
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
2945
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
2772
2946
|
}[];
|
|
2773
2947
|
dependsOn: string[];
|
|
2774
2948
|
slug: string;
|
|
@@ -2789,7 +2963,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2789
2963
|
checked: boolean;
|
|
2790
2964
|
}[];
|
|
2791
2965
|
number: number;
|
|
2792
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2966
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2793
2967
|
updatedAt: string;
|
|
2794
2968
|
notes: string;
|
|
2795
2969
|
id: string;
|
|
@@ -2814,11 +2988,11 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2814
2988
|
date: string;
|
|
2815
2989
|
title: string;
|
|
2816
2990
|
description: string;
|
|
2817
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2818
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2991
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2992
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2819
2993
|
}[];
|
|
2820
2994
|
subtasks: {
|
|
2821
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2995
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2822
2996
|
updatedAt: string;
|
|
2823
2997
|
id: string;
|
|
2824
2998
|
createdAt: string;
|
|
@@ -2834,8 +3008,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2834
3008
|
handoffReadAt: string;
|
|
2835
3009
|
handoffHistory: {
|
|
2836
3010
|
file: string;
|
|
2837
|
-
clearedAt: string;
|
|
2838
3011
|
reason: string;
|
|
3012
|
+
clearedAt: string;
|
|
2839
3013
|
}[];
|
|
2840
3014
|
featureId?: string | undefined;
|
|
2841
3015
|
}, {
|
|
@@ -2864,8 +3038,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2864
3038
|
id: string;
|
|
2865
3039
|
date: string;
|
|
2866
3040
|
title: string;
|
|
2867
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2868
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
3041
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
3042
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
2869
3043
|
description?: string | undefined;
|
|
2870
3044
|
}[] | undefined;
|
|
2871
3045
|
dependsOn?: string[] | undefined;
|
|
@@ -2880,7 +3054,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2880
3054
|
completionCriteria?: string[] | undefined;
|
|
2881
3055
|
taskIds?: string[] | undefined;
|
|
2882
3056
|
tasks?: {
|
|
2883
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
3057
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2884
3058
|
updatedAt: string;
|
|
2885
3059
|
id: string;
|
|
2886
3060
|
createdAt: string;
|
|
@@ -2905,8 +3079,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2905
3079
|
id: string;
|
|
2906
3080
|
date: string;
|
|
2907
3081
|
title: string;
|
|
2908
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2909
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
3082
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3083
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2910
3084
|
description?: string | undefined;
|
|
2911
3085
|
}[] | undefined;
|
|
2912
3086
|
checklist?: (string | {
|
|
@@ -2916,7 +3090,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2916
3090
|
checked?: boolean | undefined;
|
|
2917
3091
|
})[] | undefined;
|
|
2918
3092
|
subtasks?: {
|
|
2919
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
3093
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2920
3094
|
updatedAt: string;
|
|
2921
3095
|
id: string;
|
|
2922
3096
|
createdAt: string;
|
|
@@ -2960,8 +3134,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2960
3134
|
date: string;
|
|
2961
3135
|
title: string;
|
|
2962
3136
|
description: string;
|
|
2963
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
2964
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
3137
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3138
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2965
3139
|
}[];
|
|
2966
3140
|
dependsOn: string[];
|
|
2967
3141
|
discussedAt: string;
|
|
@@ -2976,14 +3150,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2976
3150
|
};
|
|
2977
3151
|
requirements: {
|
|
2978
3152
|
requirements: {
|
|
2979
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
3153
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2980
3154
|
updatedAt: string;
|
|
2981
3155
|
id: string;
|
|
2982
3156
|
createdAt: string;
|
|
2983
3157
|
title: string;
|
|
2984
3158
|
description: string;
|
|
2985
3159
|
macroTasks: {
|
|
2986
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
3160
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2987
3161
|
updatedAt: string;
|
|
2988
3162
|
id: string;
|
|
2989
3163
|
createdAt: string;
|
|
@@ -3029,6 +3203,19 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3029
3203
|
nextFeatureNumber: number;
|
|
3030
3204
|
nextPhaseNumber: number;
|
|
3031
3205
|
nextTaskNumber: number;
|
|
3206
|
+
workDeviations: {
|
|
3207
|
+
id: string;
|
|
3208
|
+
createdAt: string;
|
|
3209
|
+
recommendedTaskId: string;
|
|
3210
|
+
temporaryTaskId: string;
|
|
3211
|
+
resumeTaskId: string;
|
|
3212
|
+
reason: string;
|
|
3213
|
+
requestedBy: "agent" | "user";
|
|
3214
|
+
approvedBy: string;
|
|
3215
|
+
state: "approved" | "active" | "resolved" | "canceled";
|
|
3216
|
+
activatedAt: string;
|
|
3217
|
+
resolvedAt: string;
|
|
3218
|
+
}[];
|
|
3032
3219
|
};
|
|
3033
3220
|
phases: {
|
|
3034
3221
|
number: number;
|
|
@@ -3056,8 +3243,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3056
3243
|
date: string;
|
|
3057
3244
|
title: string;
|
|
3058
3245
|
description: string;
|
|
3059
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
3060
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
3246
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
3247
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
3061
3248
|
}[];
|
|
3062
3249
|
dependsOn: string[];
|
|
3063
3250
|
slug: string;
|
|
@@ -3078,7 +3265,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3078
3265
|
checked: boolean;
|
|
3079
3266
|
}[];
|
|
3080
3267
|
number: number;
|
|
3081
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
3268
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3082
3269
|
updatedAt: string;
|
|
3083
3270
|
notes: string;
|
|
3084
3271
|
id: string;
|
|
@@ -3103,11 +3290,11 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3103
3290
|
date: string;
|
|
3104
3291
|
title: string;
|
|
3105
3292
|
description: string;
|
|
3106
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
3107
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
3293
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3294
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3108
3295
|
}[];
|
|
3109
3296
|
subtasks: {
|
|
3110
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
3297
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3111
3298
|
updatedAt: string;
|
|
3112
3299
|
id: string;
|
|
3113
3300
|
createdAt: string;
|
|
@@ -3123,8 +3310,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3123
3310
|
handoffReadAt: string;
|
|
3124
3311
|
handoffHistory: {
|
|
3125
3312
|
file: string;
|
|
3126
|
-
clearedAt: string;
|
|
3127
3313
|
reason: string;
|
|
3314
|
+
clearedAt: string;
|
|
3128
3315
|
}[];
|
|
3129
3316
|
featureId?: string | undefined;
|
|
3130
3317
|
}[];
|
|
@@ -3151,8 +3338,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3151
3338
|
id: string;
|
|
3152
3339
|
date: string;
|
|
3153
3340
|
title: string;
|
|
3154
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
3155
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
3341
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3342
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3156
3343
|
description?: string | undefined;
|
|
3157
3344
|
}[] | undefined;
|
|
3158
3345
|
dependsOn?: string[] | undefined;
|
|
@@ -3168,14 +3355,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3168
3355
|
};
|
|
3169
3356
|
requirements: {
|
|
3170
3357
|
requirements: {
|
|
3171
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
3358
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3172
3359
|
updatedAt: string;
|
|
3173
3360
|
id: string;
|
|
3174
3361
|
createdAt: string;
|
|
3175
3362
|
title: string;
|
|
3176
3363
|
description?: string | undefined;
|
|
3177
3364
|
macroTasks?: {
|
|
3178
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
3365
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3179
3366
|
updatedAt: string;
|
|
3180
3367
|
id: string;
|
|
3181
3368
|
createdAt: string;
|
|
@@ -3221,6 +3408,19 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3221
3408
|
nextFeatureNumber?: number | undefined;
|
|
3222
3409
|
nextPhaseNumber?: number | undefined;
|
|
3223
3410
|
nextTaskNumber?: number | undefined;
|
|
3411
|
+
workDeviations?: {
|
|
3412
|
+
id: string;
|
|
3413
|
+
createdAt: string;
|
|
3414
|
+
recommendedTaskId: string;
|
|
3415
|
+
temporaryTaskId: string;
|
|
3416
|
+
resumeTaskId: string;
|
|
3417
|
+
reason?: string | undefined;
|
|
3418
|
+
requestedBy?: "agent" | "user" | undefined;
|
|
3419
|
+
approvedBy?: string | undefined;
|
|
3420
|
+
state?: "approved" | "active" | "resolved" | "canceled" | undefined;
|
|
3421
|
+
activatedAt?: string | undefined;
|
|
3422
|
+
resolvedAt?: string | undefined;
|
|
3423
|
+
}[] | undefined;
|
|
3224
3424
|
};
|
|
3225
3425
|
phases: {
|
|
3226
3426
|
number: number;
|
|
@@ -3248,8 +3448,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3248
3448
|
id: string;
|
|
3249
3449
|
date: string;
|
|
3250
3450
|
title: string;
|
|
3251
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
3252
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
3451
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
3452
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
3253
3453
|
description?: string | undefined;
|
|
3254
3454
|
}[] | undefined;
|
|
3255
3455
|
dependsOn?: string[] | undefined;
|
|
@@ -3264,7 +3464,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3264
3464
|
completionCriteria?: string[] | undefined;
|
|
3265
3465
|
taskIds?: string[] | undefined;
|
|
3266
3466
|
tasks?: {
|
|
3267
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
3467
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3268
3468
|
updatedAt: string;
|
|
3269
3469
|
id: string;
|
|
3270
3470
|
createdAt: string;
|
|
@@ -3289,8 +3489,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3289
3489
|
id: string;
|
|
3290
3490
|
date: string;
|
|
3291
3491
|
title: string;
|
|
3292
|
-
fromStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
3293
|
-
toStatus: "planned" | "in-progress" | "done" | "blocked" | "
|
|
3492
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3493
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3294
3494
|
description?: string | undefined;
|
|
3295
3495
|
}[] | undefined;
|
|
3296
3496
|
checklist?: (string | {
|
|
@@ -3300,7 +3500,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3300
3500
|
checked?: boolean | undefined;
|
|
3301
3501
|
})[] | undefined;
|
|
3302
3502
|
subtasks?: {
|
|
3303
|
-
status: "planned" | "in-progress" | "done" | "blocked" | "
|
|
3503
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3304
3504
|
updatedAt: string;
|
|
3305
3505
|
id: string;
|
|
3306
3506
|
createdAt: string;
|
|
@@ -3343,6 +3543,7 @@ export type Manifest = z.infer<typeof ManifestSchema>;
|
|
|
3343
3543
|
export type WorkflowRules = z.infer<typeof WorkflowRulesSchema>;
|
|
3344
3544
|
export type AcceptedDecision = z.infer<typeof AcceptedDecisionSchema>;
|
|
3345
3545
|
export type Project = z.infer<typeof ProjectSchema>;
|
|
3546
|
+
export type WorkDeviation = z.infer<typeof WorkDeviationSchema>;
|
|
3346
3547
|
export type Subtask = z.infer<typeof SubtaskSchema>;
|
|
3347
3548
|
export type ChecklistItem = z.infer<typeof ChecklistItemSchema>;
|
|
3348
3549
|
export type StatusLogEntry = z.infer<typeof StatusLogEntrySchema>;
|