@cat-factory/contracts 0.124.1 → 0.126.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 (60) hide show
  1. package/dist/agent-presentation.d.ts +2 -2
  2. package/dist/config.d.ts +12 -0
  3. package/dist/config.d.ts.map +1 -1
  4. package/dist/config.js +6 -0
  5. package/dist/config.js.map +1 -1
  6. package/dist/entities.d.ts +107 -1
  7. package/dist/entities.d.ts.map +1 -1
  8. package/dist/entities.js +21 -1
  9. package/dist/entities.js.map +1 -1
  10. package/dist/forkDecision.d.ts +169 -0
  11. package/dist/forkDecision.d.ts.map +1 -0
  12. package/dist/forkDecision.js +145 -0
  13. package/dist/forkDecision.js.map +1 -0
  14. package/dist/index.d.ts +1 -0
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +1 -0
  17. package/dist/index.js.map +1 -1
  18. package/dist/merge.d.ts +32 -0
  19. package/dist/merge.d.ts.map +1 -1
  20. package/dist/merge.js +15 -0
  21. package/dist/merge.js.map +1 -1
  22. package/dist/notifications.d.ts +6 -2
  23. package/dist/notifications.d.ts.map +1 -1
  24. package/dist/notifications.js +8 -0
  25. package/dist/notifications.js.map +1 -1
  26. package/dist/result-views.d.ts +1 -1
  27. package/dist/result-views.d.ts.map +1 -1
  28. package/dist/result-views.js +1 -0
  29. package/dist/result-views.js.map +1 -1
  30. package/dist/routes/agent-runs.d.ts +72 -0
  31. package/dist/routes/agent-runs.d.ts.map +1 -1
  32. package/dist/routes/auth.d.ts +1 -0
  33. package/dist/routes/auth.d.ts.map +1 -1
  34. package/dist/routes/execution.d.ts +288 -0
  35. package/dist/routes/execution.d.ts.map +1 -1
  36. package/dist/routes/forkDecision.d.ts +143 -0
  37. package/dist/routes/forkDecision.d.ts.map +1 -0
  38. package/dist/routes/forkDecision.js +27 -0
  39. package/dist/routes/forkDecision.js.map +1 -0
  40. package/dist/routes/human-review.d.ts +36 -0
  41. package/dist/routes/human-review.d.ts.map +1 -1
  42. package/dist/routes/human-test.d.ts +180 -0
  43. package/dist/routes/human-test.d.ts.map +1 -1
  44. package/dist/routes/index.d.ts +1 -0
  45. package/dist/routes/index.d.ts.map +1 -1
  46. package/dist/routes/index.js +1 -0
  47. package/dist/routes/index.js.map +1 -1
  48. package/dist/routes/merge.d.ts +42 -0
  49. package/dist/routes/merge.d.ts.map +1 -1
  50. package/dist/routes/notifications.d.ts +6 -3
  51. package/dist/routes/notifications.d.ts.map +1 -1
  52. package/dist/routes/slack.d.ts +3 -3
  53. package/dist/routes/visual-confirm.d.ts +108 -0
  54. package/dist/routes/visual-confirm.d.ts.map +1 -1
  55. package/dist/routes/workspaces.d.ts +92 -4
  56. package/dist/routes/workspaces.d.ts.map +1 -1
  57. package/dist/slack.d.ts +2 -2
  58. package/dist/snapshot.d.ts +46 -2
  59. package/dist/snapshot.d.ts.map +1 -1
  60. package/package.json +1 -1
@@ -40,6 +40,13 @@ export declare const listRiskPoliciesContract: {
40
40
  readonly releaseMaxAttempts: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
41
41
  readonly humanReviewGraceMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
42
42
  readonly autoMergeEnabled: v.BooleanSchema<undefined>;
43
+ readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
44
+ readonly enabled: v.BooleanSchema<undefined>;
45
+ readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
46
+ readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
47
+ readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
48
+ readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
49
+ }, undefined>, undefined>, undefined>;
43
50
  readonly isDefault: v.BooleanSchema<undefined>;
44
51
  readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
45
52
  readonly createdAt: v.NumberSchema<undefined>;
@@ -62,6 +69,13 @@ export declare const createRiskPolicyContract: {
62
69
  readonly releaseMaxAttempts: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 10, undefined>]>, 1>;
63
70
  readonly humanReviewGraceMinutes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1440, undefined>]>, 10>;
64
71
  readonly autoMergeEnabled: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
72
+ readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
73
+ readonly enabled: v.BooleanSchema<undefined>;
74
+ readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
75
+ readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
76
+ readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
77
+ readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
78
+ }, undefined>, undefined>, undefined>;
65
79
  readonly isDefault: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
66
80
  }, undefined>;
67
81
  readonly responsesByStatusCode: {
@@ -101,6 +115,13 @@ export declare const createRiskPolicyContract: {
101
115
  readonly releaseMaxAttempts: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
102
116
  readonly humanReviewGraceMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
103
117
  readonly autoMergeEnabled: v.BooleanSchema<undefined>;
118
+ readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
119
+ readonly enabled: v.BooleanSchema<undefined>;
120
+ readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
121
+ readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
122
+ readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
123
+ readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
124
+ }, undefined>, undefined>, undefined>;
104
125
  readonly isDefault: v.BooleanSchema<undefined>;
105
126
  readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
106
127
  readonly createdAt: v.NumberSchema<undefined>;
@@ -128,6 +149,13 @@ export declare const updateRiskPolicyContract: {
128
149
  readonly releaseMaxAttempts: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 10, undefined>]>, undefined>;
129
150
  readonly humanReviewGraceMinutes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1440, undefined>]>, undefined>;
130
151
  readonly autoMergeEnabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
152
+ readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
153
+ readonly enabled: v.BooleanSchema<undefined>;
154
+ readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
155
+ readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
156
+ readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
157
+ readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
158
+ }, undefined>, undefined>, undefined>;
131
159
  readonly isDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
132
160
  }, undefined>;
133
161
  readonly responsesByStatusCode: {
@@ -167,6 +195,13 @@ export declare const updateRiskPolicyContract: {
167
195
  readonly releaseMaxAttempts: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
168
196
  readonly humanReviewGraceMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
169
197
  readonly autoMergeEnabled: v.BooleanSchema<undefined>;
198
+ readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
199
+ readonly enabled: v.BooleanSchema<undefined>;
200
+ readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
201
+ readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
202
+ readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
203
+ readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
204
+ }, undefined>, undefined>, undefined>;
170
205
  readonly isDefault: v.BooleanSchema<undefined>;
171
206
  readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
172
207
  readonly createdAt: v.NumberSchema<undefined>;
@@ -259,6 +294,13 @@ export declare const reseedRiskPolicyContract: {
259
294
  readonly releaseMaxAttempts: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
260
295
  readonly humanReviewGraceMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
261
296
  readonly autoMergeEnabled: v.BooleanSchema<undefined>;
297
+ readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
298
+ readonly enabled: v.BooleanSchema<undefined>;
299
+ readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
300
+ readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
301
+ readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
302
+ readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
303
+ }, undefined>, undefined>, undefined>;
262
304
  readonly isDefault: v.BooleanSchema<undefined>;
263
305
  readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
264
306
  readonly createdAt: v.NumberSchema<undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../src/routes/merge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAInC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnC,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnC,CAAA"}
1
+ {"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../src/routes/merge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAInC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnC,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnC,CAAA"}
@@ -28,7 +28,7 @@ export declare const listNotificationsContract: {
28
28
  }, undefined>;
29
29
  readonly 200: v.ArraySchema<v.ObjectSchema<{
30
30
  readonly id: v.StringSchema<undefined>;
31
- 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>;
31
+ 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>;
32
32
  readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
33
33
  readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
34
34
  readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -45,6 +45,7 @@ export declare const listNotificationsContract: {
45
45
  readonly prUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
46
46
  readonly pipelineName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
47
47
  readonly findingCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
48
+ readonly forkCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
48
49
  readonly onCallAssessment: v.OptionalSchema<v.ObjectSchema<{
49
50
  readonly culpritConfidence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
50
51
  readonly recommendation: v.PicklistSchema<["revert", "hold", "monitor"], undefined>;
@@ -103,7 +104,7 @@ export declare const actNotificationContract: {
103
104
  }, undefined>;
104
105
  readonly 200: v.ObjectSchema<{
105
106
  readonly id: v.StringSchema<undefined>;
106
- 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>;
107
+ 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>;
107
108
  readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
108
109
  readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
109
110
  readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -120,6 +121,7 @@ export declare const actNotificationContract: {
120
121
  readonly prUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
121
122
  readonly pipelineName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
122
123
  readonly findingCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
124
+ readonly forkCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
123
125
  readonly onCallAssessment: v.OptionalSchema<v.ObjectSchema<{
124
126
  readonly culpritConfidence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
125
127
  readonly recommendation: v.PicklistSchema<["revert", "hold", "monitor"], undefined>;
@@ -178,7 +180,7 @@ export declare const dismissNotificationContract: {
178
180
  }, undefined>;
179
181
  readonly 200: v.ObjectSchema<{
180
182
  readonly id: v.StringSchema<undefined>;
181
- 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>;
183
+ 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>;
182
184
  readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
183
185
  readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
184
186
  readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -195,6 +197,7 @@ export declare const dismissNotificationContract: {
195
197
  readonly prUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
196
198
  readonly pipelineName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
197
199
  readonly findingCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
200
+ readonly forkCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
198
201
  readonly onCallAssessment: v.OptionalSchema<v.ObjectSchema<{
199
202
  readonly culpritConfidence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
200
203
  readonly recommendation: v.PicklistSchema<["revert", "hold", "monitor"], undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../src/routes/notifications.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIpC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMtC,CAAA"}
1
+ {"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../src/routes/notifications.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIpC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMtC,CAAA"}
@@ -200,7 +200,7 @@ export declare const getSlackSettingsContract: {
200
200
  }, undefined>;
201
201
  }, undefined>;
202
202
  readonly 200: v.ObjectSchema<{
203
- 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<{
203
+ 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<{
204
204
  readonly enabled: v.BooleanSchema<undefined>;
205
205
  readonly channel: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>;
206
206
  }, undefined>, undefined>;
@@ -213,7 +213,7 @@ export declare const updateSlackSettingsContract: {
213
213
  readonly method: "put";
214
214
  readonly pathResolver: () => string;
215
215
  readonly requestBodySchema: v.ObjectSchema<{
216
- 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<{
216
+ 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<{
217
217
  readonly enabled: v.BooleanSchema<undefined>;
218
218
  readonly channel: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>;
219
219
  }, undefined>, undefined>;
@@ -243,7 +243,7 @@ export declare const updateSlackSettingsContract: {
243
243
  }, undefined>;
244
244
  }, undefined>;
245
245
  readonly 200: v.ObjectSchema<{
246
- 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<{
246
+ 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<{
247
247
  readonly enabled: v.BooleanSchema<undefined>;
248
248
  readonly channel: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>;
249
249
  }, undefined>, undefined>;
@@ -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":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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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>]>;