@cat-factory/contracts 0.94.0 → 0.96.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/dist/entities.d.ts +158 -3
  2. package/dist/entities.d.ts.map +1 -1
  3. package/dist/entities.js +64 -1
  4. package/dist/entities.js.map +1 -1
  5. package/dist/environments.d.ts +17 -3
  6. package/dist/environments.d.ts.map +1 -1
  7. package/dist/environments.js +9 -2
  8. package/dist/environments.js.map +1 -1
  9. package/dist/initiative.d.ts +67 -0
  10. package/dist/initiative.d.ts.map +1 -1
  11. package/dist/initiative.js +43 -0
  12. package/dist/initiative.js.map +1 -1
  13. package/dist/merge.d.ts +4 -1
  14. package/dist/merge.d.ts.map +1 -1
  15. package/dist/merge.js +4 -0
  16. package/dist/merge.js.map +1 -1
  17. package/dist/notifications.d.ts +16 -0
  18. package/dist/notifications.d.ts.map +1 -1
  19. package/dist/notifications.js +8 -0
  20. package/dist/notifications.js.map +1 -1
  21. package/dist/recurring.d.ts +119 -0
  22. package/dist/recurring.d.ts.map +1 -1
  23. package/dist/recurring.js +42 -0
  24. package/dist/recurring.js.map +1 -1
  25. package/dist/requests.d.ts +7 -0
  26. package/dist/requests.d.ts.map +1 -1
  27. package/dist/routes/agent-runs.d.ts +18 -0
  28. package/dist/routes/agent-runs.d.ts.map +1 -1
  29. package/dist/routes/board.d.ts +107 -0
  30. package/dist/routes/board.d.ts.map +1 -1
  31. package/dist/routes/environments.d.ts +1 -0
  32. package/dist/routes/environments.d.ts.map +1 -1
  33. package/dist/routes/execution.d.ts +92 -0
  34. package/dist/routes/execution.d.ts.map +1 -1
  35. package/dist/routes/human-review.d.ts +9 -0
  36. package/dist/routes/human-review.d.ts.map +1 -1
  37. package/dist/routes/human-test.d.ts +45 -0
  38. package/dist/routes/human-test.d.ts.map +1 -1
  39. package/dist/routes/initiative.d.ts +554 -0
  40. package/dist/routes/initiative.d.ts.map +1 -1
  41. package/dist/routes/initiative.js +40 -2
  42. package/dist/routes/initiative.js.map +1 -1
  43. package/dist/routes/notifications.d.ts +6 -0
  44. package/dist/routes/notifications.d.ts.map +1 -1
  45. package/dist/routes/recurring.d.ts +84 -0
  46. package/dist/routes/recurring.d.ts.map +1 -1
  47. package/dist/routes/tasks.d.ts +30 -0
  48. package/dist/routes/tasks.d.ts.map +1 -1
  49. package/dist/routes/visual-confirm.d.ts +27 -0
  50. package/dist/routes/visual-confirm.d.ts.map +1 -1
  51. package/dist/routes/workspaces.d.ts +70 -0
  52. package/dist/routes/workspaces.d.ts.map +1 -1
  53. package/dist/snapshot.d.ts +35 -0
  54. package/dist/snapshot.d.ts.map +1 -1
  55. package/package.json +1 -1
@@ -190,6 +190,7 @@ export declare const createInitiativeContract: {
190
190
  }, undefined>], undefined>, undefined>;
191
191
  readonly composePath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
192
192
  readonly localDevOnly: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
193
+ readonly composeBuild: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
193
194
  readonly manifestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>, undefined>;
194
195
  readonly manifestPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
195
196
  readonly images: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
@@ -305,6 +306,15 @@ export declare const createInitiativeContract: {
305
306
  readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
306
307
  readonly branch: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
307
308
  }, undefined>, undefined>;
309
+ readonly peerPullRequests: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
310
+ readonly repo: v.StringSchema<undefined>;
311
+ readonly frameId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
312
+ readonly ref: v.ObjectSchema<{
313
+ readonly url: v.StringSchema<undefined>;
314
+ readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
315
+ readonly branch: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
316
+ }, undefined>;
317
+ }, undefined>, undefined>, undefined>;
308
318
  readonly mergePresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
309
319
  readonly modelPresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
310
320
  readonly pipelineId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -1445,4 +1455,548 @@ export declare const cancelInitiativeContract: {
1445
1455
  }, undefined>, undefined>;
1446
1456
  };
1447
1457
  };
1458
+ /** Promote an `open` harvested follow-up into a new `pending` tracker item under a phase. */
1459
+ export declare const promoteInitiativeFollowUpContract: {
1460
+ readonly method: "post";
1461
+ readonly requestPathParamsSchema: v.ObjectSchema<{
1462
+ readonly initiativeId: v.StringSchema<undefined>;
1463
+ readonly followUpId: v.StringSchema<undefined>;
1464
+ }, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
1465
+ readonly pathResolver: ({ initiativeId, followUpId }: {
1466
+ initiativeId: string;
1467
+ followUpId: string;
1468
+ }) => string;
1469
+ readonly requestBodySchema: v.ObjectSchema<{
1470
+ readonly phaseId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1471
+ readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
1472
+ readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, undefined>;
1473
+ readonly estimate: v.OptionalSchema<v.ObjectSchema<{
1474
+ readonly complexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1475
+ readonly risk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1476
+ readonly impact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1477
+ readonly rationale: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1478
+ }, undefined>, undefined>;
1479
+ readonly pipelineId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
1480
+ 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>;
1481
+ }, undefined>;
1482
+ readonly responsesByStatusCode: {
1483
+ readonly '4xx': v.ObjectSchema<{
1484
+ readonly error: v.ObjectSchema<{
1485
+ readonly code: v.StringSchema<undefined>;
1486
+ readonly message: v.StringSchema<undefined>;
1487
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
1488
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1489
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1490
+ readonly message: v.StringSchema<undefined>;
1491
+ }, undefined>, undefined>, undefined>;
1492
+ }, undefined>;
1493
+ }, undefined>;
1494
+ readonly '5xx': 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 200: v.ObjectSchema<{
1506
+ readonly id: v.StringSchema<undefined>;
1507
+ readonly blockId: v.StringSchema<undefined>;
1508
+ readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1509
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1510
+ readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
1511
+ readonly constraints: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
1512
+ readonly nonGoals: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
1513
+ readonly qa: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1514
+ readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
1515
+ readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
1516
+ readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1517
+ }, undefined>, undefined>, readonly []>;
1518
+ readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1519
+ readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1520
+ readonly maxRounds: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
1521
+ readonly status: v.PicklistSchema<["awaiting", "done"], undefined>;
1522
+ }, undefined>, undefined>, undefined>;
1523
+ readonly analysisSummary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
1524
+ readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1525
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1526
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1527
+ readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1528
+ 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>;
1529
+ }, undefined>, undefined>, readonly []>;
1530
+ readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1531
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1532
+ readonly phaseId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1533
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1534
+ readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>;
1535
+ 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 []>;
1536
+ readonly estimate: v.OptionalSchema<v.ObjectSchema<{
1537
+ readonly complexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1538
+ readonly risk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1539
+ readonly impact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1540
+ readonly rationale: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1541
+ }, undefined>, undefined>;
1542
+ readonly pipelineId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
1543
+ readonly status: v.PicklistSchema<["pending", "in_progress", "pr_open", "done", "blocked", "skipped"], undefined>;
1544
+ readonly blockId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1545
+ readonly pr: v.OptionalSchema<v.ObjectSchema<{
1546
+ readonly url: v.StringSchema<undefined>;
1547
+ readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1548
+ }, undefined>, undefined>;
1549
+ readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1550
+ }, undefined>, undefined>, readonly []>;
1551
+ readonly policy: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1552
+ readonly maxConcurrent: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>;
1553
+ readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1554
+ readonly pipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1555
+ readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1556
+ readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1557
+ readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1558
+ }, undefined>, undefined>, readonly []>;
1559
+ readonly defaultPipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1560
+ readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["default", "strongest"], undefined>, "default">;
1561
+ }, undefined>, undefined>, undefined>;
1562
+ readonly decisions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1563
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1564
+ readonly at: v.NumberSchema<undefined>;
1565
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1566
+ readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1567
+ readonly source: v.PicklistSchema<["planning", "human", "agent"], undefined>;
1568
+ }, undefined>, undefined>, readonly []>;
1569
+ readonly deviations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1570
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1571
+ readonly at: v.NumberSchema<undefined>;
1572
+ 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>;
1573
+ readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
1574
+ readonly resolution: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1575
+ }, undefined>, undefined>, readonly []>;
1576
+ readonly followUps: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1577
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1578
+ readonly at: v.NumberSchema<undefined>;
1579
+ 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>;
1580
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1581
+ readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1582
+ readonly status: v.PicklistSchema<["open", "promoted", "dismissed"], undefined>;
1583
+ readonly promotedItemId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
1584
+ }, undefined>, undefined>, readonly []>;
1585
+ readonly caveats: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
1586
+ readonly status: v.PicklistSchema<["planning", "awaiting_approval", "executing", "paused", "done", "cancelled"], undefined>;
1587
+ readonly doc: v.OptionalSchema<v.ObjectSchema<{
1588
+ readonly version: v.NumberSchema<undefined>;
1589
+ readonly hash: v.StringSchema<undefined>;
1590
+ readonly committedAt: v.NumberSchema<undefined>;
1591
+ }, undefined>, undefined>;
1592
+ readonly rev: v.NumberSchema<undefined>;
1593
+ readonly createdAt: v.NumberSchema<undefined>;
1594
+ readonly updatedAt: v.NumberSchema<undefined>;
1595
+ }, undefined>;
1596
+ };
1597
+ };
1598
+ /** Dismiss a harvested follow-up without acting on it. */
1599
+ export declare const dismissInitiativeFollowUpContract: {
1600
+ readonly method: "post";
1601
+ readonly requestPathParamsSchema: v.ObjectSchema<{
1602
+ readonly initiativeId: v.StringSchema<undefined>;
1603
+ readonly followUpId: v.StringSchema<undefined>;
1604
+ }, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
1605
+ readonly pathResolver: ({ initiativeId, followUpId }: {
1606
+ initiativeId: string;
1607
+ followUpId: string;
1608
+ }) => string;
1609
+ readonly requestBodySchema: typeof ContractNoBody;
1610
+ readonly responsesByStatusCode: {
1611
+ readonly '4xx': v.ObjectSchema<{
1612
+ readonly error: v.ObjectSchema<{
1613
+ readonly code: v.StringSchema<undefined>;
1614
+ readonly message: v.StringSchema<undefined>;
1615
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
1616
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1617
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1618
+ readonly message: v.StringSchema<undefined>;
1619
+ }, undefined>, undefined>, undefined>;
1620
+ }, undefined>;
1621
+ }, undefined>;
1622
+ readonly '5xx': 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 200: v.ObjectSchema<{
1634
+ readonly id: v.StringSchema<undefined>;
1635
+ readonly blockId: v.StringSchema<undefined>;
1636
+ readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1637
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1638
+ readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
1639
+ readonly constraints: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
1640
+ readonly nonGoals: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
1641
+ readonly qa: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1642
+ readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
1643
+ readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
1644
+ readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1645
+ }, undefined>, undefined>, readonly []>;
1646
+ readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1647
+ readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1648
+ readonly maxRounds: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
1649
+ readonly status: v.PicklistSchema<["awaiting", "done"], undefined>;
1650
+ }, undefined>, undefined>, undefined>;
1651
+ readonly analysisSummary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
1652
+ readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1653
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1654
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1655
+ readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1656
+ 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>;
1657
+ }, undefined>, undefined>, readonly []>;
1658
+ readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1659
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1660
+ readonly phaseId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1661
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1662
+ readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>;
1663
+ 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 []>;
1664
+ readonly estimate: v.OptionalSchema<v.ObjectSchema<{
1665
+ readonly complexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1666
+ readonly risk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1667
+ readonly impact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1668
+ readonly rationale: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1669
+ }, undefined>, undefined>;
1670
+ readonly pipelineId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
1671
+ readonly status: v.PicklistSchema<["pending", "in_progress", "pr_open", "done", "blocked", "skipped"], undefined>;
1672
+ readonly blockId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1673
+ readonly pr: v.OptionalSchema<v.ObjectSchema<{
1674
+ readonly url: v.StringSchema<undefined>;
1675
+ readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1676
+ }, undefined>, undefined>;
1677
+ readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1678
+ }, undefined>, undefined>, readonly []>;
1679
+ readonly policy: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1680
+ readonly maxConcurrent: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>;
1681
+ readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1682
+ readonly pipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1683
+ readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1684
+ readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1685
+ readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1686
+ }, undefined>, undefined>, readonly []>;
1687
+ readonly defaultPipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1688
+ readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["default", "strongest"], undefined>, "default">;
1689
+ }, undefined>, undefined>, undefined>;
1690
+ readonly decisions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1691
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1692
+ readonly at: v.NumberSchema<undefined>;
1693
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1694
+ readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1695
+ readonly source: v.PicklistSchema<["planning", "human", "agent"], undefined>;
1696
+ }, undefined>, undefined>, readonly []>;
1697
+ readonly deviations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1698
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1699
+ readonly at: v.NumberSchema<undefined>;
1700
+ 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>;
1701
+ readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
1702
+ readonly resolution: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1703
+ }, undefined>, undefined>, readonly []>;
1704
+ readonly followUps: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1705
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1706
+ readonly at: v.NumberSchema<undefined>;
1707
+ 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>;
1708
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1709
+ readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1710
+ readonly status: v.PicklistSchema<["open", "promoted", "dismissed"], undefined>;
1711
+ readonly promotedItemId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
1712
+ }, undefined>, undefined>, readonly []>;
1713
+ readonly caveats: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
1714
+ readonly status: v.PicklistSchema<["planning", "awaiting_approval", "executing", "paused", "done", "cancelled"], undefined>;
1715
+ readonly doc: v.OptionalSchema<v.ObjectSchema<{
1716
+ readonly version: v.NumberSchema<undefined>;
1717
+ readonly hash: v.StringSchema<undefined>;
1718
+ readonly committedAt: v.NumberSchema<undefined>;
1719
+ }, undefined>, undefined>;
1720
+ readonly rev: v.NumberSchema<undefined>;
1721
+ readonly createdAt: v.NumberSchema<undefined>;
1722
+ readonly updatedAt: v.NumberSchema<undefined>;
1723
+ }, undefined>;
1724
+ };
1725
+ };
1726
+ /** Edit one tracker item and/or drive its status (retry a blocked item / skip it). */
1727
+ export declare const updateInitiativeItemContract: {
1728
+ readonly method: "patch";
1729
+ readonly requestPathParamsSchema: v.ObjectSchema<{
1730
+ readonly initiativeId: v.StringSchema<undefined>;
1731
+ readonly itemId: v.StringSchema<undefined>;
1732
+ }, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
1733
+ readonly pathResolver: ({ initiativeId, itemId }: {
1734
+ initiativeId: string;
1735
+ itemId: string;
1736
+ }) => string;
1737
+ readonly requestBodySchema: v.ObjectSchema<{
1738
+ readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
1739
+ readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, undefined>;
1740
+ readonly estimate: v.OptionalSchema<v.ObjectSchema<{
1741
+ readonly complexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1742
+ readonly risk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1743
+ readonly impact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1744
+ readonly rationale: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1745
+ }, undefined>, undefined>;
1746
+ readonly pipelineId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
1747
+ 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>;
1748
+ readonly action: v.OptionalSchema<v.PicklistSchema<["retry", "skip"], undefined>, undefined>;
1749
+ }, undefined>;
1750
+ readonly responsesByStatusCode: {
1751
+ readonly '4xx': v.ObjectSchema<{
1752
+ readonly error: v.ObjectSchema<{
1753
+ readonly code: v.StringSchema<undefined>;
1754
+ readonly message: v.StringSchema<undefined>;
1755
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
1756
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1757
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1758
+ readonly message: v.StringSchema<undefined>;
1759
+ }, undefined>, undefined>, undefined>;
1760
+ }, undefined>;
1761
+ }, undefined>;
1762
+ readonly '5xx': 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 200: v.ObjectSchema<{
1774
+ readonly id: v.StringSchema<undefined>;
1775
+ readonly blockId: v.StringSchema<undefined>;
1776
+ readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1777
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1778
+ readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
1779
+ readonly constraints: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
1780
+ readonly nonGoals: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
1781
+ readonly qa: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1782
+ readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
1783
+ readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
1784
+ readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1785
+ }, undefined>, undefined>, readonly []>;
1786
+ readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1787
+ readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1788
+ readonly maxRounds: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
1789
+ readonly status: v.PicklistSchema<["awaiting", "done"], undefined>;
1790
+ }, undefined>, undefined>, undefined>;
1791
+ readonly analysisSummary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
1792
+ readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1793
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1794
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1795
+ readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1796
+ 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>;
1797
+ }, undefined>, undefined>, readonly []>;
1798
+ readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1799
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1800
+ readonly phaseId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1801
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1802
+ readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>;
1803
+ 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 []>;
1804
+ readonly estimate: v.OptionalSchema<v.ObjectSchema<{
1805
+ readonly complexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1806
+ readonly risk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1807
+ readonly impact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1808
+ readonly rationale: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1809
+ }, undefined>, undefined>;
1810
+ readonly pipelineId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
1811
+ readonly status: v.PicklistSchema<["pending", "in_progress", "pr_open", "done", "blocked", "skipped"], undefined>;
1812
+ readonly blockId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1813
+ readonly pr: v.OptionalSchema<v.ObjectSchema<{
1814
+ readonly url: v.StringSchema<undefined>;
1815
+ readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1816
+ }, undefined>, undefined>;
1817
+ readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1818
+ }, undefined>, undefined>, readonly []>;
1819
+ readonly policy: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1820
+ readonly maxConcurrent: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>;
1821
+ readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1822
+ readonly pipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1823
+ readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1824
+ readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1825
+ readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1826
+ }, undefined>, undefined>, readonly []>;
1827
+ readonly defaultPipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1828
+ readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["default", "strongest"], undefined>, "default">;
1829
+ }, undefined>, undefined>, undefined>;
1830
+ readonly decisions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1831
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1832
+ readonly at: v.NumberSchema<undefined>;
1833
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1834
+ readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1835
+ readonly source: v.PicklistSchema<["planning", "human", "agent"], undefined>;
1836
+ }, undefined>, undefined>, readonly []>;
1837
+ readonly deviations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1838
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1839
+ readonly at: v.NumberSchema<undefined>;
1840
+ 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>;
1841
+ readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
1842
+ readonly resolution: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1843
+ }, undefined>, undefined>, readonly []>;
1844
+ readonly followUps: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1845
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1846
+ readonly at: v.NumberSchema<undefined>;
1847
+ 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>;
1848
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1849
+ readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1850
+ readonly status: v.PicklistSchema<["open", "promoted", "dismissed"], undefined>;
1851
+ readonly promotedItemId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
1852
+ }, undefined>, undefined>, readonly []>;
1853
+ readonly caveats: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
1854
+ readonly status: v.PicklistSchema<["planning", "awaiting_approval", "executing", "paused", "done", "cancelled"], undefined>;
1855
+ readonly doc: v.OptionalSchema<v.ObjectSchema<{
1856
+ readonly version: v.NumberSchema<undefined>;
1857
+ readonly hash: v.StringSchema<undefined>;
1858
+ readonly committedAt: v.NumberSchema<undefined>;
1859
+ }, undefined>, undefined>;
1860
+ readonly rev: v.NumberSchema<undefined>;
1861
+ readonly createdAt: v.NumberSchema<undefined>;
1862
+ readonly updatedAt: v.NumberSchema<undefined>;
1863
+ }, undefined>;
1864
+ };
1865
+ };
1866
+ /** Replace an executing initiative's execution policy (concurrency + pipeline rules). */
1867
+ export declare const updateInitiativePolicyContract: {
1868
+ readonly method: "put";
1869
+ readonly requestPathParamsSchema: v.ObjectSchema<{
1870
+ initiativeId: v.StringSchema<undefined>;
1871
+ }, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
1872
+ readonly pathResolver: ({ initiativeId }: {
1873
+ initiativeId: string;
1874
+ }) => string;
1875
+ readonly requestBodySchema: v.ObjectSchema<{
1876
+ readonly maxConcurrent: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>;
1877
+ readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1878
+ readonly pipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1879
+ readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1880
+ readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1881
+ readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1882
+ }, undefined>, undefined>, readonly []>;
1883
+ readonly defaultPipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1884
+ readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["default", "strongest"], undefined>, "default">;
1885
+ }, undefined>;
1886
+ readonly responsesByStatusCode: {
1887
+ readonly '4xx': v.ObjectSchema<{
1888
+ readonly error: v.ObjectSchema<{
1889
+ readonly code: v.StringSchema<undefined>;
1890
+ readonly message: v.StringSchema<undefined>;
1891
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
1892
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1893
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1894
+ readonly message: v.StringSchema<undefined>;
1895
+ }, undefined>, undefined>, undefined>;
1896
+ }, undefined>;
1897
+ }, undefined>;
1898
+ readonly '5xx': 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 200: v.ObjectSchema<{
1910
+ readonly id: v.StringSchema<undefined>;
1911
+ readonly blockId: v.StringSchema<undefined>;
1912
+ readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1913
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1914
+ readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
1915
+ readonly constraints: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
1916
+ readonly nonGoals: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
1917
+ readonly qa: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1918
+ readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
1919
+ readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
1920
+ readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1921
+ }, undefined>, undefined>, readonly []>;
1922
+ readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1923
+ readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1924
+ readonly maxRounds: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
1925
+ readonly status: v.PicklistSchema<["awaiting", "done"], undefined>;
1926
+ }, undefined>, undefined>, undefined>;
1927
+ readonly analysisSummary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
1928
+ readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1929
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1930
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1931
+ readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1932
+ 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>;
1933
+ }, undefined>, undefined>, readonly []>;
1934
+ readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1935
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1936
+ readonly phaseId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1937
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1938
+ readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>;
1939
+ 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 []>;
1940
+ readonly estimate: v.OptionalSchema<v.ObjectSchema<{
1941
+ readonly complexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1942
+ readonly risk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1943
+ readonly impact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1944
+ readonly rationale: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1945
+ }, undefined>, undefined>;
1946
+ readonly pipelineId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
1947
+ readonly status: v.PicklistSchema<["pending", "in_progress", "pr_open", "done", "blocked", "skipped"], undefined>;
1948
+ readonly blockId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1949
+ readonly pr: v.OptionalSchema<v.ObjectSchema<{
1950
+ readonly url: v.StringSchema<undefined>;
1951
+ readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1952
+ }, undefined>, undefined>;
1953
+ readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1954
+ }, undefined>, undefined>, readonly []>;
1955
+ readonly policy: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1956
+ readonly maxConcurrent: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>;
1957
+ readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1958
+ readonly pipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1959
+ readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1960
+ readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1961
+ readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1962
+ }, undefined>, undefined>, readonly []>;
1963
+ readonly defaultPipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1964
+ readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["default", "strongest"], undefined>, "default">;
1965
+ }, undefined>, undefined>, undefined>;
1966
+ readonly decisions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1967
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1968
+ readonly at: v.NumberSchema<undefined>;
1969
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1970
+ readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1971
+ readonly source: v.PicklistSchema<["planning", "human", "agent"], undefined>;
1972
+ }, undefined>, undefined>, readonly []>;
1973
+ readonly deviations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1974
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1975
+ readonly at: v.NumberSchema<undefined>;
1976
+ 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>;
1977
+ readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
1978
+ readonly resolution: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1979
+ }, undefined>, undefined>, readonly []>;
1980
+ readonly followUps: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1981
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1982
+ readonly at: v.NumberSchema<undefined>;
1983
+ 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>;
1984
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1985
+ readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1986
+ readonly status: v.PicklistSchema<["open", "promoted", "dismissed"], undefined>;
1987
+ readonly promotedItemId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
1988
+ }, undefined>, undefined>, readonly []>;
1989
+ readonly caveats: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
1990
+ readonly status: v.PicklistSchema<["planning", "awaiting_approval", "executing", "paused", "done", "cancelled"], undefined>;
1991
+ readonly doc: v.OptionalSchema<v.ObjectSchema<{
1992
+ readonly version: v.NumberSchema<undefined>;
1993
+ readonly hash: v.StringSchema<undefined>;
1994
+ readonly committedAt: v.NumberSchema<undefined>;
1995
+ }, undefined>, undefined>;
1996
+ readonly rev: v.NumberSchema<undefined>;
1997
+ readonly createdAt: v.NumberSchema<undefined>;
1998
+ readonly updatedAt: v.NumberSchema<undefined>;
1999
+ }, undefined>;
2000
+ };
2001
+ };
1448
2002
  //# sourceMappingURL=initiative.d.ts.map