@cat-factory/contracts 0.95.0 → 0.97.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/entities.d.ts +166 -3
- package/dist/entities.d.ts.map +1 -1
- package/dist/entities.js +64 -1
- package/dist/entities.js.map +1 -1
- package/dist/initiative.d.ts +67 -0
- package/dist/initiative.d.ts.map +1 -1
- package/dist/initiative.js +43 -0
- package/dist/initiative.js.map +1 -1
- package/dist/merge.d.ts +4 -1
- package/dist/merge.d.ts.map +1 -1
- package/dist/merge.js +4 -0
- package/dist/merge.js.map +1 -1
- package/dist/notifications.d.ts +16 -0
- package/dist/notifications.d.ts.map +1 -1
- package/dist/notifications.js +8 -0
- package/dist/notifications.js.map +1 -1
- package/dist/primitives.d.ts +38 -0
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +57 -0
- package/dist/primitives.js.map +1 -1
- package/dist/recurring.d.ts +119 -0
- package/dist/recurring.d.ts.map +1 -1
- package/dist/recurring.js +42 -0
- package/dist/recurring.js.map +1 -1
- package/dist/requests.d.ts +11 -0
- package/dist/requests.d.ts.map +1 -1
- package/dist/routes/agent-runs.d.ts +16 -0
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/board.d.ts +211 -0
- package/dist/routes/board.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +104 -0
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/human-review.d.ts +8 -0
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +40 -0
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/initiative.d.ts +564 -0
- package/dist/routes/initiative.d.ts.map +1 -1
- package/dist/routes/initiative.js +40 -2
- package/dist/routes/initiative.js.map +1 -1
- package/dist/routes/notifications.d.ts +6 -0
- package/dist/routes/notifications.d.ts.map +1 -1
- package/dist/routes/recurring.d.ts +84 -0
- package/dist/routes/recurring.d.ts.map +1 -1
- package/dist/routes/tasks.d.ts +60 -0
- package/dist/routes/tasks.d.ts.map +1 -1
- package/dist/routes/visual-confirm.d.ts +24 -0
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +88 -0
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/snapshot.d.ts +44 -0
- package/dist/snapshot.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -169,6 +169,17 @@ export declare const createInitiativeContract: {
|
|
|
169
169
|
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
170
170
|
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
|
|
171
171
|
readonly outlineHints: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
172
|
+
readonly targetUsers: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
173
|
+
readonly successMetrics: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
174
|
+
readonly alternativesConsidered: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
175
|
+
readonly rolloutConcerns: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
176
|
+
readonly decisionDrivers: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
177
|
+
readonly consideredOptions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
178
|
+
readonly whenToUse: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
179
|
+
readonly escalationPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
180
|
+
readonly researchQuestion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
181
|
+
readonly optionsToCompare: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
182
|
+
readonly apiSurface: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
172
183
|
}, undefined>, undefined>, undefined>;
|
|
173
184
|
readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
174
185
|
readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
@@ -306,6 +317,15 @@ export declare const createInitiativeContract: {
|
|
|
306
317
|
readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
307
318
|
readonly branch: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
308
319
|
}, undefined>, undefined>;
|
|
320
|
+
readonly peerPullRequests: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
321
|
+
readonly repo: v.StringSchema<undefined>;
|
|
322
|
+
readonly frameId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
323
|
+
readonly ref: v.ObjectSchema<{
|
|
324
|
+
readonly url: v.StringSchema<undefined>;
|
|
325
|
+
readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
326
|
+
readonly branch: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
327
|
+
}, undefined>;
|
|
328
|
+
}, undefined>, undefined>, undefined>;
|
|
309
329
|
readonly mergePresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
310
330
|
readonly modelPresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
311
331
|
readonly pipelineId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1446,4 +1466,548 @@ export declare const cancelInitiativeContract: {
|
|
|
1446
1466
|
}, undefined>, undefined>;
|
|
1447
1467
|
};
|
|
1448
1468
|
};
|
|
1469
|
+
/** Promote an `open` harvested follow-up into a new `pending` tracker item under a phase. */
|
|
1470
|
+
export declare const promoteInitiativeFollowUpContract: {
|
|
1471
|
+
readonly method: "post";
|
|
1472
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
1473
|
+
readonly initiativeId: v.StringSchema<undefined>;
|
|
1474
|
+
readonly followUpId: v.StringSchema<undefined>;
|
|
1475
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
1476
|
+
readonly pathResolver: ({ initiativeId, followUpId }: {
|
|
1477
|
+
initiativeId: string;
|
|
1478
|
+
followUpId: string;
|
|
1479
|
+
}) => string;
|
|
1480
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
1481
|
+
readonly phaseId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1482
|
+
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
1483
|
+
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, undefined>;
|
|
1484
|
+
readonly estimate: v.OptionalSchema<v.ObjectSchema<{
|
|
1485
|
+
readonly complexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1486
|
+
readonly risk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1487
|
+
readonly impact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1488
|
+
readonly rationale: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1489
|
+
}, undefined>, undefined>;
|
|
1490
|
+
readonly pipelineId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1491
|
+
readonly dependsOn: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, undefined>;
|
|
1492
|
+
}, undefined>;
|
|
1493
|
+
readonly responsesByStatusCode: {
|
|
1494
|
+
readonly '4xx': v.ObjectSchema<{
|
|
1495
|
+
readonly error: v.ObjectSchema<{
|
|
1496
|
+
readonly code: v.StringSchema<undefined>;
|
|
1497
|
+
readonly message: v.StringSchema<undefined>;
|
|
1498
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
1499
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1500
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1501
|
+
readonly message: v.StringSchema<undefined>;
|
|
1502
|
+
}, undefined>, undefined>, undefined>;
|
|
1503
|
+
}, undefined>;
|
|
1504
|
+
}, undefined>;
|
|
1505
|
+
readonly '5xx': v.ObjectSchema<{
|
|
1506
|
+
readonly error: v.ObjectSchema<{
|
|
1507
|
+
readonly code: v.StringSchema<undefined>;
|
|
1508
|
+
readonly message: v.StringSchema<undefined>;
|
|
1509
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
1510
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1511
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1512
|
+
readonly message: v.StringSchema<undefined>;
|
|
1513
|
+
}, undefined>, undefined>, undefined>;
|
|
1514
|
+
}, undefined>;
|
|
1515
|
+
}, undefined>;
|
|
1516
|
+
readonly 200: v.ObjectSchema<{
|
|
1517
|
+
readonly id: v.StringSchema<undefined>;
|
|
1518
|
+
readonly blockId: v.StringSchema<undefined>;
|
|
1519
|
+
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1520
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1521
|
+
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
|
|
1522
|
+
readonly constraints: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
1523
|
+
readonly nonGoals: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
1524
|
+
readonly qa: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1525
|
+
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1526
|
+
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1527
|
+
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1528
|
+
}, undefined>, undefined>, readonly []>;
|
|
1529
|
+
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1530
|
+
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1531
|
+
readonly maxRounds: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1532
|
+
readonly status: v.PicklistSchema<["awaiting", "done"], undefined>;
|
|
1533
|
+
}, undefined>, undefined>, undefined>;
|
|
1534
|
+
readonly analysisSummary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
|
|
1535
|
+
readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1536
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1537
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1538
|
+
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1539
|
+
readonly maxConcurrent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>, undefined>;
|
|
1540
|
+
}, undefined>, undefined>, readonly []>;
|
|
1541
|
+
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1542
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1543
|
+
readonly phaseId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1544
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1545
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>;
|
|
1546
|
+
readonly dependsOn: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, readonly []>;
|
|
1547
|
+
readonly estimate: v.OptionalSchema<v.ObjectSchema<{
|
|
1548
|
+
readonly complexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1549
|
+
readonly risk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1550
|
+
readonly impact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1551
|
+
readonly rationale: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1552
|
+
}, undefined>, undefined>;
|
|
1553
|
+
readonly pipelineId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1554
|
+
readonly status: v.PicklistSchema<["pending", "in_progress", "pr_open", "done", "blocked", "skipped"], undefined>;
|
|
1555
|
+
readonly blockId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1556
|
+
readonly pr: v.OptionalSchema<v.ObjectSchema<{
|
|
1557
|
+
readonly url: v.StringSchema<undefined>;
|
|
1558
|
+
readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1559
|
+
}, undefined>, undefined>;
|
|
1560
|
+
readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1561
|
+
}, undefined>, undefined>, readonly []>;
|
|
1562
|
+
readonly policy: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1563
|
+
readonly maxConcurrent: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>;
|
|
1564
|
+
readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1565
|
+
readonly pipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1566
|
+
readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1567
|
+
readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1568
|
+
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1569
|
+
}, undefined>, undefined>, readonly []>;
|
|
1570
|
+
readonly defaultPipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1571
|
+
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["default", "strongest"], undefined>, "default">;
|
|
1572
|
+
}, undefined>, undefined>, undefined>;
|
|
1573
|
+
readonly decisions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1574
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1575
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1576
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1577
|
+
readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1578
|
+
readonly source: v.PicklistSchema<["planning", "human", "agent"], undefined>;
|
|
1579
|
+
}, undefined>, undefined>, readonly []>;
|
|
1580
|
+
readonly deviations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1581
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1582
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1583
|
+
readonly itemId: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, undefined>;
|
|
1584
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1585
|
+
readonly resolution: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1586
|
+
}, undefined>, undefined>, readonly []>;
|
|
1587
|
+
readonly followUps: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1588
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1589
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1590
|
+
readonly sourceItemId: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, undefined>;
|
|
1591
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1592
|
+
readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1593
|
+
readonly status: v.PicklistSchema<["open", "promoted", "dismissed"], undefined>;
|
|
1594
|
+
readonly promotedItemId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1595
|
+
}, undefined>, undefined>, readonly []>;
|
|
1596
|
+
readonly caveats: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
1597
|
+
readonly status: v.PicklistSchema<["planning", "awaiting_approval", "executing", "paused", "done", "cancelled"], undefined>;
|
|
1598
|
+
readonly doc: v.OptionalSchema<v.ObjectSchema<{
|
|
1599
|
+
readonly version: v.NumberSchema<undefined>;
|
|
1600
|
+
readonly hash: v.StringSchema<undefined>;
|
|
1601
|
+
readonly committedAt: v.NumberSchema<undefined>;
|
|
1602
|
+
}, undefined>, undefined>;
|
|
1603
|
+
readonly rev: v.NumberSchema<undefined>;
|
|
1604
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
1605
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
1606
|
+
}, undefined>;
|
|
1607
|
+
};
|
|
1608
|
+
};
|
|
1609
|
+
/** Dismiss a harvested follow-up without acting on it. */
|
|
1610
|
+
export declare const dismissInitiativeFollowUpContract: {
|
|
1611
|
+
readonly method: "post";
|
|
1612
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
1613
|
+
readonly initiativeId: v.StringSchema<undefined>;
|
|
1614
|
+
readonly followUpId: v.StringSchema<undefined>;
|
|
1615
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
1616
|
+
readonly pathResolver: ({ initiativeId, followUpId }: {
|
|
1617
|
+
initiativeId: string;
|
|
1618
|
+
followUpId: string;
|
|
1619
|
+
}) => string;
|
|
1620
|
+
readonly requestBodySchema: typeof ContractNoBody;
|
|
1621
|
+
readonly responsesByStatusCode: {
|
|
1622
|
+
readonly '4xx': v.ObjectSchema<{
|
|
1623
|
+
readonly error: v.ObjectSchema<{
|
|
1624
|
+
readonly code: v.StringSchema<undefined>;
|
|
1625
|
+
readonly message: v.StringSchema<undefined>;
|
|
1626
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
1627
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1628
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1629
|
+
readonly message: v.StringSchema<undefined>;
|
|
1630
|
+
}, undefined>, undefined>, undefined>;
|
|
1631
|
+
}, undefined>;
|
|
1632
|
+
}, undefined>;
|
|
1633
|
+
readonly '5xx': v.ObjectSchema<{
|
|
1634
|
+
readonly error: v.ObjectSchema<{
|
|
1635
|
+
readonly code: v.StringSchema<undefined>;
|
|
1636
|
+
readonly message: v.StringSchema<undefined>;
|
|
1637
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
1638
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1639
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1640
|
+
readonly message: v.StringSchema<undefined>;
|
|
1641
|
+
}, undefined>, undefined>, undefined>;
|
|
1642
|
+
}, undefined>;
|
|
1643
|
+
}, undefined>;
|
|
1644
|
+
readonly 200: v.ObjectSchema<{
|
|
1645
|
+
readonly id: v.StringSchema<undefined>;
|
|
1646
|
+
readonly blockId: v.StringSchema<undefined>;
|
|
1647
|
+
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1648
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1649
|
+
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
|
|
1650
|
+
readonly constraints: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
1651
|
+
readonly nonGoals: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
1652
|
+
readonly qa: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1653
|
+
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1654
|
+
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1655
|
+
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1656
|
+
}, undefined>, undefined>, readonly []>;
|
|
1657
|
+
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1658
|
+
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1659
|
+
readonly maxRounds: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1660
|
+
readonly status: v.PicklistSchema<["awaiting", "done"], undefined>;
|
|
1661
|
+
}, undefined>, undefined>, undefined>;
|
|
1662
|
+
readonly analysisSummary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
|
|
1663
|
+
readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1664
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1665
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1666
|
+
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1667
|
+
readonly maxConcurrent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>, undefined>;
|
|
1668
|
+
}, undefined>, undefined>, readonly []>;
|
|
1669
|
+
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1670
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1671
|
+
readonly phaseId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1672
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1673
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>;
|
|
1674
|
+
readonly dependsOn: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, readonly []>;
|
|
1675
|
+
readonly estimate: v.OptionalSchema<v.ObjectSchema<{
|
|
1676
|
+
readonly complexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1677
|
+
readonly risk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1678
|
+
readonly impact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1679
|
+
readonly rationale: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1680
|
+
}, undefined>, undefined>;
|
|
1681
|
+
readonly pipelineId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1682
|
+
readonly status: v.PicklistSchema<["pending", "in_progress", "pr_open", "done", "blocked", "skipped"], undefined>;
|
|
1683
|
+
readonly blockId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1684
|
+
readonly pr: v.OptionalSchema<v.ObjectSchema<{
|
|
1685
|
+
readonly url: v.StringSchema<undefined>;
|
|
1686
|
+
readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1687
|
+
}, undefined>, undefined>;
|
|
1688
|
+
readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1689
|
+
}, undefined>, undefined>, readonly []>;
|
|
1690
|
+
readonly policy: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1691
|
+
readonly maxConcurrent: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>;
|
|
1692
|
+
readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1693
|
+
readonly pipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1694
|
+
readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1695
|
+
readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1696
|
+
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1697
|
+
}, undefined>, undefined>, readonly []>;
|
|
1698
|
+
readonly defaultPipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1699
|
+
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["default", "strongest"], undefined>, "default">;
|
|
1700
|
+
}, undefined>, undefined>, undefined>;
|
|
1701
|
+
readonly decisions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1702
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1703
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1704
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1705
|
+
readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1706
|
+
readonly source: v.PicklistSchema<["planning", "human", "agent"], undefined>;
|
|
1707
|
+
}, undefined>, undefined>, readonly []>;
|
|
1708
|
+
readonly deviations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1709
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1710
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1711
|
+
readonly itemId: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, undefined>;
|
|
1712
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1713
|
+
readonly resolution: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1714
|
+
}, undefined>, undefined>, readonly []>;
|
|
1715
|
+
readonly followUps: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1716
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1717
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1718
|
+
readonly sourceItemId: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, undefined>;
|
|
1719
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1720
|
+
readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1721
|
+
readonly status: v.PicklistSchema<["open", "promoted", "dismissed"], undefined>;
|
|
1722
|
+
readonly promotedItemId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1723
|
+
}, undefined>, undefined>, readonly []>;
|
|
1724
|
+
readonly caveats: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
1725
|
+
readonly status: v.PicklistSchema<["planning", "awaiting_approval", "executing", "paused", "done", "cancelled"], undefined>;
|
|
1726
|
+
readonly doc: v.OptionalSchema<v.ObjectSchema<{
|
|
1727
|
+
readonly version: v.NumberSchema<undefined>;
|
|
1728
|
+
readonly hash: v.StringSchema<undefined>;
|
|
1729
|
+
readonly committedAt: v.NumberSchema<undefined>;
|
|
1730
|
+
}, undefined>, undefined>;
|
|
1731
|
+
readonly rev: v.NumberSchema<undefined>;
|
|
1732
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
1733
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
1734
|
+
}, undefined>;
|
|
1735
|
+
};
|
|
1736
|
+
};
|
|
1737
|
+
/** Edit one tracker item and/or drive its status (retry a blocked item / skip it). */
|
|
1738
|
+
export declare const updateInitiativeItemContract: {
|
|
1739
|
+
readonly method: "patch";
|
|
1740
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
1741
|
+
readonly initiativeId: v.StringSchema<undefined>;
|
|
1742
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
1743
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
1744
|
+
readonly pathResolver: ({ initiativeId, itemId }: {
|
|
1745
|
+
initiativeId: string;
|
|
1746
|
+
itemId: string;
|
|
1747
|
+
}) => string;
|
|
1748
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
1749
|
+
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
1750
|
+
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, undefined>;
|
|
1751
|
+
readonly estimate: v.OptionalSchema<v.ObjectSchema<{
|
|
1752
|
+
readonly complexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1753
|
+
readonly risk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1754
|
+
readonly impact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1755
|
+
readonly rationale: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1756
|
+
}, undefined>, undefined>;
|
|
1757
|
+
readonly pipelineId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1758
|
+
readonly dependsOn: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, undefined>;
|
|
1759
|
+
readonly action: v.OptionalSchema<v.PicklistSchema<["retry", "skip"], undefined>, undefined>;
|
|
1760
|
+
}, undefined>;
|
|
1761
|
+
readonly responsesByStatusCode: {
|
|
1762
|
+
readonly '4xx': v.ObjectSchema<{
|
|
1763
|
+
readonly error: v.ObjectSchema<{
|
|
1764
|
+
readonly code: v.StringSchema<undefined>;
|
|
1765
|
+
readonly message: v.StringSchema<undefined>;
|
|
1766
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
1767
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1768
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1769
|
+
readonly message: v.StringSchema<undefined>;
|
|
1770
|
+
}, undefined>, undefined>, undefined>;
|
|
1771
|
+
}, undefined>;
|
|
1772
|
+
}, undefined>;
|
|
1773
|
+
readonly '5xx': v.ObjectSchema<{
|
|
1774
|
+
readonly error: v.ObjectSchema<{
|
|
1775
|
+
readonly code: v.StringSchema<undefined>;
|
|
1776
|
+
readonly message: v.StringSchema<undefined>;
|
|
1777
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
1778
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1779
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1780
|
+
readonly message: v.StringSchema<undefined>;
|
|
1781
|
+
}, undefined>, undefined>, undefined>;
|
|
1782
|
+
}, undefined>;
|
|
1783
|
+
}, undefined>;
|
|
1784
|
+
readonly 200: v.ObjectSchema<{
|
|
1785
|
+
readonly id: v.StringSchema<undefined>;
|
|
1786
|
+
readonly blockId: v.StringSchema<undefined>;
|
|
1787
|
+
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1788
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1789
|
+
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
|
|
1790
|
+
readonly constraints: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
1791
|
+
readonly nonGoals: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
1792
|
+
readonly qa: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1793
|
+
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1794
|
+
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1795
|
+
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1796
|
+
}, undefined>, undefined>, readonly []>;
|
|
1797
|
+
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1798
|
+
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1799
|
+
readonly maxRounds: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1800
|
+
readonly status: v.PicklistSchema<["awaiting", "done"], undefined>;
|
|
1801
|
+
}, undefined>, undefined>, undefined>;
|
|
1802
|
+
readonly analysisSummary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
|
|
1803
|
+
readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1804
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1805
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1806
|
+
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1807
|
+
readonly maxConcurrent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>, undefined>;
|
|
1808
|
+
}, undefined>, undefined>, readonly []>;
|
|
1809
|
+
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1810
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1811
|
+
readonly phaseId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1812
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1813
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>;
|
|
1814
|
+
readonly dependsOn: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, readonly []>;
|
|
1815
|
+
readonly estimate: v.OptionalSchema<v.ObjectSchema<{
|
|
1816
|
+
readonly complexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1817
|
+
readonly risk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1818
|
+
readonly impact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1819
|
+
readonly rationale: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1820
|
+
}, undefined>, undefined>;
|
|
1821
|
+
readonly pipelineId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1822
|
+
readonly status: v.PicklistSchema<["pending", "in_progress", "pr_open", "done", "blocked", "skipped"], undefined>;
|
|
1823
|
+
readonly blockId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1824
|
+
readonly pr: v.OptionalSchema<v.ObjectSchema<{
|
|
1825
|
+
readonly url: v.StringSchema<undefined>;
|
|
1826
|
+
readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1827
|
+
}, undefined>, undefined>;
|
|
1828
|
+
readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1829
|
+
}, undefined>, undefined>, readonly []>;
|
|
1830
|
+
readonly policy: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1831
|
+
readonly maxConcurrent: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>;
|
|
1832
|
+
readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1833
|
+
readonly pipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1834
|
+
readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1835
|
+
readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1836
|
+
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1837
|
+
}, undefined>, undefined>, readonly []>;
|
|
1838
|
+
readonly defaultPipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1839
|
+
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["default", "strongest"], undefined>, "default">;
|
|
1840
|
+
}, undefined>, undefined>, undefined>;
|
|
1841
|
+
readonly decisions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1842
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1843
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1844
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1845
|
+
readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1846
|
+
readonly source: v.PicklistSchema<["planning", "human", "agent"], undefined>;
|
|
1847
|
+
}, undefined>, undefined>, readonly []>;
|
|
1848
|
+
readonly deviations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1849
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1850
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1851
|
+
readonly itemId: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, undefined>;
|
|
1852
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1853
|
+
readonly resolution: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1854
|
+
}, undefined>, undefined>, readonly []>;
|
|
1855
|
+
readonly followUps: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1856
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1857
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1858
|
+
readonly sourceItemId: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, undefined>;
|
|
1859
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1860
|
+
readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1861
|
+
readonly status: v.PicklistSchema<["open", "promoted", "dismissed"], undefined>;
|
|
1862
|
+
readonly promotedItemId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1863
|
+
}, undefined>, undefined>, readonly []>;
|
|
1864
|
+
readonly caveats: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
1865
|
+
readonly status: v.PicklistSchema<["planning", "awaiting_approval", "executing", "paused", "done", "cancelled"], undefined>;
|
|
1866
|
+
readonly doc: v.OptionalSchema<v.ObjectSchema<{
|
|
1867
|
+
readonly version: v.NumberSchema<undefined>;
|
|
1868
|
+
readonly hash: v.StringSchema<undefined>;
|
|
1869
|
+
readonly committedAt: v.NumberSchema<undefined>;
|
|
1870
|
+
}, undefined>, undefined>;
|
|
1871
|
+
readonly rev: v.NumberSchema<undefined>;
|
|
1872
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
1873
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
1874
|
+
}, undefined>;
|
|
1875
|
+
};
|
|
1876
|
+
};
|
|
1877
|
+
/** Replace an executing initiative's execution policy (concurrency + pipeline rules). */
|
|
1878
|
+
export declare const updateInitiativePolicyContract: {
|
|
1879
|
+
readonly method: "put";
|
|
1880
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
1881
|
+
initiativeId: v.StringSchema<undefined>;
|
|
1882
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
1883
|
+
readonly pathResolver: ({ initiativeId }: {
|
|
1884
|
+
initiativeId: string;
|
|
1885
|
+
}) => string;
|
|
1886
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
1887
|
+
readonly maxConcurrent: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>;
|
|
1888
|
+
readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1889
|
+
readonly pipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1890
|
+
readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1891
|
+
readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1892
|
+
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1893
|
+
}, undefined>, undefined>, readonly []>;
|
|
1894
|
+
readonly defaultPipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1895
|
+
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["default", "strongest"], undefined>, "default">;
|
|
1896
|
+
}, undefined>;
|
|
1897
|
+
readonly responsesByStatusCode: {
|
|
1898
|
+
readonly '4xx': v.ObjectSchema<{
|
|
1899
|
+
readonly error: v.ObjectSchema<{
|
|
1900
|
+
readonly code: v.StringSchema<undefined>;
|
|
1901
|
+
readonly message: v.StringSchema<undefined>;
|
|
1902
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
1903
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1904
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1905
|
+
readonly message: v.StringSchema<undefined>;
|
|
1906
|
+
}, undefined>, undefined>, undefined>;
|
|
1907
|
+
}, undefined>;
|
|
1908
|
+
}, undefined>;
|
|
1909
|
+
readonly '5xx': v.ObjectSchema<{
|
|
1910
|
+
readonly error: v.ObjectSchema<{
|
|
1911
|
+
readonly code: v.StringSchema<undefined>;
|
|
1912
|
+
readonly message: v.StringSchema<undefined>;
|
|
1913
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
1914
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1915
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1916
|
+
readonly message: v.StringSchema<undefined>;
|
|
1917
|
+
}, undefined>, undefined>, undefined>;
|
|
1918
|
+
}, undefined>;
|
|
1919
|
+
}, undefined>;
|
|
1920
|
+
readonly 200: v.ObjectSchema<{
|
|
1921
|
+
readonly id: v.StringSchema<undefined>;
|
|
1922
|
+
readonly blockId: v.StringSchema<undefined>;
|
|
1923
|
+
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1924
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1925
|
+
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
|
|
1926
|
+
readonly constraints: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
1927
|
+
readonly nonGoals: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
1928
|
+
readonly qa: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1929
|
+
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1930
|
+
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1931
|
+
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1932
|
+
}, undefined>, undefined>, readonly []>;
|
|
1933
|
+
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1934
|
+
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1935
|
+
readonly maxRounds: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1936
|
+
readonly status: v.PicklistSchema<["awaiting", "done"], undefined>;
|
|
1937
|
+
}, undefined>, undefined>, undefined>;
|
|
1938
|
+
readonly analysisSummary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
|
|
1939
|
+
readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1940
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1941
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1942
|
+
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1943
|
+
readonly maxConcurrent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>, undefined>;
|
|
1944
|
+
}, undefined>, undefined>, readonly []>;
|
|
1945
|
+
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1946
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1947
|
+
readonly phaseId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1948
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1949
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>;
|
|
1950
|
+
readonly dependsOn: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, readonly []>;
|
|
1951
|
+
readonly estimate: v.OptionalSchema<v.ObjectSchema<{
|
|
1952
|
+
readonly complexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1953
|
+
readonly risk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1954
|
+
readonly impact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1955
|
+
readonly rationale: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1956
|
+
}, undefined>, undefined>;
|
|
1957
|
+
readonly pipelineId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1958
|
+
readonly status: v.PicklistSchema<["pending", "in_progress", "pr_open", "done", "blocked", "skipped"], undefined>;
|
|
1959
|
+
readonly blockId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1960
|
+
readonly pr: v.OptionalSchema<v.ObjectSchema<{
|
|
1961
|
+
readonly url: v.StringSchema<undefined>;
|
|
1962
|
+
readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1963
|
+
}, undefined>, undefined>;
|
|
1964
|
+
readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1965
|
+
}, undefined>, undefined>, readonly []>;
|
|
1966
|
+
readonly policy: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1967
|
+
readonly maxConcurrent: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>;
|
|
1968
|
+
readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1969
|
+
readonly pipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1970
|
+
readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1971
|
+
readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1972
|
+
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1973
|
+
}, undefined>, undefined>, readonly []>;
|
|
1974
|
+
readonly defaultPipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1975
|
+
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["default", "strongest"], undefined>, "default">;
|
|
1976
|
+
}, undefined>, undefined>, undefined>;
|
|
1977
|
+
readonly decisions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1978
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1979
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1980
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1981
|
+
readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1982
|
+
readonly source: v.PicklistSchema<["planning", "human", "agent"], undefined>;
|
|
1983
|
+
}, undefined>, undefined>, readonly []>;
|
|
1984
|
+
readonly deviations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1985
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1986
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1987
|
+
readonly itemId: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, undefined>;
|
|
1988
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1989
|
+
readonly resolution: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1990
|
+
}, undefined>, undefined>, readonly []>;
|
|
1991
|
+
readonly followUps: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1992
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1993
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1994
|
+
readonly sourceItemId: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, undefined>;
|
|
1995
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1996
|
+
readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1997
|
+
readonly status: v.PicklistSchema<["open", "promoted", "dismissed"], undefined>;
|
|
1998
|
+
readonly promotedItemId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1999
|
+
}, undefined>, undefined>, readonly []>;
|
|
2000
|
+
readonly caveats: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
2001
|
+
readonly status: v.PicklistSchema<["planning", "awaiting_approval", "executing", "paused", "done", "cancelled"], undefined>;
|
|
2002
|
+
readonly doc: v.OptionalSchema<v.ObjectSchema<{
|
|
2003
|
+
readonly version: v.NumberSchema<undefined>;
|
|
2004
|
+
readonly hash: v.StringSchema<undefined>;
|
|
2005
|
+
readonly committedAt: v.NumberSchema<undefined>;
|
|
2006
|
+
}, undefined>, undefined>;
|
|
2007
|
+
readonly rev: v.NumberSchema<undefined>;
|
|
2008
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
2009
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
2010
|
+
}, undefined>;
|
|
2011
|
+
};
|
|
2012
|
+
};
|
|
1449
2013
|
//# sourceMappingURL=initiative.d.ts.map
|