@maycombhq/sdk 0.0.0-stage → 2.0.0-beta.2

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 (75) hide show
  1. package/LICENSE +177 -0
  2. package/npm/cache.d.ts +47 -0
  3. package/npm/core/api.d.ts +6098 -0
  4. package/npm/core/assistant-actor.d.ts +15 -0
  5. package/npm/core/branches.d.ts +21 -0
  6. package/npm/core/cancel.d.ts +9 -0
  7. package/npm/core/catalog.d.ts +4733 -0
  8. package/npm/core/change-types-migrate.d.ts +10 -0
  9. package/npm/core/cite.d.ts +54 -0
  10. package/npm/core/curated.d.ts +37 -0
  11. package/npm/core/facts-callers.d.ts +150 -0
  12. package/npm/core/facts-carry.d.ts +36 -0
  13. package/npm/core/facts-join-prototype.d.ts +177 -0
  14. package/npm/core/facts-join-vendor.d.ts +92 -0
  15. package/npm/core/facts-join.d.ts +256 -0
  16. package/npm/core/facts.d.ts +94 -0
  17. package/npm/core/fs.d.ts +47 -0
  18. package/npm/core/gates-migrate.d.ts +10 -0
  19. package/npm/core/host-questions.d.ts +24 -0
  20. package/npm/core/identity.d.ts +17 -0
  21. package/npm/core/index.d.ts +62 -0
  22. package/npm/core/json-schema.d.ts +20 -0
  23. package/npm/core/judgments.d.ts +63 -0
  24. package/npm/core/light.d.ts +8 -0
  25. package/npm/core/log.d.ts +49 -0
  26. package/npm/core/manifest-edit.d.ts +48 -0
  27. package/npm/core/merge.d.ts +78 -0
  28. package/npm/core/metarepo.d.ts +83 -0
  29. package/npm/core/migrate.d.ts +31 -0
  30. package/npm/core/migration-files.d.ts +13 -0
  31. package/npm/core/orgpack-defaults.d.ts +194 -0
  32. package/npm/core/orgpack-load.d.ts +86 -0
  33. package/npm/core/questions.d.ts +267 -0
  34. package/npm/core/record-cache.d.ts +52 -0
  35. package/npm/core/refs.d.ts +9 -0
  36. package/npm/core/repo-description.d.ts +44 -0
  37. package/npm/core/runtime-migrate.d.ts +11 -0
  38. package/npm/core/schema/ai.d.ts +397 -0
  39. package/npm/core/schema/change.d.ts +244 -0
  40. package/npm/core/schema/common.d.ts +135 -0
  41. package/npm/core/schema/dialect.d.ts +801 -0
  42. package/npm/core/schema/executors.d.ts +396 -0
  43. package/npm/core/schema/fact-corrections.d.ts +55 -0
  44. package/npm/core/schema/facts.d.ts +1476 -0
  45. package/npm/core/schema/frameworks.d.ts +371 -0
  46. package/npm/core/schema/judgment.d.ts +77 -0
  47. package/npm/core/schema/kinds.d.ts +5166 -0
  48. package/npm/core/schema/layout.d.ts +25 -0
  49. package/npm/core/schema/orgpack.d.ts +1167 -0
  50. package/npm/core/schema/plugin.d.ts +73 -0
  51. package/npm/core/schema/question.d.ts +152 -0
  52. package/npm/core/schema/repo-type.d.ts +109 -0
  53. package/npm/core/schema/review.d.ts +558 -0
  54. package/npm/core/schema/scan-settings.d.ts +34 -0
  55. package/npm/core/schema/scan-verify.d.ts +535 -0
  56. package/npm/core/schema/spec.d.ts +269 -0
  57. package/npm/core/schema/version.d.ts +9 -0
  58. package/npm/core/schema/workspace.d.ts +312 -0
  59. package/npm/core/serialize.d.ts +17 -0
  60. package/npm/core/sources-migrate.d.ts +15 -0
  61. package/npm/core/specs.d.ts +66 -0
  62. package/npm/core/tar-read.d.ts +13 -0
  63. package/npm/core/template.d.ts +101 -0
  64. package/npm/core/words.d.ts +13 -0
  65. package/npm/core/zip-read.d.ts +37 -0
  66. package/npm/core/zip.d.ts +13 -0
  67. package/npm/fs-repo.d.ts +34 -0
  68. package/npm/index.d.ts +6 -0
  69. package/npm/index.js +8892 -0
  70. package/npm/parse-cache.d.ts +97 -0
  71. package/npm/plugin.d.ts +89 -0
  72. package/npm/runner.d.ts +72 -0
  73. package/npm/sandbox.d.ts +80 -0
  74. package/package.json +28 -3
  75. package/README.md +0 -3
@@ -0,0 +1,371 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * Contract C6: a framework model, `org-pack/frameworks/<name>.yaml` (ADR 0054). What a house
4
+ * framework (a starter, a platform library) means, in terms the built-in extractors already
5
+ * read: its annotations as the built-in ones they stand for, its wrapper clients as HTTP calls,
6
+ * its service ids and constants as values. Written by a person or learned (from source, JARs,
7
+ * dependencies, documents); scans only read it.
8
+ */
9
+ export declare const FRAMEWORK_SCHEMA_VERSION: 1;
10
+ /** Where an entry was learned. code and bytecode can make verified facts; the others inferred ones. */
11
+ export declare const FrameworkSource: z.ZodObject<{
12
+ kind: z.ZodEnum<{
13
+ code: "code";
14
+ document: "document";
15
+ person: "person";
16
+ bytecode: "bytecode";
17
+ }>;
18
+ ref: z.ZodOptional<z.ZodString>;
19
+ }, z.core.$strict>;
20
+ export type FrameworkSource = z.infer<typeof FrameworkSource>;
21
+ export declare const FrameworkAnnotation: z.ZodObject<{
22
+ name: z.ZodString;
23
+ means: z.ZodArray<z.ZodString>;
24
+ attributes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
25
+ fixed: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
26
+ source: z.ZodObject<{
27
+ kind: z.ZodEnum<{
28
+ code: "code";
29
+ document: "document";
30
+ person: "person";
31
+ bytecode: "bytecode";
32
+ }>;
33
+ ref: z.ZodOptional<z.ZodString>;
34
+ }, z.core.$strict>;
35
+ }, z.core.$strict>;
36
+ export declare const FrameworkClient: z.ZodObject<{
37
+ type: z.ZodString;
38
+ method: z.ZodString;
39
+ httpMethod: z.ZodUnion<readonly [z.ZodObject<{
40
+ arg: z.ZodNumber;
41
+ }, z.core.$strict>, z.ZodObject<{
42
+ value: z.ZodString;
43
+ }, z.core.$strict>]>;
44
+ service: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
45
+ arg: z.ZodNumber;
46
+ }, z.core.$strict>, z.ZodObject<{
47
+ value: z.ZodString;
48
+ }, z.core.$strict>]>>;
49
+ path: z.ZodUnion<readonly [z.ZodObject<{
50
+ arg: z.ZodNumber;
51
+ }, z.core.$strict>, z.ZodObject<{
52
+ value: z.ZodString;
53
+ }, z.core.$strict>]>;
54
+ source: z.ZodObject<{
55
+ kind: z.ZodEnum<{
56
+ code: "code";
57
+ document: "document";
58
+ person: "person";
59
+ bytecode: "bytecode";
60
+ }>;
61
+ ref: z.ZodOptional<z.ZodString>;
62
+ }, z.core.$strict>;
63
+ }, z.core.$strict>;
64
+ /** Languages the house-framework extractor reads (js covers JavaScript and TypeScript). */
65
+ export declare const FrameworkLanguage: z.ZodEnum<{
66
+ python: "python";
67
+ go: "go";
68
+ js: "js";
69
+ csharp: "csharp";
70
+ }>;
71
+ /** A call that reaches another system (ADR 0055). */
72
+ export declare const FrameworkCall: z.ZodObject<{
73
+ kind: z.ZodDefault<z.ZodEnum<{
74
+ "http-call": "http-call";
75
+ "event-publish": "event-publish";
76
+ "event-subscribe": "event-subscribe";
77
+ "mq-publish": "mq-publish";
78
+ "mq-subscribe": "mq-subscribe";
79
+ }>>;
80
+ httpMethod: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
81
+ arg: z.ZodNumber;
82
+ key: z.ZodOptional<z.ZodString>;
83
+ }, z.core.$strict>, z.ZodObject<{
84
+ value: z.ZodString;
85
+ }, z.core.$strict>]>>;
86
+ service: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
87
+ arg: z.ZodNumber;
88
+ key: z.ZodOptional<z.ZodString>;
89
+ }, z.core.$strict>, z.ZodObject<{
90
+ value: z.ZodString;
91
+ }, z.core.$strict>]>>;
92
+ path: z.ZodUnion<readonly [z.ZodObject<{
93
+ arg: z.ZodNumber;
94
+ key: z.ZodOptional<z.ZodString>;
95
+ }, z.core.$strict>, z.ZodObject<{
96
+ value: z.ZodString;
97
+ }, z.core.$strict>]>;
98
+ function: z.ZodString;
99
+ receiver: z.ZodOptional<z.ZodString>;
100
+ from: z.ZodOptional<z.ZodString>;
101
+ language: z.ZodOptional<z.ZodEnum<{
102
+ python: "python";
103
+ go: "go";
104
+ js: "js";
105
+ csharp: "csharp";
106
+ }>>;
107
+ source: z.ZodObject<{
108
+ kind: z.ZodEnum<{
109
+ code: "code";
110
+ document: "document";
111
+ person: "person";
112
+ bytecode: "bytecode";
113
+ }>;
114
+ ref: z.ZodOptional<z.ZodString>;
115
+ }, z.core.$strict>;
116
+ }, z.core.$strict>;
117
+ /** A call that registers a route the code serves (ADR 0055). */
118
+ export declare const FrameworkRoute: z.ZodObject<{
119
+ httpMethod: z.ZodUnion<readonly [z.ZodObject<{
120
+ arg: z.ZodNumber;
121
+ key: z.ZodOptional<z.ZodString>;
122
+ }, z.core.$strict>, z.ZodObject<{
123
+ value: z.ZodString;
124
+ }, z.core.$strict>]>;
125
+ path: z.ZodUnion<readonly [z.ZodObject<{
126
+ arg: z.ZodNumber;
127
+ key: z.ZodOptional<z.ZodString>;
128
+ }, z.core.$strict>, z.ZodObject<{
129
+ value: z.ZodString;
130
+ }, z.core.$strict>]>;
131
+ function: z.ZodString;
132
+ receiver: z.ZodOptional<z.ZodString>;
133
+ from: z.ZodOptional<z.ZodString>;
134
+ language: z.ZodOptional<z.ZodEnum<{
135
+ python: "python";
136
+ go: "go";
137
+ js: "js";
138
+ csharp: "csharp";
139
+ }>>;
140
+ source: z.ZodObject<{
141
+ kind: z.ZodEnum<{
142
+ code: "code";
143
+ document: "document";
144
+ person: "person";
145
+ bytecode: "bytecode";
146
+ }>;
147
+ ref: z.ZodOptional<z.ZodString>;
148
+ }, z.core.$strict>;
149
+ }, z.core.$strict>;
150
+ /**
151
+ * What an organisation's pipeline template or shared-library step does (ADR 0062), so the
152
+ * pipelines that use it say so: a Harness templateRef, an Azure template in another repo
153
+ * (deploy.yml@templates), a GitHub reusable workflow or action, a GitLab include (`uses`), or
154
+ * a Jenkins shared-library step (`step`), whose named argument `environmentFrom` names the
155
+ * environment.
156
+ */
157
+ export declare const FrameworkPipeline: z.ZodObject<{
158
+ uses: z.ZodOptional<z.ZodString>;
159
+ step: z.ZodOptional<z.ZodString>;
160
+ environmentFrom: z.ZodOptional<z.ZodString>;
161
+ stages: z.ZodDefault<z.ZodArray<z.ZodString>>;
162
+ environments: z.ZodDefault<z.ZodArray<z.ZodString>>;
163
+ deployTargets: z.ZodDefault<z.ZodArray<z.ZodString>>;
164
+ testSteps: z.ZodDefault<z.ZodArray<z.ZodString>>;
165
+ source: z.ZodObject<{
166
+ kind: z.ZodEnum<{
167
+ code: "code";
168
+ document: "document";
169
+ person: "person";
170
+ bytecode: "bytecode";
171
+ }>;
172
+ ref: z.ZodOptional<z.ZodString>;
173
+ }, z.core.$strict>;
174
+ }, z.core.$strict>;
175
+ export declare const FrameworkValue: z.ZodObject<{
176
+ value: z.ZodString;
177
+ source: z.ZodObject<{
178
+ kind: z.ZodEnum<{
179
+ code: "code";
180
+ document: "document";
181
+ person: "person";
182
+ bytecode: "bytecode";
183
+ }>;
184
+ ref: z.ZodOptional<z.ZodString>;
185
+ }, z.core.$strict>;
186
+ }, z.core.$strict>;
187
+ /**
188
+ * A test a model ships (ADR 0055): sample files and the records reading them must give, one per
189
+ * line: "http-call POST https://x/y", "endpoint GET /x/{id} inferred", "event-publish t". A model
190
+ * with tests loads only when every test passes and every entry is exercised; an assistant's
191
+ * draft always ships them.
192
+ */
193
+ export declare const FrameworkTest: z.ZodObject<{
194
+ name: z.ZodString;
195
+ files: z.ZodRecord<z.ZodString, z.ZodString>;
196
+ expect: z.ZodArray<z.ZodString>;
197
+ }, z.core.$strict>;
198
+ export declare const FrameworkModel: z.ZodObject<{
199
+ schemaVersion: z.ZodLiteral<1>;
200
+ name: z.ZodString;
201
+ packages: z.ZodArray<z.ZodString>;
202
+ artifacts: z.ZodDefault<z.ZodArray<z.ZodString>>;
203
+ annotations: z.ZodDefault<z.ZodArray<z.ZodObject<{
204
+ name: z.ZodString;
205
+ means: z.ZodArray<z.ZodString>;
206
+ attributes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
207
+ fixed: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
208
+ source: z.ZodObject<{
209
+ kind: z.ZodEnum<{
210
+ code: "code";
211
+ document: "document";
212
+ person: "person";
213
+ bytecode: "bytecode";
214
+ }>;
215
+ ref: z.ZodOptional<z.ZodString>;
216
+ }, z.core.$strict>;
217
+ }, z.core.$strict>>>;
218
+ clients: z.ZodDefault<z.ZodArray<z.ZodObject<{
219
+ type: z.ZodString;
220
+ method: z.ZodString;
221
+ httpMethod: z.ZodUnion<readonly [z.ZodObject<{
222
+ arg: z.ZodNumber;
223
+ }, z.core.$strict>, z.ZodObject<{
224
+ value: z.ZodString;
225
+ }, z.core.$strict>]>;
226
+ service: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
227
+ arg: z.ZodNumber;
228
+ }, z.core.$strict>, z.ZodObject<{
229
+ value: z.ZodString;
230
+ }, z.core.$strict>]>>;
231
+ path: z.ZodUnion<readonly [z.ZodObject<{
232
+ arg: z.ZodNumber;
233
+ }, z.core.$strict>, z.ZodObject<{
234
+ value: z.ZodString;
235
+ }, z.core.$strict>]>;
236
+ source: z.ZodObject<{
237
+ kind: z.ZodEnum<{
238
+ code: "code";
239
+ document: "document";
240
+ person: "person";
241
+ bytecode: "bytecode";
242
+ }>;
243
+ ref: z.ZodOptional<z.ZodString>;
244
+ }, z.core.$strict>;
245
+ }, z.core.$strict>>>;
246
+ calls: z.ZodDefault<z.ZodArray<z.ZodObject<{
247
+ kind: z.ZodDefault<z.ZodEnum<{
248
+ "http-call": "http-call";
249
+ "event-publish": "event-publish";
250
+ "event-subscribe": "event-subscribe";
251
+ "mq-publish": "mq-publish";
252
+ "mq-subscribe": "mq-subscribe";
253
+ }>>;
254
+ httpMethod: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
255
+ arg: z.ZodNumber;
256
+ key: z.ZodOptional<z.ZodString>;
257
+ }, z.core.$strict>, z.ZodObject<{
258
+ value: z.ZodString;
259
+ }, z.core.$strict>]>>;
260
+ service: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
261
+ arg: z.ZodNumber;
262
+ key: z.ZodOptional<z.ZodString>;
263
+ }, z.core.$strict>, z.ZodObject<{
264
+ value: z.ZodString;
265
+ }, z.core.$strict>]>>;
266
+ path: z.ZodUnion<readonly [z.ZodObject<{
267
+ arg: z.ZodNumber;
268
+ key: z.ZodOptional<z.ZodString>;
269
+ }, z.core.$strict>, z.ZodObject<{
270
+ value: z.ZodString;
271
+ }, z.core.$strict>]>;
272
+ function: z.ZodString;
273
+ receiver: z.ZodOptional<z.ZodString>;
274
+ from: z.ZodOptional<z.ZodString>;
275
+ language: z.ZodOptional<z.ZodEnum<{
276
+ python: "python";
277
+ go: "go";
278
+ js: "js";
279
+ csharp: "csharp";
280
+ }>>;
281
+ source: z.ZodObject<{
282
+ kind: z.ZodEnum<{
283
+ code: "code";
284
+ document: "document";
285
+ person: "person";
286
+ bytecode: "bytecode";
287
+ }>;
288
+ ref: z.ZodOptional<z.ZodString>;
289
+ }, z.core.$strict>;
290
+ }, z.core.$strict>>>;
291
+ routes: z.ZodDefault<z.ZodArray<z.ZodObject<{
292
+ httpMethod: z.ZodUnion<readonly [z.ZodObject<{
293
+ arg: z.ZodNumber;
294
+ key: z.ZodOptional<z.ZodString>;
295
+ }, z.core.$strict>, z.ZodObject<{
296
+ value: z.ZodString;
297
+ }, z.core.$strict>]>;
298
+ path: z.ZodUnion<readonly [z.ZodObject<{
299
+ arg: z.ZodNumber;
300
+ key: z.ZodOptional<z.ZodString>;
301
+ }, z.core.$strict>, z.ZodObject<{
302
+ value: z.ZodString;
303
+ }, z.core.$strict>]>;
304
+ function: z.ZodString;
305
+ receiver: z.ZodOptional<z.ZodString>;
306
+ from: z.ZodOptional<z.ZodString>;
307
+ language: z.ZodOptional<z.ZodEnum<{
308
+ python: "python";
309
+ go: "go";
310
+ js: "js";
311
+ csharp: "csharp";
312
+ }>>;
313
+ source: z.ZodObject<{
314
+ kind: z.ZodEnum<{
315
+ code: "code";
316
+ document: "document";
317
+ person: "person";
318
+ bytecode: "bytecode";
319
+ }>;
320
+ ref: z.ZodOptional<z.ZodString>;
321
+ }, z.core.$strict>;
322
+ }, z.core.$strict>>>;
323
+ services: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
324
+ value: z.ZodString;
325
+ source: z.ZodObject<{
326
+ kind: z.ZodEnum<{
327
+ code: "code";
328
+ document: "document";
329
+ person: "person";
330
+ bytecode: "bytecode";
331
+ }>;
332
+ ref: z.ZodOptional<z.ZodString>;
333
+ }, z.core.$strict>;
334
+ }, z.core.$strict>>>;
335
+ constants: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
336
+ value: z.ZodString;
337
+ source: z.ZodObject<{
338
+ kind: z.ZodEnum<{
339
+ code: "code";
340
+ document: "document";
341
+ person: "person";
342
+ bytecode: "bytecode";
343
+ }>;
344
+ ref: z.ZodOptional<z.ZodString>;
345
+ }, z.core.$strict>;
346
+ }, z.core.$strict>>>;
347
+ pipeline: z.ZodDefault<z.ZodArray<z.ZodObject<{
348
+ uses: z.ZodOptional<z.ZodString>;
349
+ step: z.ZodOptional<z.ZodString>;
350
+ environmentFrom: z.ZodOptional<z.ZodString>;
351
+ stages: z.ZodDefault<z.ZodArray<z.ZodString>>;
352
+ environments: z.ZodDefault<z.ZodArray<z.ZodString>>;
353
+ deployTargets: z.ZodDefault<z.ZodArray<z.ZodString>>;
354
+ testSteps: z.ZodDefault<z.ZodArray<z.ZodString>>;
355
+ source: z.ZodObject<{
356
+ kind: z.ZodEnum<{
357
+ code: "code";
358
+ document: "document";
359
+ person: "person";
360
+ bytecode: "bytecode";
361
+ }>;
362
+ ref: z.ZodOptional<z.ZodString>;
363
+ }, z.core.$strict>;
364
+ }, z.core.$strict>>>;
365
+ tests: z.ZodDefault<z.ZodArray<z.ZodObject<{
366
+ name: z.ZodString;
367
+ files: z.ZodRecord<z.ZodString, z.ZodString>;
368
+ expect: z.ZodArray<z.ZodString>;
369
+ }, z.core.$strict>>>;
370
+ }, z.core.$strict>;
371
+ export type FrameworkModel = z.infer<typeof FrameworkModel>;
@@ -0,0 +1,77 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * A judgment (ADR 0117, C5): a closed question about meaning that a model answered (or a
4
+ * person, or a check), kept as judgments/<kind>/<key>.yaml in the metarepo. The key is a hash
5
+ * of exactly what was judged, so the same inputs read the stored verdict instead of asking the
6
+ * model again, and a changed input asks again for its own judgment only. Committed for review
7
+ * as questions/ is; a person can override a verdict, and the override is kept beside what it
8
+ * replaced.
9
+ */
10
+ export declare const JUDGMENT_SCHEMA_VERSION: 1;
11
+ /** The kind of judgment, e.g. same-question, covers-field, states-value, applies. */
12
+ export declare const JudgmentKind: z.ZodString;
13
+ /** The hash of the inputs: 24 hex characters. */
14
+ export declare const JudgmentKey: z.ZodString;
15
+ /** Words a verdict rests on, checked word for word against the input it names. */
16
+ export declare const JudgmentQuote: z.ZodObject<{
17
+ of: z.ZodString;
18
+ text: z.ZodString;
19
+ }, z.core.$strict>;
20
+ export type JudgmentQuote = z.infer<typeof JudgmentQuote>;
21
+ /** Who settled it: a deterministic check, a model run, or a person. */
22
+ export declare const JudgmentConfirmer: z.ZodDiscriminatedUnion<[z.ZodObject<{
23
+ by: z.ZodLiteral<"check">;
24
+ rule: z.ZodString;
25
+ }, z.core.$strict>, z.ZodObject<{
26
+ by: z.ZodLiteral<"ai">;
27
+ run: z.ZodString;
28
+ model: z.ZodOptional<z.ZodString>;
29
+ }, z.core.$strict>, z.ZodObject<{
30
+ by: z.ZodLiteral<"person">;
31
+ name: z.ZodString;
32
+ }, z.core.$strict>], "by">;
33
+ export type JudgmentConfirmer = z.infer<typeof JudgmentConfirmer>;
34
+ /** A verdict: one word of the kind's closed set, or the candidate ids chosen. */
35
+ export declare const JudgmentVerdict: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
36
+ export type JudgmentVerdict = z.infer<typeof JudgmentVerdict>;
37
+ export declare const Judgment: z.ZodObject<{
38
+ schemaVersion: z.ZodLiteral<1>;
39
+ kind: z.ZodString;
40
+ key: z.ZodString;
41
+ verdict: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
42
+ value: z.ZodOptional<z.ZodUnknown>;
43
+ quotes: z.ZodDefault<z.ZodArray<z.ZodObject<{
44
+ of: z.ZodString;
45
+ text: z.ZodString;
46
+ }, z.core.$strict>>>;
47
+ why: z.ZodOptional<z.ZodString>;
48
+ inputs: z.ZodRecord<z.ZodString, z.ZodUnknown>;
49
+ confirmedBy: z.ZodDiscriminatedUnion<[z.ZodObject<{
50
+ by: z.ZodLiteral<"check">;
51
+ rule: z.ZodString;
52
+ }, z.core.$strict>, z.ZodObject<{
53
+ by: z.ZodLiteral<"ai">;
54
+ run: z.ZodString;
55
+ model: z.ZodOptional<z.ZodString>;
56
+ }, z.core.$strict>, z.ZodObject<{
57
+ by: z.ZodLiteral<"person">;
58
+ name: z.ZodString;
59
+ }, z.core.$strict>], "by">;
60
+ overrides: z.ZodOptional<z.ZodObject<{
61
+ verdict: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
62
+ value: z.ZodOptional<z.ZodUnknown>;
63
+ confirmedBy: z.ZodDiscriminatedUnion<[z.ZodObject<{
64
+ by: z.ZodLiteral<"check">;
65
+ rule: z.ZodString;
66
+ }, z.core.$strict>, z.ZodObject<{
67
+ by: z.ZodLiteral<"ai">;
68
+ run: z.ZodString;
69
+ model: z.ZodOptional<z.ZodString>;
70
+ }, z.core.$strict>, z.ZodObject<{
71
+ by: z.ZodLiteral<"person">;
72
+ name: z.ZodString;
73
+ }, z.core.$strict>], "by">;
74
+ }, z.core.$strict>>;
75
+ at: z.ZodISODateTime;
76
+ }, z.core.$strict>;
77
+ export type Judgment = z.infer<typeof Judgment>;