@maycombhq/sdk 2.0.0-beta.10 → 2.0.0-beta.12

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.
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
2
  export declare const System: z.ZodObject<{
3
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
4
4
  id: z.ZodString;
5
5
  status: z.ZodEnum<{
6
6
  current: "current";
@@ -64,7 +64,7 @@ export declare const System: z.ZodObject<{
64
64
  */
65
65
  export declare const COMPONENT_TYPES: readonly ["service", "spa", "bff", "mobile-app", "desktop-app", "function", "batch-job", "data-pipeline", "ml-model", "gateway", "worker", "library", "mainframe-program"];
66
66
  export declare const Component: z.ZodObject<{
67
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
67
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
68
68
  id: z.ZodString;
69
69
  status: z.ZodEnum<{
70
70
  current: "current";
@@ -133,7 +133,7 @@ export declare const Auth: z.ZodEnum<{
133
133
  other: "other";
134
134
  }>;
135
135
  export declare const Endpoint: z.ZodObject<{
136
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
136
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
137
137
  id: z.ZodString;
138
138
  status: z.ZodEnum<{
139
139
  current: "current";
@@ -210,7 +210,7 @@ export declare const Endpoint: z.ZodObject<{
210
210
  }>>;
211
211
  }, z.core.$strict>;
212
212
  export declare const Interface: z.ZodObject<{
213
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
213
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
214
214
  id: z.ZodString;
215
215
  status: z.ZodEnum<{
216
216
  current: "current";
@@ -306,7 +306,7 @@ export declare const Interface: z.ZodObject<{
306
306
  }, z.core.$strict>>>;
307
307
  }, z.core.$strict>;
308
308
  export declare const GatewayRoute: z.ZodObject<{
309
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
309
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
310
310
  id: z.ZodString;
311
311
  status: z.ZodEnum<{
312
312
  current: "current";
@@ -364,7 +364,7 @@ export declare const GatewayRoute: z.ZodObject<{
364
364
  }, z.core.$strict>;
365
365
  export declare const Classification: z.ZodString;
366
366
  export declare const Schema: z.ZodObject<{
367
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
367
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
368
368
  id: z.ZodString;
369
369
  status: z.ZodEnum<{
370
370
  current: "current";
@@ -416,6 +416,7 @@ export declare const Schema: z.ZodObject<{
416
416
  openapi: "openapi";
417
417
  "json-schema": "json-schema";
418
418
  avro: "avro";
419
+ protobuf: "protobuf";
419
420
  xsd: "xsd";
420
421
  }>;
421
422
  ref: z.ZodString;
@@ -428,7 +429,7 @@ export declare const Schema: z.ZodObject<{
428
429
  }, z.core.$strict>>>;
429
430
  }, z.core.$strict>;
430
431
  export declare const FieldMapping: z.ZodObject<{
431
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
432
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
432
433
  id: z.ZodString;
433
434
  status: z.ZodEnum<{
434
435
  current: "current";
@@ -486,7 +487,7 @@ export declare const FieldMapping: z.ZodObject<{
486
487
  */
487
488
  export declare const STORE_TYPES: readonly ["relational", "document", "key-value", "cache", "warehouse", "lake", "object-storage", "search", "feature-store", "queue", "stream", "file-share"];
488
489
  export declare const DataStore: z.ZodObject<{
489
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
490
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
490
491
  id: z.ZodString;
491
492
  status: z.ZodEnum<{
492
493
  current: "current";
@@ -538,7 +539,7 @@ export declare const DataStore: z.ZodObject<{
538
539
  entitiesHeld: z.ZodDefault<z.ZodArray<z.ZodString>>;
539
540
  }, z.core.$strict>;
540
541
  export declare const Table: z.ZodObject<{
541
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
542
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
542
543
  id: z.ZodString;
543
544
  status: z.ZodEnum<{
544
545
  current: "current";
@@ -599,7 +600,7 @@ export declare const Table: z.ZodObject<{
599
600
  retention: z.ZodOptional<z.ZodString>;
600
601
  }, z.core.$strict>;
601
602
  export declare const Column: z.ZodObject<{
602
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
603
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
603
604
  id: z.ZodString;
604
605
  status: z.ZodEnum<{
605
606
  current: "current";
@@ -689,7 +690,7 @@ export declare const Column: z.ZodObject<{
689
690
  glossaryTerm: z.ZodOptional<z.ZodString>;
690
691
  }, z.core.$strict>;
691
692
  export declare const IndexConstraint: z.ZodObject<{
692
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
693
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
693
694
  id: z.ZodString;
694
695
  status: z.ZodEnum<{
695
696
  current: "current";
@@ -750,7 +751,7 @@ export declare const IndexConstraint: z.ZodObject<{
750
751
  }, z.core.$strict>>;
751
752
  }, z.core.$strict>;
752
753
  export declare const Migration: z.ZodObject<{
753
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
754
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
754
755
  id: z.ZodString;
755
756
  status: z.ZodEnum<{
756
757
  current: "current";
@@ -811,7 +812,7 @@ export declare const Migration: z.ZodObject<{
811
812
  reversible: z.ZodOptional<z.ZodBoolean>;
812
813
  }, z.core.$strict>;
813
814
  export declare const Deployment: z.ZodObject<{
814
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
815
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
815
816
  id: z.ZodString;
816
817
  status: z.ZodEnum<{
817
818
  current: "current";
@@ -879,7 +880,7 @@ export declare const Deployment: z.ZodObject<{
879
880
  }, z.core.$strict>>>;
880
881
  }, z.core.$strict>;
881
882
  export declare const Setting: z.ZodObject<{
882
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
883
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
883
884
  id: z.ZodString;
884
885
  status: z.ZodEnum<{
885
886
  current: "current";
@@ -944,7 +945,7 @@ export declare const Setting: z.ZodObject<{
944
945
  target: z.ZodOptional<z.ZodString>;
945
946
  }, z.core.$strict>;
946
947
  export declare const ObservabilityAsset: z.ZodObject<{
947
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
948
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
948
949
  id: z.ZodString;
949
950
  status: z.ZodEnum<{
950
951
  current: "current";
@@ -1004,7 +1005,7 @@ export declare const ObservabilityAsset: z.ZodObject<{
1004
1005
  link: z.ZodOptional<z.ZodString>;
1005
1006
  }, z.core.$strict>;
1006
1007
  export declare const AccessGrant: z.ZodObject<{
1007
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1008
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1008
1009
  id: z.ZodString;
1009
1010
  status: z.ZodEnum<{
1010
1011
  current: "current";
@@ -1063,7 +1064,7 @@ export declare const AccessGrant: z.ZodObject<{
1063
1064
  env: z.ZodOptional<z.ZodString>;
1064
1065
  }, z.core.$strict>;
1065
1066
  export declare const QualityAsset: z.ZodObject<{
1066
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1067
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1067
1068
  id: z.ZodString;
1068
1069
  status: z.ZodEnum<{
1069
1070
  current: "current";
@@ -1122,7 +1123,7 @@ export declare const QualityAsset: z.ZodObject<{
1122
1123
  details: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1123
1124
  }, z.core.$strict>;
1124
1125
  export declare const Obligation: z.ZodObject<{
1125
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1126
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1126
1127
  id: z.ZodString;
1127
1128
  status: z.ZodEnum<{
1128
1129
  current: "current";
@@ -1183,7 +1184,7 @@ export declare const Obligation: z.ZodObject<{
1183
1184
  assertedBy: z.ZodString;
1184
1185
  }, z.core.$strict>;
1185
1186
  export declare const GlossaryTerm: z.ZodObject<{
1186
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1187
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1187
1188
  id: z.ZodString;
1188
1189
  status: z.ZodEnum<{
1189
1190
  current: "current";
@@ -1263,7 +1264,7 @@ export declare const KnowledgeLink: z.ZodObject<{
1263
1264
  * no interaction.
1264
1265
  */
1265
1266
  export declare const Pattern: z.ZodObject<{
1266
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1267
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1267
1268
  id: z.ZodString;
1268
1269
  status: z.ZodEnum<{
1269
1270
  current: "current";
@@ -1368,7 +1369,7 @@ export declare const Pattern: z.ZodObject<{
1368
1369
  * freeze, with its quote; the page may state no reason or decider.
1369
1370
  */
1370
1371
  export declare const Decision: z.ZodObject<{
1371
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1372
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1372
1373
  id: z.ZodString;
1373
1374
  status: z.ZodEnum<{
1374
1375
  current: "current";
@@ -1461,7 +1462,7 @@ export declare const Decision: z.ZodObject<{
1461
1462
  dates: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodISODate>>;
1462
1463
  }, z.core.$strict>;
1463
1464
  export declare const SourceDocument: z.ZodObject<{
1464
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1465
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1465
1466
  id: z.ZodString;
1466
1467
  status: z.ZodEnum<{
1467
1468
  current: "current";
@@ -1518,7 +1519,7 @@ export declare const SourceDocument: z.ZodObject<{
1518
1519
  recordsProduced: z.ZodDefault<z.ZodArray<z.ZodString>>;
1519
1520
  }, z.core.$strict>;
1520
1521
  export declare const Party: z.ZodObject<{
1521
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1522
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1522
1523
  id: z.ZodString;
1523
1524
  status: z.ZodEnum<{
1524
1525
  current: "current";
@@ -1608,7 +1609,7 @@ export declare const Party: z.ZodObject<{
1608
1609
  * code and stay as they are.
1609
1610
  */
1610
1611
  export declare const Product: z.ZodObject<{
1611
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1612
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1612
1613
  id: z.ZodString;
1613
1614
  status: z.ZodEnum<{
1614
1615
  current: "current";
@@ -1689,7 +1690,7 @@ export declare const Product: z.ZodObject<{
1689
1690
  }, z.core.$strict>>>;
1690
1691
  }, z.core.$strict>;
1691
1692
  export declare const Initiative: z.ZodObject<{
1692
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1693
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1693
1694
  id: z.ZodString;
1694
1695
  status: z.ZodEnum<{
1695
1696
  current: "current";
@@ -1752,7 +1753,7 @@ export declare const Initiative: z.ZodObject<{
1752
1753
  adoEpic: z.ZodOptional<z.ZodString>;
1753
1754
  }, z.core.$strict>;
1754
1755
  export declare const Commitment: z.ZodObject<{
1755
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1756
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1756
1757
  id: z.ZodString;
1757
1758
  status: z.ZodEnum<{
1758
1759
  current: "current";
@@ -1813,7 +1814,7 @@ export declare const Commitment: z.ZodObject<{
1813
1814
  }>;
1814
1815
  }, z.core.$strict>;
1815
1816
  export declare const OwnerQuestion: z.ZodObject<{
1816
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1817
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1817
1818
  id: z.ZodString;
1818
1819
  status: z.ZodEnum<{
1819
1820
  current: "current";
@@ -1884,7 +1885,7 @@ export declare const OwnerQuestion: z.ZodObject<{
1884
1885
  * ProcessArtifact is one instance of it, suggested or raised for a change.
1885
1886
  */
1886
1887
  export declare const ProcessDefinition: z.ZodObject<{
1887
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1888
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1888
1889
  id: z.ZodString;
1889
1890
  status: z.ZodEnum<{
1890
1891
  current: "current";
@@ -1967,7 +1968,7 @@ export declare const ProcessDefinition: z.ZodObject<{
1967
1968
  }, z.core.$strict>>>;
1968
1969
  }, z.core.$strict>;
1969
1970
  export declare const ProcessArtifact: z.ZodObject<{
1970
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1971
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1971
1972
  id: z.ZodString;
1972
1973
  status: z.ZodEnum<{
1973
1974
  current: "current";
@@ -2043,7 +2044,7 @@ export declare const ExternalRef: z.ZodObject<{
2043
2044
  * through a curated decision). Ids are `feature.<slug>` of the primary resource.
2044
2045
  */
2045
2046
  export declare const Capability: z.ZodObject<{
2046
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
2047
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
2047
2048
  id: z.ZodString;
2048
2049
  status: z.ZodEnum<{
2049
2050
  current: "current";
@@ -2639,7 +2640,7 @@ export declare const Flow: z.ZodObject<{
2639
2640
  template: z.ZodString;
2640
2641
  }, z.core.$strict>;
2641
2642
  export declare const Unresolved: z.ZodObject<{
2642
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
2643
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
2643
2644
  id: z.ZodString;
2644
2645
  status: z.ZodEnum<{
2645
2646
  current: "current";
@@ -2693,7 +2694,7 @@ export declare const Unresolved: z.ZodObject<{
2693
2694
  /** A human decision applied over generated records. Lives in catalog/curated/. */
2694
2695
  export declare const CuratedDecision: z.ZodObject<{
2695
2696
  kind: z.ZodLiteral<"CuratedDecision">;
2696
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
2697
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
2697
2698
  id: z.ZodString;
2698
2699
  status: z.ZodEnum<{
2699
2700
  current: "current";
@@ -2751,7 +2752,7 @@ export declare const CuratedDecision: z.ZodObject<{
2751
2752
  }, z.core.$strict>;
2752
2753
  export declare const RECORD_SCHEMAS: {
2753
2754
  readonly System: z.ZodObject<{
2754
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
2755
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
2755
2756
  id: z.ZodString;
2756
2757
  status: z.ZodEnum<{
2757
2758
  current: "current";
@@ -2810,7 +2811,7 @@ export declare const RECORD_SCHEMAS: {
2810
2811
  accessGroup: z.ZodDefault<z.ZodString>;
2811
2812
  }, z.core.$strict>;
2812
2813
  readonly Component: z.ZodObject<{
2813
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
2814
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
2814
2815
  id: z.ZodString;
2815
2816
  status: z.ZodEnum<{
2816
2817
  current: "current";
@@ -2871,7 +2872,7 @@ export declare const RECORD_SCHEMAS: {
2871
2872
  uses: z.ZodOptional<z.ZodArray<z.ZodString>>;
2872
2873
  }, z.core.$strict>;
2873
2874
  readonly Endpoint: z.ZodObject<{
2874
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
2875
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
2875
2876
  id: z.ZodString;
2876
2877
  status: z.ZodEnum<{
2877
2878
  current: "current";
@@ -2948,7 +2949,7 @@ export declare const RECORD_SCHEMAS: {
2948
2949
  }>>;
2949
2950
  }, z.core.$strict>;
2950
2951
  readonly Interface: z.ZodObject<{
2951
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
2952
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
2952
2953
  id: z.ZodString;
2953
2954
  status: z.ZodEnum<{
2954
2955
  current: "current";
@@ -3044,7 +3045,7 @@ export declare const RECORD_SCHEMAS: {
3044
3045
  }, z.core.$strict>>>;
3045
3046
  }, z.core.$strict>;
3046
3047
  readonly GatewayRoute: z.ZodObject<{
3047
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3048
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
3048
3049
  id: z.ZodString;
3049
3050
  status: z.ZodEnum<{
3050
3051
  current: "current";
@@ -3101,7 +3102,7 @@ export declare const RECORD_SCHEMAS: {
3101
3102
  specPath: z.ZodOptional<z.ZodString>;
3102
3103
  }, z.core.$strict>;
3103
3104
  readonly Schema: z.ZodObject<{
3104
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3105
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
3105
3106
  id: z.ZodString;
3106
3107
  status: z.ZodEnum<{
3107
3108
  current: "current";
@@ -3153,6 +3154,7 @@ export declare const RECORD_SCHEMAS: {
3153
3154
  openapi: "openapi";
3154
3155
  "json-schema": "json-schema";
3155
3156
  avro: "avro";
3157
+ protobuf: "protobuf";
3156
3158
  xsd: "xsd";
3157
3159
  }>;
3158
3160
  ref: z.ZodString;
@@ -3165,7 +3167,7 @@ export declare const RECORD_SCHEMAS: {
3165
3167
  }, z.core.$strict>>>;
3166
3168
  }, z.core.$strict>;
3167
3169
  readonly FieldMapping: z.ZodObject<{
3168
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3170
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
3169
3171
  id: z.ZodString;
3170
3172
  status: z.ZodEnum<{
3171
3173
  current: "current";
@@ -3218,7 +3220,7 @@ export declare const RECORD_SCHEMAS: {
3218
3220
  transform: z.ZodOptional<z.ZodString>;
3219
3221
  }, z.core.$strict>;
3220
3222
  readonly DataStore: z.ZodObject<{
3221
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3223
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
3222
3224
  id: z.ZodString;
3223
3225
  status: z.ZodEnum<{
3224
3226
  current: "current";
@@ -3270,7 +3272,7 @@ export declare const RECORD_SCHEMAS: {
3270
3272
  entitiesHeld: z.ZodDefault<z.ZodArray<z.ZodString>>;
3271
3273
  }, z.core.$strict>;
3272
3274
  readonly Table: z.ZodObject<{
3273
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3275
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
3274
3276
  id: z.ZodString;
3275
3277
  status: z.ZodEnum<{
3276
3278
  current: "current";
@@ -3331,7 +3333,7 @@ export declare const RECORD_SCHEMAS: {
3331
3333
  retention: z.ZodOptional<z.ZodString>;
3332
3334
  }, z.core.$strict>;
3333
3335
  readonly Column: z.ZodObject<{
3334
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3336
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
3335
3337
  id: z.ZodString;
3336
3338
  status: z.ZodEnum<{
3337
3339
  current: "current";
@@ -3421,7 +3423,7 @@ export declare const RECORD_SCHEMAS: {
3421
3423
  glossaryTerm: z.ZodOptional<z.ZodString>;
3422
3424
  }, z.core.$strict>;
3423
3425
  readonly IndexConstraint: z.ZodObject<{
3424
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3426
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
3425
3427
  id: z.ZodString;
3426
3428
  status: z.ZodEnum<{
3427
3429
  current: "current";
@@ -3482,7 +3484,7 @@ export declare const RECORD_SCHEMAS: {
3482
3484
  }, z.core.$strict>>;
3483
3485
  }, z.core.$strict>;
3484
3486
  readonly Migration: z.ZodObject<{
3485
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3487
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
3486
3488
  id: z.ZodString;
3487
3489
  status: z.ZodEnum<{
3488
3490
  current: "current";
@@ -3543,7 +3545,7 @@ export declare const RECORD_SCHEMAS: {
3543
3545
  reversible: z.ZodOptional<z.ZodBoolean>;
3544
3546
  }, z.core.$strict>;
3545
3547
  readonly Deployment: z.ZodObject<{
3546
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3548
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
3547
3549
  id: z.ZodString;
3548
3550
  status: z.ZodEnum<{
3549
3551
  current: "current";
@@ -3611,7 +3613,7 @@ export declare const RECORD_SCHEMAS: {
3611
3613
  }, z.core.$strict>>>;
3612
3614
  }, z.core.$strict>;
3613
3615
  readonly Setting: z.ZodObject<{
3614
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3616
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
3615
3617
  id: z.ZodString;
3616
3618
  status: z.ZodEnum<{
3617
3619
  current: "current";
@@ -3676,7 +3678,7 @@ export declare const RECORD_SCHEMAS: {
3676
3678
  target: z.ZodOptional<z.ZodString>;
3677
3679
  }, z.core.$strict>;
3678
3680
  readonly ObservabilityAsset: z.ZodObject<{
3679
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3681
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
3680
3682
  id: z.ZodString;
3681
3683
  status: z.ZodEnum<{
3682
3684
  current: "current";
@@ -3736,7 +3738,7 @@ export declare const RECORD_SCHEMAS: {
3736
3738
  link: z.ZodOptional<z.ZodString>;
3737
3739
  }, z.core.$strict>;
3738
3740
  readonly AccessGrant: z.ZodObject<{
3739
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3741
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
3740
3742
  id: z.ZodString;
3741
3743
  status: z.ZodEnum<{
3742
3744
  current: "current";
@@ -3795,7 +3797,7 @@ export declare const RECORD_SCHEMAS: {
3795
3797
  env: z.ZodOptional<z.ZodString>;
3796
3798
  }, z.core.$strict>;
3797
3799
  readonly QualityAsset: z.ZodObject<{
3798
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3800
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
3799
3801
  id: z.ZodString;
3800
3802
  status: z.ZodEnum<{
3801
3803
  current: "current";
@@ -3854,7 +3856,7 @@ export declare const RECORD_SCHEMAS: {
3854
3856
  details: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3855
3857
  }, z.core.$strict>;
3856
3858
  readonly Obligation: z.ZodObject<{
3857
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3859
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
3858
3860
  id: z.ZodString;
3859
3861
  status: z.ZodEnum<{
3860
3862
  current: "current";
@@ -3915,7 +3917,7 @@ export declare const RECORD_SCHEMAS: {
3915
3917
  assertedBy: z.ZodString;
3916
3918
  }, z.core.$strict>;
3917
3919
  readonly GlossaryTerm: z.ZodObject<{
3918
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3920
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
3919
3921
  id: z.ZodString;
3920
3922
  status: z.ZodEnum<{
3921
3923
  current: "current";
@@ -3968,7 +3970,7 @@ export declare const RECORD_SCHEMAS: {
3968
3970
  owner: z.ZodOptional<z.ZodString>;
3969
3971
  }, z.core.$strict>;
3970
3972
  readonly Pattern: z.ZodObject<{
3971
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3973
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
3972
3974
  id: z.ZodString;
3973
3975
  status: z.ZodEnum<{
3974
3976
  current: "current";
@@ -4068,7 +4070,7 @@ export declare const RECORD_SCHEMAS: {
4068
4070
  }>;
4069
4071
  }, z.core.$strict>;
4070
4072
  readonly Decision: z.ZodObject<{
4071
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
4073
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
4072
4074
  id: z.ZodString;
4073
4075
  status: z.ZodEnum<{
4074
4076
  current: "current";
@@ -4161,7 +4163,7 @@ export declare const RECORD_SCHEMAS: {
4161
4163
  dates: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodISODate>>;
4162
4164
  }, z.core.$strict>;
4163
4165
  readonly SourceDocument: z.ZodObject<{
4164
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
4166
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
4165
4167
  id: z.ZodString;
4166
4168
  status: z.ZodEnum<{
4167
4169
  current: "current";
@@ -4218,7 +4220,7 @@ export declare const RECORD_SCHEMAS: {
4218
4220
  recordsProduced: z.ZodDefault<z.ZodArray<z.ZodString>>;
4219
4221
  }, z.core.$strict>;
4220
4222
  readonly Party: z.ZodObject<{
4221
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
4223
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
4222
4224
  id: z.ZodString;
4223
4225
  status: z.ZodEnum<{
4224
4226
  current: "current";
@@ -4302,7 +4304,7 @@ export declare const RECORD_SCHEMAS: {
4302
4304
  }, z.core.$strict>>>;
4303
4305
  }, z.core.$strict>;
4304
4306
  readonly Initiative: z.ZodObject<{
4305
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
4307
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
4306
4308
  id: z.ZodString;
4307
4309
  status: z.ZodEnum<{
4308
4310
  current: "current";
@@ -4365,7 +4367,7 @@ export declare const RECORD_SCHEMAS: {
4365
4367
  adoEpic: z.ZodOptional<z.ZodString>;
4366
4368
  }, z.core.$strict>;
4367
4369
  readonly Commitment: z.ZodObject<{
4368
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
4370
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
4369
4371
  id: z.ZodString;
4370
4372
  status: z.ZodEnum<{
4371
4373
  current: "current";
@@ -4426,7 +4428,7 @@ export declare const RECORD_SCHEMAS: {
4426
4428
  }>;
4427
4429
  }, z.core.$strict>;
4428
4430
  readonly OwnerQuestion: z.ZodObject<{
4429
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
4431
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
4430
4432
  id: z.ZodString;
4431
4433
  status: z.ZodEnum<{
4432
4434
  current: "current";
@@ -4490,7 +4492,7 @@ export declare const RECORD_SCHEMAS: {
4490
4492
  answer: z.ZodOptional<z.ZodString>;
4491
4493
  }, z.core.$strict>;
4492
4494
  readonly ProcessDefinition: z.ZodObject<{
4493
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
4495
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
4494
4496
  id: z.ZodString;
4495
4497
  status: z.ZodEnum<{
4496
4498
  current: "current";
@@ -4573,7 +4575,7 @@ export declare const RECORD_SCHEMAS: {
4573
4575
  }, z.core.$strict>>>;
4574
4576
  }, z.core.$strict>;
4575
4577
  readonly ProcessArtifact: z.ZodObject<{
4576
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
4578
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
4577
4579
  id: z.ZodString;
4578
4580
  status: z.ZodEnum<{
4579
4581
  current: "current";
@@ -4630,7 +4632,7 @@ export declare const RECORD_SCHEMAS: {
4630
4632
  linkedRecords: z.ZodDefault<z.ZodArray<z.ZodString>>;
4631
4633
  }, z.core.$strict>;
4632
4634
  readonly Product: z.ZodObject<{
4633
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
4635
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
4634
4636
  id: z.ZodString;
4635
4637
  status: z.ZodEnum<{
4636
4638
  current: "current";
@@ -4711,7 +4713,7 @@ export declare const RECORD_SCHEMAS: {
4711
4713
  }, z.core.$strict>>>;
4712
4714
  }, z.core.$strict>;
4713
4715
  readonly Capability: z.ZodObject<{
4714
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
4716
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
4715
4717
  id: z.ZodString;
4716
4718
  status: z.ZodEnum<{
4717
4719
  current: "current";
@@ -5029,7 +5031,7 @@ export declare const RECORD_SCHEMAS: {
5029
5031
  template: z.ZodString;
5030
5032
  }, z.core.$strict>;
5031
5033
  readonly Unresolved: z.ZodObject<{
5032
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
5034
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
5033
5035
  id: z.ZodString;
5034
5036
  status: z.ZodEnum<{
5035
5037
  current: "current";
@@ -5082,7 +5084,7 @@ export declare const RECORD_SCHEMAS: {
5082
5084
  }, z.core.$strict>;
5083
5085
  readonly CuratedDecision: z.ZodObject<{
5084
5086
  kind: z.ZodLiteral<"CuratedDecision">;
5085
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
5087
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
5086
5088
  id: z.ZodString;
5087
5089
  status: z.ZodEnum<{
5088
5090
  current: "current";
@@ -1148,8 +1148,15 @@ export declare const DeclaredCall: z.ZodObject<{
1148
1148
  route: z.ZodOptional<z.ZodString>;
1149
1149
  }, z.core.$strict>;
1150
1150
  export type DeclaredCall = z.infer<typeof DeclaredCall>;
1151
+ /**
1152
+ * profile.yaml's version. 2 (ADR 0162 amendment, review item 15) adds a system's `topics`. A
1153
+ * version-1 profile reads as it is and stays valid, so `atticus upgrade` moves nothing; a profile
1154
+ * that names topics is at 2 (`migrateProfileText`, the number only), as `addProfileSystem` writes
1155
+ * it when an answer puts a topic there.
1156
+ */
1157
+ export declare const PROFILE_SCHEMA_VERSION: 2;
1151
1158
  export declare const Profile: z.ZodObject<{
1152
- schemaVersion: z.ZodLiteral<1>;
1159
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1153
1160
  platform: z.ZodString;
1154
1161
  name: z.ZodString;
1155
1162
  systems: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1162,6 +1169,7 @@ export declare const Profile: z.ZodObject<{
1162
1169
  }>;
1163
1170
  owner: z.ZodOptional<z.ZodString>;
1164
1171
  aliases: z.ZodDefault<z.ZodArray<z.ZodString>>;
1172
+ topics: z.ZodOptional<z.ZodArray<z.ZodString>>;
1165
1173
  tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
1166
1174
  calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
1167
1175
  as: z.ZodOptional<z.ZodEnum<{
@@ -16,7 +16,13 @@ import { z } from "zod";
16
16
  * answer covers (a host pattern or a path prefix, Q2), and `proposal`, the assistant's proposal a
17
17
  * person accepted as their answer (Q5). Version-1 and version-2 files read as before.
18
18
  */
19
- export declare const QUESTION_SCHEMA_VERSION: 3;
19
+ /**
20
+ * Version 4 (ADR 0162) adds `reopened`: a targets answer the code later disagreed with (the repo
21
+ * it named was read, and no route of it serves the call), so the question is open again, with
22
+ * why and the answer it had. Optional; version-1 to version-3 files read as before and come back
23
+ * as version 4 in memory.
24
+ */
25
+ export declare const QUESTION_SCHEMA_VERSION: 4;
20
26
  /** A question's id: q- and 12 hex characters of the fingerprint of what it asks about. */
21
27
  export declare const QuestionId: z.ZodString;
22
28
  /** Where the question comes from in the repo: path:line. */
@@ -89,7 +95,7 @@ export declare const QuestionAnswer: z.ZodObject<{
89
95
  }, z.core.$strict>;
90
96
  export type QuestionAnswer = z.infer<typeof QuestionAnswer>;
91
97
  export declare const Question: z.ZodObject<{
92
- schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
98
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
93
99
  id: z.ZodString;
94
100
  askedBy: z.ZodObject<{
95
101
  step: z.ZodString;
@@ -155,6 +161,35 @@ export declare const Question: z.ZodObject<{
155
161
  why: z.ZodString;
156
162
  replacedBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
157
163
  }, z.core.$strict>>;
164
+ reopened: z.ZodOptional<z.ZodObject<{
165
+ at: z.ZodISODateTime;
166
+ why: z.ZodString;
167
+ answer: z.ZodObject<{
168
+ option: z.ZodOptional<z.ZodNumber>;
169
+ text: z.ZodOptional<z.ZodString>;
170
+ by: z.ZodString;
171
+ at: z.ZodISODateTime;
172
+ scope: z.ZodObject<{
173
+ level: z.ZodEnum<{
174
+ repo: "repo";
175
+ "repo-type": "repo-type";
176
+ }>;
177
+ id: z.ZodString;
178
+ }, z.core.$strict>;
179
+ skill: z.ZodOptional<z.ZodString>;
180
+ match: z.ZodOptional<z.ZodString>;
181
+ proposal: z.ZodOptional<z.ZodObject<{
182
+ by: z.ZodString;
183
+ at: z.ZodISODateTime;
184
+ cites: z.ZodArray<z.ZodObject<{
185
+ repo: z.ZodOptional<z.ZodString>;
186
+ file: z.ZodString;
187
+ line: z.ZodNumber;
188
+ quote: z.ZodString;
189
+ }, z.core.$strict>>;
190
+ }, z.core.$strict>>;
191
+ }, z.core.$strict>;
192
+ }, z.core.$strict>>;
158
193
  related: z.ZodOptional<z.ZodArray<z.ZodObject<{
159
194
  id: z.ZodString;
160
195
  verdict: z.ZodEnum<{