iterate-kernel 0.1.9 → 0.1.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.
Files changed (59) hide show
  1. package/dist/canonical-json.d.ts +45 -0
  2. package/dist/canonical-json.d.ts.map +1 -1
  3. package/dist/canonical-json.js +99 -7
  4. package/dist/canonical-json.js.map +1 -1
  5. package/dist/convergence.d.ts +36 -44
  6. package/dist/convergence.d.ts.map +1 -1
  7. package/dist/decision-log-entry.d.ts +45 -28
  8. package/dist/decision-log-entry.d.ts.map +1 -1
  9. package/dist/decision-log-entry.js +71 -1
  10. package/dist/decision-log-entry.js.map +1 -1
  11. package/dist/decision-log-transcribe.d.ts.map +1 -1
  12. package/dist/decision-log-transcribe.js +59 -4
  13. package/dist/decision-log-transcribe.js.map +1 -1
  14. package/dist/decision-log.d.ts +13 -30
  15. package/dist/decision-log.d.ts.map +1 -1
  16. package/dist/decision-log.js +29 -5
  17. package/dist/decision-log.js.map +1 -1
  18. package/dist/dimension-context.d.ts +39 -223
  19. package/dist/dimension-context.d.ts.map +1 -1
  20. package/dist/dimension-context.js +37 -5
  21. package/dist/dimension-context.js.map +1 -1
  22. package/dist/errors.d.ts +1 -1
  23. package/dist/errors.d.ts.map +1 -1
  24. package/dist/errors.js +11 -1
  25. package/dist/errors.js.map +1 -1
  26. package/dist/evidence-decision.d.ts +1 -35
  27. package/dist/evidence-decision.d.ts.map +1 -1
  28. package/dist/evidence-decision.js +28 -8
  29. package/dist/evidence-decision.js.map +1 -1
  30. package/dist/evidence-pack.d.ts +256 -1595
  31. package/dist/evidence-pack.d.ts.map +1 -1
  32. package/dist/index.d.ts +2 -2
  33. package/dist/index.d.ts.map +1 -1
  34. package/dist/index.js +2 -2
  35. package/dist/index.js.map +1 -1
  36. package/dist/invariant-report.d.ts +53 -189
  37. package/dist/invariant-report.d.ts.map +1 -1
  38. package/dist/invariant-report.js +18 -0
  39. package/dist/invariant-report.js.map +1 -1
  40. package/dist/parse.d.ts.map +1 -1
  41. package/dist/parse.js +12 -2
  42. package/dist/parse.js.map +1 -1
  43. package/dist/provider-registration.d.ts +22 -72
  44. package/dist/provider-registration.d.ts.map +1 -1
  45. package/dist/provider-registration.js +22 -2
  46. package/dist/provider-registration.js.map +1 -1
  47. package/dist/recipe-config.d.ts +21 -32
  48. package/dist/recipe-config.d.ts.map +1 -1
  49. package/dist/run-plan.d.ts +23 -82
  50. package/dist/run-plan.d.ts.map +1 -1
  51. package/fixtures/decision-record-transcription.ok-01.json +41 -1
  52. package/package.json +7 -2
  53. package/schemas/convergence-round-state.schema.json +7 -4
  54. package/schemas/decision-log-entry.schema.json +4 -2
  55. package/schemas/evidence-pack.schema.json +10 -6
  56. package/schemas/invariant-report.schema.json +5 -3
  57. package/schemas/provider-registration.schema.json +1 -1
  58. package/schemas/reverification-request.schema.json +1 -1
  59. package/schemas/run-plan.schema.json +1 -0
@@ -16,7 +16,11 @@ export declare const EVIDENCE_SCHEMA_VERSION: "glasspane.evidence/0.1";
16
16
  * write side may ever stamp it again.
17
17
  */
18
18
  export declare const LEGACY_EVIDENCE_SCHEMA_VERSION: "glasspane.evidence/0.1-draft";
19
- export declare const AttributionLevelSchema: z.ZodEnum<["soft", "strong", "weak"]>;
19
+ export declare const AttributionLevelSchema: z.ZodEnum<{
20
+ soft: "soft";
21
+ strong: "strong";
22
+ weak: "weak";
23
+ }>;
20
24
  export type AttributionLevel = z.infer<typeof AttributionLevelSchema>;
21
25
  export declare const CircuitBreakerLevelSchema: z.ZodNumber;
22
26
  export type CircuitBreakerLevel = z.infer<typeof CircuitBreakerLevelSchema>;
@@ -39,38 +43,34 @@ export declare const SelectorSchema: z.ZodObject<{
39
43
  role: z.ZodString;
40
44
  title: z.ZodOptional<z.ZodString>;
41
45
  identifier: z.ZodOptional<z.ZodString>;
42
- }, "strict", z.ZodTypeAny, {
43
- role: string;
44
- title?: string | undefined;
45
- identifier?: string | undefined;
46
- }, {
47
- role: string;
48
- title?: string | undefined;
49
- identifier?: string | undefined;
50
- }>;
46
+ }, z.core.$strict>;
51
47
  export type Selector = z.infer<typeof SelectorSchema>;
52
- export declare const ActionSchema: z.ZodEnum<["press", "increment", "decrement", "showMenu", "confirm", "cancel", "pick"]>;
48
+ export declare const ActionSchema: z.ZodEnum<{
49
+ press: "press";
50
+ increment: "increment";
51
+ decrement: "decrement";
52
+ showMenu: "showMenu";
53
+ confirm: "confirm";
54
+ cancel: "cancel";
55
+ pick: "pick";
56
+ }>;
53
57
  export type Action = z.infer<typeof ActionSchema>;
54
- export declare const AssertionPropertySchema: z.ZodEnum<["title", "value", "role", "enabled", "focused"]>;
58
+ export declare const AssertionPropertySchema: z.ZodEnum<{
59
+ value: "value";
60
+ role: "role";
61
+ title: "title";
62
+ enabled: "enabled";
63
+ focused: "focused";
64
+ }>;
55
65
  export type AssertionProperty = z.infer<typeof AssertionPropertySchema>;
56
- export declare const StringOrBoolSchema: z.ZodUnion<[z.ZodString, z.ZodBoolean]>;
66
+ export declare const StringOrBoolSchema: z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>;
57
67
  export type StringOrBool = z.infer<typeof StringOrBoolSchema>;
58
68
  export declare const BoundsSchema: z.ZodObject<{
59
69
  x: z.ZodNumber;
60
70
  y: z.ZodNumber;
61
71
  width: z.ZodNumber;
62
72
  height: z.ZodNumber;
63
- }, "strict", z.ZodTypeAny, {
64
- x: number;
65
- y: number;
66
- width: number;
67
- height: number;
68
- }, {
69
- x: number;
70
- y: number;
71
- width: number;
72
- height: number;
73
- }>;
73
+ }, z.core.$strict>;
74
74
  export type Bounds = z.infer<typeof BoundsSchema>;
75
75
  export declare const AxEventSignalSchema: z.ZodObject<{
76
76
  treeDigestBefore: z.ZodString;
@@ -78,127 +78,53 @@ export declare const AxEventSignalSchema: z.ZodObject<{
78
78
  nodeCount: z.ZodNumber;
79
79
  axChanged: z.ZodBoolean;
80
80
  latencyMs: z.ZodNumber;
81
- }, "strict", z.ZodTypeAny, {
82
- treeDigestBefore: string;
83
- treeDigestAfter: string;
84
- nodeCount: number;
85
- axChanged: boolean;
86
- latencyMs: number;
87
- }, {
88
- treeDigestBefore: string;
89
- treeDigestAfter: string;
90
- nodeCount: number;
91
- axChanged: boolean;
92
- latencyMs: number;
93
- }>;
81
+ }, z.core.$strict>;
94
82
  export type AxEventSignal = z.infer<typeof AxEventSignalSchema>;
95
83
  export declare const PixelDiffSignalSchema: z.ZodObject<{
96
84
  changedPixelRatio: z.ZodNumber;
97
- bounds: z.ZodUnion<[z.ZodObject<{
85
+ bounds: z.ZodUnion<readonly [z.ZodObject<{
98
86
  x: z.ZodNumber;
99
87
  y: z.ZodNumber;
100
88
  width: z.ZodNumber;
101
89
  height: z.ZodNumber;
102
- }, "strict", z.ZodTypeAny, {
103
- x: number;
104
- y: number;
105
- width: number;
106
- height: number;
107
- }, {
108
- x: number;
109
- y: number;
110
- width: number;
111
- height: number;
112
- }>, z.ZodNull]>;
90
+ }, z.core.$strict>, z.ZodNull]>;
113
91
  windowId: z.ZodNumber;
114
- }, "strict", z.ZodTypeAny, {
115
- changedPixelRatio: number;
116
- bounds: {
117
- x: number;
118
- y: number;
119
- width: number;
120
- height: number;
121
- } | null;
122
- windowId: number;
123
- }, {
124
- changedPixelRatio: number;
125
- bounds: {
126
- x: number;
127
- y: number;
128
- width: number;
129
- height: number;
130
- } | null;
131
- windowId: number;
132
- }>;
92
+ }, z.core.$strict>;
133
93
  export type PixelDiffSignal = z.infer<typeof PixelDiffSignalSchema>;
134
94
  export declare const ResponsivenessSignalSchema: z.ZodObject<{
135
95
  responsive: z.ZodBoolean;
136
96
  pingMs: z.ZodNumber;
137
- }, "strict", z.ZodTypeAny, {
138
- responsive: boolean;
139
- pingMs: number;
140
- }, {
141
- responsive: boolean;
142
- pingMs: number;
143
- }>;
97
+ }, z.core.$strict>;
144
98
  export type ResponsivenessSignal = z.infer<typeof ResponsivenessSignalSchema>;
145
99
  export declare const CrashSignalSchema: z.ZodObject<{
146
100
  processAliveBefore: z.ZodBoolean;
147
101
  processAliveAfter: z.ZodBoolean;
148
- }, "strict", z.ZodTypeAny, {
149
- processAliveBefore: boolean;
150
- processAliveAfter: boolean;
151
- }, {
152
- processAliveBefore: boolean;
153
- processAliveAfter: boolean;
154
- }>;
102
+ }, z.core.$strict>;
155
103
  export type CrashSignal = z.infer<typeof CrashSignalSchema>;
156
104
  export declare const ActSignalSchema: z.ZodObject<{
157
105
  selector: z.ZodObject<{
158
106
  role: z.ZodString;
159
107
  title: z.ZodOptional<z.ZodString>;
160
108
  identifier: z.ZodOptional<z.ZodString>;
161
- }, "strict", z.ZodTypeAny, {
162
- role: string;
163
- title?: string | undefined;
164
- identifier?: string | undefined;
165
- }, {
166
- role: string;
167
- title?: string | undefined;
168
- identifier?: string | undefined;
109
+ }, z.core.$strict>;
110
+ action: z.ZodEnum<{
111
+ press: "press";
112
+ increment: "increment";
113
+ decrement: "decrement";
114
+ showMenu: "showMenu";
115
+ confirm: "confirm";
116
+ cancel: "cancel";
117
+ pick: "pick";
169
118
  }>;
170
- action: z.ZodEnum<["press", "increment", "decrement", "showMenu", "confirm", "cancel", "pick"]>;
171
119
  actConfirmed: z.ZodBoolean;
172
- }, "strict", z.ZodTypeAny, {
173
- action: "pick" | "press" | "increment" | "decrement" | "showMenu" | "confirm" | "cancel";
174
- selector: {
175
- role: string;
176
- title?: string | undefined;
177
- identifier?: string | undefined;
178
- };
179
- actConfirmed: boolean;
180
- }, {
181
- action: "pick" | "press" | "increment" | "decrement" | "showMenu" | "confirm" | "cancel";
182
- selector: {
183
- role: string;
184
- title?: string | undefined;
185
- identifier?: string | undefined;
186
- };
187
- actConfirmed: boolean;
188
- }>;
120
+ }, z.core.$strict>;
189
121
  export type ActSignal = z.infer<typeof ActSignalSchema>;
190
122
  /** P6 §3.1: Z1 handler probe signal — present iff a probe connection served
191
123
  * the act window; null stays the honest absence marker (Z5-only form). */
192
124
  export declare const HandlerRefSchema: z.ZodObject<{
193
125
  file: z.ZodString;
194
126
  line: z.ZodNumber;
195
- }, "strict", z.ZodTypeAny, {
196
- file: string;
197
- line: number;
198
- }, {
199
- file: string;
200
- line: number;
201
- }>;
127
+ }, z.core.$strict>;
202
128
  export type HandlerRef = z.infer<typeof HandlerRefSchema>;
203
129
  export declare const HandlerProbeSignalSchema: z.ZodObject<{
204
130
  probeVersion: z.ZodString;
@@ -206,79 +132,29 @@ export declare const HandlerProbeSignalSchema: z.ZodObject<{
206
132
  handlers: z.ZodArray<z.ZodObject<{
207
133
  file: z.ZodString;
208
134
  line: z.ZodNumber;
209
- }, "strict", z.ZodTypeAny, {
210
- file: string;
211
- line: number;
212
- }, {
213
- file: string;
214
- line: number;
215
- }>, "many">;
135
+ }, z.core.$strict>>;
216
136
  lateCount: z.ZodNumber;
217
- }, "strict", z.ZodTypeAny, {
218
- probeVersion: string;
219
- hitCount: number;
220
- handlers: {
221
- file: string;
222
- line: number;
223
- }[];
224
- lateCount: number;
225
- }, {
226
- probeVersion: string;
227
- hitCount: number;
228
- handlers: {
229
- file: string;
230
- line: number;
231
- }[];
232
- lateCount: number;
233
- }>;
137
+ }, z.core.$strict>;
234
138
  export type HandlerProbeSignal = z.infer<typeof HandlerProbeSignalSchema>;
235
139
  export declare const StateEntrySchema: z.ZodObject<{
236
140
  key: z.ZodString;
237
141
  before: z.ZodString;
238
142
  after: z.ZodString;
239
- }, "strict", z.ZodTypeAny, {
240
- key: string;
241
- before: string;
242
- after: string;
243
- }, {
244
- key: string;
245
- before: string;
246
- after: string;
247
- }>;
143
+ }, z.core.$strict>;
248
144
  export type StateEntry = z.infer<typeof StateEntrySchema>;
249
145
  export declare const StateDiffSignalSchema: z.ZodObject<{
250
- source: z.ZodEnum<["z1-macro", "z2-mirror", "z3-kvc"]>;
146
+ source: z.ZodEnum<{
147
+ "z1-macro": "z1-macro";
148
+ "z2-mirror": "z2-mirror";
149
+ "z3-kvc": "z3-kvc";
150
+ }>;
251
151
  changed: z.ZodBoolean;
252
152
  entries: z.ZodArray<z.ZodObject<{
253
153
  key: z.ZodString;
254
154
  before: z.ZodString;
255
155
  after: z.ZodString;
256
- }, "strict", z.ZodTypeAny, {
257
- key: string;
258
- before: string;
259
- after: string;
260
- }, {
261
- key: string;
262
- before: string;
263
- after: string;
264
- }>, "many">;
265
- }, "strict", z.ZodTypeAny, {
266
- entries: {
267
- key: string;
268
- before: string;
269
- after: string;
270
- }[];
271
- source: "z1-macro" | "z2-mirror" | "z3-kvc";
272
- changed: boolean;
273
- }, {
274
- entries: {
275
- key: string;
276
- before: string;
277
- after: string;
278
- }[];
279
- source: "z1-macro" | "z2-mirror" | "z3-kvc";
280
- changed: boolean;
281
- }>;
156
+ }, z.core.$strict>>;
157
+ }, z.core.$strict>;
282
158
  export type StateDiffSignal = z.infer<typeof StateDiffSignalSchema>;
283
159
  export declare const SignalsSchema: z.ZodObject<{
284
160
  act: z.ZodObject<{
@@ -286,304 +162,80 @@ export declare const SignalsSchema: z.ZodObject<{
286
162
  role: z.ZodString;
287
163
  title: z.ZodOptional<z.ZodString>;
288
164
  identifier: z.ZodOptional<z.ZodString>;
289
- }, "strict", z.ZodTypeAny, {
290
- role: string;
291
- title?: string | undefined;
292
- identifier?: string | undefined;
293
- }, {
294
- role: string;
295
- title?: string | undefined;
296
- identifier?: string | undefined;
165
+ }, z.core.$strict>;
166
+ action: z.ZodEnum<{
167
+ press: "press";
168
+ increment: "increment";
169
+ decrement: "decrement";
170
+ showMenu: "showMenu";
171
+ confirm: "confirm";
172
+ cancel: "cancel";
173
+ pick: "pick";
297
174
  }>;
298
- action: z.ZodEnum<["press", "increment", "decrement", "showMenu", "confirm", "cancel", "pick"]>;
299
175
  actConfirmed: z.ZodBoolean;
300
- }, "strict", z.ZodTypeAny, {
301
- action: "pick" | "press" | "increment" | "decrement" | "showMenu" | "confirm" | "cancel";
302
- selector: {
303
- role: string;
304
- title?: string | undefined;
305
- identifier?: string | undefined;
306
- };
307
- actConfirmed: boolean;
308
- }, {
309
- action: "pick" | "press" | "increment" | "decrement" | "showMenu" | "confirm" | "cancel";
310
- selector: {
311
- role: string;
312
- title?: string | undefined;
313
- identifier?: string | undefined;
314
- };
315
- actConfirmed: boolean;
316
- }>;
176
+ }, z.core.$strict>;
317
177
  axEvent: z.ZodOptional<z.ZodObject<{
318
178
  treeDigestBefore: z.ZodString;
319
179
  treeDigestAfter: z.ZodString;
320
180
  nodeCount: z.ZodNumber;
321
181
  axChanged: z.ZodBoolean;
322
182
  latencyMs: z.ZodNumber;
323
- }, "strict", z.ZodTypeAny, {
324
- treeDigestBefore: string;
325
- treeDigestAfter: string;
326
- nodeCount: number;
327
- axChanged: boolean;
328
- latencyMs: number;
329
- }, {
330
- treeDigestBefore: string;
331
- treeDigestAfter: string;
332
- nodeCount: number;
333
- axChanged: boolean;
334
- latencyMs: number;
335
- }>>;
336
- handlerProbe: z.ZodUnion<[z.ZodObject<{
183
+ }, z.core.$strict>>;
184
+ handlerProbe: z.ZodUnion<readonly [z.ZodObject<{
337
185
  probeVersion: z.ZodString;
338
186
  hitCount: z.ZodNumber;
339
187
  handlers: z.ZodArray<z.ZodObject<{
340
188
  file: z.ZodString;
341
189
  line: z.ZodNumber;
342
- }, "strict", z.ZodTypeAny, {
343
- file: string;
344
- line: number;
345
- }, {
346
- file: string;
347
- line: number;
348
- }>, "many">;
190
+ }, z.core.$strict>>;
349
191
  lateCount: z.ZodNumber;
350
- }, "strict", z.ZodTypeAny, {
351
- probeVersion: string;
352
- hitCount: number;
353
- handlers: {
354
- file: string;
355
- line: number;
356
- }[];
357
- lateCount: number;
358
- }, {
359
- probeVersion: string;
360
- hitCount: number;
361
- handlers: {
362
- file: string;
363
- line: number;
364
- }[];
365
- lateCount: number;
366
- }>, z.ZodNull]>;
367
- stateDiff: z.ZodUnion<[z.ZodObject<{
368
- source: z.ZodEnum<["z1-macro", "z2-mirror", "z3-kvc"]>;
192
+ }, z.core.$strict>, z.ZodNull]>;
193
+ stateDiff: z.ZodUnion<readonly [z.ZodObject<{
194
+ source: z.ZodEnum<{
195
+ "z1-macro": "z1-macro";
196
+ "z2-mirror": "z2-mirror";
197
+ "z3-kvc": "z3-kvc";
198
+ }>;
369
199
  changed: z.ZodBoolean;
370
200
  entries: z.ZodArray<z.ZodObject<{
371
201
  key: z.ZodString;
372
202
  before: z.ZodString;
373
203
  after: z.ZodString;
374
- }, "strict", z.ZodTypeAny, {
375
- key: string;
376
- before: string;
377
- after: string;
378
- }, {
379
- key: string;
380
- before: string;
381
- after: string;
382
- }>, "many">;
383
- }, "strict", z.ZodTypeAny, {
384
- entries: {
385
- key: string;
386
- before: string;
387
- after: string;
388
- }[];
389
- source: "z1-macro" | "z2-mirror" | "z3-kvc";
390
- changed: boolean;
391
- }, {
392
- entries: {
393
- key: string;
394
- before: string;
395
- after: string;
396
- }[];
397
- source: "z1-macro" | "z2-mirror" | "z3-kvc";
398
- changed: boolean;
399
- }>, z.ZodNull]>;
204
+ }, z.core.$strict>>;
205
+ }, z.core.$strict>, z.ZodNull]>;
400
206
  pixelDiff: z.ZodOptional<z.ZodObject<{
401
207
  changedPixelRatio: z.ZodNumber;
402
- bounds: z.ZodUnion<[z.ZodObject<{
208
+ bounds: z.ZodUnion<readonly [z.ZodObject<{
403
209
  x: z.ZodNumber;
404
210
  y: z.ZodNumber;
405
211
  width: z.ZodNumber;
406
212
  height: z.ZodNumber;
407
- }, "strict", z.ZodTypeAny, {
408
- x: number;
409
- y: number;
410
- width: number;
411
- height: number;
412
- }, {
413
- x: number;
414
- y: number;
415
- width: number;
416
- height: number;
417
- }>, z.ZodNull]>;
213
+ }, z.core.$strict>, z.ZodNull]>;
418
214
  windowId: z.ZodNumber;
419
- }, "strict", z.ZodTypeAny, {
420
- changedPixelRatio: number;
421
- bounds: {
422
- x: number;
423
- y: number;
424
- width: number;
425
- height: number;
426
- } | null;
427
- windowId: number;
428
- }, {
429
- changedPixelRatio: number;
430
- bounds: {
431
- x: number;
432
- y: number;
433
- width: number;
434
- height: number;
435
- } | null;
436
- windowId: number;
437
- }>>;
215
+ }, z.core.$strict>>;
438
216
  responsiveness: z.ZodOptional<z.ZodObject<{
439
217
  responsive: z.ZodBoolean;
440
218
  pingMs: z.ZodNumber;
441
- }, "strict", z.ZodTypeAny, {
442
- responsive: boolean;
443
- pingMs: number;
444
- }, {
445
- responsive: boolean;
446
- pingMs: number;
447
- }>>;
219
+ }, z.core.$strict>>;
448
220
  crash: z.ZodOptional<z.ZodObject<{
449
221
  processAliveBefore: z.ZodBoolean;
450
222
  processAliveAfter: z.ZodBoolean;
451
- }, "strict", z.ZodTypeAny, {
452
- processAliveBefore: boolean;
453
- processAliveAfter: boolean;
454
- }, {
455
- processAliveBefore: boolean;
456
- processAliveAfter: boolean;
457
- }>>;
458
- }, "strict", z.ZodTypeAny, {
459
- act: {
460
- action: "pick" | "press" | "increment" | "decrement" | "showMenu" | "confirm" | "cancel";
461
- selector: {
462
- role: string;
463
- title?: string | undefined;
464
- identifier?: string | undefined;
465
- };
466
- actConfirmed: boolean;
467
- };
468
- handlerProbe: {
469
- probeVersion: string;
470
- hitCount: number;
471
- handlers: {
472
- file: string;
473
- line: number;
474
- }[];
475
- lateCount: number;
476
- } | null;
477
- stateDiff: {
478
- entries: {
479
- key: string;
480
- before: string;
481
- after: string;
482
- }[];
483
- source: "z1-macro" | "z2-mirror" | "z3-kvc";
484
- changed: boolean;
485
- } | null;
486
- axEvent?: {
487
- treeDigestBefore: string;
488
- treeDigestAfter: string;
489
- nodeCount: number;
490
- axChanged: boolean;
491
- latencyMs: number;
492
- } | undefined;
493
- pixelDiff?: {
494
- changedPixelRatio: number;
495
- bounds: {
496
- x: number;
497
- y: number;
498
- width: number;
499
- height: number;
500
- } | null;
501
- windowId: number;
502
- } | undefined;
503
- responsiveness?: {
504
- responsive: boolean;
505
- pingMs: number;
506
- } | undefined;
507
- crash?: {
508
- processAliveBefore: boolean;
509
- processAliveAfter: boolean;
510
- } | undefined;
511
- }, {
512
- act: {
513
- action: "pick" | "press" | "increment" | "decrement" | "showMenu" | "confirm" | "cancel";
514
- selector: {
515
- role: string;
516
- title?: string | undefined;
517
- identifier?: string | undefined;
518
- };
519
- actConfirmed: boolean;
520
- };
521
- handlerProbe: {
522
- probeVersion: string;
523
- hitCount: number;
524
- handlers: {
525
- file: string;
526
- line: number;
527
- }[];
528
- lateCount: number;
529
- } | null;
530
- stateDiff: {
531
- entries: {
532
- key: string;
533
- before: string;
534
- after: string;
535
- }[];
536
- source: "z1-macro" | "z2-mirror" | "z3-kvc";
537
- changed: boolean;
538
- } | null;
539
- axEvent?: {
540
- treeDigestBefore: string;
541
- treeDigestAfter: string;
542
- nodeCount: number;
543
- axChanged: boolean;
544
- latencyMs: number;
545
- } | undefined;
546
- pixelDiff?: {
547
- changedPixelRatio: number;
548
- bounds: {
549
- x: number;
550
- y: number;
551
- width: number;
552
- height: number;
553
- } | null;
554
- windowId: number;
555
- } | undefined;
556
- responsiveness?: {
557
- responsive: boolean;
558
- pingMs: number;
559
- } | undefined;
560
- crash?: {
561
- processAliveBefore: boolean;
562
- processAliveAfter: boolean;
563
- } | undefined;
564
- }>;
223
+ }, z.core.$strict>>;
224
+ }, z.core.$strict>;
565
225
  export type Signals = z.infer<typeof SignalsSchema>;
566
226
  export declare const AttributionSchema: z.ZodObject<{
567
- level: z.ZodEnum<["soft", "strong", "weak"]>;
227
+ level: z.ZodEnum<{
228
+ soft: "soft";
229
+ strong: "strong";
230
+ weak: "weak";
231
+ }>;
568
232
  contaminated: z.ZodBoolean;
569
- }, "strict", z.ZodTypeAny, {
570
- level: "soft" | "strong" | "weak";
571
- contaminated: boolean;
572
- }, {
573
- level: "soft" | "strong" | "weak";
574
- contaminated: boolean;
575
- }>;
233
+ }, z.core.$strict>;
576
234
  export type Attribution = z.infer<typeof AttributionSchema>;
577
235
  export declare const CircuitBreakerSchema: z.ZodObject<{
578
236
  level: z.ZodNumber;
579
237
  reason: z.ZodOptional<z.ZodString>;
580
- }, "strict", z.ZodTypeAny, {
581
- level: number;
582
- reason?: string | undefined;
583
- }, {
584
- level: number;
585
- reason?: string | undefined;
586
- }>;
238
+ }, z.core.$strict>;
587
239
  export type CircuitBreaker = z.infer<typeof CircuitBreakerSchema>;
588
240
  export declare const AssertionSchema: z.ZodObject<{
589
241
  kind: z.ZodLiteral<"element_property">;
@@ -591,656 +243,187 @@ export declare const AssertionSchema: z.ZodObject<{
591
243
  role: z.ZodString;
592
244
  title: z.ZodOptional<z.ZodString>;
593
245
  identifier: z.ZodOptional<z.ZodString>;
594
- }, "strict", z.ZodTypeAny, {
595
- role: string;
596
- title?: string | undefined;
597
- identifier?: string | undefined;
598
- }, {
599
- role: string;
600
- title?: string | undefined;
601
- identifier?: string | undefined;
246
+ }, z.core.$strict>;
247
+ property: z.ZodEnum<{
248
+ value: "value";
249
+ role: "role";
250
+ title: "title";
251
+ enabled: "enabled";
252
+ focused: "focused";
602
253
  }>;
603
- property: z.ZodEnum<["title", "value", "role", "enabled", "focused"]>;
604
- expected: z.ZodUnion<[z.ZodString, z.ZodBoolean]>;
605
- actual: z.ZodUnion<[z.ZodString, z.ZodBoolean]>;
254
+ expected: z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>;
255
+ actual: z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>;
606
256
  passed: z.ZodBoolean;
607
- }, "strict", z.ZodTypeAny, {
608
- expected: string | boolean;
609
- selector: {
610
- role: string;
611
- title?: string | undefined;
612
- identifier?: string | undefined;
613
- };
614
- kind: "element_property";
615
- property: "value" | "role" | "title" | "enabled" | "focused";
616
- actual: string | boolean;
617
- passed: boolean;
618
- }, {
619
- expected: string | boolean;
620
- selector: {
621
- role: string;
622
- title?: string | undefined;
623
- identifier?: string | undefined;
624
- };
625
- kind: "element_property";
626
- property: "value" | "role" | "title" | "enabled" | "focused";
627
- actual: string | boolean;
628
- passed: boolean;
629
- }>;
257
+ }, z.core.$strict>;
630
258
  export type Assertion = z.infer<typeof AssertionSchema>;
631
- export declare const DiagnosisClassSchema: z.ZodEnum<["T0", "T1", "T2", "T3", "T4", "T5", "T6", "T7", "T8", "T9", "NO_ANOMALY", "INCONCLUSIVE"]>;
259
+ export declare const DiagnosisClassSchema: z.ZodEnum<{
260
+ T0: "T0";
261
+ T1: "T1";
262
+ T2: "T2";
263
+ T3: "T3";
264
+ T4: "T4";
265
+ T5: "T5";
266
+ T6: "T6";
267
+ T7: "T7";
268
+ T8: "T8";
269
+ T9: "T9";
270
+ NO_ANOMALY: "NO_ANOMALY";
271
+ INCONCLUSIVE: "INCONCLUSIVE";
272
+ }>;
632
273
  export type DiagnosisClass = z.infer<typeof DiagnosisClassSchema>;
633
274
  export declare const DiagnosisReportSchema: z.ZodObject<{
634
275
  path: z.ZodString;
635
276
  anomaly: z.ZodString;
636
277
  evidence: z.ZodString;
637
278
  next: z.ZodString;
638
- }, "strict", z.ZodTypeAny, {
639
- path: string;
640
- evidence: string;
641
- anomaly: string;
642
- next: string;
643
- }, {
644
- path: string;
645
- evidence: string;
646
- anomaly: string;
647
- next: string;
648
- }>;
279
+ }, z.core.$strict>;
649
280
  export type DiagnosisReport = z.infer<typeof DiagnosisReportSchema>;
650
281
  export declare const DiagnosisSchema: z.ZodObject<{
651
- class: z.ZodEnum<["T0", "T1", "T2", "T3", "T4", "T5", "T6", "T7", "T8", "T9", "NO_ANOMALY", "INCONCLUSIVE"]>;
282
+ class: z.ZodEnum<{
283
+ T0: "T0";
284
+ T1: "T1";
285
+ T2: "T2";
286
+ T3: "T3";
287
+ T4: "T4";
288
+ T5: "T5";
289
+ T6: "T6";
290
+ T7: "T7";
291
+ T8: "T8";
292
+ T9: "T9";
293
+ NO_ANOMALY: "NO_ANOMALY";
294
+ INCONCLUSIVE: "INCONCLUSIVE";
295
+ }>;
652
296
  report: z.ZodObject<{
653
297
  path: z.ZodString;
654
298
  anomaly: z.ZodString;
655
299
  evidence: z.ZodString;
656
300
  next: z.ZodString;
657
- }, "strict", z.ZodTypeAny, {
658
- path: string;
659
- evidence: string;
660
- anomaly: string;
661
- next: string;
662
- }, {
663
- path: string;
664
- evidence: string;
665
- anomaly: string;
666
- next: string;
667
- }>;
668
- }, "strict", z.ZodTypeAny, {
669
- class: "T0" | "T1" | "T2" | "T3" | "T4" | "T5" | "T6" | "T7" | "T8" | "T9" | "NO_ANOMALY" | "INCONCLUSIVE";
670
- report: {
671
- path: string;
672
- evidence: string;
673
- anomaly: string;
674
- next: string;
675
- };
676
- }, {
677
- class: "T0" | "T1" | "T2" | "T3" | "T4" | "T5" | "T6" | "T7" | "T8" | "T9" | "NO_ANOMALY" | "INCONCLUSIVE";
678
- report: {
679
- path: string;
680
- evidence: string;
681
- anomaly: string;
682
- next: string;
683
- };
684
- }>;
301
+ }, z.core.$strict>;
302
+ }, z.core.$strict>;
685
303
  export type Diagnosis = z.infer<typeof DiagnosisSchema>;
686
304
  export declare const EvidencePackSchema: z.ZodObject<{
687
305
  schemaVersion: z.ZodLiteral<"glasspane.evidence/0.1">;
688
306
  operationId: z.ZodString;
689
307
  createdAt: z.ZodString;
690
308
  attribution: z.ZodObject<{
691
- level: z.ZodEnum<["soft", "strong", "weak"]>;
309
+ level: z.ZodEnum<{
310
+ soft: "soft";
311
+ strong: "strong";
312
+ weak: "weak";
313
+ }>;
692
314
  contaminated: z.ZodBoolean;
693
- }, "strict", z.ZodTypeAny, {
694
- level: "soft" | "strong" | "weak";
695
- contaminated: boolean;
696
- }, {
697
- level: "soft" | "strong" | "weak";
698
- contaminated: boolean;
699
- }>;
315
+ }, z.core.$strict>;
700
316
  circuitBreaker: z.ZodObject<{
701
317
  level: z.ZodNumber;
702
318
  reason: z.ZodOptional<z.ZodString>;
703
- }, "strict", z.ZodTypeAny, {
704
- level: number;
705
- reason?: string | undefined;
706
- }, {
707
- level: number;
708
- reason?: string | undefined;
709
- }>;
319
+ }, z.core.$strict>;
710
320
  signals: z.ZodObject<{
711
321
  act: z.ZodObject<{
712
322
  selector: z.ZodObject<{
713
323
  role: z.ZodString;
714
324
  title: z.ZodOptional<z.ZodString>;
715
325
  identifier: z.ZodOptional<z.ZodString>;
716
- }, "strict", z.ZodTypeAny, {
717
- role: string;
718
- title?: string | undefined;
719
- identifier?: string | undefined;
720
- }, {
721
- role: string;
722
- title?: string | undefined;
723
- identifier?: string | undefined;
326
+ }, z.core.$strict>;
327
+ action: z.ZodEnum<{
328
+ press: "press";
329
+ increment: "increment";
330
+ decrement: "decrement";
331
+ showMenu: "showMenu";
332
+ confirm: "confirm";
333
+ cancel: "cancel";
334
+ pick: "pick";
724
335
  }>;
725
- action: z.ZodEnum<["press", "increment", "decrement", "showMenu", "confirm", "cancel", "pick"]>;
726
336
  actConfirmed: z.ZodBoolean;
727
- }, "strict", z.ZodTypeAny, {
728
- action: "pick" | "press" | "increment" | "decrement" | "showMenu" | "confirm" | "cancel";
729
- selector: {
730
- role: string;
731
- title?: string | undefined;
732
- identifier?: string | undefined;
733
- };
734
- actConfirmed: boolean;
735
- }, {
736
- action: "pick" | "press" | "increment" | "decrement" | "showMenu" | "confirm" | "cancel";
737
- selector: {
738
- role: string;
739
- title?: string | undefined;
740
- identifier?: string | undefined;
741
- };
742
- actConfirmed: boolean;
743
- }>;
337
+ }, z.core.$strict>;
744
338
  axEvent: z.ZodOptional<z.ZodObject<{
745
339
  treeDigestBefore: z.ZodString;
746
340
  treeDigestAfter: z.ZodString;
747
341
  nodeCount: z.ZodNumber;
748
342
  axChanged: z.ZodBoolean;
749
343
  latencyMs: z.ZodNumber;
750
- }, "strict", z.ZodTypeAny, {
751
- treeDigestBefore: string;
752
- treeDigestAfter: string;
753
- nodeCount: number;
754
- axChanged: boolean;
755
- latencyMs: number;
756
- }, {
757
- treeDigestBefore: string;
758
- treeDigestAfter: string;
759
- nodeCount: number;
760
- axChanged: boolean;
761
- latencyMs: number;
762
- }>>;
763
- handlerProbe: z.ZodUnion<[z.ZodObject<{
344
+ }, z.core.$strict>>;
345
+ handlerProbe: z.ZodUnion<readonly [z.ZodObject<{
764
346
  probeVersion: z.ZodString;
765
347
  hitCount: z.ZodNumber;
766
348
  handlers: z.ZodArray<z.ZodObject<{
767
349
  file: z.ZodString;
768
350
  line: z.ZodNumber;
769
- }, "strict", z.ZodTypeAny, {
770
- file: string;
771
- line: number;
772
- }, {
773
- file: string;
774
- line: number;
775
- }>, "many">;
351
+ }, z.core.$strict>>;
776
352
  lateCount: z.ZodNumber;
777
- }, "strict", z.ZodTypeAny, {
778
- probeVersion: string;
779
- hitCount: number;
780
- handlers: {
781
- file: string;
782
- line: number;
783
- }[];
784
- lateCount: number;
785
- }, {
786
- probeVersion: string;
787
- hitCount: number;
788
- handlers: {
789
- file: string;
790
- line: number;
791
- }[];
792
- lateCount: number;
793
- }>, z.ZodNull]>;
794
- stateDiff: z.ZodUnion<[z.ZodObject<{
795
- source: z.ZodEnum<["z1-macro", "z2-mirror", "z3-kvc"]>;
353
+ }, z.core.$strict>, z.ZodNull]>;
354
+ stateDiff: z.ZodUnion<readonly [z.ZodObject<{
355
+ source: z.ZodEnum<{
356
+ "z1-macro": "z1-macro";
357
+ "z2-mirror": "z2-mirror";
358
+ "z3-kvc": "z3-kvc";
359
+ }>;
796
360
  changed: z.ZodBoolean;
797
361
  entries: z.ZodArray<z.ZodObject<{
798
362
  key: z.ZodString;
799
363
  before: z.ZodString;
800
364
  after: z.ZodString;
801
- }, "strict", z.ZodTypeAny, {
802
- key: string;
803
- before: string;
804
- after: string;
805
- }, {
806
- key: string;
807
- before: string;
808
- after: string;
809
- }>, "many">;
810
- }, "strict", z.ZodTypeAny, {
811
- entries: {
812
- key: string;
813
- before: string;
814
- after: string;
815
- }[];
816
- source: "z1-macro" | "z2-mirror" | "z3-kvc";
817
- changed: boolean;
818
- }, {
819
- entries: {
820
- key: string;
821
- before: string;
822
- after: string;
823
- }[];
824
- source: "z1-macro" | "z2-mirror" | "z3-kvc";
825
- changed: boolean;
826
- }>, z.ZodNull]>;
365
+ }, z.core.$strict>>;
366
+ }, z.core.$strict>, z.ZodNull]>;
827
367
  pixelDiff: z.ZodOptional<z.ZodObject<{
828
368
  changedPixelRatio: z.ZodNumber;
829
- bounds: z.ZodUnion<[z.ZodObject<{
369
+ bounds: z.ZodUnion<readonly [z.ZodObject<{
830
370
  x: z.ZodNumber;
831
371
  y: z.ZodNumber;
832
372
  width: z.ZodNumber;
833
373
  height: z.ZodNumber;
834
- }, "strict", z.ZodTypeAny, {
835
- x: number;
836
- y: number;
837
- width: number;
838
- height: number;
839
- }, {
840
- x: number;
841
- y: number;
842
- width: number;
843
- height: number;
844
- }>, z.ZodNull]>;
374
+ }, z.core.$strict>, z.ZodNull]>;
845
375
  windowId: z.ZodNumber;
846
- }, "strict", z.ZodTypeAny, {
847
- changedPixelRatio: number;
848
- bounds: {
849
- x: number;
850
- y: number;
851
- width: number;
852
- height: number;
853
- } | null;
854
- windowId: number;
855
- }, {
856
- changedPixelRatio: number;
857
- bounds: {
858
- x: number;
859
- y: number;
860
- width: number;
861
- height: number;
862
- } | null;
863
- windowId: number;
864
- }>>;
376
+ }, z.core.$strict>>;
865
377
  responsiveness: z.ZodOptional<z.ZodObject<{
866
378
  responsive: z.ZodBoolean;
867
379
  pingMs: z.ZodNumber;
868
- }, "strict", z.ZodTypeAny, {
869
- responsive: boolean;
870
- pingMs: number;
871
- }, {
872
- responsive: boolean;
873
- pingMs: number;
874
- }>>;
380
+ }, z.core.$strict>>;
875
381
  crash: z.ZodOptional<z.ZodObject<{
876
382
  processAliveBefore: z.ZodBoolean;
877
383
  processAliveAfter: z.ZodBoolean;
878
- }, "strict", z.ZodTypeAny, {
879
- processAliveBefore: boolean;
880
- processAliveAfter: boolean;
881
- }, {
882
- processAliveBefore: boolean;
883
- processAliveAfter: boolean;
884
- }>>;
885
- }, "strict", z.ZodTypeAny, {
886
- act: {
887
- action: "pick" | "press" | "increment" | "decrement" | "showMenu" | "confirm" | "cancel";
888
- selector: {
889
- role: string;
890
- title?: string | undefined;
891
- identifier?: string | undefined;
892
- };
893
- actConfirmed: boolean;
894
- };
895
- handlerProbe: {
896
- probeVersion: string;
897
- hitCount: number;
898
- handlers: {
899
- file: string;
900
- line: number;
901
- }[];
902
- lateCount: number;
903
- } | null;
904
- stateDiff: {
905
- entries: {
906
- key: string;
907
- before: string;
908
- after: string;
909
- }[];
910
- source: "z1-macro" | "z2-mirror" | "z3-kvc";
911
- changed: boolean;
912
- } | null;
913
- axEvent?: {
914
- treeDigestBefore: string;
915
- treeDigestAfter: string;
916
- nodeCount: number;
917
- axChanged: boolean;
918
- latencyMs: number;
919
- } | undefined;
920
- pixelDiff?: {
921
- changedPixelRatio: number;
922
- bounds: {
923
- x: number;
924
- y: number;
925
- width: number;
926
- height: number;
927
- } | null;
928
- windowId: number;
929
- } | undefined;
930
- responsiveness?: {
931
- responsive: boolean;
932
- pingMs: number;
933
- } | undefined;
934
- crash?: {
935
- processAliveBefore: boolean;
936
- processAliveAfter: boolean;
937
- } | undefined;
938
- }, {
939
- act: {
940
- action: "pick" | "press" | "increment" | "decrement" | "showMenu" | "confirm" | "cancel";
941
- selector: {
942
- role: string;
943
- title?: string | undefined;
944
- identifier?: string | undefined;
945
- };
946
- actConfirmed: boolean;
947
- };
948
- handlerProbe: {
949
- probeVersion: string;
950
- hitCount: number;
951
- handlers: {
952
- file: string;
953
- line: number;
954
- }[];
955
- lateCount: number;
956
- } | null;
957
- stateDiff: {
958
- entries: {
959
- key: string;
960
- before: string;
961
- after: string;
962
- }[];
963
- source: "z1-macro" | "z2-mirror" | "z3-kvc";
964
- changed: boolean;
965
- } | null;
966
- axEvent?: {
967
- treeDigestBefore: string;
968
- treeDigestAfter: string;
969
- nodeCount: number;
970
- axChanged: boolean;
971
- latencyMs: number;
972
- } | undefined;
973
- pixelDiff?: {
974
- changedPixelRatio: number;
975
- bounds: {
976
- x: number;
977
- y: number;
978
- width: number;
979
- height: number;
980
- } | null;
981
- windowId: number;
982
- } | undefined;
983
- responsiveness?: {
984
- responsive: boolean;
985
- pingMs: number;
986
- } | undefined;
987
- crash?: {
988
- processAliveBefore: boolean;
989
- processAliveAfter: boolean;
990
- } | undefined;
991
- }>;
992
- assertion: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
384
+ }, z.core.$strict>>;
385
+ }, z.core.$strict>;
386
+ assertion: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
993
387
  kind: z.ZodLiteral<"element_property">;
994
388
  selector: z.ZodObject<{
995
389
  role: z.ZodString;
996
390
  title: z.ZodOptional<z.ZodString>;
997
391
  identifier: z.ZodOptional<z.ZodString>;
998
- }, "strict", z.ZodTypeAny, {
999
- role: string;
1000
- title?: string | undefined;
1001
- identifier?: string | undefined;
1002
- }, {
1003
- role: string;
1004
- title?: string | undefined;
1005
- identifier?: string | undefined;
392
+ }, z.core.$strict>;
393
+ property: z.ZodEnum<{
394
+ value: "value";
395
+ role: "role";
396
+ title: "title";
397
+ enabled: "enabled";
398
+ focused: "focused";
1006
399
  }>;
1007
- property: z.ZodEnum<["title", "value", "role", "enabled", "focused"]>;
1008
- expected: z.ZodUnion<[z.ZodString, z.ZodBoolean]>;
1009
- actual: z.ZodUnion<[z.ZodString, z.ZodBoolean]>;
400
+ expected: z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>;
401
+ actual: z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>;
1010
402
  passed: z.ZodBoolean;
1011
- }, "strict", z.ZodTypeAny, {
1012
- expected: string | boolean;
1013
- selector: {
1014
- role: string;
1015
- title?: string | undefined;
1016
- identifier?: string | undefined;
1017
- };
1018
- kind: "element_property";
1019
- property: "value" | "role" | "title" | "enabled" | "focused";
1020
- actual: string | boolean;
1021
- passed: boolean;
1022
- }, {
1023
- expected: string | boolean;
1024
- selector: {
1025
- role: string;
1026
- title?: string | undefined;
1027
- identifier?: string | undefined;
1028
- };
1029
- kind: "element_property";
1030
- property: "value" | "role" | "title" | "enabled" | "focused";
1031
- actual: string | boolean;
1032
- passed: boolean;
1033
- }>, z.ZodNull]>>;
1034
- diagnosis: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1035
- class: z.ZodEnum<["T0", "T1", "T2", "T3", "T4", "T5", "T6", "T7", "T8", "T9", "NO_ANOMALY", "INCONCLUSIVE"]>;
403
+ }, z.core.$strict>, z.ZodNull]>>;
404
+ diagnosis: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
405
+ class: z.ZodEnum<{
406
+ T0: "T0";
407
+ T1: "T1";
408
+ T2: "T2";
409
+ T3: "T3";
410
+ T4: "T4";
411
+ T5: "T5";
412
+ T6: "T6";
413
+ T7: "T7";
414
+ T8: "T8";
415
+ T9: "T9";
416
+ NO_ANOMALY: "NO_ANOMALY";
417
+ INCONCLUSIVE: "INCONCLUSIVE";
418
+ }>;
1036
419
  report: z.ZodObject<{
1037
420
  path: z.ZodString;
1038
421
  anomaly: z.ZodString;
1039
422
  evidence: z.ZodString;
1040
423
  next: z.ZodString;
1041
- }, "strict", z.ZodTypeAny, {
1042
- path: string;
1043
- evidence: string;
1044
- anomaly: string;
1045
- next: string;
1046
- }, {
1047
- path: string;
1048
- evidence: string;
1049
- anomaly: string;
1050
- next: string;
1051
- }>;
1052
- }, "strict", z.ZodTypeAny, {
1053
- class: "T0" | "T1" | "T2" | "T3" | "T4" | "T5" | "T6" | "T7" | "T8" | "T9" | "NO_ANOMALY" | "INCONCLUSIVE";
1054
- report: {
1055
- path: string;
1056
- evidence: string;
1057
- anomaly: string;
1058
- next: string;
1059
- };
1060
- }, {
1061
- class: "T0" | "T1" | "T2" | "T3" | "T4" | "T5" | "T6" | "T7" | "T8" | "T9" | "NO_ANOMALY" | "INCONCLUSIVE";
1062
- report: {
1063
- path: string;
1064
- evidence: string;
1065
- anomaly: string;
1066
- next: string;
1067
- };
1068
- }>, z.ZodNull]>>;
1069
- }, "strict", z.ZodTypeAny, {
1070
- schemaVersion: "glasspane.evidence/0.1";
1071
- operationId: string;
1072
- createdAt: string;
1073
- attribution: {
1074
- level: "soft" | "strong" | "weak";
1075
- contaminated: boolean;
1076
- };
1077
- circuitBreaker: {
1078
- level: number;
1079
- reason?: string | undefined;
1080
- };
1081
- signals: {
1082
- act: {
1083
- action: "pick" | "press" | "increment" | "decrement" | "showMenu" | "confirm" | "cancel";
1084
- selector: {
1085
- role: string;
1086
- title?: string | undefined;
1087
- identifier?: string | undefined;
1088
- };
1089
- actConfirmed: boolean;
1090
- };
1091
- handlerProbe: {
1092
- probeVersion: string;
1093
- hitCount: number;
1094
- handlers: {
1095
- file: string;
1096
- line: number;
1097
- }[];
1098
- lateCount: number;
1099
- } | null;
1100
- stateDiff: {
1101
- entries: {
1102
- key: string;
1103
- before: string;
1104
- after: string;
1105
- }[];
1106
- source: "z1-macro" | "z2-mirror" | "z3-kvc";
1107
- changed: boolean;
1108
- } | null;
1109
- axEvent?: {
1110
- treeDigestBefore: string;
1111
- treeDigestAfter: string;
1112
- nodeCount: number;
1113
- axChanged: boolean;
1114
- latencyMs: number;
1115
- } | undefined;
1116
- pixelDiff?: {
1117
- changedPixelRatio: number;
1118
- bounds: {
1119
- x: number;
1120
- y: number;
1121
- width: number;
1122
- height: number;
1123
- } | null;
1124
- windowId: number;
1125
- } | undefined;
1126
- responsiveness?: {
1127
- responsive: boolean;
1128
- pingMs: number;
1129
- } | undefined;
1130
- crash?: {
1131
- processAliveBefore: boolean;
1132
- processAliveAfter: boolean;
1133
- } | undefined;
1134
- };
1135
- assertion?: {
1136
- expected: string | boolean;
1137
- selector: {
1138
- role: string;
1139
- title?: string | undefined;
1140
- identifier?: string | undefined;
1141
- };
1142
- kind: "element_property";
1143
- property: "value" | "role" | "title" | "enabled" | "focused";
1144
- actual: string | boolean;
1145
- passed: boolean;
1146
- } | null | undefined;
1147
- diagnosis?: {
1148
- class: "T0" | "T1" | "T2" | "T3" | "T4" | "T5" | "T6" | "T7" | "T8" | "T9" | "NO_ANOMALY" | "INCONCLUSIVE";
1149
- report: {
1150
- path: string;
1151
- evidence: string;
1152
- anomaly: string;
1153
- next: string;
1154
- };
1155
- } | null | undefined;
1156
- }, {
1157
- schemaVersion: "glasspane.evidence/0.1";
1158
- operationId: string;
1159
- createdAt: string;
1160
- attribution: {
1161
- level: "soft" | "strong" | "weak";
1162
- contaminated: boolean;
1163
- };
1164
- circuitBreaker: {
1165
- level: number;
1166
- reason?: string | undefined;
1167
- };
1168
- signals: {
1169
- act: {
1170
- action: "pick" | "press" | "increment" | "decrement" | "showMenu" | "confirm" | "cancel";
1171
- selector: {
1172
- role: string;
1173
- title?: string | undefined;
1174
- identifier?: string | undefined;
1175
- };
1176
- actConfirmed: boolean;
1177
- };
1178
- handlerProbe: {
1179
- probeVersion: string;
1180
- hitCount: number;
1181
- handlers: {
1182
- file: string;
1183
- line: number;
1184
- }[];
1185
- lateCount: number;
1186
- } | null;
1187
- stateDiff: {
1188
- entries: {
1189
- key: string;
1190
- before: string;
1191
- after: string;
1192
- }[];
1193
- source: "z1-macro" | "z2-mirror" | "z3-kvc";
1194
- changed: boolean;
1195
- } | null;
1196
- axEvent?: {
1197
- treeDigestBefore: string;
1198
- treeDigestAfter: string;
1199
- nodeCount: number;
1200
- axChanged: boolean;
1201
- latencyMs: number;
1202
- } | undefined;
1203
- pixelDiff?: {
1204
- changedPixelRatio: number;
1205
- bounds: {
1206
- x: number;
1207
- y: number;
1208
- width: number;
1209
- height: number;
1210
- } | null;
1211
- windowId: number;
1212
- } | undefined;
1213
- responsiveness?: {
1214
- responsive: boolean;
1215
- pingMs: number;
1216
- } | undefined;
1217
- crash?: {
1218
- processAliveBefore: boolean;
1219
- processAliveAfter: boolean;
1220
- } | undefined;
1221
- };
1222
- assertion?: {
1223
- expected: string | boolean;
1224
- selector: {
1225
- role: string;
1226
- title?: string | undefined;
1227
- identifier?: string | undefined;
1228
- };
1229
- kind: "element_property";
1230
- property: "value" | "role" | "title" | "enabled" | "focused";
1231
- actual: string | boolean;
1232
- passed: boolean;
1233
- } | null | undefined;
1234
- diagnosis?: {
1235
- class: "T0" | "T1" | "T2" | "T3" | "T4" | "T5" | "T6" | "T7" | "T8" | "T9" | "NO_ANOMALY" | "INCONCLUSIVE";
1236
- report: {
1237
- path: string;
1238
- evidence: string;
1239
- anomaly: string;
1240
- next: string;
1241
- };
1242
- } | null | undefined;
1243
- }>;
424
+ }, z.core.$strict>;
425
+ }, z.core.$strict>, z.ZodNull]>>;
426
+ }, z.core.$strict>;
1244
427
  export type EvidencePack = z.infer<typeof EvidencePackSchema>;
1245
428
  /**
1246
429
  * Read-side contract: `EvidencePackSchema` behind the legacy normalisations
@@ -1251,649 +434,127 @@ export type EvidencePack = z.infer<typeof EvidencePackSchema>;
1251
434
  * fold is not a claim that the bytes said so. Never use this to write a pack —
1252
435
  * use `EvidencePackSchema`.
1253
436
  */
1254
- export declare const EvidencePackReadSchema: z.ZodEffects<z.ZodObject<{
437
+ export declare const EvidencePackReadSchema: z.ZodPreprocess<z.ZodObject<{
1255
438
  schemaVersion: z.ZodLiteral<"glasspane.evidence/0.1">;
1256
439
  operationId: z.ZodString;
1257
440
  createdAt: z.ZodString;
1258
441
  attribution: z.ZodObject<{
1259
- level: z.ZodEnum<["soft", "strong", "weak"]>;
442
+ level: z.ZodEnum<{
443
+ soft: "soft";
444
+ strong: "strong";
445
+ weak: "weak";
446
+ }>;
1260
447
  contaminated: z.ZodBoolean;
1261
- }, "strict", z.ZodTypeAny, {
1262
- level: "soft" | "strong" | "weak";
1263
- contaminated: boolean;
1264
- }, {
1265
- level: "soft" | "strong" | "weak";
1266
- contaminated: boolean;
1267
- }>;
448
+ }, z.core.$strict>;
1268
449
  circuitBreaker: z.ZodObject<{
1269
450
  level: z.ZodNumber;
1270
451
  reason: z.ZodOptional<z.ZodString>;
1271
- }, "strict", z.ZodTypeAny, {
1272
- level: number;
1273
- reason?: string | undefined;
1274
- }, {
1275
- level: number;
1276
- reason?: string | undefined;
1277
- }>;
452
+ }, z.core.$strict>;
1278
453
  signals: z.ZodObject<{
1279
454
  act: z.ZodObject<{
1280
455
  selector: z.ZodObject<{
1281
456
  role: z.ZodString;
1282
457
  title: z.ZodOptional<z.ZodString>;
1283
458
  identifier: z.ZodOptional<z.ZodString>;
1284
- }, "strict", z.ZodTypeAny, {
1285
- role: string;
1286
- title?: string | undefined;
1287
- identifier?: string | undefined;
1288
- }, {
1289
- role: string;
1290
- title?: string | undefined;
1291
- identifier?: string | undefined;
459
+ }, z.core.$strict>;
460
+ action: z.ZodEnum<{
461
+ press: "press";
462
+ increment: "increment";
463
+ decrement: "decrement";
464
+ showMenu: "showMenu";
465
+ confirm: "confirm";
466
+ cancel: "cancel";
467
+ pick: "pick";
1292
468
  }>;
1293
- action: z.ZodEnum<["press", "increment", "decrement", "showMenu", "confirm", "cancel", "pick"]>;
1294
469
  actConfirmed: z.ZodBoolean;
1295
- }, "strict", z.ZodTypeAny, {
1296
- action: "pick" | "press" | "increment" | "decrement" | "showMenu" | "confirm" | "cancel";
1297
- selector: {
1298
- role: string;
1299
- title?: string | undefined;
1300
- identifier?: string | undefined;
1301
- };
1302
- actConfirmed: boolean;
1303
- }, {
1304
- action: "pick" | "press" | "increment" | "decrement" | "showMenu" | "confirm" | "cancel";
1305
- selector: {
1306
- role: string;
1307
- title?: string | undefined;
1308
- identifier?: string | undefined;
1309
- };
1310
- actConfirmed: boolean;
1311
- }>;
470
+ }, z.core.$strict>;
1312
471
  axEvent: z.ZodOptional<z.ZodObject<{
1313
472
  treeDigestBefore: z.ZodString;
1314
473
  treeDigestAfter: z.ZodString;
1315
474
  nodeCount: z.ZodNumber;
1316
475
  axChanged: z.ZodBoolean;
1317
476
  latencyMs: z.ZodNumber;
1318
- }, "strict", z.ZodTypeAny, {
1319
- treeDigestBefore: string;
1320
- treeDigestAfter: string;
1321
- nodeCount: number;
1322
- axChanged: boolean;
1323
- latencyMs: number;
1324
- }, {
1325
- treeDigestBefore: string;
1326
- treeDigestAfter: string;
1327
- nodeCount: number;
1328
- axChanged: boolean;
1329
- latencyMs: number;
1330
- }>>;
1331
- handlerProbe: z.ZodUnion<[z.ZodObject<{
477
+ }, z.core.$strict>>;
478
+ handlerProbe: z.ZodUnion<readonly [z.ZodObject<{
1332
479
  probeVersion: z.ZodString;
1333
480
  hitCount: z.ZodNumber;
1334
481
  handlers: z.ZodArray<z.ZodObject<{
1335
482
  file: z.ZodString;
1336
483
  line: z.ZodNumber;
1337
- }, "strict", z.ZodTypeAny, {
1338
- file: string;
1339
- line: number;
1340
- }, {
1341
- file: string;
1342
- line: number;
1343
- }>, "many">;
484
+ }, z.core.$strict>>;
1344
485
  lateCount: z.ZodNumber;
1345
- }, "strict", z.ZodTypeAny, {
1346
- probeVersion: string;
1347
- hitCount: number;
1348
- handlers: {
1349
- file: string;
1350
- line: number;
1351
- }[];
1352
- lateCount: number;
1353
- }, {
1354
- probeVersion: string;
1355
- hitCount: number;
1356
- handlers: {
1357
- file: string;
1358
- line: number;
1359
- }[];
1360
- lateCount: number;
1361
- }>, z.ZodNull]>;
1362
- stateDiff: z.ZodUnion<[z.ZodObject<{
1363
- source: z.ZodEnum<["z1-macro", "z2-mirror", "z3-kvc"]>;
486
+ }, z.core.$strict>, z.ZodNull]>;
487
+ stateDiff: z.ZodUnion<readonly [z.ZodObject<{
488
+ source: z.ZodEnum<{
489
+ "z1-macro": "z1-macro";
490
+ "z2-mirror": "z2-mirror";
491
+ "z3-kvc": "z3-kvc";
492
+ }>;
1364
493
  changed: z.ZodBoolean;
1365
494
  entries: z.ZodArray<z.ZodObject<{
1366
495
  key: z.ZodString;
1367
496
  before: z.ZodString;
1368
497
  after: z.ZodString;
1369
- }, "strict", z.ZodTypeAny, {
1370
- key: string;
1371
- before: string;
1372
- after: string;
1373
- }, {
1374
- key: string;
1375
- before: string;
1376
- after: string;
1377
- }>, "many">;
1378
- }, "strict", z.ZodTypeAny, {
1379
- entries: {
1380
- key: string;
1381
- before: string;
1382
- after: string;
1383
- }[];
1384
- source: "z1-macro" | "z2-mirror" | "z3-kvc";
1385
- changed: boolean;
1386
- }, {
1387
- entries: {
1388
- key: string;
1389
- before: string;
1390
- after: string;
1391
- }[];
1392
- source: "z1-macro" | "z2-mirror" | "z3-kvc";
1393
- changed: boolean;
1394
- }>, z.ZodNull]>;
498
+ }, z.core.$strict>>;
499
+ }, z.core.$strict>, z.ZodNull]>;
1395
500
  pixelDiff: z.ZodOptional<z.ZodObject<{
1396
501
  changedPixelRatio: z.ZodNumber;
1397
- bounds: z.ZodUnion<[z.ZodObject<{
502
+ bounds: z.ZodUnion<readonly [z.ZodObject<{
1398
503
  x: z.ZodNumber;
1399
504
  y: z.ZodNumber;
1400
505
  width: z.ZodNumber;
1401
506
  height: z.ZodNumber;
1402
- }, "strict", z.ZodTypeAny, {
1403
- x: number;
1404
- y: number;
1405
- width: number;
1406
- height: number;
1407
- }, {
1408
- x: number;
1409
- y: number;
1410
- width: number;
1411
- height: number;
1412
- }>, z.ZodNull]>;
507
+ }, z.core.$strict>, z.ZodNull]>;
1413
508
  windowId: z.ZodNumber;
1414
- }, "strict", z.ZodTypeAny, {
1415
- changedPixelRatio: number;
1416
- bounds: {
1417
- x: number;
1418
- y: number;
1419
- width: number;
1420
- height: number;
1421
- } | null;
1422
- windowId: number;
1423
- }, {
1424
- changedPixelRatio: number;
1425
- bounds: {
1426
- x: number;
1427
- y: number;
1428
- width: number;
1429
- height: number;
1430
- } | null;
1431
- windowId: number;
1432
- }>>;
509
+ }, z.core.$strict>>;
1433
510
  responsiveness: z.ZodOptional<z.ZodObject<{
1434
511
  responsive: z.ZodBoolean;
1435
512
  pingMs: z.ZodNumber;
1436
- }, "strict", z.ZodTypeAny, {
1437
- responsive: boolean;
1438
- pingMs: number;
1439
- }, {
1440
- responsive: boolean;
1441
- pingMs: number;
1442
- }>>;
513
+ }, z.core.$strict>>;
1443
514
  crash: z.ZodOptional<z.ZodObject<{
1444
515
  processAliveBefore: z.ZodBoolean;
1445
516
  processAliveAfter: z.ZodBoolean;
1446
- }, "strict", z.ZodTypeAny, {
1447
- processAliveBefore: boolean;
1448
- processAliveAfter: boolean;
1449
- }, {
1450
- processAliveBefore: boolean;
1451
- processAliveAfter: boolean;
1452
- }>>;
1453
- }, "strict", z.ZodTypeAny, {
1454
- act: {
1455
- action: "pick" | "press" | "increment" | "decrement" | "showMenu" | "confirm" | "cancel";
1456
- selector: {
1457
- role: string;
1458
- title?: string | undefined;
1459
- identifier?: string | undefined;
1460
- };
1461
- actConfirmed: boolean;
1462
- };
1463
- handlerProbe: {
1464
- probeVersion: string;
1465
- hitCount: number;
1466
- handlers: {
1467
- file: string;
1468
- line: number;
1469
- }[];
1470
- lateCount: number;
1471
- } | null;
1472
- stateDiff: {
1473
- entries: {
1474
- key: string;
1475
- before: string;
1476
- after: string;
1477
- }[];
1478
- source: "z1-macro" | "z2-mirror" | "z3-kvc";
1479
- changed: boolean;
1480
- } | null;
1481
- axEvent?: {
1482
- treeDigestBefore: string;
1483
- treeDigestAfter: string;
1484
- nodeCount: number;
1485
- axChanged: boolean;
1486
- latencyMs: number;
1487
- } | undefined;
1488
- pixelDiff?: {
1489
- changedPixelRatio: number;
1490
- bounds: {
1491
- x: number;
1492
- y: number;
1493
- width: number;
1494
- height: number;
1495
- } | null;
1496
- windowId: number;
1497
- } | undefined;
1498
- responsiveness?: {
1499
- responsive: boolean;
1500
- pingMs: number;
1501
- } | undefined;
1502
- crash?: {
1503
- processAliveBefore: boolean;
1504
- processAliveAfter: boolean;
1505
- } | undefined;
1506
- }, {
1507
- act: {
1508
- action: "pick" | "press" | "increment" | "decrement" | "showMenu" | "confirm" | "cancel";
1509
- selector: {
1510
- role: string;
1511
- title?: string | undefined;
1512
- identifier?: string | undefined;
1513
- };
1514
- actConfirmed: boolean;
1515
- };
1516
- handlerProbe: {
1517
- probeVersion: string;
1518
- hitCount: number;
1519
- handlers: {
1520
- file: string;
1521
- line: number;
1522
- }[];
1523
- lateCount: number;
1524
- } | null;
1525
- stateDiff: {
1526
- entries: {
1527
- key: string;
1528
- before: string;
1529
- after: string;
1530
- }[];
1531
- source: "z1-macro" | "z2-mirror" | "z3-kvc";
1532
- changed: boolean;
1533
- } | null;
1534
- axEvent?: {
1535
- treeDigestBefore: string;
1536
- treeDigestAfter: string;
1537
- nodeCount: number;
1538
- axChanged: boolean;
1539
- latencyMs: number;
1540
- } | undefined;
1541
- pixelDiff?: {
1542
- changedPixelRatio: number;
1543
- bounds: {
1544
- x: number;
1545
- y: number;
1546
- width: number;
1547
- height: number;
1548
- } | null;
1549
- windowId: number;
1550
- } | undefined;
1551
- responsiveness?: {
1552
- responsive: boolean;
1553
- pingMs: number;
1554
- } | undefined;
1555
- crash?: {
1556
- processAliveBefore: boolean;
1557
- processAliveAfter: boolean;
1558
- } | undefined;
1559
- }>;
1560
- assertion: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
517
+ }, z.core.$strict>>;
518
+ }, z.core.$strict>;
519
+ assertion: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1561
520
  kind: z.ZodLiteral<"element_property">;
1562
521
  selector: z.ZodObject<{
1563
522
  role: z.ZodString;
1564
523
  title: z.ZodOptional<z.ZodString>;
1565
524
  identifier: z.ZodOptional<z.ZodString>;
1566
- }, "strict", z.ZodTypeAny, {
1567
- role: string;
1568
- title?: string | undefined;
1569
- identifier?: string | undefined;
1570
- }, {
1571
- role: string;
1572
- title?: string | undefined;
1573
- identifier?: string | undefined;
525
+ }, z.core.$strict>;
526
+ property: z.ZodEnum<{
527
+ value: "value";
528
+ role: "role";
529
+ title: "title";
530
+ enabled: "enabled";
531
+ focused: "focused";
1574
532
  }>;
1575
- property: z.ZodEnum<["title", "value", "role", "enabled", "focused"]>;
1576
- expected: z.ZodUnion<[z.ZodString, z.ZodBoolean]>;
1577
- actual: z.ZodUnion<[z.ZodString, z.ZodBoolean]>;
533
+ expected: z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>;
534
+ actual: z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>;
1578
535
  passed: z.ZodBoolean;
1579
- }, "strict", z.ZodTypeAny, {
1580
- expected: string | boolean;
1581
- selector: {
1582
- role: string;
1583
- title?: string | undefined;
1584
- identifier?: string | undefined;
1585
- };
1586
- kind: "element_property";
1587
- property: "value" | "role" | "title" | "enabled" | "focused";
1588
- actual: string | boolean;
1589
- passed: boolean;
1590
- }, {
1591
- expected: string | boolean;
1592
- selector: {
1593
- role: string;
1594
- title?: string | undefined;
1595
- identifier?: string | undefined;
1596
- };
1597
- kind: "element_property";
1598
- property: "value" | "role" | "title" | "enabled" | "focused";
1599
- actual: string | boolean;
1600
- passed: boolean;
1601
- }>, z.ZodNull]>>;
1602
- diagnosis: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1603
- class: z.ZodEnum<["T0", "T1", "T2", "T3", "T4", "T5", "T6", "T7", "T8", "T9", "NO_ANOMALY", "INCONCLUSIVE"]>;
536
+ }, z.core.$strict>, z.ZodNull]>>;
537
+ diagnosis: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
538
+ class: z.ZodEnum<{
539
+ T0: "T0";
540
+ T1: "T1";
541
+ T2: "T2";
542
+ T3: "T3";
543
+ T4: "T4";
544
+ T5: "T5";
545
+ T6: "T6";
546
+ T7: "T7";
547
+ T8: "T8";
548
+ T9: "T9";
549
+ NO_ANOMALY: "NO_ANOMALY";
550
+ INCONCLUSIVE: "INCONCLUSIVE";
551
+ }>;
1604
552
  report: z.ZodObject<{
1605
553
  path: z.ZodString;
1606
554
  anomaly: z.ZodString;
1607
555
  evidence: z.ZodString;
1608
556
  next: z.ZodString;
1609
- }, "strict", z.ZodTypeAny, {
1610
- path: string;
1611
- evidence: string;
1612
- anomaly: string;
1613
- next: string;
1614
- }, {
1615
- path: string;
1616
- evidence: string;
1617
- anomaly: string;
1618
- next: string;
1619
- }>;
1620
- }, "strict", z.ZodTypeAny, {
1621
- class: "T0" | "T1" | "T2" | "T3" | "T4" | "T5" | "T6" | "T7" | "T8" | "T9" | "NO_ANOMALY" | "INCONCLUSIVE";
1622
- report: {
1623
- path: string;
1624
- evidence: string;
1625
- anomaly: string;
1626
- next: string;
1627
- };
1628
- }, {
1629
- class: "T0" | "T1" | "T2" | "T3" | "T4" | "T5" | "T6" | "T7" | "T8" | "T9" | "NO_ANOMALY" | "INCONCLUSIVE";
1630
- report: {
1631
- path: string;
1632
- evidence: string;
1633
- anomaly: string;
1634
- next: string;
1635
- };
1636
- }>, z.ZodNull]>>;
1637
- }, "strict", z.ZodTypeAny, {
1638
- schemaVersion: "glasspane.evidence/0.1";
1639
- operationId: string;
1640
- createdAt: string;
1641
- attribution: {
1642
- level: "soft" | "strong" | "weak";
1643
- contaminated: boolean;
1644
- };
1645
- circuitBreaker: {
1646
- level: number;
1647
- reason?: string | undefined;
1648
- };
1649
- signals: {
1650
- act: {
1651
- action: "pick" | "press" | "increment" | "decrement" | "showMenu" | "confirm" | "cancel";
1652
- selector: {
1653
- role: string;
1654
- title?: string | undefined;
1655
- identifier?: string | undefined;
1656
- };
1657
- actConfirmed: boolean;
1658
- };
1659
- handlerProbe: {
1660
- probeVersion: string;
1661
- hitCount: number;
1662
- handlers: {
1663
- file: string;
1664
- line: number;
1665
- }[];
1666
- lateCount: number;
1667
- } | null;
1668
- stateDiff: {
1669
- entries: {
1670
- key: string;
1671
- before: string;
1672
- after: string;
1673
- }[];
1674
- source: "z1-macro" | "z2-mirror" | "z3-kvc";
1675
- changed: boolean;
1676
- } | null;
1677
- axEvent?: {
1678
- treeDigestBefore: string;
1679
- treeDigestAfter: string;
1680
- nodeCount: number;
1681
- axChanged: boolean;
1682
- latencyMs: number;
1683
- } | undefined;
1684
- pixelDiff?: {
1685
- changedPixelRatio: number;
1686
- bounds: {
1687
- x: number;
1688
- y: number;
1689
- width: number;
1690
- height: number;
1691
- } | null;
1692
- windowId: number;
1693
- } | undefined;
1694
- responsiveness?: {
1695
- responsive: boolean;
1696
- pingMs: number;
1697
- } | undefined;
1698
- crash?: {
1699
- processAliveBefore: boolean;
1700
- processAliveAfter: boolean;
1701
- } | undefined;
1702
- };
1703
- assertion?: {
1704
- expected: string | boolean;
1705
- selector: {
1706
- role: string;
1707
- title?: string | undefined;
1708
- identifier?: string | undefined;
1709
- };
1710
- kind: "element_property";
1711
- property: "value" | "role" | "title" | "enabled" | "focused";
1712
- actual: string | boolean;
1713
- passed: boolean;
1714
- } | null | undefined;
1715
- diagnosis?: {
1716
- class: "T0" | "T1" | "T2" | "T3" | "T4" | "T5" | "T6" | "T7" | "T8" | "T9" | "NO_ANOMALY" | "INCONCLUSIVE";
1717
- report: {
1718
- path: string;
1719
- evidence: string;
1720
- anomaly: string;
1721
- next: string;
1722
- };
1723
- } | null | undefined;
1724
- }, {
1725
- schemaVersion: "glasspane.evidence/0.1";
1726
- operationId: string;
1727
- createdAt: string;
1728
- attribution: {
1729
- level: "soft" | "strong" | "weak";
1730
- contaminated: boolean;
1731
- };
1732
- circuitBreaker: {
1733
- level: number;
1734
- reason?: string | undefined;
1735
- };
1736
- signals: {
1737
- act: {
1738
- action: "pick" | "press" | "increment" | "decrement" | "showMenu" | "confirm" | "cancel";
1739
- selector: {
1740
- role: string;
1741
- title?: string | undefined;
1742
- identifier?: string | undefined;
1743
- };
1744
- actConfirmed: boolean;
1745
- };
1746
- handlerProbe: {
1747
- probeVersion: string;
1748
- hitCount: number;
1749
- handlers: {
1750
- file: string;
1751
- line: number;
1752
- }[];
1753
- lateCount: number;
1754
- } | null;
1755
- stateDiff: {
1756
- entries: {
1757
- key: string;
1758
- before: string;
1759
- after: string;
1760
- }[];
1761
- source: "z1-macro" | "z2-mirror" | "z3-kvc";
1762
- changed: boolean;
1763
- } | null;
1764
- axEvent?: {
1765
- treeDigestBefore: string;
1766
- treeDigestAfter: string;
1767
- nodeCount: number;
1768
- axChanged: boolean;
1769
- latencyMs: number;
1770
- } | undefined;
1771
- pixelDiff?: {
1772
- changedPixelRatio: number;
1773
- bounds: {
1774
- x: number;
1775
- y: number;
1776
- width: number;
1777
- height: number;
1778
- } | null;
1779
- windowId: number;
1780
- } | undefined;
1781
- responsiveness?: {
1782
- responsive: boolean;
1783
- pingMs: number;
1784
- } | undefined;
1785
- crash?: {
1786
- processAliveBefore: boolean;
1787
- processAliveAfter: boolean;
1788
- } | undefined;
1789
- };
1790
- assertion?: {
1791
- expected: string | boolean;
1792
- selector: {
1793
- role: string;
1794
- title?: string | undefined;
1795
- identifier?: string | undefined;
1796
- };
1797
- kind: "element_property";
1798
- property: "value" | "role" | "title" | "enabled" | "focused";
1799
- actual: string | boolean;
1800
- passed: boolean;
1801
- } | null | undefined;
1802
- diagnosis?: {
1803
- class: "T0" | "T1" | "T2" | "T3" | "T4" | "T5" | "T6" | "T7" | "T8" | "T9" | "NO_ANOMALY" | "INCONCLUSIVE";
1804
- report: {
1805
- path: string;
1806
- evidence: string;
1807
- anomaly: string;
1808
- next: string;
1809
- };
1810
- } | null | undefined;
1811
- }>, {
1812
- schemaVersion: "glasspane.evidence/0.1";
1813
- operationId: string;
1814
- createdAt: string;
1815
- attribution: {
1816
- level: "soft" | "strong" | "weak";
1817
- contaminated: boolean;
1818
- };
1819
- circuitBreaker: {
1820
- level: number;
1821
- reason?: string | undefined;
1822
- };
1823
- signals: {
1824
- act: {
1825
- action: "pick" | "press" | "increment" | "decrement" | "showMenu" | "confirm" | "cancel";
1826
- selector: {
1827
- role: string;
1828
- title?: string | undefined;
1829
- identifier?: string | undefined;
1830
- };
1831
- actConfirmed: boolean;
1832
- };
1833
- handlerProbe: {
1834
- probeVersion: string;
1835
- hitCount: number;
1836
- handlers: {
1837
- file: string;
1838
- line: number;
1839
- }[];
1840
- lateCount: number;
1841
- } | null;
1842
- stateDiff: {
1843
- entries: {
1844
- key: string;
1845
- before: string;
1846
- after: string;
1847
- }[];
1848
- source: "z1-macro" | "z2-mirror" | "z3-kvc";
1849
- changed: boolean;
1850
- } | null;
1851
- axEvent?: {
1852
- treeDigestBefore: string;
1853
- treeDigestAfter: string;
1854
- nodeCount: number;
1855
- axChanged: boolean;
1856
- latencyMs: number;
1857
- } | undefined;
1858
- pixelDiff?: {
1859
- changedPixelRatio: number;
1860
- bounds: {
1861
- x: number;
1862
- y: number;
1863
- width: number;
1864
- height: number;
1865
- } | null;
1866
- windowId: number;
1867
- } | undefined;
1868
- responsiveness?: {
1869
- responsive: boolean;
1870
- pingMs: number;
1871
- } | undefined;
1872
- crash?: {
1873
- processAliveBefore: boolean;
1874
- processAliveAfter: boolean;
1875
- } | undefined;
1876
- };
1877
- assertion?: {
1878
- expected: string | boolean;
1879
- selector: {
1880
- role: string;
1881
- title?: string | undefined;
1882
- identifier?: string | undefined;
1883
- };
1884
- kind: "element_property";
1885
- property: "value" | "role" | "title" | "enabled" | "focused";
1886
- actual: string | boolean;
1887
- passed: boolean;
1888
- } | null | undefined;
1889
- diagnosis?: {
1890
- class: "T0" | "T1" | "T2" | "T3" | "T4" | "T5" | "T6" | "T7" | "T8" | "T9" | "NO_ANOMALY" | "INCONCLUSIVE";
1891
- report: {
1892
- path: string;
1893
- evidence: string;
1894
- anomaly: string;
1895
- next: string;
1896
- };
1897
- } | null | undefined;
1898
- }, unknown>;
557
+ }, z.core.$strict>;
558
+ }, z.core.$strict>, z.ZodNull]>>;
559
+ }, z.core.$strict>, unknown>;
1899
560
  //# sourceMappingURL=evidence-pack.d.ts.map