@cat-factory/contracts 0.124.1 → 0.125.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.
Files changed (54) hide show
  1. package/dist/agent-presentation.d.ts +2 -2
  2. package/dist/entities.d.ts +106 -0
  3. package/dist/entities.d.ts.map +1 -1
  4. package/dist/entities.js +20 -0
  5. package/dist/entities.js.map +1 -1
  6. package/dist/forkDecision.d.ts +169 -0
  7. package/dist/forkDecision.d.ts.map +1 -0
  8. package/dist/forkDecision.js +145 -0
  9. package/dist/forkDecision.js.map +1 -0
  10. package/dist/index.d.ts +1 -0
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/index.js +1 -0
  13. package/dist/index.js.map +1 -1
  14. package/dist/merge.d.ts +32 -0
  15. package/dist/merge.d.ts.map +1 -1
  16. package/dist/merge.js +15 -0
  17. package/dist/merge.js.map +1 -1
  18. package/dist/notifications.d.ts +6 -2
  19. package/dist/notifications.d.ts.map +1 -1
  20. package/dist/notifications.js +8 -0
  21. package/dist/notifications.js.map +1 -1
  22. package/dist/result-views.d.ts +1 -1
  23. package/dist/result-views.d.ts.map +1 -1
  24. package/dist/result-views.js +1 -0
  25. package/dist/result-views.js.map +1 -1
  26. package/dist/routes/agent-runs.d.ts +72 -0
  27. package/dist/routes/agent-runs.d.ts.map +1 -1
  28. package/dist/routes/execution.d.ts +288 -0
  29. package/dist/routes/execution.d.ts.map +1 -1
  30. package/dist/routes/forkDecision.d.ts +143 -0
  31. package/dist/routes/forkDecision.d.ts.map +1 -0
  32. package/dist/routes/forkDecision.js +27 -0
  33. package/dist/routes/forkDecision.js.map +1 -0
  34. package/dist/routes/human-review.d.ts +36 -0
  35. package/dist/routes/human-review.d.ts.map +1 -1
  36. package/dist/routes/human-test.d.ts +180 -0
  37. package/dist/routes/human-test.d.ts.map +1 -1
  38. package/dist/routes/index.d.ts +1 -0
  39. package/dist/routes/index.d.ts.map +1 -1
  40. package/dist/routes/index.js +1 -0
  41. package/dist/routes/index.js.map +1 -1
  42. package/dist/routes/merge.d.ts +42 -0
  43. package/dist/routes/merge.d.ts.map +1 -1
  44. package/dist/routes/notifications.d.ts +6 -3
  45. package/dist/routes/notifications.d.ts.map +1 -1
  46. package/dist/routes/slack.d.ts +3 -3
  47. package/dist/routes/visual-confirm.d.ts +108 -0
  48. package/dist/routes/visual-confirm.d.ts.map +1 -1
  49. package/dist/routes/workspaces.d.ts +92 -4
  50. package/dist/routes/workspaces.d.ts.map +1 -1
  51. package/dist/slack.d.ts +2 -2
  52. package/dist/snapshot.d.ts +46 -2
  53. package/dist/snapshot.d.ts.map +1 -1
  54. package/package.json +1 -1
@@ -357,6 +357,42 @@ export declare const approveVisualConfirmContract: {
357
357
  readonly loops: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
358
358
  readonly maxLoops: v.OptionalSchema<v.NumberSchema<undefined>, 3>;
359
359
  }, undefined>, undefined>, undefined>;
360
+ readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
361
+ readonly status: v.PicklistSchema<["proposing", "awaiting_choice", "answering", "chosen", "single_path", "skipped"], undefined>;
362
+ readonly seamSummary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
363
+ readonly forks: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
364
+ readonly id: v.StringSchema<undefined>;
365
+ readonly title: v.StringSchema<undefined>;
366
+ readonly summary: v.StringSchema<undefined>;
367
+ readonly approach: v.StringSchema<undefined>;
368
+ readonly tradeoffs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
369
+ readonly riskNotes: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
370
+ readonly recommended: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
371
+ }, undefined>, undefined>, readonly []>;
372
+ readonly singlePathReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
373
+ readonly chat: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
374
+ readonly id: v.StringSchema<undefined>;
375
+ readonly role: v.PicklistSchema<["human", "assistant"], undefined>;
376
+ readonly text: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>;
377
+ readonly createdAt: v.NumberSchema<undefined>;
378
+ }, undefined>, undefined>, readonly []>;
379
+ readonly maxChatTurns: v.OptionalSchema<v.NumberSchema<undefined>, 15>;
380
+ readonly chosen: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
381
+ readonly forkId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
382
+ readonly custom: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
383
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
384
+ readonly at: v.NumberSchema<undefined>;
385
+ }, undefined>, v.CheckAction<{
386
+ forkId?: string | null | undefined;
387
+ custom?: string | null | undefined;
388
+ note?: string | null | undefined;
389
+ at: number;
390
+ }, "Provide exactly one of forkId or custom.">]>, undefined>, undefined>;
391
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
392
+ }, undefined>, undefined>, undefined>;
393
+ readonly pendingForkChat: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
394
+ readonly messageId: v.StringSchema<undefined>;
395
+ }, undefined>, undefined>, undefined>;
360
396
  readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
361
397
  readonly previousProposal: v.StringSchema<undefined>;
362
398
  readonly feedback: v.StringSchema<undefined>;
@@ -1066,6 +1102,42 @@ export declare const requestVisualConfirmFixContract: {
1066
1102
  readonly loops: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
1067
1103
  readonly maxLoops: v.OptionalSchema<v.NumberSchema<undefined>, 3>;
1068
1104
  }, undefined>, undefined>, undefined>;
1105
+ readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1106
+ readonly status: v.PicklistSchema<["proposing", "awaiting_choice", "answering", "chosen", "single_path", "skipped"], undefined>;
1107
+ readonly seamSummary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1108
+ readonly forks: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1109
+ readonly id: v.StringSchema<undefined>;
1110
+ readonly title: v.StringSchema<undefined>;
1111
+ readonly summary: v.StringSchema<undefined>;
1112
+ readonly approach: v.StringSchema<undefined>;
1113
+ readonly tradeoffs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1114
+ readonly riskNotes: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1115
+ readonly recommended: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1116
+ }, undefined>, undefined>, readonly []>;
1117
+ readonly singlePathReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1118
+ readonly chat: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1119
+ readonly id: v.StringSchema<undefined>;
1120
+ readonly role: v.PicklistSchema<["human", "assistant"], undefined>;
1121
+ readonly text: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>;
1122
+ readonly createdAt: v.NumberSchema<undefined>;
1123
+ }, undefined>, undefined>, readonly []>;
1124
+ readonly maxChatTurns: v.OptionalSchema<v.NumberSchema<undefined>, 15>;
1125
+ readonly chosen: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1126
+ readonly forkId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1127
+ readonly custom: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1128
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1129
+ readonly at: v.NumberSchema<undefined>;
1130
+ }, undefined>, v.CheckAction<{
1131
+ forkId?: string | null | undefined;
1132
+ custom?: string | null | undefined;
1133
+ note?: string | null | undefined;
1134
+ at: number;
1135
+ }, "Provide exactly one of forkId or custom.">]>, undefined>, undefined>;
1136
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1137
+ }, undefined>, undefined>, undefined>;
1138
+ readonly pendingForkChat: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1139
+ readonly messageId: v.StringSchema<undefined>;
1140
+ }, undefined>, undefined>, undefined>;
1069
1141
  readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1070
1142
  readonly previousProposal: v.StringSchema<undefined>;
1071
1143
  readonly feedback: v.StringSchema<undefined>;
@@ -1773,6 +1845,42 @@ export declare const recaptureVisualConfirmContract: {
1773
1845
  readonly loops: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
1774
1846
  readonly maxLoops: v.OptionalSchema<v.NumberSchema<undefined>, 3>;
1775
1847
  }, undefined>, undefined>, undefined>;
1848
+ readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1849
+ readonly status: v.PicklistSchema<["proposing", "awaiting_choice", "answering", "chosen", "single_path", "skipped"], undefined>;
1850
+ readonly seamSummary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1851
+ readonly forks: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1852
+ readonly id: v.StringSchema<undefined>;
1853
+ readonly title: v.StringSchema<undefined>;
1854
+ readonly summary: v.StringSchema<undefined>;
1855
+ readonly approach: v.StringSchema<undefined>;
1856
+ readonly tradeoffs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1857
+ readonly riskNotes: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1858
+ readonly recommended: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1859
+ }, undefined>, undefined>, readonly []>;
1860
+ readonly singlePathReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1861
+ readonly chat: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1862
+ readonly id: v.StringSchema<undefined>;
1863
+ readonly role: v.PicklistSchema<["human", "assistant"], undefined>;
1864
+ readonly text: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>;
1865
+ readonly createdAt: v.NumberSchema<undefined>;
1866
+ }, undefined>, undefined>, readonly []>;
1867
+ readonly maxChatTurns: v.OptionalSchema<v.NumberSchema<undefined>, 15>;
1868
+ readonly chosen: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1869
+ readonly forkId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1870
+ readonly custom: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1871
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1872
+ readonly at: v.NumberSchema<undefined>;
1873
+ }, undefined>, v.CheckAction<{
1874
+ forkId?: string | null | undefined;
1875
+ custom?: string | null | undefined;
1876
+ note?: string | null | undefined;
1877
+ at: number;
1878
+ }, "Provide exactly one of forkId or custom.">]>, undefined>, undefined>;
1879
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1880
+ }, undefined>, undefined>, undefined>;
1881
+ readonly pendingForkChat: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1882
+ readonly messageId: v.StringSchema<undefined>;
1883
+ }, undefined>, undefined>, undefined>;
1776
1884
  readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1777
1885
  readonly previousProposal: v.StringSchema<undefined>;
1778
1886
  readonly feedback: v.StringSchema<undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"visual-confirm.d.ts","sourceRoot":"","sources":["../../src/routes/visual-confirm.ts"],"names":[],"mappings":"AAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMzC,CAAA"}
@@ -792,6 +792,42 @@ export declare const createWorkspaceContract: {
792
792
  readonly loops: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
793
793
  readonly maxLoops: v.OptionalSchema<v.NumberSchema<undefined>, 3>;
794
794
  }, undefined>, undefined>, undefined>;
795
+ readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
796
+ readonly status: v.PicklistSchema<["proposing", "awaiting_choice", "answering", "chosen", "single_path", "skipped"], undefined>;
797
+ readonly seamSummary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
798
+ readonly forks: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
799
+ readonly id: v.StringSchema<undefined>;
800
+ readonly title: v.StringSchema<undefined>;
801
+ readonly summary: v.StringSchema<undefined>;
802
+ readonly approach: v.StringSchema<undefined>;
803
+ readonly tradeoffs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
804
+ readonly riskNotes: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
805
+ readonly recommended: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
806
+ }, undefined>, undefined>, readonly []>;
807
+ readonly singlePathReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
808
+ readonly chat: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
809
+ readonly id: v.StringSchema<undefined>;
810
+ readonly role: v.PicklistSchema<["human", "assistant"], undefined>;
811
+ readonly text: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>;
812
+ readonly createdAt: v.NumberSchema<undefined>;
813
+ }, undefined>, undefined>, readonly []>;
814
+ readonly maxChatTurns: v.OptionalSchema<v.NumberSchema<undefined>, 15>;
815
+ readonly chosen: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
816
+ readonly forkId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
817
+ readonly custom: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
818
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
819
+ readonly at: v.NumberSchema<undefined>;
820
+ }, undefined>, v.CheckAction<{
821
+ forkId?: string | null | undefined;
822
+ custom?: string | null | undefined;
823
+ note?: string | null | undefined;
824
+ at: number;
825
+ }, "Provide exactly one of forkId or custom.">]>, undefined>, undefined>;
826
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
827
+ }, undefined>, undefined>, undefined>;
828
+ readonly pendingForkChat: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
829
+ readonly messageId: v.StringSchema<undefined>;
830
+ }, undefined>, undefined>, undefined>;
795
831
  readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
796
832
  readonly previousProposal: v.StringSchema<undefined>;
797
833
  readonly feedback: v.StringSchema<undefined>;
@@ -1263,7 +1299,7 @@ export declare const createWorkspaceContract: {
1263
1299
  }, undefined>, undefined>;
1264
1300
  readonly notifications: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1265
1301
  readonly id: v.StringSchema<undefined>;
1266
- readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "initiative"], undefined>;
1302
+ readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "initiative"], undefined>;
1267
1303
  readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
1268
1304
  readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
1269
1305
  readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1280,6 +1316,7 @@ export declare const createWorkspaceContract: {
1280
1316
  readonly prUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1281
1317
  readonly pipelineName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1282
1318
  readonly findingCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1319
+ readonly forkCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1283
1320
  readonly onCallAssessment: v.OptionalSchema<v.ObjectSchema<{
1284
1321
  readonly culpritConfidence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1285
1322
  readonly recommendation: v.PicklistSchema<["revert", "hold", "monitor"], undefined>;
@@ -1316,6 +1353,13 @@ export declare const createWorkspaceContract: {
1316
1353
  readonly releaseMaxAttempts: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1317
1354
  readonly humanReviewGraceMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1318
1355
  readonly autoMergeEnabled: v.BooleanSchema<undefined>;
1356
+ readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1357
+ readonly enabled: v.BooleanSchema<undefined>;
1358
+ readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1359
+ readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1360
+ readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1361
+ readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
1362
+ }, undefined>, undefined>, undefined>;
1319
1363
  readonly isDefault: v.BooleanSchema<undefined>;
1320
1364
  readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1321
1365
  readonly createdAt: v.NumberSchema<undefined>;
@@ -1862,7 +1906,7 @@ export declare const createWorkspaceContract: {
1862
1906
  readonly color: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>;
1863
1907
  readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
1864
1908
  readonly category: v.OptionalSchema<v.PicklistSchema<["review", "design", "build", "test", "docs", "gates"], undefined>, undefined>;
1865
- readonly resultView: v.OptionalSchema<v.PicklistSchema<readonly ["requirements-review", "clarity-review", "brainstorm", "tester", "human-test", "visual-confirm", "gate", "consensus-session", "generic-structured", "service-spec", "follow-ups", "merger", "initiative-tracker", "initiative-planning", "doc-interview"], undefined>, undefined>;
1909
+ readonly resultView: v.OptionalSchema<v.PicklistSchema<readonly ["requirements-review", "clarity-review", "brainstorm", "tester", "human-test", "visual-confirm", "gate", "consensus-session", "generic-structured", "service-spec", "follow-ups", "merger", "initiative-tracker", "initiative-planning", "doc-interview", "fork-decision"], undefined>, undefined>;
1866
1910
  }, undefined>;
1867
1911
  readonly container: v.BooleanSchema<undefined>;
1868
1912
  }, undefined>, undefined>, undefined>;
@@ -2901,6 +2945,42 @@ export declare const getWorkspaceContract: {
2901
2945
  readonly loops: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
2902
2946
  readonly maxLoops: v.OptionalSchema<v.NumberSchema<undefined>, 3>;
2903
2947
  }, undefined>, undefined>, undefined>;
2948
+ readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2949
+ readonly status: v.PicklistSchema<["proposing", "awaiting_choice", "answering", "chosen", "single_path", "skipped"], undefined>;
2950
+ readonly seamSummary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2951
+ readonly forks: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
2952
+ readonly id: v.StringSchema<undefined>;
2953
+ readonly title: v.StringSchema<undefined>;
2954
+ readonly summary: v.StringSchema<undefined>;
2955
+ readonly approach: v.StringSchema<undefined>;
2956
+ readonly tradeoffs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
2957
+ readonly riskNotes: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2958
+ readonly recommended: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2959
+ }, undefined>, undefined>, readonly []>;
2960
+ readonly singlePathReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2961
+ readonly chat: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
2962
+ readonly id: v.StringSchema<undefined>;
2963
+ readonly role: v.PicklistSchema<["human", "assistant"], undefined>;
2964
+ readonly text: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>;
2965
+ readonly createdAt: v.NumberSchema<undefined>;
2966
+ }, undefined>, undefined>, readonly []>;
2967
+ readonly maxChatTurns: v.OptionalSchema<v.NumberSchema<undefined>, 15>;
2968
+ readonly chosen: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
2969
+ readonly forkId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2970
+ readonly custom: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2971
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2972
+ readonly at: v.NumberSchema<undefined>;
2973
+ }, undefined>, v.CheckAction<{
2974
+ forkId?: string | null | undefined;
2975
+ custom?: string | null | undefined;
2976
+ note?: string | null | undefined;
2977
+ at: number;
2978
+ }, "Provide exactly one of forkId or custom.">]>, undefined>, undefined>;
2979
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2980
+ }, undefined>, undefined>, undefined>;
2981
+ readonly pendingForkChat: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2982
+ readonly messageId: v.StringSchema<undefined>;
2983
+ }, undefined>, undefined>, undefined>;
2904
2984
  readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2905
2985
  readonly previousProposal: v.StringSchema<undefined>;
2906
2986
  readonly feedback: v.StringSchema<undefined>;
@@ -3372,7 +3452,7 @@ export declare const getWorkspaceContract: {
3372
3452
  }, undefined>, undefined>;
3373
3453
  readonly notifications: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3374
3454
  readonly id: v.StringSchema<undefined>;
3375
- readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "initiative"], undefined>;
3455
+ readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "initiative"], undefined>;
3376
3456
  readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
3377
3457
  readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
3378
3458
  readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -3389,6 +3469,7 @@ export declare const getWorkspaceContract: {
3389
3469
  readonly prUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3390
3470
  readonly pipelineName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3391
3471
  readonly findingCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3472
+ readonly forkCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3392
3473
  readonly onCallAssessment: v.OptionalSchema<v.ObjectSchema<{
3393
3474
  readonly culpritConfidence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
3394
3475
  readonly recommendation: v.PicklistSchema<["revert", "hold", "monitor"], undefined>;
@@ -3425,6 +3506,13 @@ export declare const getWorkspaceContract: {
3425
3506
  readonly releaseMaxAttempts: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
3426
3507
  readonly humanReviewGraceMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
3427
3508
  readonly autoMergeEnabled: v.BooleanSchema<undefined>;
3509
+ readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3510
+ readonly enabled: v.BooleanSchema<undefined>;
3511
+ readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
3512
+ readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
3513
+ readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
3514
+ readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
3515
+ }, undefined>, undefined>, undefined>;
3428
3516
  readonly isDefault: v.BooleanSchema<undefined>;
3429
3517
  readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3430
3518
  readonly createdAt: v.NumberSchema<undefined>;
@@ -3971,7 +4059,7 @@ export declare const getWorkspaceContract: {
3971
4059
  readonly color: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>;
3972
4060
  readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
3973
4061
  readonly category: v.OptionalSchema<v.PicklistSchema<["review", "design", "build", "test", "docs", "gates"], undefined>, undefined>;
3974
- readonly resultView: v.OptionalSchema<v.PicklistSchema<readonly ["requirements-review", "clarity-review", "brainstorm", "tester", "human-test", "visual-confirm", "gate", "consensus-session", "generic-structured", "service-spec", "follow-ups", "merger", "initiative-tracker", "initiative-planning", "doc-interview"], undefined>, undefined>;
4062
+ readonly resultView: v.OptionalSchema<v.PicklistSchema<readonly ["requirements-review", "clarity-review", "brainstorm", "tester", "human-test", "visual-confirm", "gate", "consensus-session", "generic-structured", "service-spec", "follow-ups", "merger", "initiative-tracker", "initiative-planning", "doc-interview", "fork-decision"], undefined>, undefined>;
3975
4063
  }, undefined>;
3976
4064
  readonly container: v.BooleanSchema<undefined>;
3977
4065
  }, undefined>, undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/routes/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAgB5B,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK/B,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAA"}
package/dist/slack.d.ts CHANGED
@@ -30,7 +30,7 @@ export type SlackRoute = v.InferOutput<typeof slackRouteSchema>;
30
30
  * type absent from `routes`, disabled, or with an empty channel does not post.
31
31
  */
32
32
  export declare const slackNotificationSettingsSchema: v.ObjectSchema<{
33
- readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "initiative"], undefined>, v.ObjectSchema<{
33
+ readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "initiative"], undefined>, v.ObjectSchema<{
34
34
  readonly enabled: v.BooleanSchema<undefined>;
35
35
  /** A channel id (`C0123…`) or name (`#general`); empty = unrouted. */
36
36
  readonly channel: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>;
@@ -83,7 +83,7 @@ export declare const connectSlackByTokenSchema: v.ObjectSchema<{
83
83
  export type ConnectSlackByTokenInput = v.InferOutput<typeof connectSlackByTokenSchema>;
84
84
  /** Replace a workspace's Slack notification routing. */
85
85
  export declare const updateSlackSettingsSchema: v.ObjectSchema<{
86
- readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "initiative"], undefined>, v.ObjectSchema<{
86
+ readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "initiative"], undefined>, v.ObjectSchema<{
87
87
  readonly enabled: v.BooleanSchema<undefined>;
88
88
  /** A channel id (`C0123…`) or name (`#general`); empty = unrouted. */
89
89
  readonly channel: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>;
@@ -737,6 +737,42 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
737
737
  readonly loops: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
738
738
  readonly maxLoops: v.OptionalSchema<v.NumberSchema<undefined>, 3>;
739
739
  }, undefined>, undefined>, undefined>;
740
+ readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
741
+ readonly status: v.PicklistSchema<["proposing", "awaiting_choice", "answering", "chosen", "single_path", "skipped"], undefined>;
742
+ readonly seamSummary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
743
+ readonly forks: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
744
+ readonly id: v.StringSchema<undefined>;
745
+ readonly title: v.StringSchema<undefined>;
746
+ readonly summary: v.StringSchema<undefined>;
747
+ readonly approach: v.StringSchema<undefined>;
748
+ readonly tradeoffs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
749
+ readonly riskNotes: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
750
+ readonly recommended: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
751
+ }, undefined>, undefined>, readonly []>;
752
+ readonly singlePathReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
753
+ readonly chat: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
754
+ readonly id: v.StringSchema<undefined>;
755
+ readonly role: v.PicklistSchema<["human", "assistant"], undefined>;
756
+ readonly text: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>;
757
+ readonly createdAt: v.NumberSchema<undefined>;
758
+ }, undefined>, undefined>, readonly []>;
759
+ readonly maxChatTurns: v.OptionalSchema<v.NumberSchema<undefined>, 15>;
760
+ readonly chosen: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
761
+ readonly forkId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
762
+ readonly custom: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
763
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
764
+ readonly at: v.NumberSchema<undefined>;
765
+ }, undefined>, v.CheckAction<{
766
+ forkId?: string | null | undefined;
767
+ custom?: string | null | undefined;
768
+ note?: string | null | undefined;
769
+ at: number;
770
+ }, "Provide exactly one of forkId or custom.">]>, undefined>, undefined>;
771
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
772
+ }, undefined>, undefined>, undefined>;
773
+ readonly pendingForkChat: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
774
+ readonly messageId: v.StringSchema<undefined>;
775
+ }, undefined>, undefined>, undefined>;
740
776
  readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
741
777
  readonly previousProposal: v.StringSchema<undefined>;
742
778
  readonly feedback: v.StringSchema<undefined>;
@@ -1250,7 +1286,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1250
1286
  */
1251
1287
  readonly notifications: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1252
1288
  readonly id: v.StringSchema<undefined>;
1253
- readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "initiative"], undefined>;
1289
+ readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "initiative"], undefined>;
1254
1290
  readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
1255
1291
  readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
1256
1292
  readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1267,6 +1303,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1267
1303
  readonly prUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1268
1304
  readonly pipelineName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1269
1305
  readonly findingCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1306
+ readonly forkCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1270
1307
  readonly onCallAssessment: v.OptionalSchema<v.ObjectSchema<{
1271
1308
  readonly culpritConfidence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1272
1309
  readonly recommendation: v.PicklistSchema<["revert", "hold", "monitor"], undefined>;
@@ -1307,6 +1344,13 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1307
1344
  readonly releaseMaxAttempts: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1308
1345
  readonly humanReviewGraceMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1309
1346
  readonly autoMergeEnabled: v.BooleanSchema<undefined>;
1347
+ readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1348
+ readonly enabled: v.BooleanSchema<undefined>;
1349
+ readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1350
+ readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1351
+ readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1352
+ readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
1353
+ }, undefined>, undefined>, undefined>;
1310
1354
  readonly isDefault: v.BooleanSchema<undefined>;
1311
1355
  readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1312
1356
  readonly createdAt: v.NumberSchema<undefined>;
@@ -1918,7 +1962,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1918
1962
  readonly color: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>;
1919
1963
  readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
1920
1964
  readonly category: v.OptionalSchema<v.PicklistSchema<["review", "design", "build", "test", "docs", "gates"], undefined>, undefined>;
1921
- readonly resultView: v.OptionalSchema<v.PicklistSchema<readonly ["requirements-review", "clarity-review", "brainstorm", "tester", "human-test", "visual-confirm", "gate", "consensus-session", "generic-structured", "service-spec", "follow-ups", "merger", "initiative-tracker", "initiative-planning", "doc-interview"], undefined>, undefined>;
1965
+ readonly resultView: v.OptionalSchema<v.PicklistSchema<readonly ["requirements-review", "clarity-review", "brainstorm", "tester", "human-test", "visual-confirm", "gate", "consensus-session", "generic-structured", "service-spec", "follow-ups", "merger", "initiative-tracker", "initiative-planning", "doc-interview", "fork-decision"], undefined>, undefined>;
1922
1966
  }, undefined>;
1923
1967
  readonly container: v.BooleanSchema<undefined>;
1924
1968
  }, undefined>, undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAiC5B,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB;;;IAGlC;;;;;OAKG;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ared between the Agent Architecture Board frontend and backend.",
5
5
  "repository": {
6
6
  "type": "git",