@agent-plan/core 0.2.22 → 0.2.23-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/display-status.d.ts +3 -5
- package/dist/display-status.d.ts.map +1 -1
- package/dist/display-status.js +5 -14
- package/dist/handoff-context.d.ts +60 -0
- package/dist/handoff-context.d.ts.map +1 -0
- package/dist/handoff-context.js +150 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/plan-store.d.ts +49 -9
- package/dist/plan-store.d.ts.map +1 -1
- package/dist/plan-store.js +376 -71
- package/dist/planner-rules.d.ts +21 -0
- package/dist/planner-rules.d.ts.map +1 -0
- package/dist/planner-rules.js +58 -0
- package/dist/read-tracking.d.ts +86 -0
- package/dist/read-tracking.d.ts.map +1 -0
- package/dist/read-tracking.js +192 -0
- package/dist/recap.d.ts.map +1 -1
- package/dist/recap.js +30 -24
- package/dist/schema.d.ts +551 -227
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +18 -6
- package/dist/task-selection.d.ts +38 -1
- package/dist/task-selection.d.ts.map +1 -1
- package/dist/task-selection.js +49 -11
- package/dist/task-start-outcome.d.ts +23 -0
- package/dist/task-start-outcome.d.ts.map +1 -0
- package/dist/task-start-outcome.js +23 -0
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -673,27 +673,27 @@ export declare const ProjectSchema: z.ZodObject<{
|
|
|
673
673
|
resumedAt?: string | undefined;
|
|
674
674
|
}[] | undefined;
|
|
675
675
|
}>;
|
|
676
|
-
export declare const SubtaskStatusSchema: z.ZodEnum<["planned", "in-progress", "
|
|
677
|
-
export declare const TaskStatusSchema: z.ZodEnum<["planned", "in-progress", "
|
|
678
|
-
export declare const PhaseStatusSchema: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "
|
|
679
|
-
export declare const RequirementStatusSchema: z.ZodEnum<["planned", "in-progress", "
|
|
680
|
-
export declare const FeatureStatusSchema: z.ZodEnum<["planned", "in-progress", "
|
|
676
|
+
export declare const SubtaskStatusSchema: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
677
|
+
export declare const TaskStatusSchema: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
678
|
+
export declare const PhaseStatusSchema: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
679
|
+
export declare const RequirementStatusSchema: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
680
|
+
export declare const FeatureStatusSchema: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
681
681
|
export declare const SubtaskSchema: z.ZodObject<{
|
|
682
682
|
id: z.ZodString;
|
|
683
683
|
title: z.ZodString;
|
|
684
|
-
status: z.ZodEnum<["planned", "in-progress", "
|
|
684
|
+
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
685
685
|
description: z.ZodDefault<z.ZodString>;
|
|
686
686
|
createdAt: z.ZodString;
|
|
687
687
|
updatedAt: z.ZodString;
|
|
688
688
|
}, "strip", z.ZodTypeAny, {
|
|
689
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
689
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
690
690
|
updatedAt: string;
|
|
691
691
|
id: string;
|
|
692
692
|
createdAt: string;
|
|
693
693
|
title: string;
|
|
694
694
|
description: string;
|
|
695
695
|
}, {
|
|
696
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
696
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
697
697
|
updatedAt: string;
|
|
698
698
|
id: string;
|
|
699
699
|
createdAt: string;
|
|
@@ -728,11 +728,21 @@ export declare const STATUS_LOG_MOTIVATION_REQUIRED: Set<string>;
|
|
|
728
728
|
* - → PLANNED from a non-PLANNED status requires it.
|
|
729
729
|
*/
|
|
730
730
|
export declare function needsMotivation(fromStatus: string, toStatus: string): boolean;
|
|
731
|
+
export declare const SessionInfoSchema: z.ZodObject<{
|
|
732
|
+
sessionId: z.ZodString;
|
|
733
|
+
createdAt: z.ZodString;
|
|
734
|
+
}, "strip", z.ZodTypeAny, {
|
|
735
|
+
createdAt: string;
|
|
736
|
+
sessionId: string;
|
|
737
|
+
}, {
|
|
738
|
+
createdAt: string;
|
|
739
|
+
sessionId: string;
|
|
740
|
+
}>;
|
|
731
741
|
export declare const StatusLogEntrySchema: z.ZodObject<{
|
|
732
742
|
id: z.ZodString;
|
|
733
743
|
date: z.ZodString;
|
|
734
|
-
fromStatus: z.ZodEnum<["planned", "in-progress", "
|
|
735
|
-
toStatus: z.ZodEnum<["planned", "in-progress", "
|
|
744
|
+
fromStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
745
|
+
toStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
736
746
|
title: z.ZodString;
|
|
737
747
|
description: z.ZodDefault<z.ZodString>;
|
|
738
748
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -740,14 +750,14 @@ export declare const StatusLogEntrySchema: z.ZodObject<{
|
|
|
740
750
|
date: string;
|
|
741
751
|
title: string;
|
|
742
752
|
description: string;
|
|
743
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
744
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
753
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
754
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
745
755
|
}, {
|
|
746
756
|
id: string;
|
|
747
757
|
date: string;
|
|
748
758
|
title: string;
|
|
749
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
750
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
759
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
760
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
751
761
|
description?: string | undefined;
|
|
752
762
|
}>;
|
|
753
763
|
/** Like StatusLogEntrySchema but for the DERIVED PHASE status, which includes
|
|
@@ -755,8 +765,8 @@ export declare const StatusLogEntrySchema: z.ZodObject<{
|
|
|
755
765
|
export declare const PhaseStatusLogEntrySchema: z.ZodObject<{
|
|
756
766
|
id: z.ZodString;
|
|
757
767
|
date: z.ZodString;
|
|
758
|
-
fromStatus: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "
|
|
759
|
-
toStatus: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "
|
|
768
|
+
fromStatus: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
769
|
+
toStatus: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
760
770
|
title: z.ZodString;
|
|
761
771
|
description: z.ZodDefault<z.ZodString>;
|
|
762
772
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -764,14 +774,14 @@ export declare const PhaseStatusLogEntrySchema: z.ZodObject<{
|
|
|
764
774
|
date: string;
|
|
765
775
|
title: string;
|
|
766
776
|
description: string;
|
|
767
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
768
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
777
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
778
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
769
779
|
}, {
|
|
770
780
|
id: string;
|
|
771
781
|
date: string;
|
|
772
782
|
title: string;
|
|
773
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
774
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
783
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
784
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
775
785
|
description?: string | undefined;
|
|
776
786
|
}>;
|
|
777
787
|
export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -785,7 +795,7 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
785
795
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
786
796
|
shortName: z.ZodString;
|
|
787
797
|
title: z.ZodString;
|
|
788
|
-
status: z.ZodEnum<["planned", "in-progress", "
|
|
798
|
+
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
789
799
|
description: z.ZodDefault<z.ZodString>;
|
|
790
800
|
/** Updated only when this task's description changes; distinct from entity updatedAt. */
|
|
791
801
|
descriptionUpdatedAt: z.ZodDefault<z.ZodString>;
|
|
@@ -793,8 +803,8 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
793
803
|
statusLog: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
794
804
|
id: z.ZodString;
|
|
795
805
|
date: z.ZodString;
|
|
796
|
-
fromStatus: z.ZodEnum<["planned", "in-progress", "
|
|
797
|
-
toStatus: z.ZodEnum<["planned", "in-progress", "
|
|
806
|
+
fromStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
807
|
+
toStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
798
808
|
title: z.ZodString;
|
|
799
809
|
description: z.ZodDefault<z.ZodString>;
|
|
800
810
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -802,14 +812,14 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
802
812
|
date: string;
|
|
803
813
|
title: string;
|
|
804
814
|
description: string;
|
|
805
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
806
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
815
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
816
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
807
817
|
}, {
|
|
808
818
|
id: string;
|
|
809
819
|
date: string;
|
|
810
820
|
title: string;
|
|
811
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
812
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
821
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
822
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
813
823
|
description?: string | undefined;
|
|
814
824
|
}>, "many">>;
|
|
815
825
|
decisions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -857,19 +867,19 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
857
867
|
subtasks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
858
868
|
id: z.ZodString;
|
|
859
869
|
title: z.ZodString;
|
|
860
|
-
status: z.ZodEnum<["planned", "in-progress", "
|
|
870
|
+
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
861
871
|
description: z.ZodDefault<z.ZodString>;
|
|
862
872
|
createdAt: z.ZodString;
|
|
863
873
|
updatedAt: z.ZodString;
|
|
864
874
|
}, "strip", z.ZodTypeAny, {
|
|
865
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
875
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
866
876
|
updatedAt: string;
|
|
867
877
|
id: string;
|
|
868
878
|
createdAt: string;
|
|
869
879
|
title: string;
|
|
870
880
|
description: string;
|
|
871
881
|
}, {
|
|
872
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
882
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
873
883
|
updatedAt: string;
|
|
874
884
|
id: string;
|
|
875
885
|
createdAt: string;
|
|
@@ -949,9 +959,20 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
949
959
|
completedAt: z.ZodDefault<z.ZodString>;
|
|
950
960
|
createdAt: z.ZodString;
|
|
951
961
|
updatedAt: z.ZodString;
|
|
962
|
+
/** Durable attestations of completed full context reads by harness session. */
|
|
963
|
+
sessionInfo: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
964
|
+
sessionId: z.ZodString;
|
|
965
|
+
createdAt: z.ZodString;
|
|
966
|
+
}, "strip", z.ZodTypeAny, {
|
|
967
|
+
createdAt: string;
|
|
968
|
+
sessionId: string;
|
|
969
|
+
}, {
|
|
970
|
+
createdAt: string;
|
|
971
|
+
sessionId: string;
|
|
972
|
+
}>, "many">>;
|
|
952
973
|
}, "strip", z.ZodTypeAny, {
|
|
953
974
|
number: number;
|
|
954
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
975
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
955
976
|
updatedAt: string;
|
|
956
977
|
notes: string;
|
|
957
978
|
id: string;
|
|
@@ -977,8 +998,8 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
977
998
|
date: string;
|
|
978
999
|
title: string;
|
|
979
1000
|
description: string;
|
|
980
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
981
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
1001
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1002
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
982
1003
|
}[];
|
|
983
1004
|
checklist: (string | {
|
|
984
1005
|
number: number;
|
|
@@ -987,7 +1008,7 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
987
1008
|
checked: boolean;
|
|
988
1009
|
})[];
|
|
989
1010
|
subtasks: {
|
|
990
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
1011
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
991
1012
|
updatedAt: string;
|
|
992
1013
|
id: string;
|
|
993
1014
|
createdAt: string;
|
|
@@ -1017,8 +1038,12 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1017
1038
|
}[];
|
|
1018
1039
|
startedAt: string;
|
|
1019
1040
|
completedAt: string;
|
|
1041
|
+
sessionInfo: {
|
|
1042
|
+
createdAt: string;
|
|
1043
|
+
sessionId: string;
|
|
1044
|
+
}[];
|
|
1020
1045
|
}, {
|
|
1021
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
1046
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1022
1047
|
updatedAt: string;
|
|
1023
1048
|
id: string;
|
|
1024
1049
|
createdAt: string;
|
|
@@ -1044,8 +1069,8 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1044
1069
|
id: string;
|
|
1045
1070
|
date: string;
|
|
1046
1071
|
title: string;
|
|
1047
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
1048
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
1072
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1073
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1049
1074
|
description?: string | undefined;
|
|
1050
1075
|
}[] | undefined;
|
|
1051
1076
|
checklist?: (string | {
|
|
@@ -1055,7 +1080,7 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1055
1080
|
checked?: boolean | undefined;
|
|
1056
1081
|
})[] | undefined;
|
|
1057
1082
|
subtasks?: {
|
|
1058
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
1083
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1059
1084
|
updatedAt: string;
|
|
1060
1085
|
id: string;
|
|
1061
1086
|
createdAt: string;
|
|
@@ -1085,6 +1110,10 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1085
1110
|
}[] | undefined;
|
|
1086
1111
|
startedAt?: string | undefined;
|
|
1087
1112
|
completedAt?: string | undefined;
|
|
1113
|
+
sessionInfo?: {
|
|
1114
|
+
createdAt: string;
|
|
1115
|
+
sessionId: string;
|
|
1116
|
+
}[] | undefined;
|
|
1088
1117
|
}>, {
|
|
1089
1118
|
checklist: {
|
|
1090
1119
|
id: string;
|
|
@@ -1093,7 +1122,7 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1093
1122
|
checked: boolean;
|
|
1094
1123
|
}[];
|
|
1095
1124
|
number: number;
|
|
1096
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
1125
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1097
1126
|
updatedAt: string;
|
|
1098
1127
|
notes: string;
|
|
1099
1128
|
id: string;
|
|
@@ -1119,11 +1148,11 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1119
1148
|
date: string;
|
|
1120
1149
|
title: string;
|
|
1121
1150
|
description: string;
|
|
1122
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
1123
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
1151
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1152
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1124
1153
|
}[];
|
|
1125
1154
|
subtasks: {
|
|
1126
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
1155
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1127
1156
|
updatedAt: string;
|
|
1128
1157
|
id: string;
|
|
1129
1158
|
createdAt: string;
|
|
@@ -1153,8 +1182,12 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1153
1182
|
}[];
|
|
1154
1183
|
startedAt: string;
|
|
1155
1184
|
completedAt: string;
|
|
1185
|
+
sessionInfo: {
|
|
1186
|
+
createdAt: string;
|
|
1187
|
+
sessionId: string;
|
|
1188
|
+
}[];
|
|
1156
1189
|
}, {
|
|
1157
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
1190
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1158
1191
|
updatedAt: string;
|
|
1159
1192
|
id: string;
|
|
1160
1193
|
createdAt: string;
|
|
@@ -1180,8 +1213,8 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1180
1213
|
id: string;
|
|
1181
1214
|
date: string;
|
|
1182
1215
|
title: string;
|
|
1183
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
1184
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
1216
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1217
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1185
1218
|
description?: string | undefined;
|
|
1186
1219
|
}[] | undefined;
|
|
1187
1220
|
checklist?: (string | {
|
|
@@ -1191,7 +1224,7 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1191
1224
|
checked?: boolean | undefined;
|
|
1192
1225
|
})[] | undefined;
|
|
1193
1226
|
subtasks?: {
|
|
1194
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
1227
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1195
1228
|
updatedAt: string;
|
|
1196
1229
|
id: string;
|
|
1197
1230
|
createdAt: string;
|
|
@@ -1221,6 +1254,10 @@ export declare const TaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1221
1254
|
}[] | undefined;
|
|
1222
1255
|
startedAt?: string | undefined;
|
|
1223
1256
|
completedAt?: string | undefined;
|
|
1257
|
+
sessionInfo?: {
|
|
1258
|
+
createdAt: string;
|
|
1259
|
+
sessionId: string;
|
|
1260
|
+
}[] | undefined;
|
|
1224
1261
|
}>;
|
|
1225
1262
|
export declare const HandoffHistoryEntrySchema: z.ZodObject<{
|
|
1226
1263
|
/** Relative path under .planner/.local/handoff-archive/ (e.g. <phaseId>-<ISO>.md). */
|
|
@@ -1299,7 +1336,7 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1299
1336
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
1300
1337
|
shortName: z.ZodString;
|
|
1301
1338
|
title: z.ZodString;
|
|
1302
|
-
status: z.ZodEnum<["planned", "in-progress", "
|
|
1339
|
+
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
1303
1340
|
description: z.ZodDefault<z.ZodString>;
|
|
1304
1341
|
/** Updated only when this task's description changes; distinct from entity updatedAt. */
|
|
1305
1342
|
descriptionUpdatedAt: z.ZodDefault<z.ZodString>;
|
|
@@ -1307,8 +1344,8 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1307
1344
|
statusLog: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1308
1345
|
id: z.ZodString;
|
|
1309
1346
|
date: z.ZodString;
|
|
1310
|
-
fromStatus: z.ZodEnum<["planned", "in-progress", "
|
|
1311
|
-
toStatus: z.ZodEnum<["planned", "in-progress", "
|
|
1347
|
+
fromStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
1348
|
+
toStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
1312
1349
|
title: z.ZodString;
|
|
1313
1350
|
description: z.ZodDefault<z.ZodString>;
|
|
1314
1351
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1316,14 +1353,14 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1316
1353
|
date: string;
|
|
1317
1354
|
title: string;
|
|
1318
1355
|
description: string;
|
|
1319
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
1320
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
1356
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1357
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1321
1358
|
}, {
|
|
1322
1359
|
id: string;
|
|
1323
1360
|
date: string;
|
|
1324
1361
|
title: string;
|
|
1325
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
1326
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
1362
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1363
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1327
1364
|
description?: string | undefined;
|
|
1328
1365
|
}>, "many">>;
|
|
1329
1366
|
decisions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1371,19 +1408,19 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1371
1408
|
subtasks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1372
1409
|
id: z.ZodString;
|
|
1373
1410
|
title: z.ZodString;
|
|
1374
|
-
status: z.ZodEnum<["planned", "in-progress", "
|
|
1411
|
+
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
1375
1412
|
description: z.ZodDefault<z.ZodString>;
|
|
1376
1413
|
createdAt: z.ZodString;
|
|
1377
1414
|
updatedAt: z.ZodString;
|
|
1378
1415
|
}, "strip", z.ZodTypeAny, {
|
|
1379
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
1416
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1380
1417
|
updatedAt: string;
|
|
1381
1418
|
id: string;
|
|
1382
1419
|
createdAt: string;
|
|
1383
1420
|
title: string;
|
|
1384
1421
|
description: string;
|
|
1385
1422
|
}, {
|
|
1386
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
1423
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1387
1424
|
updatedAt: string;
|
|
1388
1425
|
id: string;
|
|
1389
1426
|
createdAt: string;
|
|
@@ -1463,9 +1500,20 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1463
1500
|
completedAt: z.ZodDefault<z.ZodString>;
|
|
1464
1501
|
createdAt: z.ZodString;
|
|
1465
1502
|
updatedAt: z.ZodString;
|
|
1503
|
+
/** Durable attestations of completed full context reads by harness session. */
|
|
1504
|
+
sessionInfo: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1505
|
+
sessionId: z.ZodString;
|
|
1506
|
+
createdAt: z.ZodString;
|
|
1507
|
+
}, "strip", z.ZodTypeAny, {
|
|
1508
|
+
createdAt: string;
|
|
1509
|
+
sessionId: string;
|
|
1510
|
+
}, {
|
|
1511
|
+
createdAt: string;
|
|
1512
|
+
sessionId: string;
|
|
1513
|
+
}>, "many">>;
|
|
1466
1514
|
}, "strip", z.ZodTypeAny, {
|
|
1467
1515
|
number: number;
|
|
1468
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
1516
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1469
1517
|
updatedAt: string;
|
|
1470
1518
|
notes: string;
|
|
1471
1519
|
id: string;
|
|
@@ -1491,8 +1539,8 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1491
1539
|
date: string;
|
|
1492
1540
|
title: string;
|
|
1493
1541
|
description: string;
|
|
1494
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
1495
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
1542
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1543
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1496
1544
|
}[];
|
|
1497
1545
|
checklist: (string | {
|
|
1498
1546
|
number: number;
|
|
@@ -1501,7 +1549,7 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1501
1549
|
checked: boolean;
|
|
1502
1550
|
})[];
|
|
1503
1551
|
subtasks: {
|
|
1504
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
1552
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1505
1553
|
updatedAt: string;
|
|
1506
1554
|
id: string;
|
|
1507
1555
|
createdAt: string;
|
|
@@ -1531,8 +1579,12 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1531
1579
|
}[];
|
|
1532
1580
|
startedAt: string;
|
|
1533
1581
|
completedAt: string;
|
|
1582
|
+
sessionInfo: {
|
|
1583
|
+
createdAt: string;
|
|
1584
|
+
sessionId: string;
|
|
1585
|
+
}[];
|
|
1534
1586
|
}, {
|
|
1535
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
1587
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1536
1588
|
updatedAt: string;
|
|
1537
1589
|
id: string;
|
|
1538
1590
|
createdAt: string;
|
|
@@ -1558,8 +1610,8 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1558
1610
|
id: string;
|
|
1559
1611
|
date: string;
|
|
1560
1612
|
title: string;
|
|
1561
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
1562
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
1613
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1614
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1563
1615
|
description?: string | undefined;
|
|
1564
1616
|
}[] | undefined;
|
|
1565
1617
|
checklist?: (string | {
|
|
@@ -1569,7 +1621,7 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1569
1621
|
checked?: boolean | undefined;
|
|
1570
1622
|
})[] | undefined;
|
|
1571
1623
|
subtasks?: {
|
|
1572
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
1624
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1573
1625
|
updatedAt: string;
|
|
1574
1626
|
id: string;
|
|
1575
1627
|
createdAt: string;
|
|
@@ -1599,6 +1651,10 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1599
1651
|
}[] | undefined;
|
|
1600
1652
|
startedAt?: string | undefined;
|
|
1601
1653
|
completedAt?: string | undefined;
|
|
1654
|
+
sessionInfo?: {
|
|
1655
|
+
createdAt: string;
|
|
1656
|
+
sessionId: string;
|
|
1657
|
+
}[] | undefined;
|
|
1602
1658
|
}>, {
|
|
1603
1659
|
checklist: {
|
|
1604
1660
|
id: string;
|
|
@@ -1607,7 +1663,7 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1607
1663
|
checked: boolean;
|
|
1608
1664
|
}[];
|
|
1609
1665
|
number: number;
|
|
1610
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
1666
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1611
1667
|
updatedAt: string;
|
|
1612
1668
|
notes: string;
|
|
1613
1669
|
id: string;
|
|
@@ -1633,11 +1689,11 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1633
1689
|
date: string;
|
|
1634
1690
|
title: string;
|
|
1635
1691
|
description: string;
|
|
1636
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
1637
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
1692
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1693
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1638
1694
|
}[];
|
|
1639
1695
|
subtasks: {
|
|
1640
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
1696
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1641
1697
|
updatedAt: string;
|
|
1642
1698
|
id: string;
|
|
1643
1699
|
createdAt: string;
|
|
@@ -1667,8 +1723,12 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1667
1723
|
}[];
|
|
1668
1724
|
startedAt: string;
|
|
1669
1725
|
completedAt: string;
|
|
1726
|
+
sessionInfo: {
|
|
1727
|
+
createdAt: string;
|
|
1728
|
+
sessionId: string;
|
|
1729
|
+
}[];
|
|
1670
1730
|
}, {
|
|
1671
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
1731
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1672
1732
|
updatedAt: string;
|
|
1673
1733
|
id: string;
|
|
1674
1734
|
createdAt: string;
|
|
@@ -1694,8 +1754,8 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1694
1754
|
id: string;
|
|
1695
1755
|
date: string;
|
|
1696
1756
|
title: string;
|
|
1697
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
1698
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
1757
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1758
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1699
1759
|
description?: string | undefined;
|
|
1700
1760
|
}[] | undefined;
|
|
1701
1761
|
checklist?: (string | {
|
|
@@ -1705,7 +1765,7 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1705
1765
|
checked?: boolean | undefined;
|
|
1706
1766
|
})[] | undefined;
|
|
1707
1767
|
subtasks?: {
|
|
1708
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
1768
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1709
1769
|
updatedAt: string;
|
|
1710
1770
|
id: string;
|
|
1711
1771
|
createdAt: string;
|
|
@@ -1735,6 +1795,10 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1735
1795
|
}[] | undefined;
|
|
1736
1796
|
startedAt?: string | undefined;
|
|
1737
1797
|
completedAt?: string | undefined;
|
|
1798
|
+
sessionInfo?: {
|
|
1799
|
+
createdAt: string;
|
|
1800
|
+
sessionId: string;
|
|
1801
|
+
}[] | undefined;
|
|
1738
1802
|
}>, "many">>;
|
|
1739
1803
|
createdAt: z.ZodString;
|
|
1740
1804
|
updatedAt: z.ZodString;
|
|
@@ -1768,8 +1832,8 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1768
1832
|
statusLog: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1769
1833
|
id: z.ZodString;
|
|
1770
1834
|
date: z.ZodString;
|
|
1771
|
-
fromStatus: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "
|
|
1772
|
-
toStatus: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "
|
|
1835
|
+
fromStatus: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
1836
|
+
toStatus: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
1773
1837
|
title: z.ZodString;
|
|
1774
1838
|
description: z.ZodDefault<z.ZodString>;
|
|
1775
1839
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1777,16 +1841,27 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1777
1841
|
date: string;
|
|
1778
1842
|
title: string;
|
|
1779
1843
|
description: string;
|
|
1780
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
1781
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
1844
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1845
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1782
1846
|
}, {
|
|
1783
1847
|
id: string;
|
|
1784
1848
|
date: string;
|
|
1785
1849
|
title: string;
|
|
1786
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
1787
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
1850
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1851
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1788
1852
|
description?: string | undefined;
|
|
1789
1853
|
}>, "many">>;
|
|
1854
|
+
/** Durable attestations of completed full context reads by harness session. */
|
|
1855
|
+
sessionInfo: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1856
|
+
sessionId: z.ZodString;
|
|
1857
|
+
createdAt: z.ZodString;
|
|
1858
|
+
}, "strip", z.ZodTypeAny, {
|
|
1859
|
+
createdAt: string;
|
|
1860
|
+
sessionId: string;
|
|
1861
|
+
}, {
|
|
1862
|
+
createdAt: string;
|
|
1863
|
+
sessionId: string;
|
|
1864
|
+
}>, "many">>;
|
|
1790
1865
|
}, "strip", z.ZodTypeAny, {
|
|
1791
1866
|
number: number;
|
|
1792
1867
|
dependencies: string[];
|
|
@@ -1814,10 +1889,14 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1814
1889
|
date: string;
|
|
1815
1890
|
title: string;
|
|
1816
1891
|
description: string;
|
|
1817
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
1818
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
1892
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1893
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1819
1894
|
}[];
|
|
1820
1895
|
dependsOn: string[];
|
|
1896
|
+
sessionInfo: {
|
|
1897
|
+
createdAt: string;
|
|
1898
|
+
sessionId: string;
|
|
1899
|
+
}[];
|
|
1821
1900
|
slug: string;
|
|
1822
1901
|
discussedAt: string;
|
|
1823
1902
|
contextReady: boolean;
|
|
@@ -1836,7 +1915,7 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1836
1915
|
checked: boolean;
|
|
1837
1916
|
}[];
|
|
1838
1917
|
number: number;
|
|
1839
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
1918
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1840
1919
|
updatedAt: string;
|
|
1841
1920
|
notes: string;
|
|
1842
1921
|
id: string;
|
|
@@ -1862,11 +1941,11 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1862
1941
|
date: string;
|
|
1863
1942
|
title: string;
|
|
1864
1943
|
description: string;
|
|
1865
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
1866
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
1944
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1945
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1867
1946
|
}[];
|
|
1868
1947
|
subtasks: {
|
|
1869
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
1948
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1870
1949
|
updatedAt: string;
|
|
1871
1950
|
id: string;
|
|
1872
1951
|
createdAt: string;
|
|
@@ -1896,6 +1975,10 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1896
1975
|
}[];
|
|
1897
1976
|
startedAt: string;
|
|
1898
1977
|
completedAt: string;
|
|
1978
|
+
sessionInfo: {
|
|
1979
|
+
createdAt: string;
|
|
1980
|
+
sessionId: string;
|
|
1981
|
+
}[];
|
|
1899
1982
|
}[];
|
|
1900
1983
|
handoff: string;
|
|
1901
1984
|
handoffUpdatedAt: string;
|
|
@@ -1933,11 +2016,15 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1933
2016
|
id: string;
|
|
1934
2017
|
date: string;
|
|
1935
2018
|
title: string;
|
|
1936
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
1937
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
2019
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
2020
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
1938
2021
|
description?: string | undefined;
|
|
1939
2022
|
}[] | undefined;
|
|
1940
2023
|
dependsOn?: string[] | undefined;
|
|
2024
|
+
sessionInfo?: {
|
|
2025
|
+
createdAt: string;
|
|
2026
|
+
sessionId: string;
|
|
2027
|
+
}[] | undefined;
|
|
1941
2028
|
featureId?: string | undefined;
|
|
1942
2029
|
discussedAt?: string | undefined;
|
|
1943
2030
|
contextReady?: boolean | undefined;
|
|
@@ -1949,7 +2036,7 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1949
2036
|
completionCriteria?: string[] | undefined;
|
|
1950
2037
|
taskIds?: string[] | undefined;
|
|
1951
2038
|
tasks?: {
|
|
1952
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
2039
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1953
2040
|
updatedAt: string;
|
|
1954
2041
|
id: string;
|
|
1955
2042
|
createdAt: string;
|
|
@@ -1975,8 +2062,8 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1975
2062
|
id: string;
|
|
1976
2063
|
date: string;
|
|
1977
2064
|
title: string;
|
|
1978
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
1979
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
2065
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2066
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1980
2067
|
description?: string | undefined;
|
|
1981
2068
|
}[] | undefined;
|
|
1982
2069
|
checklist?: (string | {
|
|
@@ -1986,7 +2073,7 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
1986
2073
|
checked?: boolean | undefined;
|
|
1987
2074
|
})[] | undefined;
|
|
1988
2075
|
subtasks?: {
|
|
1989
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
2076
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
1990
2077
|
updatedAt: string;
|
|
1991
2078
|
id: string;
|
|
1992
2079
|
createdAt: string;
|
|
@@ -2016,6 +2103,10 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
2016
2103
|
}[] | undefined;
|
|
2017
2104
|
startedAt?: string | undefined;
|
|
2018
2105
|
completedAt?: string | undefined;
|
|
2106
|
+
sessionInfo?: {
|
|
2107
|
+
createdAt: string;
|
|
2108
|
+
sessionId: string;
|
|
2109
|
+
}[] | undefined;
|
|
2019
2110
|
}[] | undefined;
|
|
2020
2111
|
handoff?: string | undefined;
|
|
2021
2112
|
handoffUpdatedAt?: string | undefined;
|
|
@@ -2071,8 +2162,8 @@ export declare const FeatureSchema: z.ZodObject<{
|
|
|
2071
2162
|
statusLog: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2072
2163
|
id: z.ZodString;
|
|
2073
2164
|
date: z.ZodString;
|
|
2074
|
-
fromStatus: z.ZodEnum<["planned", "in-progress", "
|
|
2075
|
-
toStatus: z.ZodEnum<["planned", "in-progress", "
|
|
2165
|
+
fromStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2166
|
+
toStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2076
2167
|
title: z.ZodString;
|
|
2077
2168
|
description: z.ZodDefault<z.ZodString>;
|
|
2078
2169
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2080,18 +2171,29 @@ export declare const FeatureSchema: z.ZodObject<{
|
|
|
2080
2171
|
date: string;
|
|
2081
2172
|
title: string;
|
|
2082
2173
|
description: string;
|
|
2083
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
2084
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
2174
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2175
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2085
2176
|
}, {
|
|
2086
2177
|
id: string;
|
|
2087
2178
|
date: string;
|
|
2088
2179
|
title: string;
|
|
2089
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
2090
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
2180
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2181
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2091
2182
|
description?: string | undefined;
|
|
2092
2183
|
}>, "many">>;
|
|
2093
2184
|
createdAt: z.ZodString;
|
|
2094
2185
|
updatedAt: z.ZodString;
|
|
2186
|
+
/** Durable attestations of completed full context reads by harness session. */
|
|
2187
|
+
sessionInfo: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2188
|
+
sessionId: z.ZodString;
|
|
2189
|
+
createdAt: z.ZodString;
|
|
2190
|
+
}, "strip", z.ZodTypeAny, {
|
|
2191
|
+
createdAt: string;
|
|
2192
|
+
sessionId: string;
|
|
2193
|
+
}, {
|
|
2194
|
+
createdAt: string;
|
|
2195
|
+
sessionId: string;
|
|
2196
|
+
}>, "many">>;
|
|
2095
2197
|
}, "strip", z.ZodTypeAny, {
|
|
2096
2198
|
number: number;
|
|
2097
2199
|
name: string;
|
|
@@ -2115,10 +2217,14 @@ export declare const FeatureSchema: z.ZodObject<{
|
|
|
2115
2217
|
date: string;
|
|
2116
2218
|
title: string;
|
|
2117
2219
|
description: string;
|
|
2118
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
2119
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
2220
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2221
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2120
2222
|
}[];
|
|
2121
2223
|
dependsOn: string[];
|
|
2224
|
+
sessionInfo: {
|
|
2225
|
+
createdAt: string;
|
|
2226
|
+
sessionId: string;
|
|
2227
|
+
}[];
|
|
2122
2228
|
discussedAt: string;
|
|
2123
2229
|
contextReady: boolean;
|
|
2124
2230
|
contextReadyReason: string;
|
|
@@ -2149,11 +2255,15 @@ export declare const FeatureSchema: z.ZodObject<{
|
|
|
2149
2255
|
id: string;
|
|
2150
2256
|
date: string;
|
|
2151
2257
|
title: string;
|
|
2152
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
2153
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
2258
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2259
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2154
2260
|
description?: string | undefined;
|
|
2155
2261
|
}[] | undefined;
|
|
2156
2262
|
dependsOn?: string[] | undefined;
|
|
2263
|
+
sessionInfo?: {
|
|
2264
|
+
createdAt: string;
|
|
2265
|
+
sessionId: string;
|
|
2266
|
+
}[] | undefined;
|
|
2157
2267
|
discussedAt?: string | undefined;
|
|
2158
2268
|
contextReady?: boolean | undefined;
|
|
2159
2269
|
contextReadyReason?: string | undefined;
|
|
@@ -2209,8 +2319,8 @@ export declare const FeaturesDocumentSchema: z.ZodObject<{
|
|
|
2209
2319
|
statusLog: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2210
2320
|
id: z.ZodString;
|
|
2211
2321
|
date: z.ZodString;
|
|
2212
|
-
fromStatus: z.ZodEnum<["planned", "in-progress", "
|
|
2213
|
-
toStatus: z.ZodEnum<["planned", "in-progress", "
|
|
2322
|
+
fromStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2323
|
+
toStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2214
2324
|
title: z.ZodString;
|
|
2215
2325
|
description: z.ZodDefault<z.ZodString>;
|
|
2216
2326
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2218,18 +2328,29 @@ export declare const FeaturesDocumentSchema: z.ZodObject<{
|
|
|
2218
2328
|
date: string;
|
|
2219
2329
|
title: string;
|
|
2220
2330
|
description: string;
|
|
2221
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
2222
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
2331
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2332
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2223
2333
|
}, {
|
|
2224
2334
|
id: string;
|
|
2225
2335
|
date: string;
|
|
2226
2336
|
title: string;
|
|
2227
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
2228
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
2337
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2338
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2229
2339
|
description?: string | undefined;
|
|
2230
2340
|
}>, "many">>;
|
|
2231
2341
|
createdAt: z.ZodString;
|
|
2232
2342
|
updatedAt: z.ZodString;
|
|
2343
|
+
/** Durable attestations of completed full context reads by harness session. */
|
|
2344
|
+
sessionInfo: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2345
|
+
sessionId: z.ZodString;
|
|
2346
|
+
createdAt: z.ZodString;
|
|
2347
|
+
}, "strip", z.ZodTypeAny, {
|
|
2348
|
+
createdAt: string;
|
|
2349
|
+
sessionId: string;
|
|
2350
|
+
}, {
|
|
2351
|
+
createdAt: string;
|
|
2352
|
+
sessionId: string;
|
|
2353
|
+
}>, "many">>;
|
|
2233
2354
|
}, "strip", z.ZodTypeAny, {
|
|
2234
2355
|
number: number;
|
|
2235
2356
|
name: string;
|
|
@@ -2253,10 +2374,14 @@ export declare const FeaturesDocumentSchema: z.ZodObject<{
|
|
|
2253
2374
|
date: string;
|
|
2254
2375
|
title: string;
|
|
2255
2376
|
description: string;
|
|
2256
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
2257
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
2377
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2378
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2258
2379
|
}[];
|
|
2259
2380
|
dependsOn: string[];
|
|
2381
|
+
sessionInfo: {
|
|
2382
|
+
createdAt: string;
|
|
2383
|
+
sessionId: string;
|
|
2384
|
+
}[];
|
|
2260
2385
|
discussedAt: string;
|
|
2261
2386
|
contextReady: boolean;
|
|
2262
2387
|
contextReadyReason: string;
|
|
@@ -2287,11 +2412,15 @@ export declare const FeaturesDocumentSchema: z.ZodObject<{
|
|
|
2287
2412
|
id: string;
|
|
2288
2413
|
date: string;
|
|
2289
2414
|
title: string;
|
|
2290
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
2291
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
2415
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2416
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2292
2417
|
description?: string | undefined;
|
|
2293
2418
|
}[] | undefined;
|
|
2294
2419
|
dependsOn?: string[] | undefined;
|
|
2420
|
+
sessionInfo?: {
|
|
2421
|
+
createdAt: string;
|
|
2422
|
+
sessionId: string;
|
|
2423
|
+
}[] | undefined;
|
|
2295
2424
|
discussedAt?: string | undefined;
|
|
2296
2425
|
contextReady?: boolean | undefined;
|
|
2297
2426
|
contextReadyReason?: string | undefined;
|
|
@@ -2325,10 +2454,14 @@ export declare const FeaturesDocumentSchema: z.ZodObject<{
|
|
|
2325
2454
|
date: string;
|
|
2326
2455
|
title: string;
|
|
2327
2456
|
description: string;
|
|
2328
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
2329
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
2457
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2458
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2330
2459
|
}[];
|
|
2331
2460
|
dependsOn: string[];
|
|
2461
|
+
sessionInfo: {
|
|
2462
|
+
createdAt: string;
|
|
2463
|
+
sessionId: string;
|
|
2464
|
+
}[];
|
|
2332
2465
|
discussedAt: string;
|
|
2333
2466
|
contextReady: boolean;
|
|
2334
2467
|
contextReadyReason: string;
|
|
@@ -2361,11 +2494,15 @@ export declare const FeaturesDocumentSchema: z.ZodObject<{
|
|
|
2361
2494
|
id: string;
|
|
2362
2495
|
date: string;
|
|
2363
2496
|
title: string;
|
|
2364
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
2365
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
2497
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2498
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2366
2499
|
description?: string | undefined;
|
|
2367
2500
|
}[] | undefined;
|
|
2368
2501
|
dependsOn?: string[] | undefined;
|
|
2502
|
+
sessionInfo?: {
|
|
2503
|
+
createdAt: string;
|
|
2504
|
+
sessionId: string;
|
|
2505
|
+
}[] | undefined;
|
|
2369
2506
|
discussedAt?: string | undefined;
|
|
2370
2507
|
contextReady?: boolean | undefined;
|
|
2371
2508
|
contextReadyReason?: string | undefined;
|
|
@@ -2380,18 +2517,18 @@ export declare const MacroTaskSchema: z.ZodObject<{
|
|
|
2380
2517
|
id: z.ZodString;
|
|
2381
2518
|
title: z.ZodString;
|
|
2382
2519
|
description: z.ZodDefault<z.ZodString>;
|
|
2383
|
-
status: z.ZodEnum<["planned", "in-progress", "
|
|
2520
|
+
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2384
2521
|
createdAt: z.ZodString;
|
|
2385
2522
|
updatedAt: z.ZodString;
|
|
2386
2523
|
}, "strip", z.ZodTypeAny, {
|
|
2387
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
2524
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2388
2525
|
updatedAt: string;
|
|
2389
2526
|
id: string;
|
|
2390
2527
|
createdAt: string;
|
|
2391
2528
|
title: string;
|
|
2392
2529
|
description: string;
|
|
2393
2530
|
}, {
|
|
2394
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
2531
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2395
2532
|
updatedAt: string;
|
|
2396
2533
|
id: string;
|
|
2397
2534
|
createdAt: string;
|
|
@@ -2402,23 +2539,23 @@ export declare const RequirementSchema: z.ZodObject<{
|
|
|
2402
2539
|
id: z.ZodString;
|
|
2403
2540
|
title: z.ZodString;
|
|
2404
2541
|
description: z.ZodDefault<z.ZodString>;
|
|
2405
|
-
status: z.ZodEnum<["planned", "in-progress", "
|
|
2542
|
+
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2406
2543
|
macroTasks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2407
2544
|
id: z.ZodString;
|
|
2408
2545
|
title: z.ZodString;
|
|
2409
2546
|
description: z.ZodDefault<z.ZodString>;
|
|
2410
|
-
status: z.ZodEnum<["planned", "in-progress", "
|
|
2547
|
+
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2411
2548
|
createdAt: z.ZodString;
|
|
2412
2549
|
updatedAt: z.ZodString;
|
|
2413
2550
|
}, "strip", z.ZodTypeAny, {
|
|
2414
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
2551
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2415
2552
|
updatedAt: string;
|
|
2416
2553
|
id: string;
|
|
2417
2554
|
createdAt: string;
|
|
2418
2555
|
title: string;
|
|
2419
2556
|
description: string;
|
|
2420
2557
|
}, {
|
|
2421
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
2558
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2422
2559
|
updatedAt: string;
|
|
2423
2560
|
id: string;
|
|
2424
2561
|
createdAt: string;
|
|
@@ -2428,15 +2565,30 @@ export declare const RequirementSchema: z.ZodObject<{
|
|
|
2428
2565
|
linkedPhaseIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2429
2566
|
createdAt: z.ZodString;
|
|
2430
2567
|
updatedAt: z.ZodString;
|
|
2568
|
+
/** Durable attestations of completed full context reads by harness session. */
|
|
2569
|
+
sessionInfo: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2570
|
+
sessionId: z.ZodString;
|
|
2571
|
+
createdAt: z.ZodString;
|
|
2572
|
+
}, "strip", z.ZodTypeAny, {
|
|
2573
|
+
createdAt: string;
|
|
2574
|
+
sessionId: string;
|
|
2575
|
+
}, {
|
|
2576
|
+
createdAt: string;
|
|
2577
|
+
sessionId: string;
|
|
2578
|
+
}>, "many">>;
|
|
2431
2579
|
}, "strip", z.ZodTypeAny, {
|
|
2432
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
2580
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2433
2581
|
updatedAt: string;
|
|
2434
2582
|
id: string;
|
|
2435
2583
|
createdAt: string;
|
|
2436
2584
|
title: string;
|
|
2437
2585
|
description: string;
|
|
2586
|
+
sessionInfo: {
|
|
2587
|
+
createdAt: string;
|
|
2588
|
+
sessionId: string;
|
|
2589
|
+
}[];
|
|
2438
2590
|
macroTasks: {
|
|
2439
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
2591
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2440
2592
|
updatedAt: string;
|
|
2441
2593
|
id: string;
|
|
2442
2594
|
createdAt: string;
|
|
@@ -2445,14 +2597,18 @@ export declare const RequirementSchema: z.ZodObject<{
|
|
|
2445
2597
|
}[];
|
|
2446
2598
|
linkedPhaseIds: string[];
|
|
2447
2599
|
}, {
|
|
2448
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
2600
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2449
2601
|
updatedAt: string;
|
|
2450
2602
|
id: string;
|
|
2451
2603
|
createdAt: string;
|
|
2452
2604
|
title: string;
|
|
2453
2605
|
description?: string | undefined;
|
|
2606
|
+
sessionInfo?: {
|
|
2607
|
+
createdAt: string;
|
|
2608
|
+
sessionId: string;
|
|
2609
|
+
}[] | undefined;
|
|
2454
2610
|
macroTasks?: {
|
|
2455
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
2611
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2456
2612
|
updatedAt: string;
|
|
2457
2613
|
id: string;
|
|
2458
2614
|
createdAt: string;
|
|
@@ -2466,23 +2622,23 @@ export declare const RequirementsDocumentSchema: z.ZodObject<{
|
|
|
2466
2622
|
id: z.ZodString;
|
|
2467
2623
|
title: z.ZodString;
|
|
2468
2624
|
description: z.ZodDefault<z.ZodString>;
|
|
2469
|
-
status: z.ZodEnum<["planned", "in-progress", "
|
|
2625
|
+
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2470
2626
|
macroTasks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2471
2627
|
id: z.ZodString;
|
|
2472
2628
|
title: z.ZodString;
|
|
2473
2629
|
description: z.ZodDefault<z.ZodString>;
|
|
2474
|
-
status: z.ZodEnum<["planned", "in-progress", "
|
|
2630
|
+
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2475
2631
|
createdAt: z.ZodString;
|
|
2476
2632
|
updatedAt: z.ZodString;
|
|
2477
2633
|
}, "strip", z.ZodTypeAny, {
|
|
2478
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
2634
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2479
2635
|
updatedAt: string;
|
|
2480
2636
|
id: string;
|
|
2481
2637
|
createdAt: string;
|
|
2482
2638
|
title: string;
|
|
2483
2639
|
description: string;
|
|
2484
2640
|
}, {
|
|
2485
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
2641
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2486
2642
|
updatedAt: string;
|
|
2487
2643
|
id: string;
|
|
2488
2644
|
createdAt: string;
|
|
@@ -2492,15 +2648,30 @@ export declare const RequirementsDocumentSchema: z.ZodObject<{
|
|
|
2492
2648
|
linkedPhaseIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2493
2649
|
createdAt: z.ZodString;
|
|
2494
2650
|
updatedAt: z.ZodString;
|
|
2651
|
+
/** Durable attestations of completed full context reads by harness session. */
|
|
2652
|
+
sessionInfo: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2653
|
+
sessionId: z.ZodString;
|
|
2654
|
+
createdAt: z.ZodString;
|
|
2655
|
+
}, "strip", z.ZodTypeAny, {
|
|
2656
|
+
createdAt: string;
|
|
2657
|
+
sessionId: string;
|
|
2658
|
+
}, {
|
|
2659
|
+
createdAt: string;
|
|
2660
|
+
sessionId: string;
|
|
2661
|
+
}>, "many">>;
|
|
2495
2662
|
}, "strip", z.ZodTypeAny, {
|
|
2496
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
2663
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2497
2664
|
updatedAt: string;
|
|
2498
2665
|
id: string;
|
|
2499
2666
|
createdAt: string;
|
|
2500
2667
|
title: string;
|
|
2501
2668
|
description: string;
|
|
2669
|
+
sessionInfo: {
|
|
2670
|
+
createdAt: string;
|
|
2671
|
+
sessionId: string;
|
|
2672
|
+
}[];
|
|
2502
2673
|
macroTasks: {
|
|
2503
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
2674
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2504
2675
|
updatedAt: string;
|
|
2505
2676
|
id: string;
|
|
2506
2677
|
createdAt: string;
|
|
@@ -2509,14 +2680,18 @@ export declare const RequirementsDocumentSchema: z.ZodObject<{
|
|
|
2509
2680
|
}[];
|
|
2510
2681
|
linkedPhaseIds: string[];
|
|
2511
2682
|
}, {
|
|
2512
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
2683
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2513
2684
|
updatedAt: string;
|
|
2514
2685
|
id: string;
|
|
2515
2686
|
createdAt: string;
|
|
2516
2687
|
title: string;
|
|
2517
2688
|
description?: string | undefined;
|
|
2689
|
+
sessionInfo?: {
|
|
2690
|
+
createdAt: string;
|
|
2691
|
+
sessionId: string;
|
|
2692
|
+
}[] | undefined;
|
|
2518
2693
|
macroTasks?: {
|
|
2519
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
2694
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2520
2695
|
updatedAt: string;
|
|
2521
2696
|
id: string;
|
|
2522
2697
|
createdAt: string;
|
|
@@ -2527,14 +2702,18 @@ export declare const RequirementsDocumentSchema: z.ZodObject<{
|
|
|
2527
2702
|
}>, "many">;
|
|
2528
2703
|
}, "strip", z.ZodTypeAny, {
|
|
2529
2704
|
requirements: {
|
|
2530
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
2705
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2531
2706
|
updatedAt: string;
|
|
2532
2707
|
id: string;
|
|
2533
2708
|
createdAt: string;
|
|
2534
2709
|
title: string;
|
|
2535
2710
|
description: string;
|
|
2711
|
+
sessionInfo: {
|
|
2712
|
+
createdAt: string;
|
|
2713
|
+
sessionId: string;
|
|
2714
|
+
}[];
|
|
2536
2715
|
macroTasks: {
|
|
2537
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
2716
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2538
2717
|
updatedAt: string;
|
|
2539
2718
|
id: string;
|
|
2540
2719
|
createdAt: string;
|
|
@@ -2545,14 +2724,18 @@ export declare const RequirementsDocumentSchema: z.ZodObject<{
|
|
|
2545
2724
|
}[];
|
|
2546
2725
|
}, {
|
|
2547
2726
|
requirements: {
|
|
2548
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
2727
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2549
2728
|
updatedAt: string;
|
|
2550
2729
|
id: string;
|
|
2551
2730
|
createdAt: string;
|
|
2552
2731
|
title: string;
|
|
2553
2732
|
description?: string | undefined;
|
|
2733
|
+
sessionInfo?: {
|
|
2734
|
+
createdAt: string;
|
|
2735
|
+
sessionId: string;
|
|
2736
|
+
}[] | undefined;
|
|
2554
2737
|
macroTasks?: {
|
|
2555
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
2738
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2556
2739
|
updatedAt: string;
|
|
2557
2740
|
id: string;
|
|
2558
2741
|
createdAt: string;
|
|
@@ -2893,8 +3076,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2893
3076
|
statusLog: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2894
3077
|
id: z.ZodString;
|
|
2895
3078
|
date: z.ZodString;
|
|
2896
|
-
fromStatus: z.ZodEnum<["planned", "in-progress", "
|
|
2897
|
-
toStatus: z.ZodEnum<["planned", "in-progress", "
|
|
3079
|
+
fromStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
3080
|
+
toStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
2898
3081
|
title: z.ZodString;
|
|
2899
3082
|
description: z.ZodDefault<z.ZodString>;
|
|
2900
3083
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2902,18 +3085,29 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2902
3085
|
date: string;
|
|
2903
3086
|
title: string;
|
|
2904
3087
|
description: string;
|
|
2905
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
2906
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
3088
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3089
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2907
3090
|
}, {
|
|
2908
3091
|
id: string;
|
|
2909
3092
|
date: string;
|
|
2910
3093
|
title: string;
|
|
2911
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
2912
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
3094
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3095
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2913
3096
|
description?: string | undefined;
|
|
2914
3097
|
}>, "many">>;
|
|
2915
3098
|
createdAt: z.ZodString;
|
|
2916
3099
|
updatedAt: z.ZodString;
|
|
3100
|
+
/** Durable attestations of completed full context reads by harness session. */
|
|
3101
|
+
sessionInfo: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3102
|
+
sessionId: z.ZodString;
|
|
3103
|
+
createdAt: z.ZodString;
|
|
3104
|
+
}, "strip", z.ZodTypeAny, {
|
|
3105
|
+
createdAt: string;
|
|
3106
|
+
sessionId: string;
|
|
3107
|
+
}, {
|
|
3108
|
+
createdAt: string;
|
|
3109
|
+
sessionId: string;
|
|
3110
|
+
}>, "many">>;
|
|
2917
3111
|
}, "strip", z.ZodTypeAny, {
|
|
2918
3112
|
number: number;
|
|
2919
3113
|
name: string;
|
|
@@ -2937,10 +3131,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2937
3131
|
date: string;
|
|
2938
3132
|
title: string;
|
|
2939
3133
|
description: string;
|
|
2940
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
2941
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
3134
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3135
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2942
3136
|
}[];
|
|
2943
3137
|
dependsOn: string[];
|
|
3138
|
+
sessionInfo: {
|
|
3139
|
+
createdAt: string;
|
|
3140
|
+
sessionId: string;
|
|
3141
|
+
}[];
|
|
2944
3142
|
discussedAt: string;
|
|
2945
3143
|
contextReady: boolean;
|
|
2946
3144
|
contextReadyReason: string;
|
|
@@ -2971,11 +3169,15 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
2971
3169
|
id: string;
|
|
2972
3170
|
date: string;
|
|
2973
3171
|
title: string;
|
|
2974
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
2975
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
3172
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3173
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
2976
3174
|
description?: string | undefined;
|
|
2977
3175
|
}[] | undefined;
|
|
2978
3176
|
dependsOn?: string[] | undefined;
|
|
3177
|
+
sessionInfo?: {
|
|
3178
|
+
createdAt: string;
|
|
3179
|
+
sessionId: string;
|
|
3180
|
+
}[] | undefined;
|
|
2979
3181
|
discussedAt?: string | undefined;
|
|
2980
3182
|
contextReady?: boolean | undefined;
|
|
2981
3183
|
contextReadyReason?: string | undefined;
|
|
@@ -3009,10 +3211,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3009
3211
|
date: string;
|
|
3010
3212
|
title: string;
|
|
3011
3213
|
description: string;
|
|
3012
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
3013
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
3214
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3215
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3014
3216
|
}[];
|
|
3015
3217
|
dependsOn: string[];
|
|
3218
|
+
sessionInfo: {
|
|
3219
|
+
createdAt: string;
|
|
3220
|
+
sessionId: string;
|
|
3221
|
+
}[];
|
|
3016
3222
|
discussedAt: string;
|
|
3017
3223
|
contextReady: boolean;
|
|
3018
3224
|
contextReadyReason: string;
|
|
@@ -3045,11 +3251,15 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3045
3251
|
id: string;
|
|
3046
3252
|
date: string;
|
|
3047
3253
|
title: string;
|
|
3048
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
3049
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
3254
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3255
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3050
3256
|
description?: string | undefined;
|
|
3051
3257
|
}[] | undefined;
|
|
3052
3258
|
dependsOn?: string[] | undefined;
|
|
3259
|
+
sessionInfo?: {
|
|
3260
|
+
createdAt: string;
|
|
3261
|
+
sessionId: string;
|
|
3262
|
+
}[] | undefined;
|
|
3053
3263
|
discussedAt?: string | undefined;
|
|
3054
3264
|
contextReady?: boolean | undefined;
|
|
3055
3265
|
contextReadyReason?: string | undefined;
|
|
@@ -3065,23 +3275,23 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3065
3275
|
id: z.ZodString;
|
|
3066
3276
|
title: z.ZodString;
|
|
3067
3277
|
description: z.ZodDefault<z.ZodString>;
|
|
3068
|
-
status: z.ZodEnum<["planned", "in-progress", "
|
|
3278
|
+
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
3069
3279
|
macroTasks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3070
3280
|
id: z.ZodString;
|
|
3071
3281
|
title: z.ZodString;
|
|
3072
3282
|
description: z.ZodDefault<z.ZodString>;
|
|
3073
|
-
status: z.ZodEnum<["planned", "in-progress", "
|
|
3283
|
+
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
3074
3284
|
createdAt: z.ZodString;
|
|
3075
3285
|
updatedAt: z.ZodString;
|
|
3076
3286
|
}, "strip", z.ZodTypeAny, {
|
|
3077
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
3287
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3078
3288
|
updatedAt: string;
|
|
3079
3289
|
id: string;
|
|
3080
3290
|
createdAt: string;
|
|
3081
3291
|
title: string;
|
|
3082
3292
|
description: string;
|
|
3083
3293
|
}, {
|
|
3084
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
3294
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3085
3295
|
updatedAt: string;
|
|
3086
3296
|
id: string;
|
|
3087
3297
|
createdAt: string;
|
|
@@ -3091,15 +3301,30 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3091
3301
|
linkedPhaseIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
3092
3302
|
createdAt: z.ZodString;
|
|
3093
3303
|
updatedAt: z.ZodString;
|
|
3304
|
+
/** Durable attestations of completed full context reads by harness session. */
|
|
3305
|
+
sessionInfo: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3306
|
+
sessionId: z.ZodString;
|
|
3307
|
+
createdAt: z.ZodString;
|
|
3308
|
+
}, "strip", z.ZodTypeAny, {
|
|
3309
|
+
createdAt: string;
|
|
3310
|
+
sessionId: string;
|
|
3311
|
+
}, {
|
|
3312
|
+
createdAt: string;
|
|
3313
|
+
sessionId: string;
|
|
3314
|
+
}>, "many">>;
|
|
3094
3315
|
}, "strip", z.ZodTypeAny, {
|
|
3095
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
3316
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3096
3317
|
updatedAt: string;
|
|
3097
3318
|
id: string;
|
|
3098
3319
|
createdAt: string;
|
|
3099
3320
|
title: string;
|
|
3100
3321
|
description: string;
|
|
3322
|
+
sessionInfo: {
|
|
3323
|
+
createdAt: string;
|
|
3324
|
+
sessionId: string;
|
|
3325
|
+
}[];
|
|
3101
3326
|
macroTasks: {
|
|
3102
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
3327
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3103
3328
|
updatedAt: string;
|
|
3104
3329
|
id: string;
|
|
3105
3330
|
createdAt: string;
|
|
@@ -3108,14 +3333,18 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3108
3333
|
}[];
|
|
3109
3334
|
linkedPhaseIds: string[];
|
|
3110
3335
|
}, {
|
|
3111
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
3336
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3112
3337
|
updatedAt: string;
|
|
3113
3338
|
id: string;
|
|
3114
3339
|
createdAt: string;
|
|
3115
3340
|
title: string;
|
|
3116
3341
|
description?: string | undefined;
|
|
3342
|
+
sessionInfo?: {
|
|
3343
|
+
createdAt: string;
|
|
3344
|
+
sessionId: string;
|
|
3345
|
+
}[] | undefined;
|
|
3117
3346
|
macroTasks?: {
|
|
3118
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
3347
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3119
3348
|
updatedAt: string;
|
|
3120
3349
|
id: string;
|
|
3121
3350
|
createdAt: string;
|
|
@@ -3126,14 +3355,18 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3126
3355
|
}>, "many">;
|
|
3127
3356
|
}, "strip", z.ZodTypeAny, {
|
|
3128
3357
|
requirements: {
|
|
3129
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
3358
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3130
3359
|
updatedAt: string;
|
|
3131
3360
|
id: string;
|
|
3132
3361
|
createdAt: string;
|
|
3133
3362
|
title: string;
|
|
3134
3363
|
description: string;
|
|
3364
|
+
sessionInfo: {
|
|
3365
|
+
createdAt: string;
|
|
3366
|
+
sessionId: string;
|
|
3367
|
+
}[];
|
|
3135
3368
|
macroTasks: {
|
|
3136
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
3369
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3137
3370
|
updatedAt: string;
|
|
3138
3371
|
id: string;
|
|
3139
3372
|
createdAt: string;
|
|
@@ -3144,14 +3377,18 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3144
3377
|
}[];
|
|
3145
3378
|
}, {
|
|
3146
3379
|
requirements: {
|
|
3147
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
3380
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3148
3381
|
updatedAt: string;
|
|
3149
3382
|
id: string;
|
|
3150
3383
|
createdAt: string;
|
|
3151
3384
|
title: string;
|
|
3152
3385
|
description?: string | undefined;
|
|
3386
|
+
sessionInfo?: {
|
|
3387
|
+
createdAt: string;
|
|
3388
|
+
sessionId: string;
|
|
3389
|
+
}[] | undefined;
|
|
3153
3390
|
macroTasks?: {
|
|
3154
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
3391
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3155
3392
|
updatedAt: string;
|
|
3156
3393
|
id: string;
|
|
3157
3394
|
createdAt: string;
|
|
@@ -3223,7 +3460,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3223
3460
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
3224
3461
|
shortName: z.ZodString;
|
|
3225
3462
|
title: z.ZodString;
|
|
3226
|
-
status: z.ZodEnum<["planned", "in-progress", "
|
|
3463
|
+
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
3227
3464
|
description: z.ZodDefault<z.ZodString>;
|
|
3228
3465
|
/** Updated only when this task's description changes; distinct from entity updatedAt. */
|
|
3229
3466
|
descriptionUpdatedAt: z.ZodDefault<z.ZodString>;
|
|
@@ -3231,8 +3468,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3231
3468
|
statusLog: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3232
3469
|
id: z.ZodString;
|
|
3233
3470
|
date: z.ZodString;
|
|
3234
|
-
fromStatus: z.ZodEnum<["planned", "in-progress", "
|
|
3235
|
-
toStatus: z.ZodEnum<["planned", "in-progress", "
|
|
3471
|
+
fromStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
3472
|
+
toStatus: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
3236
3473
|
title: z.ZodString;
|
|
3237
3474
|
description: z.ZodDefault<z.ZodString>;
|
|
3238
3475
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3240,14 +3477,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3240
3477
|
date: string;
|
|
3241
3478
|
title: string;
|
|
3242
3479
|
description: string;
|
|
3243
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
3244
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
3480
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3481
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3245
3482
|
}, {
|
|
3246
3483
|
id: string;
|
|
3247
3484
|
date: string;
|
|
3248
3485
|
title: string;
|
|
3249
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
3250
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
3486
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3487
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3251
3488
|
description?: string | undefined;
|
|
3252
3489
|
}>, "many">>;
|
|
3253
3490
|
decisions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3295,19 +3532,19 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3295
3532
|
subtasks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3296
3533
|
id: z.ZodString;
|
|
3297
3534
|
title: z.ZodString;
|
|
3298
|
-
status: z.ZodEnum<["planned", "in-progress", "
|
|
3535
|
+
status: z.ZodEnum<["planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
3299
3536
|
description: z.ZodDefault<z.ZodString>;
|
|
3300
3537
|
createdAt: z.ZodString;
|
|
3301
3538
|
updatedAt: z.ZodString;
|
|
3302
3539
|
}, "strip", z.ZodTypeAny, {
|
|
3303
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
3540
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3304
3541
|
updatedAt: string;
|
|
3305
3542
|
id: string;
|
|
3306
3543
|
createdAt: string;
|
|
3307
3544
|
title: string;
|
|
3308
3545
|
description: string;
|
|
3309
3546
|
}, {
|
|
3310
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
3547
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3311
3548
|
updatedAt: string;
|
|
3312
3549
|
id: string;
|
|
3313
3550
|
createdAt: string;
|
|
@@ -3387,9 +3624,20 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3387
3624
|
completedAt: z.ZodDefault<z.ZodString>;
|
|
3388
3625
|
createdAt: z.ZodString;
|
|
3389
3626
|
updatedAt: z.ZodString;
|
|
3627
|
+
/** Durable attestations of completed full context reads by harness session. */
|
|
3628
|
+
sessionInfo: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3629
|
+
sessionId: z.ZodString;
|
|
3630
|
+
createdAt: z.ZodString;
|
|
3631
|
+
}, "strip", z.ZodTypeAny, {
|
|
3632
|
+
createdAt: string;
|
|
3633
|
+
sessionId: string;
|
|
3634
|
+
}, {
|
|
3635
|
+
createdAt: string;
|
|
3636
|
+
sessionId: string;
|
|
3637
|
+
}>, "many">>;
|
|
3390
3638
|
}, "strip", z.ZodTypeAny, {
|
|
3391
3639
|
number: number;
|
|
3392
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
3640
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3393
3641
|
updatedAt: string;
|
|
3394
3642
|
notes: string;
|
|
3395
3643
|
id: string;
|
|
@@ -3415,8 +3663,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3415
3663
|
date: string;
|
|
3416
3664
|
title: string;
|
|
3417
3665
|
description: string;
|
|
3418
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
3419
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
3666
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3667
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3420
3668
|
}[];
|
|
3421
3669
|
checklist: (string | {
|
|
3422
3670
|
number: number;
|
|
@@ -3425,7 +3673,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3425
3673
|
checked: boolean;
|
|
3426
3674
|
})[];
|
|
3427
3675
|
subtasks: {
|
|
3428
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
3676
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3429
3677
|
updatedAt: string;
|
|
3430
3678
|
id: string;
|
|
3431
3679
|
createdAt: string;
|
|
@@ -3455,8 +3703,12 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3455
3703
|
}[];
|
|
3456
3704
|
startedAt: string;
|
|
3457
3705
|
completedAt: string;
|
|
3706
|
+
sessionInfo: {
|
|
3707
|
+
createdAt: string;
|
|
3708
|
+
sessionId: string;
|
|
3709
|
+
}[];
|
|
3458
3710
|
}, {
|
|
3459
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
3711
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3460
3712
|
updatedAt: string;
|
|
3461
3713
|
id: string;
|
|
3462
3714
|
createdAt: string;
|
|
@@ -3482,8 +3734,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3482
3734
|
id: string;
|
|
3483
3735
|
date: string;
|
|
3484
3736
|
title: string;
|
|
3485
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
3486
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
3737
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3738
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3487
3739
|
description?: string | undefined;
|
|
3488
3740
|
}[] | undefined;
|
|
3489
3741
|
checklist?: (string | {
|
|
@@ -3493,7 +3745,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3493
3745
|
checked?: boolean | undefined;
|
|
3494
3746
|
})[] | undefined;
|
|
3495
3747
|
subtasks?: {
|
|
3496
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
3748
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3497
3749
|
updatedAt: string;
|
|
3498
3750
|
id: string;
|
|
3499
3751
|
createdAt: string;
|
|
@@ -3523,6 +3775,10 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3523
3775
|
}[] | undefined;
|
|
3524
3776
|
startedAt?: string | undefined;
|
|
3525
3777
|
completedAt?: string | undefined;
|
|
3778
|
+
sessionInfo?: {
|
|
3779
|
+
createdAt: string;
|
|
3780
|
+
sessionId: string;
|
|
3781
|
+
}[] | undefined;
|
|
3526
3782
|
}>, {
|
|
3527
3783
|
checklist: {
|
|
3528
3784
|
id: string;
|
|
@@ -3531,7 +3787,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3531
3787
|
checked: boolean;
|
|
3532
3788
|
}[];
|
|
3533
3789
|
number: number;
|
|
3534
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
3790
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3535
3791
|
updatedAt: string;
|
|
3536
3792
|
notes: string;
|
|
3537
3793
|
id: string;
|
|
@@ -3557,11 +3813,11 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3557
3813
|
date: string;
|
|
3558
3814
|
title: string;
|
|
3559
3815
|
description: string;
|
|
3560
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
3561
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
3816
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3817
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3562
3818
|
}[];
|
|
3563
3819
|
subtasks: {
|
|
3564
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
3820
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3565
3821
|
updatedAt: string;
|
|
3566
3822
|
id: string;
|
|
3567
3823
|
createdAt: string;
|
|
@@ -3591,8 +3847,12 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3591
3847
|
}[];
|
|
3592
3848
|
startedAt: string;
|
|
3593
3849
|
completedAt: string;
|
|
3850
|
+
sessionInfo: {
|
|
3851
|
+
createdAt: string;
|
|
3852
|
+
sessionId: string;
|
|
3853
|
+
}[];
|
|
3594
3854
|
}, {
|
|
3595
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
3855
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3596
3856
|
updatedAt: string;
|
|
3597
3857
|
id: string;
|
|
3598
3858
|
createdAt: string;
|
|
@@ -3618,8 +3878,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3618
3878
|
id: string;
|
|
3619
3879
|
date: string;
|
|
3620
3880
|
title: string;
|
|
3621
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
3622
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
3881
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3882
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3623
3883
|
description?: string | undefined;
|
|
3624
3884
|
}[] | undefined;
|
|
3625
3885
|
checklist?: (string | {
|
|
@@ -3629,7 +3889,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3629
3889
|
checked?: boolean | undefined;
|
|
3630
3890
|
})[] | undefined;
|
|
3631
3891
|
subtasks?: {
|
|
3632
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
3892
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3633
3893
|
updatedAt: string;
|
|
3634
3894
|
id: string;
|
|
3635
3895
|
createdAt: string;
|
|
@@ -3659,6 +3919,10 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3659
3919
|
}[] | undefined;
|
|
3660
3920
|
startedAt?: string | undefined;
|
|
3661
3921
|
completedAt?: string | undefined;
|
|
3922
|
+
sessionInfo?: {
|
|
3923
|
+
createdAt: string;
|
|
3924
|
+
sessionId: string;
|
|
3925
|
+
}[] | undefined;
|
|
3662
3926
|
}>, "many">>;
|
|
3663
3927
|
createdAt: z.ZodString;
|
|
3664
3928
|
updatedAt: z.ZodString;
|
|
@@ -3692,8 +3956,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3692
3956
|
statusLog: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3693
3957
|
id: z.ZodString;
|
|
3694
3958
|
date: z.ZodString;
|
|
3695
|
-
fromStatus: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "
|
|
3696
|
-
toStatus: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "
|
|
3959
|
+
fromStatus: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
3960
|
+
toStatus: z.ZodEnum<["draft", "discovery", "planned", "in-progress", "done", "blocked", "canceled", "rejected", "deferred", "waiting"]>;
|
|
3697
3961
|
title: z.ZodString;
|
|
3698
3962
|
description: z.ZodDefault<z.ZodString>;
|
|
3699
3963
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3701,16 +3965,27 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3701
3965
|
date: string;
|
|
3702
3966
|
title: string;
|
|
3703
3967
|
description: string;
|
|
3704
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
3705
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
3968
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
3969
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
3706
3970
|
}, {
|
|
3707
3971
|
id: string;
|
|
3708
3972
|
date: string;
|
|
3709
3973
|
title: string;
|
|
3710
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
3711
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
3974
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
3975
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
3712
3976
|
description?: string | undefined;
|
|
3713
3977
|
}>, "many">>;
|
|
3978
|
+
/** Durable attestations of completed full context reads by harness session. */
|
|
3979
|
+
sessionInfo: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3980
|
+
sessionId: z.ZodString;
|
|
3981
|
+
createdAt: z.ZodString;
|
|
3982
|
+
}, "strip", z.ZodTypeAny, {
|
|
3983
|
+
createdAt: string;
|
|
3984
|
+
sessionId: string;
|
|
3985
|
+
}, {
|
|
3986
|
+
createdAt: string;
|
|
3987
|
+
sessionId: string;
|
|
3988
|
+
}>, "many">>;
|
|
3714
3989
|
}, "strip", z.ZodTypeAny, {
|
|
3715
3990
|
number: number;
|
|
3716
3991
|
dependencies: string[];
|
|
@@ -3738,10 +4013,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3738
4013
|
date: string;
|
|
3739
4014
|
title: string;
|
|
3740
4015
|
description: string;
|
|
3741
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
3742
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
4016
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
4017
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
3743
4018
|
}[];
|
|
3744
4019
|
dependsOn: string[];
|
|
4020
|
+
sessionInfo: {
|
|
4021
|
+
createdAt: string;
|
|
4022
|
+
sessionId: string;
|
|
4023
|
+
}[];
|
|
3745
4024
|
slug: string;
|
|
3746
4025
|
discussedAt: string;
|
|
3747
4026
|
contextReady: boolean;
|
|
@@ -3760,7 +4039,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3760
4039
|
checked: boolean;
|
|
3761
4040
|
}[];
|
|
3762
4041
|
number: number;
|
|
3763
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
4042
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3764
4043
|
updatedAt: string;
|
|
3765
4044
|
notes: string;
|
|
3766
4045
|
id: string;
|
|
@@ -3786,11 +4065,11 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3786
4065
|
date: string;
|
|
3787
4066
|
title: string;
|
|
3788
4067
|
description: string;
|
|
3789
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
3790
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
4068
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4069
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3791
4070
|
}[];
|
|
3792
4071
|
subtasks: {
|
|
3793
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
4072
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3794
4073
|
updatedAt: string;
|
|
3795
4074
|
id: string;
|
|
3796
4075
|
createdAt: string;
|
|
@@ -3820,6 +4099,10 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3820
4099
|
}[];
|
|
3821
4100
|
startedAt: string;
|
|
3822
4101
|
completedAt: string;
|
|
4102
|
+
sessionInfo: {
|
|
4103
|
+
createdAt: string;
|
|
4104
|
+
sessionId: string;
|
|
4105
|
+
}[];
|
|
3823
4106
|
}[];
|
|
3824
4107
|
handoff: string;
|
|
3825
4108
|
handoffUpdatedAt: string;
|
|
@@ -3857,11 +4140,15 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3857
4140
|
id: string;
|
|
3858
4141
|
date: string;
|
|
3859
4142
|
title: string;
|
|
3860
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
3861
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
4143
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
4144
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
3862
4145
|
description?: string | undefined;
|
|
3863
4146
|
}[] | undefined;
|
|
3864
4147
|
dependsOn?: string[] | undefined;
|
|
4148
|
+
sessionInfo?: {
|
|
4149
|
+
createdAt: string;
|
|
4150
|
+
sessionId: string;
|
|
4151
|
+
}[] | undefined;
|
|
3865
4152
|
featureId?: string | undefined;
|
|
3866
4153
|
discussedAt?: string | undefined;
|
|
3867
4154
|
contextReady?: boolean | undefined;
|
|
@@ -3873,7 +4160,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3873
4160
|
completionCriteria?: string[] | undefined;
|
|
3874
4161
|
taskIds?: string[] | undefined;
|
|
3875
4162
|
tasks?: {
|
|
3876
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
4163
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3877
4164
|
updatedAt: string;
|
|
3878
4165
|
id: string;
|
|
3879
4166
|
createdAt: string;
|
|
@@ -3899,8 +4186,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3899
4186
|
id: string;
|
|
3900
4187
|
date: string;
|
|
3901
4188
|
title: string;
|
|
3902
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
3903
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
4189
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4190
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3904
4191
|
description?: string | undefined;
|
|
3905
4192
|
}[] | undefined;
|
|
3906
4193
|
checklist?: (string | {
|
|
@@ -3910,7 +4197,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3910
4197
|
checked?: boolean | undefined;
|
|
3911
4198
|
})[] | undefined;
|
|
3912
4199
|
subtasks?: {
|
|
3913
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
4200
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3914
4201
|
updatedAt: string;
|
|
3915
4202
|
id: string;
|
|
3916
4203
|
createdAt: string;
|
|
@@ -3940,6 +4227,10 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3940
4227
|
}[] | undefined;
|
|
3941
4228
|
startedAt?: string | undefined;
|
|
3942
4229
|
completedAt?: string | undefined;
|
|
4230
|
+
sessionInfo?: {
|
|
4231
|
+
createdAt: string;
|
|
4232
|
+
sessionId: string;
|
|
4233
|
+
}[] | undefined;
|
|
3943
4234
|
}[] | undefined;
|
|
3944
4235
|
handoff?: string | undefined;
|
|
3945
4236
|
handoffUpdatedAt?: string | undefined;
|
|
@@ -3975,10 +4266,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3975
4266
|
date: string;
|
|
3976
4267
|
title: string;
|
|
3977
4268
|
description: string;
|
|
3978
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
3979
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
4269
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4270
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3980
4271
|
}[];
|
|
3981
4272
|
dependsOn: string[];
|
|
4273
|
+
sessionInfo: {
|
|
4274
|
+
createdAt: string;
|
|
4275
|
+
sessionId: string;
|
|
4276
|
+
}[];
|
|
3982
4277
|
discussedAt: string;
|
|
3983
4278
|
contextReady: boolean;
|
|
3984
4279
|
contextReadyReason: string;
|
|
@@ -3991,14 +4286,18 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
3991
4286
|
};
|
|
3992
4287
|
requirements: {
|
|
3993
4288
|
requirements: {
|
|
3994
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
4289
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
3995
4290
|
updatedAt: string;
|
|
3996
4291
|
id: string;
|
|
3997
4292
|
createdAt: string;
|
|
3998
4293
|
title: string;
|
|
3999
4294
|
description: string;
|
|
4295
|
+
sessionInfo: {
|
|
4296
|
+
createdAt: string;
|
|
4297
|
+
sessionId: string;
|
|
4298
|
+
}[];
|
|
4000
4299
|
macroTasks: {
|
|
4001
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
4300
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4002
4301
|
updatedAt: string;
|
|
4003
4302
|
id: string;
|
|
4004
4303
|
createdAt: string;
|
|
@@ -4097,10 +4396,14 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
4097
4396
|
date: string;
|
|
4098
4397
|
title: string;
|
|
4099
4398
|
description: string;
|
|
4100
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
4101
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
4399
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
4400
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
4102
4401
|
}[];
|
|
4103
4402
|
dependsOn: string[];
|
|
4403
|
+
sessionInfo: {
|
|
4404
|
+
createdAt: string;
|
|
4405
|
+
sessionId: string;
|
|
4406
|
+
}[];
|
|
4104
4407
|
slug: string;
|
|
4105
4408
|
discussedAt: string;
|
|
4106
4409
|
contextReady: boolean;
|
|
@@ -4119,7 +4422,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
4119
4422
|
checked: boolean;
|
|
4120
4423
|
}[];
|
|
4121
4424
|
number: number;
|
|
4122
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
4425
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4123
4426
|
updatedAt: string;
|
|
4124
4427
|
notes: string;
|
|
4125
4428
|
id: string;
|
|
@@ -4145,11 +4448,11 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
4145
4448
|
date: string;
|
|
4146
4449
|
title: string;
|
|
4147
4450
|
description: string;
|
|
4148
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
4149
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
4451
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4452
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4150
4453
|
}[];
|
|
4151
4454
|
subtasks: {
|
|
4152
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
4455
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4153
4456
|
updatedAt: string;
|
|
4154
4457
|
id: string;
|
|
4155
4458
|
createdAt: string;
|
|
@@ -4179,6 +4482,10 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
4179
4482
|
}[];
|
|
4180
4483
|
startedAt: string;
|
|
4181
4484
|
completedAt: string;
|
|
4485
|
+
sessionInfo: {
|
|
4486
|
+
createdAt: string;
|
|
4487
|
+
sessionId: string;
|
|
4488
|
+
}[];
|
|
4182
4489
|
}[];
|
|
4183
4490
|
handoff: string;
|
|
4184
4491
|
handoffUpdatedAt: string;
|
|
@@ -4214,11 +4521,15 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
4214
4521
|
id: string;
|
|
4215
4522
|
date: string;
|
|
4216
4523
|
title: string;
|
|
4217
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
4218
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
4524
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4525
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4219
4526
|
description?: string | undefined;
|
|
4220
4527
|
}[] | undefined;
|
|
4221
4528
|
dependsOn?: string[] | undefined;
|
|
4529
|
+
sessionInfo?: {
|
|
4530
|
+
createdAt: string;
|
|
4531
|
+
sessionId: string;
|
|
4532
|
+
}[] | undefined;
|
|
4222
4533
|
discussedAt?: string | undefined;
|
|
4223
4534
|
contextReady?: boolean | undefined;
|
|
4224
4535
|
contextReadyReason?: string | undefined;
|
|
@@ -4231,14 +4542,18 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
4231
4542
|
};
|
|
4232
4543
|
requirements: {
|
|
4233
4544
|
requirements: {
|
|
4234
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
4545
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4235
4546
|
updatedAt: string;
|
|
4236
4547
|
id: string;
|
|
4237
4548
|
createdAt: string;
|
|
4238
4549
|
title: string;
|
|
4239
4550
|
description?: string | undefined;
|
|
4551
|
+
sessionInfo?: {
|
|
4552
|
+
createdAt: string;
|
|
4553
|
+
sessionId: string;
|
|
4554
|
+
}[] | undefined;
|
|
4240
4555
|
macroTasks?: {
|
|
4241
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
4556
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4242
4557
|
updatedAt: string;
|
|
4243
4558
|
id: string;
|
|
4244
4559
|
createdAt: string;
|
|
@@ -4337,11 +4652,15 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
4337
4652
|
id: string;
|
|
4338
4653
|
date: string;
|
|
4339
4654
|
title: string;
|
|
4340
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
4341
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
4655
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
4656
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting" | "draft" | "discovery";
|
|
4342
4657
|
description?: string | undefined;
|
|
4343
4658
|
}[] | undefined;
|
|
4344
4659
|
dependsOn?: string[] | undefined;
|
|
4660
|
+
sessionInfo?: {
|
|
4661
|
+
createdAt: string;
|
|
4662
|
+
sessionId: string;
|
|
4663
|
+
}[] | undefined;
|
|
4345
4664
|
featureId?: string | undefined;
|
|
4346
4665
|
discussedAt?: string | undefined;
|
|
4347
4666
|
contextReady?: boolean | undefined;
|
|
@@ -4353,7 +4672,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
4353
4672
|
completionCriteria?: string[] | undefined;
|
|
4354
4673
|
taskIds?: string[] | undefined;
|
|
4355
4674
|
tasks?: {
|
|
4356
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
4675
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4357
4676
|
updatedAt: string;
|
|
4358
4677
|
id: string;
|
|
4359
4678
|
createdAt: string;
|
|
@@ -4379,8 +4698,8 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
4379
4698
|
id: string;
|
|
4380
4699
|
date: string;
|
|
4381
4700
|
title: string;
|
|
4382
|
-
fromStatus: "canceled" | "planned" | "in-progress" | "
|
|
4383
|
-
toStatus: "canceled" | "planned" | "in-progress" | "
|
|
4701
|
+
fromStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4702
|
+
toStatus: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4384
4703
|
description?: string | undefined;
|
|
4385
4704
|
}[] | undefined;
|
|
4386
4705
|
checklist?: (string | {
|
|
@@ -4390,7 +4709,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
4390
4709
|
checked?: boolean | undefined;
|
|
4391
4710
|
})[] | undefined;
|
|
4392
4711
|
subtasks?: {
|
|
4393
|
-
status: "canceled" | "planned" | "in-progress" | "
|
|
4712
|
+
status: "canceled" | "planned" | "in-progress" | "done" | "blocked" | "rejected" | "deferred" | "waiting";
|
|
4394
4713
|
updatedAt: string;
|
|
4395
4714
|
id: string;
|
|
4396
4715
|
createdAt: string;
|
|
@@ -4420,6 +4739,10 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
4420
4739
|
}[] | undefined;
|
|
4421
4740
|
startedAt?: string | undefined;
|
|
4422
4741
|
completedAt?: string | undefined;
|
|
4742
|
+
sessionInfo?: {
|
|
4743
|
+
createdAt: string;
|
|
4744
|
+
sessionId: string;
|
|
4745
|
+
}[] | undefined;
|
|
4423
4746
|
}[] | undefined;
|
|
4424
4747
|
handoff?: string | undefined;
|
|
4425
4748
|
handoffUpdatedAt?: string | undefined;
|
|
@@ -4432,6 +4755,7 @@ export declare const PlanWorkspaceSchema: z.ZodObject<{
|
|
|
4432
4755
|
}[];
|
|
4433
4756
|
}>;
|
|
4434
4757
|
export type Timestamp = z.infer<typeof TimestampSchema>;
|
|
4758
|
+
export type SessionInfo = z.infer<typeof SessionInfoSchema>;
|
|
4435
4759
|
export type CodebaseFile = z.infer<typeof CodebaseFileSchema>;
|
|
4436
4760
|
export type CodebaseProfile = z.infer<typeof CodebaseProfileSchema>;
|
|
4437
4761
|
export type AmbientFacts = z.infer<typeof AmbientFactsSchema>;
|