@cat-factory/contracts 0.129.0 → 0.131.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 (65) hide show
  1. package/dist/agent-presentation.d.ts +2 -2
  2. package/dist/entities.d.ts +70 -1
  3. package/dist/entities.d.ts.map +1 -1
  4. package/dist/entities.js +9 -0
  5. package/dist/entities.js.map +1 -1
  6. package/dist/index.d.ts +1 -0
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +1 -0
  9. package/dist/index.js.map +1 -1
  10. package/dist/initiative.d.ts +20 -5
  11. package/dist/initiative.d.ts.map +1 -1
  12. package/dist/notifications.d.ts +6 -2
  13. package/dist/notifications.d.ts.map +1 -1
  14. package/dist/notifications.js +7 -0
  15. package/dist/notifications.js.map +1 -1
  16. package/dist/prReview.d.ts +175 -0
  17. package/dist/prReview.d.ts.map +1 -0
  18. package/dist/prReview.js +167 -0
  19. package/dist/prReview.js.map +1 -0
  20. package/dist/primitives.d.ts +23 -5
  21. package/dist/primitives.d.ts.map +1 -1
  22. package/dist/primitives.js +31 -5
  23. package/dist/primitives.js.map +1 -1
  24. package/dist/requests.d.ts +4 -1
  25. package/dist/requests.d.ts.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 +52 -0
  31. package/dist/routes/agent-runs.d.ts.map +1 -1
  32. package/dist/routes/board.d.ts +52 -13
  33. package/dist/routes/board.d.ts.map +1 -1
  34. package/dist/routes/execution.d.ts +216 -2
  35. package/dist/routes/execution.d.ts.map +1 -1
  36. package/dist/routes/human-review.d.ts +26 -0
  37. package/dist/routes/human-review.d.ts.map +1 -1
  38. package/dist/routes/human-test.d.ts +130 -0
  39. package/dist/routes/human-test.d.ts.map +1 -1
  40. package/dist/routes/index.d.ts +1 -0
  41. package/dist/routes/index.d.ts.map +1 -1
  42. package/dist/routes/index.js +1 -0
  43. package/dist/routes/index.js.map +1 -1
  44. package/dist/routes/initiative.d.ts +68 -17
  45. package/dist/routes/initiative.d.ts.map +1 -1
  46. package/dist/routes/notifications.d.ts +6 -3
  47. package/dist/routes/notifications.d.ts.map +1 -1
  48. package/dist/routes/prReview.d.ts +124 -0
  49. package/dist/routes/prReview.d.ts.map +1 -0
  50. package/dist/routes/prReview.js +26 -0
  51. package/dist/routes/prReview.js.map +1 -0
  52. package/dist/routes/slack.d.ts +3 -3
  53. package/dist/routes/tasks.d.ts +12 -3
  54. package/dist/routes/tasks.d.ts.map +1 -1
  55. package/dist/routes/visual-confirm.d.ts +78 -0
  56. package/dist/routes/visual-confirm.d.ts.map +1 -1
  57. package/dist/routes/workspace-settings.d.ts +3 -3
  58. package/dist/routes/workspaces.d.ts +84 -12
  59. package/dist/routes/workspaces.d.ts.map +1 -1
  60. package/dist/slack.d.ts +2 -2
  61. package/dist/snapshot.d.ts +42 -6
  62. package/dist/snapshot.d.ts.map +1 -1
  63. package/dist/workspace-settings.d.ts +3 -3
  64. package/dist/workspace-settings.d.ts.map +1 -1
  65. package/package.json +1 -1
@@ -107,7 +107,7 @@ export declare const createWorkspaceContract: {
107
107
  readonly createdAt: v.NumberSchema<undefined>;
108
108
  }, undefined>, undefined>, undefined>;
109
109
  readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
110
- readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "recurring"], undefined>, undefined>;
110
+ readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "review", "recurring"], undefined>, undefined>;
111
111
  readonly taskTypeFields: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
112
112
  readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
113
113
  readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
@@ -127,6 +127,9 @@ export declare const createWorkspaceContract: {
127
127
  readonly researchQuestion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
128
128
  readonly optionsToCompare: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
129
129
  readonly apiSurface: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
130
+ readonly prNumber: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
131
+ readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
132
+ readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
130
133
  }, undefined>, undefined>, undefined>;
131
134
  readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
132
135
  readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -828,6 +831,32 @@ export declare const createWorkspaceContract: {
828
831
  readonly pendingForkChat: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
829
832
  readonly messageId: v.StringSchema<undefined>;
830
833
  }, undefined>, undefined>, undefined>;
834
+ readonly prReview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
835
+ readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "fixing", "posting", "done", "skipped"], undefined>;
836
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
837
+ readonly slices: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
838
+ readonly id: v.StringSchema<undefined>;
839
+ readonly title: v.StringSchema<undefined>;
840
+ readonly rationale: v.StringSchema<undefined>;
841
+ readonly paths: v.ArraySchema<v.StringSchema<undefined>, undefined>;
842
+ }, undefined>, undefined>, readonly []>;
843
+ readonly findings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
844
+ readonly id: v.StringSchema<undefined>;
845
+ readonly sliceId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
846
+ readonly path: v.StringSchema<undefined>;
847
+ readonly line: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
848
+ readonly side: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["LEFT", "RIGHT"], undefined>, undefined>, undefined>;
849
+ readonly severity: v.PicklistSchema<["blocker", "high", "medium", "low", "nit"], undefined>;
850
+ readonly category: v.PicklistSchema<["correctness", "security", "performance", "maintainability", "style", "test", "other"], undefined>;
851
+ readonly title: v.StringSchema<undefined>;
852
+ readonly detail: v.StringSchema<undefined>;
853
+ readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
854
+ }, undefined>, undefined>, readonly []>;
855
+ readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
856
+ readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish"], undefined>, undefined>, undefined>;
857
+ readonly prUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
858
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
859
+ }, undefined>, undefined>, undefined>;
831
860
  readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
832
861
  readonly previousProposal: v.StringSchema<undefined>;
833
862
  readonly feedback: v.StringSchema<undefined>;
@@ -1312,7 +1341,7 @@ export declare const createWorkspaceContract: {
1312
1341
  }, undefined>, undefined>;
1313
1342
  readonly notifications: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1314
1343
  readonly id: v.StringSchema<undefined>;
1315
- 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>;
1344
+ 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", "pr_review_ready", "initiative"], undefined>;
1316
1345
  readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
1317
1346
  readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
1318
1347
  readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1330,6 +1359,7 @@ export declare const createWorkspaceContract: {
1330
1359
  readonly pipelineName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1331
1360
  readonly findingCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1332
1361
  readonly forkCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1362
+ readonly sliceCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1333
1363
  readonly onCallAssessment: v.OptionalSchema<v.ObjectSchema<{
1334
1364
  readonly culpritConfidence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1335
1365
  readonly recommendation: v.PicklistSchema<["revert", "hold", "monitor"], undefined>;
@@ -1593,7 +1623,7 @@ export declare const createWorkspaceContract: {
1593
1623
  readonly createdAt: v.NumberSchema<undefined>;
1594
1624
  }, undefined>, undefined>, undefined>;
1595
1625
  readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1596
- readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "recurring"], undefined>, undefined>;
1626
+ readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "review", "recurring"], undefined>, undefined>;
1597
1627
  readonly taskTypeFields: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1598
1628
  readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
1599
1629
  readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
@@ -1613,6 +1643,9 @@ export declare const createWorkspaceContract: {
1613
1643
  readonly researchQuestion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1614
1644
  readonly optionsToCompare: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1615
1645
  readonly apiSurface: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1646
+ readonly prNumber: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
1647
+ readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1648
+ readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
1616
1649
  }, undefined>, undefined>, undefined>;
1617
1650
  readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
1618
1651
  readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -1903,7 +1936,7 @@ export declare const createWorkspaceContract: {
1903
1936
  readonly waitingEscalationMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100000, undefined>]>;
1904
1937
  readonly taskLimitMode: v.PicklistSchema<["off", "shared", "per_type"], undefined>;
1905
1938
  readonly taskLimitShared: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
1906
- readonly taskLimitPerType: v.NullableSchema<v.RecordSchema<v.PicklistSchema<["feature", "bug", "document", "spike"], undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>;
1939
+ readonly taskLimitPerType: v.NullableSchema<v.RecordSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "review"], undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>;
1907
1940
  readonly storeAgentContext: v.BooleanSchema<undefined>;
1908
1941
  readonly artifactRetentionDays: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 3650, undefined>]>;
1909
1942
  readonly kaizenEnabled: v.BooleanSchema<undefined>;
@@ -1919,7 +1952,7 @@ export declare const createWorkspaceContract: {
1919
1952
  readonly color: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>;
1920
1953
  readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
1921
1954
  readonly category: v.OptionalSchema<v.PicklistSchema<["review", "design", "build", "test", "docs", "gates"], undefined>, undefined>;
1922
- 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>;
1955
+ 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", "pr-review"], undefined>, undefined>;
1923
1956
  }, undefined>;
1924
1957
  readonly container: v.BooleanSchema<undefined>;
1925
1958
  }, undefined>, undefined>, undefined>;
@@ -1988,7 +2021,7 @@ export declare const createWorkspaceContract: {
1988
2021
  }, undefined>, undefined>;
1989
2022
  readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1990
2023
  readonly spawn: v.OptionalSchema<v.ObjectSchema<{
1991
- readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike"], undefined>, undefined>;
2024
+ readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "review"], undefined>, undefined>;
1992
2025
  readonly taskTypeFields: v.OptionalSchema<v.ObjectSchema<{
1993
2026
  readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
1994
2027
  readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
@@ -2008,6 +2041,9 @@ export declare const createWorkspaceContract: {
2008
2041
  readonly researchQuestion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
2009
2042
  readonly optionsToCompare: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
2010
2043
  readonly apiSurface: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
2044
+ readonly prNumber: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
2045
+ readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
2046
+ readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
2011
2047
  }, undefined>, undefined>;
2012
2048
  readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
2013
2049
  readonly agentConfig: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>, undefined>;
@@ -2273,7 +2309,7 @@ export declare const getWorkspaceContract: {
2273
2309
  readonly createdAt: v.NumberSchema<undefined>;
2274
2310
  }, undefined>, undefined>, undefined>;
2275
2311
  readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2276
- readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "recurring"], undefined>, undefined>;
2312
+ readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "review", "recurring"], undefined>, undefined>;
2277
2313
  readonly taskTypeFields: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2278
2314
  readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
2279
2315
  readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
@@ -2293,6 +2329,9 @@ export declare const getWorkspaceContract: {
2293
2329
  readonly researchQuestion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
2294
2330
  readonly optionsToCompare: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
2295
2331
  readonly apiSurface: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
2332
+ readonly prNumber: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
2333
+ readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
2334
+ readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
2296
2335
  }, undefined>, undefined>, undefined>;
2297
2336
  readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
2298
2337
  readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -2994,6 +3033,32 @@ export declare const getWorkspaceContract: {
2994
3033
  readonly pendingForkChat: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2995
3034
  readonly messageId: v.StringSchema<undefined>;
2996
3035
  }, undefined>, undefined>, undefined>;
3036
+ readonly prReview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3037
+ readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "fixing", "posting", "done", "skipped"], undefined>;
3038
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3039
+ readonly slices: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3040
+ readonly id: v.StringSchema<undefined>;
3041
+ readonly title: v.StringSchema<undefined>;
3042
+ readonly rationale: v.StringSchema<undefined>;
3043
+ readonly paths: v.ArraySchema<v.StringSchema<undefined>, undefined>;
3044
+ }, undefined>, undefined>, readonly []>;
3045
+ readonly findings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3046
+ readonly id: v.StringSchema<undefined>;
3047
+ readonly sliceId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3048
+ readonly path: v.StringSchema<undefined>;
3049
+ readonly line: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
3050
+ readonly side: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["LEFT", "RIGHT"], undefined>, undefined>, undefined>;
3051
+ readonly severity: v.PicklistSchema<["blocker", "high", "medium", "low", "nit"], undefined>;
3052
+ readonly category: v.PicklistSchema<["correctness", "security", "performance", "maintainability", "style", "test", "other"], undefined>;
3053
+ readonly title: v.StringSchema<undefined>;
3054
+ readonly detail: v.StringSchema<undefined>;
3055
+ readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3056
+ }, undefined>, undefined>, readonly []>;
3057
+ readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
3058
+ readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish"], undefined>, undefined>, undefined>;
3059
+ readonly prUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3060
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3061
+ }, undefined>, undefined>, undefined>;
2997
3062
  readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2998
3063
  readonly previousProposal: v.StringSchema<undefined>;
2999
3064
  readonly feedback: v.StringSchema<undefined>;
@@ -3478,7 +3543,7 @@ export declare const getWorkspaceContract: {
3478
3543
  }, undefined>, undefined>;
3479
3544
  readonly notifications: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3480
3545
  readonly id: v.StringSchema<undefined>;
3481
- 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>;
3546
+ 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", "pr_review_ready", "initiative"], undefined>;
3482
3547
  readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
3483
3548
  readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
3484
3549
  readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -3496,6 +3561,7 @@ export declare const getWorkspaceContract: {
3496
3561
  readonly pipelineName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3497
3562
  readonly findingCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3498
3563
  readonly forkCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3564
+ readonly sliceCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3499
3565
  readonly onCallAssessment: v.OptionalSchema<v.ObjectSchema<{
3500
3566
  readonly culpritConfidence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
3501
3567
  readonly recommendation: v.PicklistSchema<["revert", "hold", "monitor"], undefined>;
@@ -3759,7 +3825,7 @@ export declare const getWorkspaceContract: {
3759
3825
  readonly createdAt: v.NumberSchema<undefined>;
3760
3826
  }, undefined>, undefined>, undefined>;
3761
3827
  readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3762
- readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "recurring"], undefined>, undefined>;
3828
+ readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "review", "recurring"], undefined>, undefined>;
3763
3829
  readonly taskTypeFields: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3764
3830
  readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
3765
3831
  readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
@@ -3779,6 +3845,9 @@ export declare const getWorkspaceContract: {
3779
3845
  readonly researchQuestion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
3780
3846
  readonly optionsToCompare: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
3781
3847
  readonly apiSurface: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
3848
+ readonly prNumber: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
3849
+ readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
3850
+ readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
3782
3851
  }, undefined>, undefined>, undefined>;
3783
3852
  readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
3784
3853
  readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -4069,7 +4138,7 @@ export declare const getWorkspaceContract: {
4069
4138
  readonly waitingEscalationMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100000, undefined>]>;
4070
4139
  readonly taskLimitMode: v.PicklistSchema<["off", "shared", "per_type"], undefined>;
4071
4140
  readonly taskLimitShared: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
4072
- readonly taskLimitPerType: v.NullableSchema<v.RecordSchema<v.PicklistSchema<["feature", "bug", "document", "spike"], undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>;
4141
+ readonly taskLimitPerType: v.NullableSchema<v.RecordSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "review"], undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>;
4073
4142
  readonly storeAgentContext: v.BooleanSchema<undefined>;
4074
4143
  readonly artifactRetentionDays: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 3650, undefined>]>;
4075
4144
  readonly kaizenEnabled: v.BooleanSchema<undefined>;
@@ -4085,7 +4154,7 @@ export declare const getWorkspaceContract: {
4085
4154
  readonly color: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>;
4086
4155
  readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
4087
4156
  readonly category: v.OptionalSchema<v.PicklistSchema<["review", "design", "build", "test", "docs", "gates"], undefined>, undefined>;
4088
- 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>;
4157
+ 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", "pr-review"], undefined>, undefined>;
4089
4158
  }, undefined>;
4090
4159
  readonly container: v.BooleanSchema<undefined>;
4091
4160
  }, undefined>, undefined>, undefined>;
@@ -4154,7 +4223,7 @@ export declare const getWorkspaceContract: {
4154
4223
  }, undefined>, undefined>;
4155
4224
  readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
4156
4225
  readonly spawn: v.OptionalSchema<v.ObjectSchema<{
4157
- readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike"], undefined>, undefined>;
4226
+ readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "review"], undefined>, undefined>;
4158
4227
  readonly taskTypeFields: v.OptionalSchema<v.ObjectSchema<{
4159
4228
  readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
4160
4229
  readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
@@ -4174,6 +4243,9 @@ export declare const getWorkspaceContract: {
4174
4243
  readonly researchQuestion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
4175
4244
  readonly optionsToCompare: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
4176
4245
  readonly apiSurface: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
4246
+ readonly prNumber: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
4247
+ readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
4248
+ readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
4177
4249
  }, undefined>, undefined>;
4178
4250
  readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
4179
4251
  readonly agentConfig: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 400, 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,e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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", "fork_decision_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", "pr_review_ready", "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", "fork_decision_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", "pr_review_ready", "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>]>;
@@ -52,7 +52,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
52
52
  readonly createdAt: v.NumberSchema<undefined>;
53
53
  }, undefined>, undefined>, undefined>;
54
54
  readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
55
- readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "recurring"], undefined>, undefined>;
55
+ readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "review", "recurring"], undefined>, undefined>;
56
56
  readonly taskTypeFields: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
57
57
  readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
58
58
  readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
@@ -72,6 +72,9 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
72
72
  readonly researchQuestion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
73
73
  readonly optionsToCompare: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
74
74
  readonly apiSurface: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
75
+ readonly prNumber: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
76
+ readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
77
+ readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
75
78
  }, undefined>, undefined>, undefined>;
76
79
  readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
77
80
  readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -773,6 +776,32 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
773
776
  readonly pendingForkChat: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
774
777
  readonly messageId: v.StringSchema<undefined>;
775
778
  }, undefined>, undefined>, undefined>;
779
+ readonly prReview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
780
+ readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "fixing", "posting", "done", "skipped"], undefined>;
781
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
782
+ readonly slices: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
783
+ readonly id: v.StringSchema<undefined>;
784
+ readonly title: v.StringSchema<undefined>;
785
+ readonly rationale: v.StringSchema<undefined>;
786
+ readonly paths: v.ArraySchema<v.StringSchema<undefined>, undefined>;
787
+ }, undefined>, undefined>, readonly []>;
788
+ readonly findings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
789
+ readonly id: v.StringSchema<undefined>;
790
+ readonly sliceId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
791
+ readonly path: v.StringSchema<undefined>;
792
+ readonly line: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
793
+ readonly side: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["LEFT", "RIGHT"], undefined>, undefined>, undefined>;
794
+ readonly severity: v.PicklistSchema<["blocker", "high", "medium", "low", "nit"], undefined>;
795
+ readonly category: v.PicklistSchema<["correctness", "security", "performance", "maintainability", "style", "test", "other"], undefined>;
796
+ readonly title: v.StringSchema<undefined>;
797
+ readonly detail: v.StringSchema<undefined>;
798
+ readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
799
+ }, undefined>, undefined>, readonly []>;
800
+ readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
801
+ readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish"], undefined>, undefined>, undefined>;
802
+ readonly prUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
803
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
804
+ }, undefined>, undefined>, undefined>;
776
805
  readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
777
806
  readonly previousProposal: v.StringSchema<undefined>;
778
807
  readonly feedback: v.StringSchema<undefined>;
@@ -1305,7 +1334,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1305
1334
  */
1306
1335
  readonly notifications: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1307
1336
  readonly id: v.StringSchema<undefined>;
1308
- 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>;
1337
+ 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", "pr_review_ready", "initiative"], undefined>;
1309
1338
  readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
1310
1339
  readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
1311
1340
  readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1323,6 +1352,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1323
1352
  readonly pipelineName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1324
1353
  readonly findingCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1325
1354
  readonly forkCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1355
+ readonly sliceCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1326
1356
  readonly onCallAssessment: v.OptionalSchema<v.ObjectSchema<{
1327
1357
  readonly culpritConfidence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1328
1358
  readonly recommendation: v.PicklistSchema<["revert", "hold", "monitor"], undefined>;
@@ -1643,7 +1673,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1643
1673
  readonly createdAt: v.NumberSchema<undefined>;
1644
1674
  }, undefined>, undefined>, undefined>;
1645
1675
  readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1646
- readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "recurring"], undefined>, undefined>;
1676
+ readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "review", "recurring"], undefined>, undefined>;
1647
1677
  readonly taskTypeFields: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1648
1678
  readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
1649
1679
  readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
@@ -1663,6 +1693,9 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1663
1693
  readonly researchQuestion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1664
1694
  readonly optionsToCompare: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1665
1695
  readonly apiSurface: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1696
+ readonly prNumber: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
1697
+ readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1698
+ readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
1666
1699
  }, undefined>, undefined>, undefined>;
1667
1700
  readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
1668
1701
  readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -1958,7 +1991,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1958
1991
  readonly waitingEscalationMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100000, undefined>]>;
1959
1992
  readonly taskLimitMode: v.PicklistSchema<["off", "shared", "per_type"], undefined>;
1960
1993
  readonly taskLimitShared: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
1961
- readonly taskLimitPerType: v.NullableSchema<v.RecordSchema<v.PicklistSchema<["feature", "bug", "document", "spike"], undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>;
1994
+ readonly taskLimitPerType: v.NullableSchema<v.RecordSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "review"], undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>;
1962
1995
  readonly storeAgentContext: v.BooleanSchema<undefined>;
1963
1996
  readonly artifactRetentionDays: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 3650, undefined>]>;
1964
1997
  readonly kaizenEnabled: v.BooleanSchema<undefined>;
@@ -1981,7 +2014,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1981
2014
  readonly color: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>;
1982
2015
  readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
1983
2016
  readonly category: v.OptionalSchema<v.PicklistSchema<["review", "design", "build", "test", "docs", "gates"], undefined>, undefined>;
1984
- 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>;
2017
+ 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", "pr-review"], undefined>, undefined>;
1985
2018
  }, undefined>;
1986
2019
  readonly container: v.BooleanSchema<undefined>;
1987
2020
  }, undefined>, undefined>, undefined>;
@@ -2102,7 +2135,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
2102
2135
  }, undefined>, undefined>;
2103
2136
  readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
2104
2137
  readonly spawn: v.OptionalSchema<v.ObjectSchema<{
2105
- readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike"], undefined>, undefined>;
2138
+ readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "review"], undefined>, undefined>;
2106
2139
  readonly taskTypeFields: v.OptionalSchema<v.ObjectSchema<{
2107
2140
  readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
2108
2141
  readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
@@ -2122,6 +2155,9 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
2122
2155
  readonly researchQuestion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
2123
2156
  readonly optionsToCompare: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
2124
2157
  readonly apiSurface: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
2158
+ readonly prNumber: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
2159
+ readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
2160
+ readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
2125
2161
  }, undefined>, undefined>;
2126
2162
  readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
2127
2163
  readonly agentConfig: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 400, 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;AAkC5B,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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;IAEH;;;;;;;OAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;OAOG;;;;;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
@@ -8,7 +8,7 @@ import * as v from 'valibot';
8
8
  export declare const taskLimitModeSchema: v.PicklistSchema<["off", "shared", "per_type"], undefined>;
9
9
  export type TaskLimitMode = v.InferOutput<typeof taskLimitModeSchema>;
10
10
  /** Per-task-type running-task caps (used when {@link taskLimitModeSchema} is `per_type`). */
11
- export declare const taskLimitPerTypeSchema: v.RecordSchema<v.PicklistSchema<["feature", "bug", "document", "spike"], undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
11
+ export declare const taskLimitPerTypeSchema: v.RecordSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "review"], undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
12
12
  export type TaskLimitPerType = v.InferOutput<typeof taskLimitPerTypeSchema>;
13
13
  /** A workspace's runtime settings. */
14
14
  export declare const workspaceSettingsSchema: v.ObjectSchema<{
@@ -22,7 +22,7 @@ export declare const workspaceSettingsSchema: v.ObjectSchema<{
22
22
  /** The shared cap, when {@link taskLimitMode} is `shared`. Null otherwise. */
23
23
  readonly taskLimitShared: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
24
24
  /** The per-type caps, when {@link taskLimitMode} is `per_type`. Null otherwise. */
25
- readonly taskLimitPerType: v.NullableSchema<v.RecordSchema<v.PicklistSchema<["feature", "bug", "document", "spike"], undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>;
25
+ readonly taskLimitPerType: v.NullableSchema<v.RecordSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "review"], undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>;
26
26
  /**
27
27
  * Whether to store the complete context provided to each container agent (the
28
28
  * fully composed system + user prompts, the best-practice fragment bodies folded
@@ -73,7 +73,7 @@ export declare const updateWorkspaceSettingsSchema: v.ObjectSchema<{
73
73
  readonly waitingEscalationMinutes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100000, undefined>]>, undefined>;
74
74
  readonly taskLimitMode: v.OptionalSchema<v.PicklistSchema<["off", "shared", "per_type"], undefined>, undefined>;
75
75
  readonly taskLimitShared: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>;
76
- readonly taskLimitPerType: v.OptionalSchema<v.NullableSchema<v.RecordSchema<v.PicklistSchema<["feature", "bug", "document", "spike"], undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>, undefined>;
76
+ readonly taskLimitPerType: v.OptionalSchema<v.NullableSchema<v.RecordSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "review"], undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>, undefined>;
77
77
  readonly storeAgentContext: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
78
78
  readonly artifactRetentionDays: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 3650, undefined>]>, undefined>;
79
79
  readonly kaizenEnabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"workspace-settings.d.ts","sourceRoot":"","sources":["../src/workspace-settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,4DAA4C,CAAA;AAC5E,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAIrE,6FAA6F;AAC7F,eAAO,MAAM,sBAAsB,gRAA8C,CAAA;AACjF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAoB3E,sCAAsC;AACtC,eAAO,MAAM,uBAAuB;IAClC;;;OAGG;;IAEH,kEAAkE;;IAElE,8EAA8E;;IAE9E,mFAAmF;;IAEnF;;;;;;;OAOG;;IAEH;;;;OAIG;;IAEH;;;;OAIG;;IAEH;;;;;;OAMG;;IAEH,6EAA6E;;IAE7E;;;;;;;;;;OAUG;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,mFAAmF;AACnF,eAAO,MAAM,6BAA6B;;;;;;;;;;;aAexC,CAAA;AACF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,6BAA6B,CAAC,CAAA"}
1
+ {"version":3,"file":"workspace-settings.d.ts","sourceRoot":"","sources":["../src/workspace-settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,4DAA4C,CAAA;AAC5E,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAIrE,6FAA6F;AAC7F,eAAO,MAAM,sBAAsB,0RAA8C,CAAA;AACjF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAoB3E,sCAAsC;AACtC,eAAO,MAAM,uBAAuB;IAClC;;;OAGG;;IAEH,kEAAkE;;IAElE,8EAA8E;;IAE9E,mFAAmF;;IAEnF;;;;;;;OAOG;;IAEH;;;;OAIG;;IAEH;;;;OAIG;;IAEH;;;;;;OAMG;;IAEH,6EAA6E;;IAE7E;;;;;;;;;;OAUG;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,mFAAmF;AACnF,eAAO,MAAM,6BAA6B;;;;;;;;;;;aAexC,CAAA;AACF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,6BAA6B,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cat-factory/contracts",
3
- "version": "0.129.0",
3
+ "version": "0.131.0",
4
4
  "description": "Valibot wire contract shared between the Agent Architecture Board frontend and backend.",
5
5
  "repository": {
6
6
  "type": "git",