@reticlehq/core 3.2.0 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/artifacts/flow-composition.d.ts +3 -2
- package/dist/artifacts/flow-constants.d.ts +68 -2
- package/dist/artifacts/flow-constants.js +84 -2
- package/dist/artifacts/flow-expect-flat.d.ts +260 -0
- package/dist/artifacts/flow-expect-flat.js +284 -0
- package/dist/artifacts/flow-mutation-target.d.ts +0 -1
- package/dist/artifacts/flow-mutation-target.js +30 -2
- package/dist/artifacts/flow-step-tool.d.ts +2 -0
- package/dist/artifacts/flow-types.d.ts +1285 -1343
- package/dist/artifacts/flow-types.js +111 -140
- package/dist/artifacts/impact.d.ts +48 -20
- package/dist/artifacts/impact.js +11 -0
- package/dist/artifacts/journal.d.ts +34 -6
- package/dist/artifacts/journal.js +13 -0
- package/dist/hooks/hook-events.d.ts +18 -18
- package/dist/hud-entry.d.ts +9 -0
- package/dist/hud-entry.js +9 -0
- package/dist/identity/source-constants.d.ts +11 -0
- package/dist/identity/source-constants.js +11 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +25 -1
- package/dist/onboarding.d.ts +2 -2
- package/dist/realm/registry.d.ts +0 -8
- package/dist/realm/registry.js +1 -11
- package/dist/registry/daemon-registry.d.ts +14 -4
- package/dist/registry/daemon-registry.js +20 -4
- package/dist/schema/event-message.json +3 -1
- package/dist/schema/event-payloads.json +72 -0
- package/dist/schema/event-type.json +3 -1
- package/dist/schema/reticle-event.json +3 -1
- package/dist/schema/reticle-message.json +3 -1
- package/dist/source-constants.cjs +1 -0
- package/dist/source-constants.d.cts +1 -0
- package/dist/telemetry-feedback.d.ts +6 -6
- package/dist/telemetry-refusal.d.ts +5 -4
- package/dist/telemetry-session.d.ts +25 -2
- package/dist/telemetry-session.js +13 -0
- package/dist/telemetry.d.ts +130 -102
- package/dist/verdict/compare-source.d.ts +80 -0
- package/dist/verdict/compare-source.js +93 -0
- package/dist/verdict/consequence.d.ts +12 -0
- package/dist/verdict/consequence.js +15 -0
- package/dist/verdict/instrumentation-gap.js +1 -1
- package/dist/verdict/intent.d.ts +24 -0
- package/dist/verdict/intent.js +66 -10
- package/dist/verdict/predicate-tree.d.ts +82 -0
- package/dist/verdict/predicate-tree.js +186 -0
- package/dist/verdict/predicate.d.ts +138 -0
- package/dist/verdict/predicate.js +430 -0
- package/dist/verdict/property-assertion.d.ts +191 -0
- package/dist/verdict/property-assertion.js +42 -0
- package/dist/verdict/security.js +16 -4
- package/dist/verdict/verdict-attribution.d.ts +52 -0
- package/dist/verdict/verdict-attribution.js +87 -0
- package/dist/verdict/verification-run.d.ts +330 -83
- package/dist/verdict/verification-run.js +44 -1
- package/dist/verdict/verified-constants.d.ts +9 -0
- package/dist/verdict/verified-constants.js +9 -0
- package/dist/wire/channel.d.ts +10 -0
- package/dist/wire/channel.js +25 -0
- package/dist/wire/constants/constants.d.ts +65 -102
- package/dist/wire/constants/constants.js +79 -101
- package/dist/wire/constants/discovery.d.ts +25 -0
- package/dist/wire/constants/discovery.js +25 -0
- package/dist/wire/constants/event-types.d.ts +122 -0
- package/dist/wire/constants/event-types.js +121 -0
- package/dist/wire/constants/hud-controls.d.ts +19 -0
- package/dist/wire/constants/hud-controls.js +95 -0
- package/dist/wire/constants/hud-use.d.ts +27 -0
- package/dist/wire/constants/hud-use.js +24 -0
- package/dist/wire/constants/session-constants.d.ts +10 -0
- package/dist/wire/constants/session-constants.js +10 -0
- package/dist/wire/event-payloads.d.ts +72 -13
- package/dist/wire/event-payloads.js +26 -4
- package/dist/wire/messages.d.ts +97 -56
- package/dist/wire/messages.js +17 -0
- package/dist/wire/net.d.ts +35 -0
- package/dist/wire/net.js +41 -0
- package/dist/wire/redaction.js +17 -0
- package/dist/wire/state-select.d.ts +2 -1
- package/dist/wire/state-select.js +56 -3
- package/dist/wire/toon.d.ts +1 -1
- package/dist/wire/toon.js +30 -8
- package/dist/wire/types.d.ts +119 -94
- package/dist/wire/types.js +23 -1
- package/dist/words/no-session-reason.d.ts +7 -0
- package/dist/words/no-session-reason.js +7 -0
- package/dist/words/notices.d.ts +7 -0
- package/dist/words/notices.js +9 -2
- package/package.json +7 -2
|
@@ -197,6 +197,61 @@ export declare const RunChangedFileSchema: z.ZodObject<{
|
|
|
197
197
|
risk?: ("auth" | "payment" | "db" | "migration" | "rls" | "secrets" | "destructive" | "external")[] | undefined;
|
|
198
198
|
}>;
|
|
199
199
|
export type RunChangedFile = z.infer<typeof RunChangedFileSchema>;
|
|
200
|
+
/**
|
|
201
|
+
* How much of a replay a synced run carries, so a teammate can replay it from the cloud without the
|
|
202
|
+
* artifact growing with the flow: past these, the per-step list stops and the recording is omitted
|
|
203
|
+
* (said so by `recordingOmitted`), never cut mid-flow into a journey nobody drove.
|
|
204
|
+
*/
|
|
205
|
+
export declare const RUN_STEP_RESULTS_MAX = 200;
|
|
206
|
+
export declare const RUN_TEXT_MAX = 300;
|
|
207
|
+
export declare const RUN_RECORDING_MAX_BYTES: number;
|
|
208
|
+
/** One step of a replayed flow, as synced: its outcome and the pages it ran on and led to. */
|
|
209
|
+
export declare const RunStepResultSchema: z.ZodObject<{
|
|
210
|
+
step: z.ZodNumber;
|
|
211
|
+
anchor: z.ZodString;
|
|
212
|
+
ok: z.ZodBoolean;
|
|
213
|
+
page: z.ZodOptional<z.ZodString>;
|
|
214
|
+
endPage: z.ZodOptional<z.ZodString>;
|
|
215
|
+
consequence: z.ZodOptional<z.ZodString>;
|
|
216
|
+
error: z.ZodOptional<z.ZodString>;
|
|
217
|
+
/** The drift's reason kind, when the step drifted. */
|
|
218
|
+
drift: z.ZodOptional<z.ZodString>;
|
|
219
|
+
}, "strip", z.ZodTypeAny, {
|
|
220
|
+
ok: boolean;
|
|
221
|
+
step: number;
|
|
222
|
+
anchor: string;
|
|
223
|
+
drift?: string | undefined;
|
|
224
|
+
error?: string | undefined;
|
|
225
|
+
page?: string | undefined;
|
|
226
|
+
endPage?: string | undefined;
|
|
227
|
+
consequence?: string | undefined;
|
|
228
|
+
}, {
|
|
229
|
+
ok: boolean;
|
|
230
|
+
step: number;
|
|
231
|
+
anchor: string;
|
|
232
|
+
drift?: string | undefined;
|
|
233
|
+
error?: string | undefined;
|
|
234
|
+
page?: string | undefined;
|
|
235
|
+
endPage?: string | undefined;
|
|
236
|
+
consequence?: string | undefined;
|
|
237
|
+
}>;
|
|
238
|
+
export type RunStepResult = z.infer<typeof RunStepResultSchema>;
|
|
239
|
+
/**
|
|
240
|
+
* The flow a run replayed, as recorded: enough to replay it again somewhere else.
|
|
241
|
+
*
|
|
242
|
+
* `steps` are FlowSteps, left opaque here: this module loads before the flow schema, and importing
|
|
243
|
+
* it made a cycle that crashed the built CLI at startup while every source-level test passed.
|
|
244
|
+
*/
|
|
245
|
+
export declare const RunFlowRecordingSchema: z.ZodObject<{
|
|
246
|
+
startPath: z.ZodOptional<z.ZodString>;
|
|
247
|
+
steps: z.ZodArray<z.ZodUnknown, "many">;
|
|
248
|
+
}, "strip", z.ZodTypeAny, {
|
|
249
|
+
steps: unknown[];
|
|
250
|
+
startPath?: string | undefined;
|
|
251
|
+
}, {
|
|
252
|
+
steps: unknown[];
|
|
253
|
+
startPath?: string | undefined;
|
|
254
|
+
}>;
|
|
200
255
|
/** A flow that was replayed as part of the run. */
|
|
201
256
|
export declare const RunFlowResultSchema: z.ZodObject<{
|
|
202
257
|
name: z.ZodString;
|
|
@@ -224,11 +279,58 @@ export declare const RunFlowResultSchema: z.ZodObject<{
|
|
|
224
279
|
}>>;
|
|
225
280
|
evidenceRef: z.ZodOptional<z.ZodString>;
|
|
226
281
|
failureReason: z.ZodOptional<z.ZodString>;
|
|
282
|
+
/** Each step's result and page — see RUN_STEP_RESULTS_MAX. */
|
|
283
|
+
stepResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
284
|
+
step: z.ZodNumber;
|
|
285
|
+
anchor: z.ZodString;
|
|
286
|
+
ok: z.ZodBoolean;
|
|
287
|
+
page: z.ZodOptional<z.ZodString>;
|
|
288
|
+
endPage: z.ZodOptional<z.ZodString>;
|
|
289
|
+
consequence: z.ZodOptional<z.ZodString>;
|
|
290
|
+
error: z.ZodOptional<z.ZodString>;
|
|
291
|
+
/** The drift's reason kind, when the step drifted. */
|
|
292
|
+
drift: z.ZodOptional<z.ZodString>;
|
|
293
|
+
}, "strip", z.ZodTypeAny, {
|
|
294
|
+
ok: boolean;
|
|
295
|
+
step: number;
|
|
296
|
+
anchor: string;
|
|
297
|
+
drift?: string | undefined;
|
|
298
|
+
error?: string | undefined;
|
|
299
|
+
page?: string | undefined;
|
|
300
|
+
endPage?: string | undefined;
|
|
301
|
+
consequence?: string | undefined;
|
|
302
|
+
}, {
|
|
303
|
+
ok: boolean;
|
|
304
|
+
step: number;
|
|
305
|
+
anchor: string;
|
|
306
|
+
drift?: string | undefined;
|
|
307
|
+
error?: string | undefined;
|
|
308
|
+
page?: string | undefined;
|
|
309
|
+
endPage?: string | undefined;
|
|
310
|
+
consequence?: string | undefined;
|
|
311
|
+
}>, "many">>;
|
|
312
|
+
/** The flow as recorded, when it fits in RUN_RECORDING_MAX_BYTES. */
|
|
313
|
+
recording: z.ZodOptional<z.ZodObject<{
|
|
314
|
+
startPath: z.ZodOptional<z.ZodString>;
|
|
315
|
+
steps: z.ZodArray<z.ZodUnknown, "many">;
|
|
316
|
+
}, "strip", z.ZodTypeAny, {
|
|
317
|
+
steps: unknown[];
|
|
318
|
+
startPath?: string | undefined;
|
|
319
|
+
}, {
|
|
320
|
+
steps: unknown[];
|
|
321
|
+
startPath?: string | undefined;
|
|
322
|
+
}>>;
|
|
323
|
+
/** True when the recording was too large to carry. */
|
|
324
|
+
recordingOmitted: z.ZodOptional<z.ZodBoolean>;
|
|
227
325
|
}, "strip", z.ZodTypeAny, {
|
|
228
326
|
status: "pass" | "fail" | "healed" | "skipped";
|
|
229
|
-
name: string;
|
|
230
327
|
steps: number;
|
|
328
|
+
name: string;
|
|
231
329
|
durationMs: number;
|
|
330
|
+
recording?: {
|
|
331
|
+
steps: unknown[];
|
|
332
|
+
startPath?: string | undefined;
|
|
333
|
+
} | undefined;
|
|
232
334
|
healed?: {
|
|
233
335
|
from: string;
|
|
234
336
|
to: string;
|
|
@@ -237,11 +339,26 @@ export declare const RunFlowResultSchema: z.ZodObject<{
|
|
|
237
339
|
oracle?: string | undefined;
|
|
238
340
|
evidenceRef?: string | undefined;
|
|
239
341
|
failureReason?: string | undefined;
|
|
342
|
+
stepResults?: {
|
|
343
|
+
ok: boolean;
|
|
344
|
+
step: number;
|
|
345
|
+
anchor: string;
|
|
346
|
+
drift?: string | undefined;
|
|
347
|
+
error?: string | undefined;
|
|
348
|
+
page?: string | undefined;
|
|
349
|
+
endPage?: string | undefined;
|
|
350
|
+
consequence?: string | undefined;
|
|
351
|
+
}[] | undefined;
|
|
352
|
+
recordingOmitted?: boolean | undefined;
|
|
240
353
|
}, {
|
|
241
354
|
status: "pass" | "fail" | "healed" | "skipped";
|
|
242
|
-
name: string;
|
|
243
355
|
steps: number;
|
|
356
|
+
name: string;
|
|
244
357
|
durationMs: number;
|
|
358
|
+
recording?: {
|
|
359
|
+
steps: unknown[];
|
|
360
|
+
startPath?: string | undefined;
|
|
361
|
+
} | undefined;
|
|
245
362
|
healed?: {
|
|
246
363
|
from: string;
|
|
247
364
|
to: string;
|
|
@@ -250,11 +367,29 @@ export declare const RunFlowResultSchema: z.ZodObject<{
|
|
|
250
367
|
oracle?: string | undefined;
|
|
251
368
|
evidenceRef?: string | undefined;
|
|
252
369
|
failureReason?: string | undefined;
|
|
370
|
+
stepResults?: {
|
|
371
|
+
ok: boolean;
|
|
372
|
+
step: number;
|
|
373
|
+
anchor: string;
|
|
374
|
+
drift?: string | undefined;
|
|
375
|
+
error?: string | undefined;
|
|
376
|
+
page?: string | undefined;
|
|
377
|
+
endPage?: string | undefined;
|
|
378
|
+
consequence?: string | undefined;
|
|
379
|
+
}[] | undefined;
|
|
380
|
+
recordingOmitted?: boolean | undefined;
|
|
253
381
|
}>;
|
|
254
382
|
export type RunFlowResult = z.infer<typeof RunFlowResultSchema>;
|
|
255
383
|
/** A standalone assertion not tied to a flow. `evidence` is opaque (narrowed per kind by the caller). */
|
|
256
384
|
export declare const RunCheckSchema: z.ZodObject<{
|
|
257
|
-
|
|
385
|
+
/**
|
|
386
|
+
* Which source of truth answering this claim required.
|
|
387
|
+
*
|
|
388
|
+
* Optional, because a check folded from a journal written before the kind was recorded has none,
|
|
389
|
+
* and the only alternatives are refusing the whole run or filling in a kind nobody observed. An
|
|
390
|
+
* absent field says nobody wrote it down; a present one is what the predicate actually read.
|
|
391
|
+
*/
|
|
392
|
+
kind: z.ZodEffects<z.ZodOptional<z.ZodNativeEnum<{
|
|
258
393
|
readonly ELEMENT: "element";
|
|
259
394
|
readonly TEXT: "text";
|
|
260
395
|
readonly SIGNAL: "signal";
|
|
@@ -264,17 +399,18 @@ export declare const RunCheckSchema: z.ZodObject<{
|
|
|
264
399
|
readonly CONSOLE: "console";
|
|
265
400
|
readonly ANIMATION: "animation";
|
|
266
401
|
readonly SETTLED: "settled";
|
|
402
|
+
readonly COMPARE: "compare";
|
|
267
403
|
readonly ALL_OF: "allOf";
|
|
268
404
|
readonly ANY_OF: "anyOf";
|
|
269
405
|
readonly NOT: "not";
|
|
270
|
-
}
|
|
406
|
+
}>>, "signal" | "net" | "state" | "element" | "text" | "route" | "console" | "animation" | "settled" | "compare" | "allOf" | "anyOf" | "not" | undefined, unknown>;
|
|
271
407
|
predicate: z.ZodString;
|
|
272
408
|
status: z.ZodEffects<z.ZodNativeEnum<{
|
|
273
409
|
readonly YES: "yes";
|
|
274
410
|
readonly NO: "no";
|
|
275
411
|
readonly UNKNOWN: "unknown";
|
|
276
412
|
readonly NO_FAULT: "no-fault";
|
|
277
|
-
}>, "
|
|
413
|
+
}>, "yes" | "no" | "unknown" | "no-fault", unknown>;
|
|
278
414
|
evidence: z.ZodOptional<z.ZodUnknown>;
|
|
279
415
|
/**
|
|
280
416
|
* Was this claim written down BEFORE the action, or after it?
|
|
@@ -319,25 +455,25 @@ export declare const RunCheckSchema: z.ZodObject<{
|
|
|
319
455
|
*/
|
|
320
456
|
supersedes: z.ZodOptional<z.ZodString>;
|
|
321
457
|
}, "strip", z.ZodTypeAny, {
|
|
322
|
-
status: "
|
|
323
|
-
kind: "signal" | "text" | "net" | "state" | "element" | "route" | "console" | "animation" | "settled" | "allOf" | "anyOf" | "not";
|
|
458
|
+
status: "yes" | "no" | "unknown" | "no-fault";
|
|
324
459
|
predicate: string;
|
|
325
|
-
|
|
460
|
+
kind?: "signal" | "net" | "state" | "element" | "text" | "route" | "console" | "animation" | "settled" | "compare" | "allOf" | "anyOf" | "not" | undefined;
|
|
326
461
|
evidence?: unknown;
|
|
327
462
|
declaredBeforeActing?: boolean | undefined;
|
|
328
463
|
grade?: string | undefined;
|
|
329
464
|
couldNotSee?: string[] | undefined;
|
|
465
|
+
reason?: string | undefined;
|
|
330
466
|
checkId?: string | undefined;
|
|
331
467
|
supersedes?: string | undefined;
|
|
332
468
|
}, {
|
|
333
469
|
predicate: string;
|
|
334
|
-
status?: unknown;
|
|
335
470
|
kind?: unknown;
|
|
336
|
-
|
|
471
|
+
status?: unknown;
|
|
337
472
|
evidence?: unknown;
|
|
338
473
|
declaredBeforeActing?: boolean | undefined;
|
|
339
474
|
grade?: string | undefined;
|
|
340
475
|
couldNotSee?: string[] | undefined;
|
|
476
|
+
reason?: string | undefined;
|
|
341
477
|
checkId?: string | undefined;
|
|
342
478
|
supersedes?: string | undefined;
|
|
343
479
|
}>;
|
|
@@ -366,13 +502,13 @@ export declare const RunRiskSchema: z.ZodObject<{
|
|
|
366
502
|
line: z.ZodOptional<z.ZodNumber>;
|
|
367
503
|
network: z.ZodOptional<z.ZodString>;
|
|
368
504
|
}, "strip", z.ZodTypeAny, {
|
|
505
|
+
network?: string | undefined;
|
|
369
506
|
file?: string | undefined;
|
|
370
507
|
line?: number | undefined;
|
|
371
|
-
network?: string | undefined;
|
|
372
508
|
}, {
|
|
509
|
+
network?: string | undefined;
|
|
373
510
|
file?: string | undefined;
|
|
374
511
|
line?: number | undefined;
|
|
375
|
-
network?: string | undefined;
|
|
376
512
|
}>>;
|
|
377
513
|
gated: z.ZodDefault<z.ZodBoolean>;
|
|
378
514
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -381,18 +517,18 @@ export declare const RunRiskSchema: z.ZodObject<{
|
|
|
381
517
|
detail: string;
|
|
382
518
|
gated: boolean;
|
|
383
519
|
evidence?: {
|
|
520
|
+
network?: string | undefined;
|
|
384
521
|
file?: string | undefined;
|
|
385
522
|
line?: number | undefined;
|
|
386
|
-
network?: string | undefined;
|
|
387
523
|
} | undefined;
|
|
388
524
|
}, {
|
|
389
525
|
surface: "auth" | "payment" | "db" | "migration" | "rls" | "secrets" | "destructive" | "external";
|
|
390
526
|
severity: "low" | "medium" | "high" | "critical";
|
|
391
527
|
detail: string;
|
|
392
528
|
evidence?: {
|
|
529
|
+
network?: string | undefined;
|
|
393
530
|
file?: string | undefined;
|
|
394
531
|
line?: number | undefined;
|
|
395
|
-
network?: string | undefined;
|
|
396
532
|
} | undefined;
|
|
397
533
|
gated?: boolean | undefined;
|
|
398
534
|
}>;
|
|
@@ -404,12 +540,12 @@ export declare const VerificationEvidenceSchema: z.ZodObject<{
|
|
|
404
540
|
message: z.ZodString;
|
|
405
541
|
at: z.ZodNumber;
|
|
406
542
|
}, "strip", z.ZodTypeAny, {
|
|
407
|
-
message: string;
|
|
408
543
|
at: number;
|
|
544
|
+
message: string;
|
|
409
545
|
level: string;
|
|
410
546
|
}, {
|
|
411
|
-
message: string;
|
|
412
547
|
at: number;
|
|
548
|
+
message: string;
|
|
413
549
|
level: string;
|
|
414
550
|
}>, "many">>;
|
|
415
551
|
networkAnomalies: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -462,8 +598,8 @@ export declare const VerificationEvidenceSchema: z.ZodObject<{
|
|
|
462
598
|
}>, "many">>;
|
|
463
599
|
}, "strip", z.ZodTypeAny, {
|
|
464
600
|
consoleErrors: {
|
|
465
|
-
message: string;
|
|
466
601
|
at: number;
|
|
602
|
+
message: string;
|
|
467
603
|
level: string;
|
|
468
604
|
}[];
|
|
469
605
|
networkAnomalies: {
|
|
@@ -486,8 +622,8 @@ export declare const VerificationEvidenceSchema: z.ZodObject<{
|
|
|
486
622
|
}[];
|
|
487
623
|
}, {
|
|
488
624
|
consoleErrors?: {
|
|
489
|
-
message: string;
|
|
490
625
|
at: number;
|
|
626
|
+
message: string;
|
|
491
627
|
level: string;
|
|
492
628
|
}[] | undefined;
|
|
493
629
|
networkAnomalies?: {
|
|
@@ -656,13 +792,13 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
656
792
|
name: string;
|
|
657
793
|
framework: "other" | "react" | "next" | "vite";
|
|
658
794
|
commit?: string | undefined;
|
|
659
|
-
env?: "
|
|
795
|
+
env?: "ci" | "preview" | "local" | undefined;
|
|
660
796
|
previewUrl?: string | undefined;
|
|
661
797
|
}, {
|
|
662
798
|
name: string;
|
|
663
799
|
framework: "other" | "react" | "next" | "vite";
|
|
664
800
|
commit?: string | undefined;
|
|
665
|
-
env?: "
|
|
801
|
+
env?: "ci" | "preview" | "local" | undefined;
|
|
666
802
|
previewUrl?: string | undefined;
|
|
667
803
|
}>;
|
|
668
804
|
agent: z.ZodObject<{
|
|
@@ -674,12 +810,12 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
674
810
|
}>;
|
|
675
811
|
model: z.ZodOptional<z.ZodString>;
|
|
676
812
|
}, "strip", z.ZodTypeAny, {
|
|
813
|
+
kind: "coding-agent" | "oem-pipeline" | "human";
|
|
677
814
|
id: string;
|
|
678
|
-
kind: "human" | "coding-agent" | "oem-pipeline";
|
|
679
815
|
model?: string | undefined;
|
|
680
816
|
}, {
|
|
817
|
+
kind: "coding-agent" | "oem-pipeline" | "human";
|
|
681
818
|
id: string;
|
|
682
|
-
kind: "human" | "coding-agent" | "oem-pipeline";
|
|
683
819
|
model?: string | undefined;
|
|
684
820
|
}>;
|
|
685
821
|
trigger: z.ZodObject<{
|
|
@@ -693,12 +829,12 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
693
829
|
note: z.ZodOptional<z.ZodString>;
|
|
694
830
|
}, "strip", z.ZodTypeAny, {
|
|
695
831
|
kind: "manual" | "edit" | "ci" | "oem";
|
|
696
|
-
note?: string | undefined;
|
|
697
832
|
diffRef?: string | undefined;
|
|
833
|
+
note?: string | undefined;
|
|
698
834
|
}, {
|
|
699
835
|
kind: "manual" | "edit" | "ci" | "oem";
|
|
700
|
-
note?: string | undefined;
|
|
701
836
|
diffRef?: string | undefined;
|
|
837
|
+
note?: string | undefined;
|
|
702
838
|
}>;
|
|
703
839
|
/**
|
|
704
840
|
* Which round of source edits this evidence belongs to.
|
|
@@ -800,11 +936,58 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
800
936
|
}>>;
|
|
801
937
|
evidenceRef: z.ZodOptional<z.ZodString>;
|
|
802
938
|
failureReason: z.ZodOptional<z.ZodString>;
|
|
939
|
+
/** Each step's result and page — see RUN_STEP_RESULTS_MAX. */
|
|
940
|
+
stepResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
941
|
+
step: z.ZodNumber;
|
|
942
|
+
anchor: z.ZodString;
|
|
943
|
+
ok: z.ZodBoolean;
|
|
944
|
+
page: z.ZodOptional<z.ZodString>;
|
|
945
|
+
endPage: z.ZodOptional<z.ZodString>;
|
|
946
|
+
consequence: z.ZodOptional<z.ZodString>;
|
|
947
|
+
error: z.ZodOptional<z.ZodString>;
|
|
948
|
+
/** The drift's reason kind, when the step drifted. */
|
|
949
|
+
drift: z.ZodOptional<z.ZodString>;
|
|
950
|
+
}, "strip", z.ZodTypeAny, {
|
|
951
|
+
ok: boolean;
|
|
952
|
+
step: number;
|
|
953
|
+
anchor: string;
|
|
954
|
+
drift?: string | undefined;
|
|
955
|
+
error?: string | undefined;
|
|
956
|
+
page?: string | undefined;
|
|
957
|
+
endPage?: string | undefined;
|
|
958
|
+
consequence?: string | undefined;
|
|
959
|
+
}, {
|
|
960
|
+
ok: boolean;
|
|
961
|
+
step: number;
|
|
962
|
+
anchor: string;
|
|
963
|
+
drift?: string | undefined;
|
|
964
|
+
error?: string | undefined;
|
|
965
|
+
page?: string | undefined;
|
|
966
|
+
endPage?: string | undefined;
|
|
967
|
+
consequence?: string | undefined;
|
|
968
|
+
}>, "many">>;
|
|
969
|
+
/** The flow as recorded, when it fits in RUN_RECORDING_MAX_BYTES. */
|
|
970
|
+
recording: z.ZodOptional<z.ZodObject<{
|
|
971
|
+
startPath: z.ZodOptional<z.ZodString>;
|
|
972
|
+
steps: z.ZodArray<z.ZodUnknown, "many">;
|
|
973
|
+
}, "strip", z.ZodTypeAny, {
|
|
974
|
+
steps: unknown[];
|
|
975
|
+
startPath?: string | undefined;
|
|
976
|
+
}, {
|
|
977
|
+
steps: unknown[];
|
|
978
|
+
startPath?: string | undefined;
|
|
979
|
+
}>>;
|
|
980
|
+
/** True when the recording was too large to carry. */
|
|
981
|
+
recordingOmitted: z.ZodOptional<z.ZodBoolean>;
|
|
803
982
|
}, "strip", z.ZodTypeAny, {
|
|
804
983
|
status: "pass" | "fail" | "healed" | "skipped";
|
|
805
|
-
name: string;
|
|
806
984
|
steps: number;
|
|
985
|
+
name: string;
|
|
807
986
|
durationMs: number;
|
|
987
|
+
recording?: {
|
|
988
|
+
steps: unknown[];
|
|
989
|
+
startPath?: string | undefined;
|
|
990
|
+
} | undefined;
|
|
808
991
|
healed?: {
|
|
809
992
|
from: string;
|
|
810
993
|
to: string;
|
|
@@ -813,11 +996,26 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
813
996
|
oracle?: string | undefined;
|
|
814
997
|
evidenceRef?: string | undefined;
|
|
815
998
|
failureReason?: string | undefined;
|
|
999
|
+
stepResults?: {
|
|
1000
|
+
ok: boolean;
|
|
1001
|
+
step: number;
|
|
1002
|
+
anchor: string;
|
|
1003
|
+
drift?: string | undefined;
|
|
1004
|
+
error?: string | undefined;
|
|
1005
|
+
page?: string | undefined;
|
|
1006
|
+
endPage?: string | undefined;
|
|
1007
|
+
consequence?: string | undefined;
|
|
1008
|
+
}[] | undefined;
|
|
1009
|
+
recordingOmitted?: boolean | undefined;
|
|
816
1010
|
}, {
|
|
817
1011
|
status: "pass" | "fail" | "healed" | "skipped";
|
|
818
|
-
name: string;
|
|
819
1012
|
steps: number;
|
|
1013
|
+
name: string;
|
|
820
1014
|
durationMs: number;
|
|
1015
|
+
recording?: {
|
|
1016
|
+
steps: unknown[];
|
|
1017
|
+
startPath?: string | undefined;
|
|
1018
|
+
} | undefined;
|
|
821
1019
|
healed?: {
|
|
822
1020
|
from: string;
|
|
823
1021
|
to: string;
|
|
@@ -826,9 +1024,27 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
826
1024
|
oracle?: string | undefined;
|
|
827
1025
|
evidenceRef?: string | undefined;
|
|
828
1026
|
failureReason?: string | undefined;
|
|
1027
|
+
stepResults?: {
|
|
1028
|
+
ok: boolean;
|
|
1029
|
+
step: number;
|
|
1030
|
+
anchor: string;
|
|
1031
|
+
drift?: string | undefined;
|
|
1032
|
+
error?: string | undefined;
|
|
1033
|
+
page?: string | undefined;
|
|
1034
|
+
endPage?: string | undefined;
|
|
1035
|
+
consequence?: string | undefined;
|
|
1036
|
+
}[] | undefined;
|
|
1037
|
+
recordingOmitted?: boolean | undefined;
|
|
829
1038
|
}>, "many">>;
|
|
830
1039
|
checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
831
|
-
|
|
1040
|
+
/**
|
|
1041
|
+
* Which source of truth answering this claim required.
|
|
1042
|
+
*
|
|
1043
|
+
* Optional, because a check folded from a journal written before the kind was recorded has none,
|
|
1044
|
+
* and the only alternatives are refusing the whole run or filling in a kind nobody observed. An
|
|
1045
|
+
* absent field says nobody wrote it down; a present one is what the predicate actually read.
|
|
1046
|
+
*/
|
|
1047
|
+
kind: z.ZodEffects<z.ZodOptional<z.ZodNativeEnum<{
|
|
832
1048
|
readonly ELEMENT: "element";
|
|
833
1049
|
readonly TEXT: "text";
|
|
834
1050
|
readonly SIGNAL: "signal";
|
|
@@ -838,17 +1054,18 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
838
1054
|
readonly CONSOLE: "console";
|
|
839
1055
|
readonly ANIMATION: "animation";
|
|
840
1056
|
readonly SETTLED: "settled";
|
|
1057
|
+
readonly COMPARE: "compare";
|
|
841
1058
|
readonly ALL_OF: "allOf";
|
|
842
1059
|
readonly ANY_OF: "anyOf";
|
|
843
1060
|
readonly NOT: "not";
|
|
844
|
-
}
|
|
1061
|
+
}>>, "signal" | "net" | "state" | "element" | "text" | "route" | "console" | "animation" | "settled" | "compare" | "allOf" | "anyOf" | "not" | undefined, unknown>;
|
|
845
1062
|
predicate: z.ZodString;
|
|
846
1063
|
status: z.ZodEffects<z.ZodNativeEnum<{
|
|
847
1064
|
readonly YES: "yes";
|
|
848
1065
|
readonly NO: "no";
|
|
849
1066
|
readonly UNKNOWN: "unknown";
|
|
850
1067
|
readonly NO_FAULT: "no-fault";
|
|
851
|
-
}>, "
|
|
1068
|
+
}>, "yes" | "no" | "unknown" | "no-fault", unknown>;
|
|
852
1069
|
evidence: z.ZodOptional<z.ZodUnknown>;
|
|
853
1070
|
/**
|
|
854
1071
|
* Was this claim written down BEFORE the action, or after it?
|
|
@@ -893,25 +1110,25 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
893
1110
|
*/
|
|
894
1111
|
supersedes: z.ZodOptional<z.ZodString>;
|
|
895
1112
|
}, "strip", z.ZodTypeAny, {
|
|
896
|
-
status: "
|
|
897
|
-
kind: "signal" | "text" | "net" | "state" | "element" | "route" | "console" | "animation" | "settled" | "allOf" | "anyOf" | "not";
|
|
1113
|
+
status: "yes" | "no" | "unknown" | "no-fault";
|
|
898
1114
|
predicate: string;
|
|
899
|
-
|
|
1115
|
+
kind?: "signal" | "net" | "state" | "element" | "text" | "route" | "console" | "animation" | "settled" | "compare" | "allOf" | "anyOf" | "not" | undefined;
|
|
900
1116
|
evidence?: unknown;
|
|
901
1117
|
declaredBeforeActing?: boolean | undefined;
|
|
902
1118
|
grade?: string | undefined;
|
|
903
1119
|
couldNotSee?: string[] | undefined;
|
|
1120
|
+
reason?: string | undefined;
|
|
904
1121
|
checkId?: string | undefined;
|
|
905
1122
|
supersedes?: string | undefined;
|
|
906
1123
|
}, {
|
|
907
1124
|
predicate: string;
|
|
908
|
-
status?: unknown;
|
|
909
1125
|
kind?: unknown;
|
|
910
|
-
|
|
1126
|
+
status?: unknown;
|
|
911
1127
|
evidence?: unknown;
|
|
912
1128
|
declaredBeforeActing?: boolean | undefined;
|
|
913
1129
|
grade?: string | undefined;
|
|
914
1130
|
couldNotSee?: string[] | undefined;
|
|
1131
|
+
reason?: string | undefined;
|
|
915
1132
|
checkId?: string | undefined;
|
|
916
1133
|
supersedes?: string | undefined;
|
|
917
1134
|
}>, "many">>;
|
|
@@ -938,13 +1155,13 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
938
1155
|
line: z.ZodOptional<z.ZodNumber>;
|
|
939
1156
|
network: z.ZodOptional<z.ZodString>;
|
|
940
1157
|
}, "strip", z.ZodTypeAny, {
|
|
1158
|
+
network?: string | undefined;
|
|
941
1159
|
file?: string | undefined;
|
|
942
1160
|
line?: number | undefined;
|
|
943
|
-
network?: string | undefined;
|
|
944
1161
|
}, {
|
|
1162
|
+
network?: string | undefined;
|
|
945
1163
|
file?: string | undefined;
|
|
946
1164
|
line?: number | undefined;
|
|
947
|
-
network?: string | undefined;
|
|
948
1165
|
}>>;
|
|
949
1166
|
gated: z.ZodDefault<z.ZodBoolean>;
|
|
950
1167
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -953,18 +1170,18 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
953
1170
|
detail: string;
|
|
954
1171
|
gated: boolean;
|
|
955
1172
|
evidence?: {
|
|
1173
|
+
network?: string | undefined;
|
|
956
1174
|
file?: string | undefined;
|
|
957
1175
|
line?: number | undefined;
|
|
958
|
-
network?: string | undefined;
|
|
959
1176
|
} | undefined;
|
|
960
1177
|
}, {
|
|
961
1178
|
surface: "auth" | "payment" | "db" | "migration" | "rls" | "secrets" | "destructive" | "external";
|
|
962
1179
|
severity: "low" | "medium" | "high" | "critical";
|
|
963
1180
|
detail: string;
|
|
964
1181
|
evidence?: {
|
|
1182
|
+
network?: string | undefined;
|
|
965
1183
|
file?: string | undefined;
|
|
966
1184
|
line?: number | undefined;
|
|
967
|
-
network?: string | undefined;
|
|
968
1185
|
} | undefined;
|
|
969
1186
|
gated?: boolean | undefined;
|
|
970
1187
|
}>, "many">>;
|
|
@@ -974,12 +1191,12 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
974
1191
|
message: z.ZodString;
|
|
975
1192
|
at: z.ZodNumber;
|
|
976
1193
|
}, "strip", z.ZodTypeAny, {
|
|
977
|
-
message: string;
|
|
978
1194
|
at: number;
|
|
1195
|
+
message: string;
|
|
979
1196
|
level: string;
|
|
980
1197
|
}, {
|
|
981
|
-
message: string;
|
|
982
1198
|
at: number;
|
|
1199
|
+
message: string;
|
|
983
1200
|
level: string;
|
|
984
1201
|
}>, "many">>;
|
|
985
1202
|
networkAnomalies: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1032,8 +1249,8 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
1032
1249
|
}>, "many">>;
|
|
1033
1250
|
}, "strip", z.ZodTypeAny, {
|
|
1034
1251
|
consoleErrors: {
|
|
1035
|
-
message: string;
|
|
1036
1252
|
at: number;
|
|
1253
|
+
message: string;
|
|
1037
1254
|
level: string;
|
|
1038
1255
|
}[];
|
|
1039
1256
|
networkAnomalies: {
|
|
@@ -1056,8 +1273,8 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
1056
1273
|
}[];
|
|
1057
1274
|
}, {
|
|
1058
1275
|
consoleErrors?: {
|
|
1059
|
-
message: string;
|
|
1060
1276
|
at: number;
|
|
1277
|
+
message: string;
|
|
1061
1278
|
level: string;
|
|
1062
1279
|
}[] | undefined;
|
|
1063
1280
|
networkAnomalies?: {
|
|
@@ -1219,9 +1436,13 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
1219
1436
|
}, "strip", z.ZodTypeAny, {
|
|
1220
1437
|
flows: {
|
|
1221
1438
|
status: "pass" | "fail" | "healed" | "skipped";
|
|
1222
|
-
name: string;
|
|
1223
1439
|
steps: number;
|
|
1440
|
+
name: string;
|
|
1224
1441
|
durationMs: number;
|
|
1442
|
+
recording?: {
|
|
1443
|
+
steps: unknown[];
|
|
1444
|
+
startPath?: string | undefined;
|
|
1445
|
+
} | undefined;
|
|
1225
1446
|
healed?: {
|
|
1226
1447
|
from: string;
|
|
1227
1448
|
to: string;
|
|
@@ -1230,26 +1451,23 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
1230
1451
|
oracle?: string | undefined;
|
|
1231
1452
|
evidenceRef?: string | undefined;
|
|
1232
1453
|
failureReason?: string | undefined;
|
|
1454
|
+
stepResults?: {
|
|
1455
|
+
ok: boolean;
|
|
1456
|
+
step: number;
|
|
1457
|
+
anchor: string;
|
|
1458
|
+
drift?: string | undefined;
|
|
1459
|
+
error?: string | undefined;
|
|
1460
|
+
page?: string | undefined;
|
|
1461
|
+
endPage?: string | undefined;
|
|
1462
|
+
consequence?: string | undefined;
|
|
1463
|
+
}[] | undefined;
|
|
1464
|
+
recordingOmitted?: boolean | undefined;
|
|
1233
1465
|
}[];
|
|
1234
|
-
createdAt: number;
|
|
1235
|
-
runId: string & z.BRAND<"RunId">;
|
|
1236
|
-
agent: {
|
|
1237
|
-
id: string;
|
|
1238
|
-
kind: "human" | "coding-agent" | "oem-pipeline";
|
|
1239
|
-
model?: string | undefined;
|
|
1240
|
-
};
|
|
1241
|
-
project: {
|
|
1242
|
-
name: string;
|
|
1243
|
-
framework: "other" | "react" | "next" | "vite";
|
|
1244
|
-
commit?: string | undefined;
|
|
1245
|
-
env?: "local" | "preview" | "ci" | undefined;
|
|
1246
|
-
previewUrl?: string | undefined;
|
|
1247
|
-
};
|
|
1248
1466
|
durationMs: number;
|
|
1249
1467
|
evidence: {
|
|
1250
1468
|
consoleErrors: {
|
|
1251
|
-
message: string;
|
|
1252
1469
|
at: number;
|
|
1470
|
+
message: string;
|
|
1253
1471
|
level: string;
|
|
1254
1472
|
}[];
|
|
1255
1473
|
networkAnomalies: {
|
|
@@ -1272,11 +1490,25 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
1272
1490
|
}[];
|
|
1273
1491
|
};
|
|
1274
1492
|
schemaVersion: 1 | 2 | 3;
|
|
1493
|
+
runId: string & z.BRAND<"RunId">;
|
|
1494
|
+
createdAt: number;
|
|
1275
1495
|
profile: "dev" | "prod-preview";
|
|
1496
|
+
project: {
|
|
1497
|
+
name: string;
|
|
1498
|
+
framework: "other" | "react" | "next" | "vite";
|
|
1499
|
+
commit?: string | undefined;
|
|
1500
|
+
env?: "ci" | "preview" | "local" | undefined;
|
|
1501
|
+
previewUrl?: string | undefined;
|
|
1502
|
+
};
|
|
1503
|
+
agent: {
|
|
1504
|
+
kind: "coding-agent" | "oem-pipeline" | "human";
|
|
1505
|
+
id: string;
|
|
1506
|
+
model?: string | undefined;
|
|
1507
|
+
};
|
|
1276
1508
|
trigger: {
|
|
1277
1509
|
kind: "manual" | "edit" | "ci" | "oem";
|
|
1278
|
-
note?: string | undefined;
|
|
1279
1510
|
diffRef?: string | undefined;
|
|
1511
|
+
note?: string | undefined;
|
|
1280
1512
|
};
|
|
1281
1513
|
changedFiles: {
|
|
1282
1514
|
path: string;
|
|
@@ -1284,14 +1516,14 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
1284
1516
|
risk: ("auth" | "payment" | "db" | "migration" | "rls" | "secrets" | "destructive" | "external")[];
|
|
1285
1517
|
}[];
|
|
1286
1518
|
checks: {
|
|
1287
|
-
status: "
|
|
1288
|
-
kind: "signal" | "text" | "net" | "state" | "element" | "route" | "console" | "animation" | "settled" | "allOf" | "anyOf" | "not";
|
|
1519
|
+
status: "yes" | "no" | "unknown" | "no-fault";
|
|
1289
1520
|
predicate: string;
|
|
1290
|
-
|
|
1521
|
+
kind?: "signal" | "net" | "state" | "element" | "text" | "route" | "console" | "animation" | "settled" | "compare" | "allOf" | "anyOf" | "not" | undefined;
|
|
1291
1522
|
evidence?: unknown;
|
|
1292
1523
|
declaredBeforeActing?: boolean | undefined;
|
|
1293
1524
|
grade?: string | undefined;
|
|
1294
1525
|
couldNotSee?: string[] | undefined;
|
|
1526
|
+
reason?: string | undefined;
|
|
1295
1527
|
checkId?: string | undefined;
|
|
1296
1528
|
supersedes?: string | undefined;
|
|
1297
1529
|
}[];
|
|
@@ -1301,9 +1533,9 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
1301
1533
|
detail: string;
|
|
1302
1534
|
gated: boolean;
|
|
1303
1535
|
evidence?: {
|
|
1536
|
+
network?: string | undefined;
|
|
1304
1537
|
file?: string | undefined;
|
|
1305
1538
|
line?: number | undefined;
|
|
1306
|
-
network?: string | undefined;
|
|
1307
1539
|
} | undefined;
|
|
1308
1540
|
}[];
|
|
1309
1541
|
verdict: {
|
|
@@ -1342,25 +1574,11 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
1342
1574
|
signedAt: number;
|
|
1343
1575
|
} | undefined;
|
|
1344
1576
|
}, {
|
|
1345
|
-
createdAt: number;
|
|
1346
|
-
runId: string;
|
|
1347
|
-
agent: {
|
|
1348
|
-
id: string;
|
|
1349
|
-
kind: "human" | "coding-agent" | "oem-pipeline";
|
|
1350
|
-
model?: string | undefined;
|
|
1351
|
-
};
|
|
1352
|
-
project: {
|
|
1353
|
-
name: string;
|
|
1354
|
-
framework: "other" | "react" | "next" | "vite";
|
|
1355
|
-
commit?: string | undefined;
|
|
1356
|
-
env?: "local" | "preview" | "ci" | undefined;
|
|
1357
|
-
previewUrl?: string | undefined;
|
|
1358
|
-
};
|
|
1359
1577
|
durationMs: number;
|
|
1360
1578
|
evidence: {
|
|
1361
1579
|
consoleErrors?: {
|
|
1362
|
-
message: string;
|
|
1363
1580
|
at: number;
|
|
1581
|
+
message: string;
|
|
1364
1582
|
level: string;
|
|
1365
1583
|
}[] | undefined;
|
|
1366
1584
|
networkAnomalies?: {
|
|
@@ -1383,11 +1601,25 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
1383
1601
|
}[] | undefined;
|
|
1384
1602
|
};
|
|
1385
1603
|
schemaVersion: 1 | 2 | 3;
|
|
1604
|
+
runId: string;
|
|
1605
|
+
createdAt: number;
|
|
1386
1606
|
profile: "dev" | "prod-preview";
|
|
1607
|
+
project: {
|
|
1608
|
+
name: string;
|
|
1609
|
+
framework: "other" | "react" | "next" | "vite";
|
|
1610
|
+
commit?: string | undefined;
|
|
1611
|
+
env?: "ci" | "preview" | "local" | undefined;
|
|
1612
|
+
previewUrl?: string | undefined;
|
|
1613
|
+
};
|
|
1614
|
+
agent: {
|
|
1615
|
+
kind: "coding-agent" | "oem-pipeline" | "human";
|
|
1616
|
+
id: string;
|
|
1617
|
+
model?: string | undefined;
|
|
1618
|
+
};
|
|
1387
1619
|
trigger: {
|
|
1388
1620
|
kind: "manual" | "edit" | "ci" | "oem";
|
|
1389
|
-
note?: string | undefined;
|
|
1390
1621
|
diffRef?: string | undefined;
|
|
1622
|
+
note?: string | undefined;
|
|
1391
1623
|
};
|
|
1392
1624
|
verdict: {
|
|
1393
1625
|
status: "pass" | "fail" | "unknown" | "partial";
|
|
@@ -1399,9 +1631,13 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
1399
1631
|
};
|
|
1400
1632
|
flows?: {
|
|
1401
1633
|
status: "pass" | "fail" | "healed" | "skipped";
|
|
1402
|
-
name: string;
|
|
1403
1634
|
steps: number;
|
|
1635
|
+
name: string;
|
|
1404
1636
|
durationMs: number;
|
|
1637
|
+
recording?: {
|
|
1638
|
+
steps: unknown[];
|
|
1639
|
+
startPath?: string | undefined;
|
|
1640
|
+
} | undefined;
|
|
1405
1641
|
healed?: {
|
|
1406
1642
|
from: string;
|
|
1407
1643
|
to: string;
|
|
@@ -1410,6 +1646,17 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
1410
1646
|
oracle?: string | undefined;
|
|
1411
1647
|
evidenceRef?: string | undefined;
|
|
1412
1648
|
failureReason?: string | undefined;
|
|
1649
|
+
stepResults?: {
|
|
1650
|
+
ok: boolean;
|
|
1651
|
+
step: number;
|
|
1652
|
+
anchor: string;
|
|
1653
|
+
drift?: string | undefined;
|
|
1654
|
+
error?: string | undefined;
|
|
1655
|
+
page?: string | undefined;
|
|
1656
|
+
endPage?: string | undefined;
|
|
1657
|
+
consequence?: string | undefined;
|
|
1658
|
+
}[] | undefined;
|
|
1659
|
+
recordingOmitted?: boolean | undefined;
|
|
1413
1660
|
}[] | undefined;
|
|
1414
1661
|
editEpoch?: number | undefined;
|
|
1415
1662
|
subject?: {
|
|
@@ -1426,13 +1673,13 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
1426
1673
|
}[] | undefined;
|
|
1427
1674
|
checks?: {
|
|
1428
1675
|
predicate: string;
|
|
1429
|
-
status?: unknown;
|
|
1430
1676
|
kind?: unknown;
|
|
1431
|
-
|
|
1677
|
+
status?: unknown;
|
|
1432
1678
|
evidence?: unknown;
|
|
1433
1679
|
declaredBeforeActing?: boolean | undefined;
|
|
1434
1680
|
grade?: string | undefined;
|
|
1435
1681
|
couldNotSee?: string[] | undefined;
|
|
1682
|
+
reason?: string | undefined;
|
|
1436
1683
|
checkId?: string | undefined;
|
|
1437
1684
|
supersedes?: string | undefined;
|
|
1438
1685
|
}[] | undefined;
|
|
@@ -1441,9 +1688,9 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
1441
1688
|
severity: "low" | "medium" | "high" | "critical";
|
|
1442
1689
|
detail: string;
|
|
1443
1690
|
evidence?: {
|
|
1691
|
+
network?: string | undefined;
|
|
1444
1692
|
file?: string | undefined;
|
|
1445
1693
|
line?: number | undefined;
|
|
1446
|
-
network?: string | undefined;
|
|
1447
1694
|
} | undefined;
|
|
1448
1695
|
gated?: boolean | undefined;
|
|
1449
1696
|
}[] | undefined;
|