@cat-factory/contracts 0.339.0 → 0.340.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bootstrap.d.ts +135 -4
- package/dist/bootstrap.d.ts.map +1 -1
- package/dist/bootstrap.js +82 -3
- package/dist/bootstrap.js.map +1 -1
- package/dist/errors.d.ts +1 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +14 -0
- package/dist/errors.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/monorepo-adoption.d.ts +220 -0
- package/dist/monorepo-adoption.d.ts.map +1 -0
- package/dist/monorepo-adoption.js +201 -0
- package/dist/monorepo-adoption.js.map +1 -0
- package/dist/public-provisioning.d.ts +13 -2
- package/dist/public-provisioning.d.ts.map +1 -1
- package/dist/public-provisioning.js +12 -1
- package/dist/public-provisioning.js.map +1 -1
- package/dist/routes/agent-runs.d.ts +94 -2
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/bootstrap.d.ts +289 -3
- package/dist/routes/bootstrap.d.ts.map +1 -1
- package/dist/routes/bootstrap.js +19 -0
- package/dist/routes/bootstrap.js.map +1 -1
- package/dist/routes/public-provisioning.d.ts +4 -2
- package/dist/routes/public-provisioning.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +94 -2
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/snapshot.d.ts +47 -1
- package/dist/snapshot.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -43,7 +43,7 @@ export declare const retryAgentRunContract: {
|
|
|
43
43
|
readonly repoOwner: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
44
44
|
readonly repoUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
45
45
|
readonly instructions: v.StringSchema<undefined>;
|
|
46
|
-
readonly status: v.PicklistSchema<["pending", "running", "succeeded", "failed"], undefined>;
|
|
46
|
+
readonly status: v.PicklistSchema<["pending", "running", "awaiting_review", "succeeded", "failed"], undefined>;
|
|
47
47
|
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
48
48
|
readonly subtasks: v.NullableSchema<v.ObjectSchema<{
|
|
49
49
|
readonly completed: v.NumberSchema<undefined>;
|
|
@@ -73,6 +73,52 @@ export declare const retryAgentRunContract: {
|
|
|
73
73
|
}, undefined>, undefined>;
|
|
74
74
|
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
75
75
|
}, undefined>, undefined>;
|
|
76
|
+
readonly monorepo: v.NullableSchema<v.ObjectSchema<{
|
|
77
|
+
readonly repoGithubId: v.NumberSchema<undefined>;
|
|
78
|
+
readonly directory: v.StringSchema<undefined>;
|
|
79
|
+
readonly repoOwner: v.StringSchema<undefined>;
|
|
80
|
+
readonly repoName: v.StringSchema<undefined>;
|
|
81
|
+
readonly branch: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
82
|
+
}, undefined>, undefined>;
|
|
83
|
+
readonly phase: v.NullableSchema<v.PicklistSchema<["survey", "apply"], undefined>, undefined>;
|
|
84
|
+
readonly adoptionPlan: v.NullableSchema<v.ObjectSchema<{
|
|
85
|
+
readonly status: v.PicklistSchema<["ready", "unavailable"], undefined>;
|
|
86
|
+
readonly unavailableReason: v.NullableSchema<v.PicklistSchema<["model_unavailable", "repo_unreadable", "budget_exhausted", "analysis_unusable"], undefined>, undefined>;
|
|
87
|
+
readonly unavailableDetail: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 600, undefined>]>, undefined>;
|
|
88
|
+
readonly survey: v.ObjectSchema<{
|
|
89
|
+
readonly monorepoPaths: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
90
|
+
readonly templatePaths: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
91
|
+
readonly unreadablePaths: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
92
|
+
readonly siblingService: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
93
|
+
}, undefined>;
|
|
94
|
+
readonly decisions: v.ArraySchema<v.ObjectSchema<{
|
|
95
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
96
|
+
readonly area: v.PicklistSchema<["build-tooling", "dependencies", "lint-format", "typecheck", "testing", "ci", "containerization", "runtime-config", "observability", "source-layout", "docs", "other"], undefined>;
|
|
97
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
98
|
+
readonly monorepoPractice: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 600, undefined>]>, undefined>;
|
|
99
|
+
readonly templatePractice: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 600, undefined>]>, undefined>;
|
|
100
|
+
readonly recommended: v.PicklistSchema<["monorepo", "template", "both", "neither"], undefined>;
|
|
101
|
+
readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 600, undefined>]>;
|
|
102
|
+
readonly evidence: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
103
|
+
}, undefined>, undefined>;
|
|
104
|
+
readonly droppedUnevidenced: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, v.MaxLengthAction<string[], number, undefined>]>;
|
|
105
|
+
readonly model: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
106
|
+
readonly generatedAt: v.NumberSchema<undefined>;
|
|
107
|
+
}, undefined>, undefined>;
|
|
108
|
+
readonly adoptionReview: v.NullableSchema<v.ObjectSchema<{
|
|
109
|
+
readonly decisions: v.ArraySchema<v.ObjectSchema<{
|
|
110
|
+
readonly id: v.StringSchema<undefined>;
|
|
111
|
+
readonly area: v.PicklistSchema<["build-tooling", "dependencies", "lint-format", "typecheck", "testing", "ci", "containerization", "runtime-config", "observability", "source-layout", "docs", "other"], undefined>;
|
|
112
|
+
readonly title: v.StringSchema<undefined>;
|
|
113
|
+
readonly choice: v.PicklistSchema<["monorepo", "template", "both", "neither"], undefined>;
|
|
114
|
+
readonly overrodeRecommendation: v.BooleanSchema<undefined>;
|
|
115
|
+
readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
116
|
+
}, undefined>, undefined>;
|
|
117
|
+
readonly notes: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
118
|
+
readonly reviewedByUserId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
119
|
+
readonly reviewedAt: v.NumberSchema<undefined>;
|
|
120
|
+
}, undefined>, undefined>;
|
|
121
|
+
readonly prUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
76
122
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
77
123
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
78
124
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1365,7 +1411,7 @@ export declare const stopAgentRunContract: {
|
|
|
1365
1411
|
readonly repoOwner: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1366
1412
|
readonly repoUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1367
1413
|
readonly instructions: v.StringSchema<undefined>;
|
|
1368
|
-
readonly status: v.PicklistSchema<["pending", "running", "succeeded", "failed"], undefined>;
|
|
1414
|
+
readonly status: v.PicklistSchema<["pending", "running", "awaiting_review", "succeeded", "failed"], undefined>;
|
|
1369
1415
|
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1370
1416
|
readonly subtasks: v.NullableSchema<v.ObjectSchema<{
|
|
1371
1417
|
readonly completed: v.NumberSchema<undefined>;
|
|
@@ -1395,6 +1441,52 @@ export declare const stopAgentRunContract: {
|
|
|
1395
1441
|
}, undefined>, undefined>;
|
|
1396
1442
|
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1397
1443
|
}, undefined>, undefined>;
|
|
1444
|
+
readonly monorepo: v.NullableSchema<v.ObjectSchema<{
|
|
1445
|
+
readonly repoGithubId: v.NumberSchema<undefined>;
|
|
1446
|
+
readonly directory: v.StringSchema<undefined>;
|
|
1447
|
+
readonly repoOwner: v.StringSchema<undefined>;
|
|
1448
|
+
readonly repoName: v.StringSchema<undefined>;
|
|
1449
|
+
readonly branch: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1450
|
+
}, undefined>, undefined>;
|
|
1451
|
+
readonly phase: v.NullableSchema<v.PicklistSchema<["survey", "apply"], undefined>, undefined>;
|
|
1452
|
+
readonly adoptionPlan: v.NullableSchema<v.ObjectSchema<{
|
|
1453
|
+
readonly status: v.PicklistSchema<["ready", "unavailable"], undefined>;
|
|
1454
|
+
readonly unavailableReason: v.NullableSchema<v.PicklistSchema<["model_unavailable", "repo_unreadable", "budget_exhausted", "analysis_unusable"], undefined>, undefined>;
|
|
1455
|
+
readonly unavailableDetail: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 600, undefined>]>, undefined>;
|
|
1456
|
+
readonly survey: v.ObjectSchema<{
|
|
1457
|
+
readonly monorepoPaths: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
1458
|
+
readonly templatePaths: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
1459
|
+
readonly unreadablePaths: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
1460
|
+
readonly siblingService: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
1461
|
+
}, undefined>;
|
|
1462
|
+
readonly decisions: v.ArraySchema<v.ObjectSchema<{
|
|
1463
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1464
|
+
readonly area: v.PicklistSchema<["build-tooling", "dependencies", "lint-format", "typecheck", "testing", "ci", "containerization", "runtime-config", "observability", "source-layout", "docs", "other"], undefined>;
|
|
1465
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1466
|
+
readonly monorepoPractice: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 600, undefined>]>, undefined>;
|
|
1467
|
+
readonly templatePractice: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 600, undefined>]>, undefined>;
|
|
1468
|
+
readonly recommended: v.PicklistSchema<["monorepo", "template", "both", "neither"], undefined>;
|
|
1469
|
+
readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 600, undefined>]>;
|
|
1470
|
+
readonly evidence: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
1471
|
+
}, undefined>, undefined>;
|
|
1472
|
+
readonly droppedUnevidenced: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, v.MaxLengthAction<string[], number, undefined>]>;
|
|
1473
|
+
readonly model: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1474
|
+
readonly generatedAt: v.NumberSchema<undefined>;
|
|
1475
|
+
}, undefined>, undefined>;
|
|
1476
|
+
readonly adoptionReview: v.NullableSchema<v.ObjectSchema<{
|
|
1477
|
+
readonly decisions: v.ArraySchema<v.ObjectSchema<{
|
|
1478
|
+
readonly id: v.StringSchema<undefined>;
|
|
1479
|
+
readonly area: v.PicklistSchema<["build-tooling", "dependencies", "lint-format", "typecheck", "testing", "ci", "containerization", "runtime-config", "observability", "source-layout", "docs", "other"], undefined>;
|
|
1480
|
+
readonly title: v.StringSchema<undefined>;
|
|
1481
|
+
readonly choice: v.PicklistSchema<["monorepo", "template", "both", "neither"], undefined>;
|
|
1482
|
+
readonly overrodeRecommendation: v.BooleanSchema<undefined>;
|
|
1483
|
+
readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1484
|
+
}, undefined>, undefined>;
|
|
1485
|
+
readonly notes: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1486
|
+
readonly reviewedByUserId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1487
|
+
readonly reviewedAt: v.NumberSchema<undefined>;
|
|
1488
|
+
}, undefined>, undefined>;
|
|
1489
|
+
readonly prUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1398
1490
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
1399
1491
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
1400
1492
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-runs.d.ts","sourceRoot":"","sources":["../../src/routes/agent-runs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAsB5B,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"agent-runs.d.ts","sourceRoot":"","sources":["../../src/routes/agent-runs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAsB5B,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM/B,CAAA"}
|
|
@@ -205,7 +205,7 @@ export declare const listBootstrapJobsContract: {
|
|
|
205
205
|
readonly repoOwner: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
206
206
|
readonly repoUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
207
207
|
readonly instructions: v.StringSchema<undefined>;
|
|
208
|
-
readonly status: v.PicklistSchema<["pending", "running", "succeeded", "failed"], undefined>;
|
|
208
|
+
readonly status: v.PicklistSchema<["pending", "running", "awaiting_review", "succeeded", "failed"], undefined>;
|
|
209
209
|
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
210
210
|
readonly subtasks: v.NullableSchema<v.ObjectSchema<{
|
|
211
211
|
readonly completed: v.NumberSchema<undefined>;
|
|
@@ -235,6 +235,52 @@ export declare const listBootstrapJobsContract: {
|
|
|
235
235
|
}, undefined>, undefined>;
|
|
236
236
|
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
237
237
|
}, undefined>, undefined>;
|
|
238
|
+
readonly monorepo: v.NullableSchema<v.ObjectSchema<{
|
|
239
|
+
readonly repoGithubId: v.NumberSchema<undefined>;
|
|
240
|
+
readonly directory: v.StringSchema<undefined>;
|
|
241
|
+
readonly repoOwner: v.StringSchema<undefined>;
|
|
242
|
+
readonly repoName: v.StringSchema<undefined>;
|
|
243
|
+
readonly branch: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
244
|
+
}, undefined>, undefined>;
|
|
245
|
+
readonly phase: v.NullableSchema<v.PicklistSchema<["survey", "apply"], undefined>, undefined>;
|
|
246
|
+
readonly adoptionPlan: v.NullableSchema<v.ObjectSchema<{
|
|
247
|
+
readonly status: v.PicklistSchema<["ready", "unavailable"], undefined>;
|
|
248
|
+
readonly unavailableReason: v.NullableSchema<v.PicklistSchema<["model_unavailable", "repo_unreadable", "budget_exhausted", "analysis_unusable"], undefined>, undefined>;
|
|
249
|
+
readonly unavailableDetail: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 600, undefined>]>, undefined>;
|
|
250
|
+
readonly survey: v.ObjectSchema<{
|
|
251
|
+
readonly monorepoPaths: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
252
|
+
readonly templatePaths: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
253
|
+
readonly unreadablePaths: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
254
|
+
readonly siblingService: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
255
|
+
}, undefined>;
|
|
256
|
+
readonly decisions: v.ArraySchema<v.ObjectSchema<{
|
|
257
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
258
|
+
readonly area: v.PicklistSchema<["build-tooling", "dependencies", "lint-format", "typecheck", "testing", "ci", "containerization", "runtime-config", "observability", "source-layout", "docs", "other"], undefined>;
|
|
259
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
260
|
+
readonly monorepoPractice: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 600, undefined>]>, undefined>;
|
|
261
|
+
readonly templatePractice: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 600, undefined>]>, undefined>;
|
|
262
|
+
readonly recommended: v.PicklistSchema<["monorepo", "template", "both", "neither"], undefined>;
|
|
263
|
+
readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 600, undefined>]>;
|
|
264
|
+
readonly evidence: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
265
|
+
}, undefined>, undefined>;
|
|
266
|
+
readonly droppedUnevidenced: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, v.MaxLengthAction<string[], number, undefined>]>;
|
|
267
|
+
readonly model: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
268
|
+
readonly generatedAt: v.NumberSchema<undefined>;
|
|
269
|
+
}, undefined>, undefined>;
|
|
270
|
+
readonly adoptionReview: v.NullableSchema<v.ObjectSchema<{
|
|
271
|
+
readonly decisions: v.ArraySchema<v.ObjectSchema<{
|
|
272
|
+
readonly id: v.StringSchema<undefined>;
|
|
273
|
+
readonly area: v.PicklistSchema<["build-tooling", "dependencies", "lint-format", "typecheck", "testing", "ci", "containerization", "runtime-config", "observability", "source-layout", "docs", "other"], undefined>;
|
|
274
|
+
readonly title: v.StringSchema<undefined>;
|
|
275
|
+
readonly choice: v.PicklistSchema<["monorepo", "template", "both", "neither"], undefined>;
|
|
276
|
+
readonly overrodeRecommendation: v.BooleanSchema<undefined>;
|
|
277
|
+
readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
278
|
+
}, undefined>, undefined>;
|
|
279
|
+
readonly notes: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
280
|
+
readonly reviewedByUserId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
281
|
+
readonly reviewedAt: v.NumberSchema<undefined>;
|
|
282
|
+
}, undefined>, undefined>;
|
|
283
|
+
readonly prUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
238
284
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
239
285
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
240
286
|
}, undefined>, undefined>;
|
|
@@ -280,7 +326,7 @@ export declare const getBootstrapJobContract: {
|
|
|
280
326
|
readonly repoOwner: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
281
327
|
readonly repoUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
282
328
|
readonly instructions: v.StringSchema<undefined>;
|
|
283
|
-
readonly status: v.PicklistSchema<["pending", "running", "succeeded", "failed"], undefined>;
|
|
329
|
+
readonly status: v.PicklistSchema<["pending", "running", "awaiting_review", "succeeded", "failed"], undefined>;
|
|
284
330
|
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
285
331
|
readonly subtasks: v.NullableSchema<v.ObjectSchema<{
|
|
286
332
|
readonly completed: v.NumberSchema<undefined>;
|
|
@@ -310,6 +356,52 @@ export declare const getBootstrapJobContract: {
|
|
|
310
356
|
}, undefined>, undefined>;
|
|
311
357
|
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
312
358
|
}, undefined>, undefined>;
|
|
359
|
+
readonly monorepo: v.NullableSchema<v.ObjectSchema<{
|
|
360
|
+
readonly repoGithubId: v.NumberSchema<undefined>;
|
|
361
|
+
readonly directory: v.StringSchema<undefined>;
|
|
362
|
+
readonly repoOwner: v.StringSchema<undefined>;
|
|
363
|
+
readonly repoName: v.StringSchema<undefined>;
|
|
364
|
+
readonly branch: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
365
|
+
}, undefined>, undefined>;
|
|
366
|
+
readonly phase: v.NullableSchema<v.PicklistSchema<["survey", "apply"], undefined>, undefined>;
|
|
367
|
+
readonly adoptionPlan: v.NullableSchema<v.ObjectSchema<{
|
|
368
|
+
readonly status: v.PicklistSchema<["ready", "unavailable"], undefined>;
|
|
369
|
+
readonly unavailableReason: v.NullableSchema<v.PicklistSchema<["model_unavailable", "repo_unreadable", "budget_exhausted", "analysis_unusable"], undefined>, undefined>;
|
|
370
|
+
readonly unavailableDetail: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 600, undefined>]>, undefined>;
|
|
371
|
+
readonly survey: v.ObjectSchema<{
|
|
372
|
+
readonly monorepoPaths: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
373
|
+
readonly templatePaths: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
374
|
+
readonly unreadablePaths: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
375
|
+
readonly siblingService: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
376
|
+
}, undefined>;
|
|
377
|
+
readonly decisions: v.ArraySchema<v.ObjectSchema<{
|
|
378
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
379
|
+
readonly area: v.PicklistSchema<["build-tooling", "dependencies", "lint-format", "typecheck", "testing", "ci", "containerization", "runtime-config", "observability", "source-layout", "docs", "other"], undefined>;
|
|
380
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
381
|
+
readonly monorepoPractice: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 600, undefined>]>, undefined>;
|
|
382
|
+
readonly templatePractice: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 600, undefined>]>, undefined>;
|
|
383
|
+
readonly recommended: v.PicklistSchema<["monorepo", "template", "both", "neither"], undefined>;
|
|
384
|
+
readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 600, undefined>]>;
|
|
385
|
+
readonly evidence: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
386
|
+
}, undefined>, undefined>;
|
|
387
|
+
readonly droppedUnevidenced: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, v.MaxLengthAction<string[], number, undefined>]>;
|
|
388
|
+
readonly model: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
389
|
+
readonly generatedAt: v.NumberSchema<undefined>;
|
|
390
|
+
}, undefined>, undefined>;
|
|
391
|
+
readonly adoptionReview: v.NullableSchema<v.ObjectSchema<{
|
|
392
|
+
readonly decisions: v.ArraySchema<v.ObjectSchema<{
|
|
393
|
+
readonly id: v.StringSchema<undefined>;
|
|
394
|
+
readonly area: v.PicklistSchema<["build-tooling", "dependencies", "lint-format", "typecheck", "testing", "ci", "containerization", "runtime-config", "observability", "source-layout", "docs", "other"], undefined>;
|
|
395
|
+
readonly title: v.StringSchema<undefined>;
|
|
396
|
+
readonly choice: v.PicklistSchema<["monorepo", "template", "both", "neither"], undefined>;
|
|
397
|
+
readonly overrodeRecommendation: v.BooleanSchema<undefined>;
|
|
398
|
+
readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
399
|
+
}, undefined>, undefined>;
|
|
400
|
+
readonly notes: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
401
|
+
readonly reviewedByUserId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
402
|
+
readonly reviewedAt: v.NumberSchema<undefined>;
|
|
403
|
+
}, undefined>, undefined>;
|
|
404
|
+
readonly prUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
313
405
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
314
406
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
315
407
|
}, undefined>;
|
|
@@ -321,6 +413,10 @@ export declare const startBootstrapJobContract: {
|
|
|
321
413
|
readonly requestBodySchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
322
414
|
readonly referenceArchitectureId: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
|
|
323
415
|
readonly repoName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "Only letters, digits, '.', '_' and '-' are allowed">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 100, undefined>]>;
|
|
416
|
+
readonly monorepo: v.OptionalSchema<v.ObjectSchema<{
|
|
417
|
+
readonly repoGithubId: v.NumberSchema<undefined>;
|
|
418
|
+
readonly directory: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>;
|
|
419
|
+
}, undefined>, undefined>;
|
|
324
420
|
readonly type: v.OptionalSchema<v.PicklistSchema<["service", "frontend", "library", "document"], undefined>, undefined>;
|
|
325
421
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
326
422
|
readonly private: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
|
|
@@ -328,6 +424,10 @@ export declare const startBootstrapJobContract: {
|
|
|
328
424
|
}, undefined>, v.CheckAction<{
|
|
329
425
|
referenceArchitectureId?: string | null | undefined;
|
|
330
426
|
repoName: string;
|
|
427
|
+
monorepo?: {
|
|
428
|
+
repoGithubId: number;
|
|
429
|
+
directory: string;
|
|
430
|
+
} | undefined;
|
|
331
431
|
type?: "document" | "frontend" | "library" | "service" | undefined;
|
|
332
432
|
description: string;
|
|
333
433
|
private: boolean;
|
|
@@ -365,7 +465,7 @@ export declare const startBootstrapJobContract: {
|
|
|
365
465
|
readonly repoOwner: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
366
466
|
readonly repoUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
367
467
|
readonly instructions: v.StringSchema<undefined>;
|
|
368
|
-
readonly status: v.PicklistSchema<["pending", "running", "succeeded", "failed"], undefined>;
|
|
468
|
+
readonly status: v.PicklistSchema<["pending", "running", "awaiting_review", "succeeded", "failed"], undefined>;
|
|
369
469
|
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
370
470
|
readonly subtasks: v.NullableSchema<v.ObjectSchema<{
|
|
371
471
|
readonly completed: v.NumberSchema<undefined>;
|
|
@@ -395,6 +495,192 @@ export declare const startBootstrapJobContract: {
|
|
|
395
495
|
}, undefined>, undefined>;
|
|
396
496
|
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
397
497
|
}, undefined>, undefined>;
|
|
498
|
+
readonly monorepo: v.NullableSchema<v.ObjectSchema<{
|
|
499
|
+
readonly repoGithubId: v.NumberSchema<undefined>;
|
|
500
|
+
readonly directory: v.StringSchema<undefined>;
|
|
501
|
+
readonly repoOwner: v.StringSchema<undefined>;
|
|
502
|
+
readonly repoName: v.StringSchema<undefined>;
|
|
503
|
+
readonly branch: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
504
|
+
}, undefined>, undefined>;
|
|
505
|
+
readonly phase: v.NullableSchema<v.PicklistSchema<["survey", "apply"], undefined>, undefined>;
|
|
506
|
+
readonly adoptionPlan: v.NullableSchema<v.ObjectSchema<{
|
|
507
|
+
readonly status: v.PicklistSchema<["ready", "unavailable"], undefined>;
|
|
508
|
+
readonly unavailableReason: v.NullableSchema<v.PicklistSchema<["model_unavailable", "repo_unreadable", "budget_exhausted", "analysis_unusable"], undefined>, undefined>;
|
|
509
|
+
readonly unavailableDetail: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 600, undefined>]>, undefined>;
|
|
510
|
+
readonly survey: v.ObjectSchema<{
|
|
511
|
+
readonly monorepoPaths: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
512
|
+
readonly templatePaths: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
513
|
+
readonly unreadablePaths: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
514
|
+
readonly siblingService: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
515
|
+
}, undefined>;
|
|
516
|
+
readonly decisions: v.ArraySchema<v.ObjectSchema<{
|
|
517
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
518
|
+
readonly area: v.PicklistSchema<["build-tooling", "dependencies", "lint-format", "typecheck", "testing", "ci", "containerization", "runtime-config", "observability", "source-layout", "docs", "other"], undefined>;
|
|
519
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
520
|
+
readonly monorepoPractice: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 600, undefined>]>, undefined>;
|
|
521
|
+
readonly templatePractice: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 600, undefined>]>, undefined>;
|
|
522
|
+
readonly recommended: v.PicklistSchema<["monorepo", "template", "both", "neither"], undefined>;
|
|
523
|
+
readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 600, undefined>]>;
|
|
524
|
+
readonly evidence: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
525
|
+
}, undefined>, undefined>;
|
|
526
|
+
readonly droppedUnevidenced: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, v.MaxLengthAction<string[], number, undefined>]>;
|
|
527
|
+
readonly model: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
528
|
+
readonly generatedAt: v.NumberSchema<undefined>;
|
|
529
|
+
}, undefined>, undefined>;
|
|
530
|
+
readonly adoptionReview: v.NullableSchema<v.ObjectSchema<{
|
|
531
|
+
readonly decisions: v.ArraySchema<v.ObjectSchema<{
|
|
532
|
+
readonly id: v.StringSchema<undefined>;
|
|
533
|
+
readonly area: v.PicklistSchema<["build-tooling", "dependencies", "lint-format", "typecheck", "testing", "ci", "containerization", "runtime-config", "observability", "source-layout", "docs", "other"], undefined>;
|
|
534
|
+
readonly title: v.StringSchema<undefined>;
|
|
535
|
+
readonly choice: v.PicklistSchema<["monorepo", "template", "both", "neither"], undefined>;
|
|
536
|
+
readonly overrodeRecommendation: v.BooleanSchema<undefined>;
|
|
537
|
+
readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
538
|
+
}, undefined>, undefined>;
|
|
539
|
+
readonly notes: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
540
|
+
readonly reviewedByUserId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
541
|
+
readonly reviewedAt: v.NumberSchema<undefined>;
|
|
542
|
+
}, undefined>, undefined>;
|
|
543
|
+
readonly prUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
544
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
545
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
546
|
+
}, undefined>;
|
|
547
|
+
};
|
|
548
|
+
};
|
|
549
|
+
/**
|
|
550
|
+
* Settle a parked monorepo bootstrap's adoption plan and resume the run.
|
|
551
|
+
*
|
|
552
|
+
* The one human decision the flow is built around: which of the reference template's answers
|
|
553
|
+
* the new service keeps and which it takes from the monorepo it is landing in. Answering every
|
|
554
|
+
* decision is required (the service refuses a partial review rather than defaulting the gaps to
|
|
555
|
+
* the model's recommendation), and the run only writes code after this returns.
|
|
556
|
+
*
|
|
557
|
+
* 409 `bootstrap_not_awaiting_review` when the run is not parked; 422 when the choices do not
|
|
558
|
+
* cover the stored plan.
|
|
559
|
+
*/
|
|
560
|
+
export declare const submitAdoptionReviewContract: {
|
|
561
|
+
readonly method: "post";
|
|
562
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
563
|
+
id: v.StringSchema<undefined>;
|
|
564
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
565
|
+
readonly pathResolver: ({ id }: {
|
|
566
|
+
id: string;
|
|
567
|
+
}) => string;
|
|
568
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
569
|
+
readonly choices: v.ArraySchema<v.ObjectSchema<{
|
|
570
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
571
|
+
readonly choice: v.PicklistSchema<["monorepo", "template", "both", "neither"], undefined>;
|
|
572
|
+
readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 1000, undefined>]>, undefined>;
|
|
573
|
+
}, undefined>, undefined>;
|
|
574
|
+
readonly notes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
575
|
+
}, undefined>;
|
|
576
|
+
readonly responsesByStatusCode: {
|
|
577
|
+
readonly '4xx': v.ObjectSchema<{
|
|
578
|
+
readonly error: v.ObjectSchema<{
|
|
579
|
+
readonly code: v.StringSchema<undefined>;
|
|
580
|
+
readonly message: v.StringSchema<undefined>;
|
|
581
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
582
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
583
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
584
|
+
readonly message: v.StringSchema<undefined>;
|
|
585
|
+
}, undefined>, undefined>, undefined>;
|
|
586
|
+
}, undefined>;
|
|
587
|
+
}, undefined>;
|
|
588
|
+
readonly '5xx': v.ObjectSchema<{
|
|
589
|
+
readonly error: v.ObjectSchema<{
|
|
590
|
+
readonly code: v.StringSchema<undefined>;
|
|
591
|
+
readonly message: v.StringSchema<undefined>;
|
|
592
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
593
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
594
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
595
|
+
readonly message: v.StringSchema<undefined>;
|
|
596
|
+
}, undefined>, undefined>, undefined>;
|
|
597
|
+
}, undefined>;
|
|
598
|
+
}, undefined>;
|
|
599
|
+
readonly 200: v.ObjectSchema<{
|
|
600
|
+
readonly id: v.StringSchema<undefined>;
|
|
601
|
+
readonly workspaceId: v.StringSchema<undefined>;
|
|
602
|
+
readonly referenceArchitectureId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
603
|
+
readonly referenceArchitectureName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
604
|
+
readonly repoName: v.StringSchema<undefined>;
|
|
605
|
+
readonly repoOwner: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
606
|
+
readonly repoUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
607
|
+
readonly instructions: v.StringSchema<undefined>;
|
|
608
|
+
readonly status: v.PicklistSchema<["pending", "running", "awaiting_review", "succeeded", "failed"], undefined>;
|
|
609
|
+
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
610
|
+
readonly subtasks: v.NullableSchema<v.ObjectSchema<{
|
|
611
|
+
readonly completed: v.NumberSchema<undefined>;
|
|
612
|
+
readonly inProgress: v.NumberSchema<undefined>;
|
|
613
|
+
readonly total: v.NumberSchema<undefined>;
|
|
614
|
+
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
615
|
+
readonly label: v.StringSchema<undefined>;
|
|
616
|
+
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
617
|
+
}, undefined>, undefined>, undefined>;
|
|
618
|
+
}, undefined>, undefined>;
|
|
619
|
+
readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
620
|
+
readonly failure: v.NullableSchema<v.ObjectSchema<{
|
|
621
|
+
readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
|
|
622
|
+
readonly message: v.StringSchema<undefined>;
|
|
623
|
+
readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
624
|
+
readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
625
|
+
readonly reason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
626
|
+
readonly occurredAt: v.NumberSchema<undefined>;
|
|
627
|
+
readonly lastSubtasks: v.NullableSchema<v.ObjectSchema<{
|
|
628
|
+
readonly completed: v.NumberSchema<undefined>;
|
|
629
|
+
readonly inProgress: v.NumberSchema<undefined>;
|
|
630
|
+
readonly total: v.NumberSchema<undefined>;
|
|
631
|
+
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
632
|
+
readonly label: v.StringSchema<undefined>;
|
|
633
|
+
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
634
|
+
}, undefined>, undefined>, undefined>;
|
|
635
|
+
}, undefined>, undefined>;
|
|
636
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
637
|
+
}, undefined>, undefined>;
|
|
638
|
+
readonly monorepo: v.NullableSchema<v.ObjectSchema<{
|
|
639
|
+
readonly repoGithubId: v.NumberSchema<undefined>;
|
|
640
|
+
readonly directory: v.StringSchema<undefined>;
|
|
641
|
+
readonly repoOwner: v.StringSchema<undefined>;
|
|
642
|
+
readonly repoName: v.StringSchema<undefined>;
|
|
643
|
+
readonly branch: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
644
|
+
}, undefined>, undefined>;
|
|
645
|
+
readonly phase: v.NullableSchema<v.PicklistSchema<["survey", "apply"], undefined>, undefined>;
|
|
646
|
+
readonly adoptionPlan: v.NullableSchema<v.ObjectSchema<{
|
|
647
|
+
readonly status: v.PicklistSchema<["ready", "unavailable"], undefined>;
|
|
648
|
+
readonly unavailableReason: v.NullableSchema<v.PicklistSchema<["model_unavailable", "repo_unreadable", "budget_exhausted", "analysis_unusable"], undefined>, undefined>;
|
|
649
|
+
readonly unavailableDetail: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 600, undefined>]>, undefined>;
|
|
650
|
+
readonly survey: v.ObjectSchema<{
|
|
651
|
+
readonly monorepoPaths: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
652
|
+
readonly templatePaths: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
653
|
+
readonly unreadablePaths: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
654
|
+
readonly siblingService: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
655
|
+
}, undefined>;
|
|
656
|
+
readonly decisions: v.ArraySchema<v.ObjectSchema<{
|
|
657
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
658
|
+
readonly area: v.PicklistSchema<["build-tooling", "dependencies", "lint-format", "typecheck", "testing", "ci", "containerization", "runtime-config", "observability", "source-layout", "docs", "other"], undefined>;
|
|
659
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
660
|
+
readonly monorepoPractice: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 600, undefined>]>, undefined>;
|
|
661
|
+
readonly templatePractice: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 600, undefined>]>, undefined>;
|
|
662
|
+
readonly recommended: v.PicklistSchema<["monorepo", "template", "both", "neither"], undefined>;
|
|
663
|
+
readonly rationale: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 600, undefined>]>;
|
|
664
|
+
readonly evidence: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
665
|
+
}, undefined>, undefined>;
|
|
666
|
+
readonly droppedUnevidenced: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, v.MaxLengthAction<string[], number, undefined>]>;
|
|
667
|
+
readonly model: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
668
|
+
readonly generatedAt: v.NumberSchema<undefined>;
|
|
669
|
+
}, undefined>, undefined>;
|
|
670
|
+
readonly adoptionReview: v.NullableSchema<v.ObjectSchema<{
|
|
671
|
+
readonly decisions: v.ArraySchema<v.ObjectSchema<{
|
|
672
|
+
readonly id: v.StringSchema<undefined>;
|
|
673
|
+
readonly area: v.PicklistSchema<["build-tooling", "dependencies", "lint-format", "typecheck", "testing", "ci", "containerization", "runtime-config", "observability", "source-layout", "docs", "other"], undefined>;
|
|
674
|
+
readonly title: v.StringSchema<undefined>;
|
|
675
|
+
readonly choice: v.PicklistSchema<["monorepo", "template", "both", "neither"], undefined>;
|
|
676
|
+
readonly overrodeRecommendation: v.BooleanSchema<undefined>;
|
|
677
|
+
readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
678
|
+
}, undefined>, undefined>;
|
|
679
|
+
readonly notes: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
680
|
+
readonly reviewedByUserId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
681
|
+
readonly reviewedAt: v.NumberSchema<undefined>;
|
|
682
|
+
}, undefined>, undefined>;
|
|
683
|
+
readonly prUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
398
684
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
399
685
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
400
686
|
}, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bootstrap.d.ts","sourceRoot":"","sources":["../../src/routes/bootstrap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"bootstrap.d.ts","sourceRoot":"","sources":["../../src/routes/bootstrap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAuB5B,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI7C,CAAA;AAEF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK9C,CAAA;AAEF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM9C,CAAA;AAEF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK9C,CAAA;AAIF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIpC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKpC,CAAA;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMvC,CAAA"}
|
package/dist/routes/bootstrap.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ContractNoBody, defineApiContract } from '@toad-contracts/valibot';
|
|
2
2
|
import * as v from 'valibot';
|
|
3
3
|
import { bootstrapJobSchema, bootstrapRepoSchema, createReferenceArchitectureSchema, referenceArchitectureSchema, updateReferenceArchitectureSchema, } from '../bootstrap.js';
|
|
4
|
+
import { adoptionReviewSchema } from '../monorepo-adoption.js';
|
|
4
5
|
import { errorResponses, singleStringParam } from './_shared.js';
|
|
5
6
|
// ---------------------------------------------------------------------------
|
|
6
7
|
// Repo-bootstrap route contracts. Mounted under `/workspaces/:workspaceId`, so
|
|
@@ -53,4 +54,22 @@ export const startBootstrapJobContract = defineApiContract({
|
|
|
53
54
|
requestBodySchema: bootstrapRepoSchema,
|
|
54
55
|
responsesByStatusCode: { 201: bootstrapJobSchema, ...errorResponses },
|
|
55
56
|
});
|
|
57
|
+
/**
|
|
58
|
+
* Settle a parked monorepo bootstrap's adoption plan and resume the run.
|
|
59
|
+
*
|
|
60
|
+
* The one human decision the flow is built around: which of the reference template's answers
|
|
61
|
+
* the new service keeps and which it takes from the monorepo it is landing in. Answering every
|
|
62
|
+
* decision is required (the service refuses a partial review rather than defaulting the gaps to
|
|
63
|
+
* the model's recommendation), and the run only writes code after this returns.
|
|
64
|
+
*
|
|
65
|
+
* 409 `bootstrap_not_awaiting_review` when the run is not parked; 422 when the choices do not
|
|
66
|
+
* cover the stored plan.
|
|
67
|
+
*/
|
|
68
|
+
export const submitAdoptionReviewContract = defineApiContract({
|
|
69
|
+
method: 'post',
|
|
70
|
+
requestPathParamsSchema: bootstrapJobIdParams,
|
|
71
|
+
pathResolver: ({ id }) => `/bootstrap/jobs/${id}/adoption-review`,
|
|
72
|
+
requestBodySchema: adoptionReviewSchema,
|
|
73
|
+
responsesByStatusCode: { 200: bootstrapJobSchema, ...errorResponses },
|
|
74
|
+
});
|
|
56
75
|
//# sourceMappingURL=bootstrap.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bootstrap.js","sourceRoot":"","sources":["../../src/routes/bootstrap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,iCAAiC,EACjC,2BAA2B,EAC3B,iCAAiC,GAClC,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,8EAA8E;AAC9E,+EAA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ACtE,CAAC,CAAA"}
|
|
@@ -50,10 +50,11 @@ export declare const startPublicRepoBootstrapContract: {
|
|
|
50
50
|
}, undefined>;
|
|
51
51
|
readonly 201: v.ObjectSchema<{
|
|
52
52
|
readonly jobId: v.StringSchema<undefined>;
|
|
53
|
-
readonly status: v.PicklistSchema<["pending", "running", "succeeded", "failed"], undefined>;
|
|
53
|
+
readonly status: v.PicklistSchema<["pending", "running", "awaiting_review", "succeeded", "failed"], undefined>;
|
|
54
54
|
readonly repoName: v.StringSchema<undefined>;
|
|
55
55
|
readonly repoOwner: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
56
56
|
readonly repoUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
57
|
+
readonly prUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
57
58
|
readonly serviceId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
58
59
|
readonly progress: v.NullableSchema<v.ObjectSchema<{
|
|
59
60
|
readonly completed: v.NumberSchema<undefined>;
|
|
@@ -313,10 +314,11 @@ export declare const getPublicRepoBootstrapContract: {
|
|
|
313
314
|
}, undefined>;
|
|
314
315
|
readonly 200: v.ObjectSchema<{
|
|
315
316
|
readonly jobId: v.StringSchema<undefined>;
|
|
316
|
-
readonly status: v.PicklistSchema<["pending", "running", "succeeded", "failed"], undefined>;
|
|
317
|
+
readonly status: v.PicklistSchema<["pending", "running", "awaiting_review", "succeeded", "failed"], undefined>;
|
|
317
318
|
readonly repoName: v.StringSchema<undefined>;
|
|
318
319
|
readonly repoOwner: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
319
320
|
readonly repoUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
321
|
+
readonly prUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
320
322
|
readonly serviceId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
321
323
|
readonly progress: v.NullableSchema<v.ObjectSchema<{
|
|
322
324
|
readonly completed: v.NumberSchema<undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-provisioning.d.ts","sourceRoot":"","sources":["../../src/routes/public-provisioning.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAqD5B;;;;;;;GAOG;AACH,eAAO,MAAM,gCAAgC
|
|
1
|
+
{"version":3,"file":"public-provisioning.d.ts","sourceRoot":"","sources":["../../src/routes/public-provisioning.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAqD5B;;;;;;;GAOG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQ5C,CAAA;AAID;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQ5C,CAAA;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQlC,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYrC,CAAA;AAED,qFAAqF;AACrF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQ1C,CAAA;AAID;;;;;;;;GAQG;AACH,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQnD,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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