@holonograph/client 0.3.0 → 0.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.
Files changed (3) hide show
  1. package/dist/index.d.ts +192 -137
  2. package/dist/index.js +46 -14
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1778,19 +1778,19 @@ declare const SubstrateSnapshotSchema: ZodObject<{
1778
1778
 
1779
1779
  columns: ZodRecord<ZodString, ZodString>;
1780
1780
  }, "strip", ZodTypeAny$1, {
1781
- provenance: "replay" | "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run";
1781
+ provenance: "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run" | "replay";
1782
1782
  timestamp: string;
1783
1783
  lensVersion: string;
1784
1784
  lightSourceIdentifier: string;
1785
- runMode: "production" | "test" | "eval" | "replay" | "local_dev";
1785
+ runMode: "local_dev" | "replay" | "production" | "test" | "eval";
1786
1786
  correlationId: string;
1787
1787
  columns: Record<string, string>;
1788
1788
  }, {
1789
- provenance: "replay" | "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run";
1789
+ provenance: "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run" | "replay";
1790
1790
  timestamp: string;
1791
1791
  lensVersion: string;
1792
1792
  lightSourceIdentifier: string;
1793
- runMode: "production" | "test" | "eval" | "replay" | "local_dev";
1793
+ runMode: "local_dev" | "replay" | "production" | "test" | "eval";
1794
1794
  correlationId: string;
1795
1795
  columns: Record<string, string>;
1796
1796
  }>;
@@ -1894,7 +1894,7 @@ declare const SurfaceContractSchema: ZodObject<{
1894
1894
  } | undefined;
1895
1895
  }>>;
1896
1896
  }, "strip", ZodTypeAny$1, {
1897
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
1897
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
1898
1898
  enabled: boolean;
1899
1899
  passThreshold: number;
1900
1900
  failureAction: "retry" | "flag" | "block";
@@ -1919,7 +1919,7 @@ declare const SurfaceContractSchema: ZodObject<{
1919
1919
  }, {
1920
1920
  passThreshold: number;
1921
1921
  failureAction: "retry" | "flag" | "block";
1922
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
1922
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
1923
1923
  retry?: {
1924
1924
  maxAttempts: number;
1925
1925
  augmentPrompt?: string | undefined;
@@ -1940,7 +1940,7 @@ declare const SurfaceContractSchema: ZodObject<{
1940
1940
  } | undefined;
1941
1941
  enabled?: boolean | undefined;
1942
1942
  }>, {
1943
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
1943
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
1944
1944
  enabled: boolean;
1945
1945
  passThreshold: number;
1946
1946
  failureAction: "retry" | "flag" | "block";
@@ -1965,7 +1965,7 @@ declare const SurfaceContractSchema: ZodObject<{
1965
1965
  }, {
1966
1966
  passThreshold: number;
1967
1967
  failureAction: "retry" | "flag" | "block";
1968
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
1968
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
1969
1969
  retry?: {
1970
1970
  maxAttempts: number;
1971
1971
  augmentPrompt?: string | undefined;
@@ -1986,7 +1986,7 @@ declare const SurfaceContractSchema: ZodObject<{
1986
1986
  } | undefined;
1987
1987
  enabled?: boolean | undefined;
1988
1988
  }>, {
1989
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
1989
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
1990
1990
  enabled: boolean;
1991
1991
  passThreshold: number;
1992
1992
  failureAction: "retry" | "flag" | "block";
@@ -2011,7 +2011,7 @@ declare const SurfaceContractSchema: ZodObject<{
2011
2011
  }, {
2012
2012
  passThreshold: number;
2013
2013
  failureAction: "retry" | "flag" | "block";
2014
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
2014
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2015
2015
  retry?: {
2016
2016
  maxAttempts: number;
2017
2017
  augmentPrompt?: string | undefined;
@@ -2050,7 +2050,7 @@ declare const SurfaceContractSchema: ZodObject<{
2050
2050
  passThreshold?: number | undefined;
2051
2051
  rubricRef?: string | undefined;
2052
2052
  gatePolicy?: {
2053
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
2053
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2054
2054
  enabled: boolean;
2055
2055
  passThreshold: number;
2056
2056
  failureAction: "retry" | "flag" | "block";
@@ -2086,7 +2086,7 @@ declare const SurfaceContractSchema: ZodObject<{
2086
2086
  gatePolicy?: {
2087
2087
  passThreshold: number;
2088
2088
  failureAction: "retry" | "flag" | "block";
2089
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
2089
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2090
2090
  retry?: {
2091
2091
  maxAttempts: number;
2092
2092
  augmentPrompt?: string | undefined;
@@ -2250,7 +2250,7 @@ declare const SurfaceContractSchema: ZodObject<{
2250
2250
  passThreshold?: number | undefined;
2251
2251
  rubricRef?: string | undefined;
2252
2252
  gatePolicy?: {
2253
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
2253
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2254
2254
  enabled: boolean;
2255
2255
  passThreshold: number;
2256
2256
  failureAction: "retry" | "flag" | "block";
@@ -2322,7 +2322,7 @@ declare const SurfaceContractSchema: ZodObject<{
2322
2322
  gatePolicy?: {
2323
2323
  passThreshold: number;
2324
2324
  failureAction: "retry" | "flag" | "block";
2325
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
2325
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2326
2326
  retry?: {
2327
2327
  maxAttempts: number;
2328
2328
  augmentPrompt?: string | undefined;
@@ -2391,11 +2391,11 @@ declare const SurfaceContractSchema: ZodObject<{
2391
2391
  }, "strip", ZodTypeAny$1, {
2392
2392
  surfaceId: string;
2393
2393
  lightSourceId: string | readonly string[];
2394
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
2394
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2395
2395
  }, {
2396
2396
  surfaceId: string;
2397
2397
  lightSourceId: string | readonly string[];
2398
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
2398
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2399
2399
  }>, "many">>;
2400
2400
 
2401
2401
  pricing: ZodOptional$1<ZodRecord<ZodString, ZodObject<{
@@ -2513,7 +2513,7 @@ declare const SurfaceContractSchema: ZodObject<{
2513
2513
  } | undefined;
2514
2514
  }>>;
2515
2515
  }, "strip", ZodTypeAny$1, {
2516
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
2516
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2517
2517
  enabled: boolean;
2518
2518
  passThreshold: number;
2519
2519
  failureAction: "retry" | "flag" | "block";
@@ -2538,7 +2538,7 @@ declare const SurfaceContractSchema: ZodObject<{
2538
2538
  }, {
2539
2539
  passThreshold: number;
2540
2540
  failureAction: "retry" | "flag" | "block";
2541
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
2541
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2542
2542
  retry?: {
2543
2543
  maxAttempts: number;
2544
2544
  augmentPrompt?: string | undefined;
@@ -2559,7 +2559,7 @@ declare const SurfaceContractSchema: ZodObject<{
2559
2559
  } | undefined;
2560
2560
  enabled?: boolean | undefined;
2561
2561
  }>, {
2562
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
2562
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2563
2563
  enabled: boolean;
2564
2564
  passThreshold: number;
2565
2565
  failureAction: "retry" | "flag" | "block";
@@ -2584,7 +2584,7 @@ declare const SurfaceContractSchema: ZodObject<{
2584
2584
  }, {
2585
2585
  passThreshold: number;
2586
2586
  failureAction: "retry" | "flag" | "block";
2587
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
2587
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2588
2588
  retry?: {
2589
2589
  maxAttempts: number;
2590
2590
  augmentPrompt?: string | undefined;
@@ -2605,7 +2605,7 @@ declare const SurfaceContractSchema: ZodObject<{
2605
2605
  } | undefined;
2606
2606
  enabled?: boolean | undefined;
2607
2607
  }>, {
2608
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
2608
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2609
2609
  enabled: boolean;
2610
2610
  passThreshold: number;
2611
2611
  failureAction: "retry" | "flag" | "block";
@@ -2630,7 +2630,7 @@ declare const SurfaceContractSchema: ZodObject<{
2630
2630
  }, {
2631
2631
  passThreshold: number;
2632
2632
  failureAction: "retry" | "flag" | "block";
2633
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
2633
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2634
2634
  retry?: {
2635
2635
  maxAttempts: number;
2636
2636
  augmentPrompt?: string | undefined;
@@ -2669,7 +2669,7 @@ declare const SurfaceContractSchema: ZodObject<{
2669
2669
  passThreshold?: number | undefined;
2670
2670
  rubricRef?: string | undefined;
2671
2671
  gatePolicy?: {
2672
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
2672
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2673
2673
  enabled: boolean;
2674
2674
  passThreshold: number;
2675
2675
  failureAction: "retry" | "flag" | "block";
@@ -2705,7 +2705,7 @@ declare const SurfaceContractSchema: ZodObject<{
2705
2705
  gatePolicy?: {
2706
2706
  passThreshold: number;
2707
2707
  failureAction: "retry" | "flag" | "block";
2708
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
2708
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2709
2709
  retry?: {
2710
2710
  maxAttempts: number;
2711
2711
  augmentPrompt?: string | undefined;
@@ -2734,7 +2734,7 @@ declare const SurfaceContractSchema: ZodObject<{
2734
2734
  }, "strip", ZodTypeAny$1, {
2735
2735
  surfaceId: string;
2736
2736
  lightSourceId: string | readonly string[];
2737
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
2737
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2738
2738
  dimensions?: {
2739
2739
  id: string;
2740
2740
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -2742,7 +2742,7 @@ declare const SurfaceContractSchema: ZodObject<{
2742
2742
  passThreshold?: number | undefined;
2743
2743
  rubricRef?: string | undefined;
2744
2744
  gatePolicy?: {
2745
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
2745
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2746
2746
  enabled: boolean;
2747
2747
  passThreshold: number;
2748
2748
  failureAction: "retry" | "flag" | "block";
@@ -2773,7 +2773,7 @@ declare const SurfaceContractSchema: ZodObject<{
2773
2773
  }, {
2774
2774
  surfaceId: string;
2775
2775
  lightSourceId: string | readonly string[];
2776
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
2776
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2777
2777
  dimensions?: {
2778
2778
  id: string;
2779
2779
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -2783,7 +2783,7 @@ declare const SurfaceContractSchema: ZodObject<{
2783
2783
  gatePolicy?: {
2784
2784
  passThreshold: number;
2785
2785
  failureAction: "retry" | "flag" | "block";
2786
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
2786
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2787
2787
  retry?: {
2788
2788
  maxAttempts: number;
2789
2789
  augmentPrompt?: string | undefined;
@@ -2903,7 +2903,7 @@ declare const SurfaceContractSchema: ZodObject<{
2903
2903
  } | undefined;
2904
2904
  }>>;
2905
2905
  }, "strip", ZodTypeAny$1, {
2906
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
2906
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2907
2907
  enabled: boolean;
2908
2908
  passThreshold: number;
2909
2909
  failureAction: "retry" | "flag" | "block";
@@ -2928,7 +2928,7 @@ declare const SurfaceContractSchema: ZodObject<{
2928
2928
  }, {
2929
2929
  passThreshold: number;
2930
2930
  failureAction: "retry" | "flag" | "block";
2931
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
2931
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2932
2932
  retry?: {
2933
2933
  maxAttempts: number;
2934
2934
  augmentPrompt?: string | undefined;
@@ -2949,7 +2949,7 @@ declare const SurfaceContractSchema: ZodObject<{
2949
2949
  } | undefined;
2950
2950
  enabled?: boolean | undefined;
2951
2951
  }>, {
2952
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
2952
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2953
2953
  enabled: boolean;
2954
2954
  passThreshold: number;
2955
2955
  failureAction: "retry" | "flag" | "block";
@@ -2974,7 +2974,7 @@ declare const SurfaceContractSchema: ZodObject<{
2974
2974
  }, {
2975
2975
  passThreshold: number;
2976
2976
  failureAction: "retry" | "flag" | "block";
2977
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
2977
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2978
2978
  retry?: {
2979
2979
  maxAttempts: number;
2980
2980
  augmentPrompt?: string | undefined;
@@ -2995,7 +2995,7 @@ declare const SurfaceContractSchema: ZodObject<{
2995
2995
  } | undefined;
2996
2996
  enabled?: boolean | undefined;
2997
2997
  }>, {
2998
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
2998
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2999
2999
  enabled: boolean;
3000
3000
  passThreshold: number;
3001
3001
  failureAction: "retry" | "flag" | "block";
@@ -3020,7 +3020,7 @@ declare const SurfaceContractSchema: ZodObject<{
3020
3020
  }, {
3021
3021
  passThreshold: number;
3022
3022
  failureAction: "retry" | "flag" | "block";
3023
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
3023
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3024
3024
  retry?: {
3025
3025
  maxAttempts: number;
3026
3026
  augmentPrompt?: string | undefined;
@@ -3059,7 +3059,7 @@ declare const SurfaceContractSchema: ZodObject<{
3059
3059
  passThreshold?: number | undefined;
3060
3060
  rubricRef?: string | undefined;
3061
3061
  gatePolicy?: {
3062
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
3062
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3063
3063
  enabled: boolean;
3064
3064
  passThreshold: number;
3065
3065
  failureAction: "retry" | "flag" | "block";
@@ -3095,7 +3095,7 @@ declare const SurfaceContractSchema: ZodObject<{
3095
3095
  gatePolicy?: {
3096
3096
  passThreshold: number;
3097
3097
  failureAction: "retry" | "flag" | "block";
3098
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
3098
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3099
3099
  retry?: {
3100
3100
  maxAttempts: number;
3101
3101
  augmentPrompt?: string | undefined;
@@ -3124,7 +3124,7 @@ declare const SurfaceContractSchema: ZodObject<{
3124
3124
  }, "strip", ZodTypeAny$1, {
3125
3125
  surfaceId: string;
3126
3126
  lightSourceId: string | readonly string[];
3127
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
3127
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3128
3128
  dimensions?: {
3129
3129
  id: string;
3130
3130
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -3132,7 +3132,7 @@ declare const SurfaceContractSchema: ZodObject<{
3132
3132
  passThreshold?: number | undefined;
3133
3133
  rubricRef?: string | undefined;
3134
3134
  gatePolicy?: {
3135
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
3135
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3136
3136
  enabled: boolean;
3137
3137
  passThreshold: number;
3138
3138
  failureAction: "retry" | "flag" | "block";
@@ -3163,7 +3163,7 @@ declare const SurfaceContractSchema: ZodObject<{
3163
3163
  }, {
3164
3164
  surfaceId: string;
3165
3165
  lightSourceId: string | readonly string[];
3166
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
3166
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3167
3167
  dimensions?: {
3168
3168
  id: string;
3169
3169
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -3173,7 +3173,7 @@ declare const SurfaceContractSchema: ZodObject<{
3173
3173
  gatePolicy?: {
3174
3174
  passThreshold: number;
3175
3175
  failureAction: "retry" | "flag" | "block";
3176
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
3176
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3177
3177
  retry?: {
3178
3178
  maxAttempts: number;
3179
3179
  augmentPrompt?: string | undefined;
@@ -3293,7 +3293,7 @@ declare const SurfaceContractSchema: ZodObject<{
3293
3293
  } | undefined;
3294
3294
  }>>;
3295
3295
  }, "strip", ZodTypeAny$1, {
3296
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
3296
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3297
3297
  enabled: boolean;
3298
3298
  passThreshold: number;
3299
3299
  failureAction: "retry" | "flag" | "block";
@@ -3318,7 +3318,7 @@ declare const SurfaceContractSchema: ZodObject<{
3318
3318
  }, {
3319
3319
  passThreshold: number;
3320
3320
  failureAction: "retry" | "flag" | "block";
3321
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
3321
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3322
3322
  retry?: {
3323
3323
  maxAttempts: number;
3324
3324
  augmentPrompt?: string | undefined;
@@ -3339,7 +3339,7 @@ declare const SurfaceContractSchema: ZodObject<{
3339
3339
  } | undefined;
3340
3340
  enabled?: boolean | undefined;
3341
3341
  }>, {
3342
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
3342
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3343
3343
  enabled: boolean;
3344
3344
  passThreshold: number;
3345
3345
  failureAction: "retry" | "flag" | "block";
@@ -3364,7 +3364,7 @@ declare const SurfaceContractSchema: ZodObject<{
3364
3364
  }, {
3365
3365
  passThreshold: number;
3366
3366
  failureAction: "retry" | "flag" | "block";
3367
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
3367
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3368
3368
  retry?: {
3369
3369
  maxAttempts: number;
3370
3370
  augmentPrompt?: string | undefined;
@@ -3385,7 +3385,7 @@ declare const SurfaceContractSchema: ZodObject<{
3385
3385
  } | undefined;
3386
3386
  enabled?: boolean | undefined;
3387
3387
  }>, {
3388
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
3388
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3389
3389
  enabled: boolean;
3390
3390
  passThreshold: number;
3391
3391
  failureAction: "retry" | "flag" | "block";
@@ -3410,7 +3410,7 @@ declare const SurfaceContractSchema: ZodObject<{
3410
3410
  }, {
3411
3411
  passThreshold: number;
3412
3412
  failureAction: "retry" | "flag" | "block";
3413
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
3413
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3414
3414
  retry?: {
3415
3415
  maxAttempts: number;
3416
3416
  augmentPrompt?: string | undefined;
@@ -3449,7 +3449,7 @@ declare const SurfaceContractSchema: ZodObject<{
3449
3449
  passThreshold?: number | undefined;
3450
3450
  rubricRef?: string | undefined;
3451
3451
  gatePolicy?: {
3452
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
3452
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3453
3453
  enabled: boolean;
3454
3454
  passThreshold: number;
3455
3455
  failureAction: "retry" | "flag" | "block";
@@ -3485,7 +3485,7 @@ declare const SurfaceContractSchema: ZodObject<{
3485
3485
  gatePolicy?: {
3486
3486
  passThreshold: number;
3487
3487
  failureAction: "retry" | "flag" | "block";
3488
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
3488
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3489
3489
  retry?: {
3490
3490
  maxAttempts: number;
3491
3491
  augmentPrompt?: string | undefined;
@@ -3514,7 +3514,7 @@ declare const SurfaceContractSchema: ZodObject<{
3514
3514
  }, "strip", ZodTypeAny$1, {
3515
3515
  surfaceId: string;
3516
3516
  lightSourceId: string | readonly string[];
3517
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
3517
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3518
3518
  dimensions?: {
3519
3519
  id: string;
3520
3520
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -3522,7 +3522,7 @@ declare const SurfaceContractSchema: ZodObject<{
3522
3522
  passThreshold?: number | undefined;
3523
3523
  rubricRef?: string | undefined;
3524
3524
  gatePolicy?: {
3525
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
3525
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3526
3526
  enabled: boolean;
3527
3527
  passThreshold: number;
3528
3528
  failureAction: "retry" | "flag" | "block";
@@ -3553,7 +3553,7 @@ declare const SurfaceContractSchema: ZodObject<{
3553
3553
  }, {
3554
3554
  surfaceId: string;
3555
3555
  lightSourceId: string | readonly string[];
3556
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
3556
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3557
3557
  dimensions?: {
3558
3558
  id: string;
3559
3559
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -3563,7 +3563,7 @@ declare const SurfaceContractSchema: ZodObject<{
3563
3563
  gatePolicy?: {
3564
3564
  passThreshold: number;
3565
3565
  failureAction: "retry" | "flag" | "block";
3566
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
3566
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3567
3567
  retry?: {
3568
3568
  maxAttempts: number;
3569
3569
  augmentPrompt?: string | undefined;
@@ -3683,7 +3683,7 @@ declare const SurfaceContractSchema: ZodObject<{
3683
3683
  } | undefined;
3684
3684
  }>>;
3685
3685
  }, "strip", ZodTypeAny$1, {
3686
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
3686
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3687
3687
  enabled: boolean;
3688
3688
  passThreshold: number;
3689
3689
  failureAction: "retry" | "flag" | "block";
@@ -3708,7 +3708,7 @@ declare const SurfaceContractSchema: ZodObject<{
3708
3708
  }, {
3709
3709
  passThreshold: number;
3710
3710
  failureAction: "retry" | "flag" | "block";
3711
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
3711
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3712
3712
  retry?: {
3713
3713
  maxAttempts: number;
3714
3714
  augmentPrompt?: string | undefined;
@@ -3729,7 +3729,7 @@ declare const SurfaceContractSchema: ZodObject<{
3729
3729
  } | undefined;
3730
3730
  enabled?: boolean | undefined;
3731
3731
  }>, {
3732
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
3732
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3733
3733
  enabled: boolean;
3734
3734
  passThreshold: number;
3735
3735
  failureAction: "retry" | "flag" | "block";
@@ -3754,7 +3754,7 @@ declare const SurfaceContractSchema: ZodObject<{
3754
3754
  }, {
3755
3755
  passThreshold: number;
3756
3756
  failureAction: "retry" | "flag" | "block";
3757
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
3757
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3758
3758
  retry?: {
3759
3759
  maxAttempts: number;
3760
3760
  augmentPrompt?: string | undefined;
@@ -3775,7 +3775,7 @@ declare const SurfaceContractSchema: ZodObject<{
3775
3775
  } | undefined;
3776
3776
  enabled?: boolean | undefined;
3777
3777
  }>, {
3778
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
3778
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3779
3779
  enabled: boolean;
3780
3780
  passThreshold: number;
3781
3781
  failureAction: "retry" | "flag" | "block";
@@ -3800,7 +3800,7 @@ declare const SurfaceContractSchema: ZodObject<{
3800
3800
  }, {
3801
3801
  passThreshold: number;
3802
3802
  failureAction: "retry" | "flag" | "block";
3803
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
3803
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3804
3804
  retry?: {
3805
3805
  maxAttempts: number;
3806
3806
  augmentPrompt?: string | undefined;
@@ -3839,7 +3839,7 @@ declare const SurfaceContractSchema: ZodObject<{
3839
3839
  passThreshold?: number | undefined;
3840
3840
  rubricRef?: string | undefined;
3841
3841
  gatePolicy?: {
3842
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
3842
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3843
3843
  enabled: boolean;
3844
3844
  passThreshold: number;
3845
3845
  failureAction: "retry" | "flag" | "block";
@@ -3875,7 +3875,7 @@ declare const SurfaceContractSchema: ZodObject<{
3875
3875
  gatePolicy?: {
3876
3876
  passThreshold: number;
3877
3877
  failureAction: "retry" | "flag" | "block";
3878
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
3878
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3879
3879
  retry?: {
3880
3880
  maxAttempts: number;
3881
3881
  augmentPrompt?: string | undefined;
@@ -3904,7 +3904,7 @@ declare const SurfaceContractSchema: ZodObject<{
3904
3904
  }, "strip", ZodTypeAny$1, {
3905
3905
  surfaceId: string;
3906
3906
  lightSourceId: string | readonly string[];
3907
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
3907
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3908
3908
  dimensions?: {
3909
3909
  id: string;
3910
3910
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -3912,7 +3912,7 @@ declare const SurfaceContractSchema: ZodObject<{
3912
3912
  passThreshold?: number | undefined;
3913
3913
  rubricRef?: string | undefined;
3914
3914
  gatePolicy?: {
3915
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
3915
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3916
3916
  enabled: boolean;
3917
3917
  passThreshold: number;
3918
3918
  failureAction: "retry" | "flag" | "block";
@@ -3943,7 +3943,7 @@ declare const SurfaceContractSchema: ZodObject<{
3943
3943
  }, {
3944
3944
  surfaceId: string;
3945
3945
  lightSourceId: string | readonly string[];
3946
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
3946
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3947
3947
  dimensions?: {
3948
3948
  id: string;
3949
3949
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -3953,7 +3953,7 @@ declare const SurfaceContractSchema: ZodObject<{
3953
3953
  gatePolicy?: {
3954
3954
  passThreshold: number;
3955
3955
  failureAction: "retry" | "flag" | "block";
3956
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
3956
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3957
3957
  retry?: {
3958
3958
  maxAttempts: number;
3959
3959
  augmentPrompt?: string | undefined;
@@ -4073,7 +4073,7 @@ declare const SurfaceContractSchema: ZodObject<{
4073
4073
  } | undefined;
4074
4074
  }>>;
4075
4075
  }, "strip", ZodTypeAny$1, {
4076
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
4076
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4077
4077
  enabled: boolean;
4078
4078
  passThreshold: number;
4079
4079
  failureAction: "retry" | "flag" | "block";
@@ -4098,7 +4098,7 @@ declare const SurfaceContractSchema: ZodObject<{
4098
4098
  }, {
4099
4099
  passThreshold: number;
4100
4100
  failureAction: "retry" | "flag" | "block";
4101
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
4101
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4102
4102
  retry?: {
4103
4103
  maxAttempts: number;
4104
4104
  augmentPrompt?: string | undefined;
@@ -4119,7 +4119,7 @@ declare const SurfaceContractSchema: ZodObject<{
4119
4119
  } | undefined;
4120
4120
  enabled?: boolean | undefined;
4121
4121
  }>, {
4122
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
4122
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4123
4123
  enabled: boolean;
4124
4124
  passThreshold: number;
4125
4125
  failureAction: "retry" | "flag" | "block";
@@ -4144,7 +4144,7 @@ declare const SurfaceContractSchema: ZodObject<{
4144
4144
  }, {
4145
4145
  passThreshold: number;
4146
4146
  failureAction: "retry" | "flag" | "block";
4147
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
4147
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4148
4148
  retry?: {
4149
4149
  maxAttempts: number;
4150
4150
  augmentPrompt?: string | undefined;
@@ -4165,7 +4165,7 @@ declare const SurfaceContractSchema: ZodObject<{
4165
4165
  } | undefined;
4166
4166
  enabled?: boolean | undefined;
4167
4167
  }>, {
4168
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
4168
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4169
4169
  enabled: boolean;
4170
4170
  passThreshold: number;
4171
4171
  failureAction: "retry" | "flag" | "block";
@@ -4190,7 +4190,7 @@ declare const SurfaceContractSchema: ZodObject<{
4190
4190
  }, {
4191
4191
  passThreshold: number;
4192
4192
  failureAction: "retry" | "flag" | "block";
4193
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
4193
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4194
4194
  retry?: {
4195
4195
  maxAttempts: number;
4196
4196
  augmentPrompt?: string | undefined;
@@ -4229,7 +4229,7 @@ declare const SurfaceContractSchema: ZodObject<{
4229
4229
  passThreshold?: number | undefined;
4230
4230
  rubricRef?: string | undefined;
4231
4231
  gatePolicy?: {
4232
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
4232
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4233
4233
  enabled: boolean;
4234
4234
  passThreshold: number;
4235
4235
  failureAction: "retry" | "flag" | "block";
@@ -4265,7 +4265,7 @@ declare const SurfaceContractSchema: ZodObject<{
4265
4265
  gatePolicy?: {
4266
4266
  passThreshold: number;
4267
4267
  failureAction: "retry" | "flag" | "block";
4268
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
4268
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4269
4269
  retry?: {
4270
4270
  maxAttempts: number;
4271
4271
  augmentPrompt?: string | undefined;
@@ -4294,7 +4294,7 @@ declare const SurfaceContractSchema: ZodObject<{
4294
4294
  }, "strip", ZodTypeAny$1, {
4295
4295
  surfaceId: string;
4296
4296
  lightSourceId: string | readonly string[];
4297
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
4297
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4298
4298
  dimensions?: {
4299
4299
  id: string;
4300
4300
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -4302,7 +4302,7 @@ declare const SurfaceContractSchema: ZodObject<{
4302
4302
  passThreshold?: number | undefined;
4303
4303
  rubricRef?: string | undefined;
4304
4304
  gatePolicy?: {
4305
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
4305
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4306
4306
  enabled: boolean;
4307
4307
  passThreshold: number;
4308
4308
  failureAction: "retry" | "flag" | "block";
@@ -4333,7 +4333,7 @@ declare const SurfaceContractSchema: ZodObject<{
4333
4333
  }, {
4334
4334
  surfaceId: string;
4335
4335
  lightSourceId: string | readonly string[];
4336
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
4336
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4337
4337
  dimensions?: {
4338
4338
  id: string;
4339
4339
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -4343,7 +4343,7 @@ declare const SurfaceContractSchema: ZodObject<{
4343
4343
  gatePolicy?: {
4344
4344
  passThreshold: number;
4345
4345
  failureAction: "retry" | "flag" | "block";
4346
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
4346
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4347
4347
  retry?: {
4348
4348
  maxAttempts: number;
4349
4349
  augmentPrompt?: string | undefined;
@@ -4374,7 +4374,7 @@ declare const SurfaceContractSchema: ZodObject<{
4374
4374
  skillDrafting: {
4375
4375
  surfaceId: string;
4376
4376
  lightSourceId: string | readonly string[];
4377
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
4377
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4378
4378
  dimensions?: {
4379
4379
  id: string;
4380
4380
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -4382,7 +4382,7 @@ declare const SurfaceContractSchema: ZodObject<{
4382
4382
  passThreshold?: number | undefined;
4383
4383
  rubricRef?: string | undefined;
4384
4384
  gatePolicy?: {
4385
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
4385
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4386
4386
  enabled: boolean;
4387
4387
  passThreshold: number;
4388
4388
  failureAction: "retry" | "flag" | "block";
@@ -4414,7 +4414,7 @@ declare const SurfaceContractSchema: ZodObject<{
4414
4414
  lessonDrafting?: {
4415
4415
  surfaceId: string;
4416
4416
  lightSourceId: string | readonly string[];
4417
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
4417
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4418
4418
  dimensions?: {
4419
4419
  id: string;
4420
4420
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -4422,7 +4422,7 @@ declare const SurfaceContractSchema: ZodObject<{
4422
4422
  passThreshold?: number | undefined;
4423
4423
  rubricRef?: string | undefined;
4424
4424
  gatePolicy?: {
4425
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
4425
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4426
4426
  enabled: boolean;
4427
4427
  passThreshold: number;
4428
4428
  failureAction: "retry" | "flag" | "block";
@@ -4454,7 +4454,7 @@ declare const SurfaceContractSchema: ZodObject<{
4454
4454
  fixtureGeneration?: {
4455
4455
  surfaceId: string;
4456
4456
  lightSourceId: string | readonly string[];
4457
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
4457
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4458
4458
  dimensions?: {
4459
4459
  id: string;
4460
4460
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -4462,7 +4462,7 @@ declare const SurfaceContractSchema: ZodObject<{
4462
4462
  passThreshold?: number | undefined;
4463
4463
  rubricRef?: string | undefined;
4464
4464
  gatePolicy?: {
4465
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
4465
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4466
4466
  enabled: boolean;
4467
4467
  passThreshold: number;
4468
4468
  failureAction: "retry" | "flag" | "block";
@@ -4494,7 +4494,7 @@ declare const SurfaceContractSchema: ZodObject<{
4494
4494
  codeChangeRecommendationDrafting?: {
4495
4495
  surfaceId: string;
4496
4496
  lightSourceId: string | readonly string[];
4497
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
4497
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4498
4498
  dimensions?: {
4499
4499
  id: string;
4500
4500
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -4502,7 +4502,7 @@ declare const SurfaceContractSchema: ZodObject<{
4502
4502
  passThreshold?: number | undefined;
4503
4503
  rubricRef?: string | undefined;
4504
4504
  gatePolicy?: {
4505
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
4505
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4506
4506
  enabled: boolean;
4507
4507
  passThreshold: number;
4508
4508
  failureAction: "retry" | "flag" | "block";
@@ -4534,7 +4534,7 @@ declare const SurfaceContractSchema: ZodObject<{
4534
4534
  blastRadiusJudging?: {
4535
4535
  surfaceId: string;
4536
4536
  lightSourceId: string | readonly string[];
4537
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
4537
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4538
4538
  dimensions?: {
4539
4539
  id: string;
4540
4540
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -4542,7 +4542,7 @@ declare const SurfaceContractSchema: ZodObject<{
4542
4542
  passThreshold?: number | undefined;
4543
4543
  rubricRef?: string | undefined;
4544
4544
  gatePolicy?: {
4545
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
4545
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4546
4546
  enabled: boolean;
4547
4547
  passThreshold: number;
4548
4548
  failureAction: "retry" | "flag" | "block";
@@ -4575,7 +4575,7 @@ declare const SurfaceContractSchema: ZodObject<{
4575
4575
  skillDrafting: {
4576
4576
  surfaceId: string;
4577
4577
  lightSourceId: string | readonly string[];
4578
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
4578
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4579
4579
  dimensions?: {
4580
4580
  id: string;
4581
4581
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -4585,7 +4585,7 @@ declare const SurfaceContractSchema: ZodObject<{
4585
4585
  gatePolicy?: {
4586
4586
  passThreshold: number;
4587
4587
  failureAction: "retry" | "flag" | "block";
4588
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
4588
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4589
4589
  retry?: {
4590
4590
  maxAttempts: number;
4591
4591
  augmentPrompt?: string | undefined;
@@ -4615,7 +4615,7 @@ declare const SurfaceContractSchema: ZodObject<{
4615
4615
  lessonDrafting?: {
4616
4616
  surfaceId: string;
4617
4617
  lightSourceId: string | readonly string[];
4618
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
4618
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4619
4619
  dimensions?: {
4620
4620
  id: string;
4621
4621
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -4625,7 +4625,7 @@ declare const SurfaceContractSchema: ZodObject<{
4625
4625
  gatePolicy?: {
4626
4626
  passThreshold: number;
4627
4627
  failureAction: "retry" | "flag" | "block";
4628
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
4628
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4629
4629
  retry?: {
4630
4630
  maxAttempts: number;
4631
4631
  augmentPrompt?: string | undefined;
@@ -4655,7 +4655,7 @@ declare const SurfaceContractSchema: ZodObject<{
4655
4655
  fixtureGeneration?: {
4656
4656
  surfaceId: string;
4657
4657
  lightSourceId: string | readonly string[];
4658
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
4658
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4659
4659
  dimensions?: {
4660
4660
  id: string;
4661
4661
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -4665,7 +4665,7 @@ declare const SurfaceContractSchema: ZodObject<{
4665
4665
  gatePolicy?: {
4666
4666
  passThreshold: number;
4667
4667
  failureAction: "retry" | "flag" | "block";
4668
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
4668
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4669
4669
  retry?: {
4670
4670
  maxAttempts: number;
4671
4671
  augmentPrompt?: string | undefined;
@@ -4695,7 +4695,7 @@ declare const SurfaceContractSchema: ZodObject<{
4695
4695
  codeChangeRecommendationDrafting?: {
4696
4696
  surfaceId: string;
4697
4697
  lightSourceId: string | readonly string[];
4698
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
4698
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4699
4699
  dimensions?: {
4700
4700
  id: string;
4701
4701
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -4705,7 +4705,7 @@ declare const SurfaceContractSchema: ZodObject<{
4705
4705
  gatePolicy?: {
4706
4706
  passThreshold: number;
4707
4707
  failureAction: "retry" | "flag" | "block";
4708
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
4708
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4709
4709
  retry?: {
4710
4710
  maxAttempts: number;
4711
4711
  augmentPrompt?: string | undefined;
@@ -4735,7 +4735,7 @@ declare const SurfaceContractSchema: ZodObject<{
4735
4735
  blastRadiusJudging?: {
4736
4736
  surfaceId: string;
4737
4737
  lightSourceId: string | readonly string[];
4738
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
4738
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4739
4739
  dimensions?: {
4740
4740
  id: string;
4741
4741
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -4745,7 +4745,7 @@ declare const SurfaceContractSchema: ZodObject<{
4745
4745
  gatePolicy?: {
4746
4746
  passThreshold: number;
4747
4747
  failureAction: "retry" | "flag" | "block";
4748
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
4748
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4749
4749
  retry?: {
4750
4750
  maxAttempts: number;
4751
4751
  augmentPrompt?: string | undefined;
@@ -4785,7 +4785,7 @@ declare const SurfaceContractSchema: ZodObject<{
4785
4785
  passThreshold?: number | undefined;
4786
4786
  rubricRef?: string | undefined;
4787
4787
  gatePolicy?: {
4788
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
4788
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4789
4789
  enabled: boolean;
4790
4790
  passThreshold: number;
4791
4791
  failureAction: "retry" | "flag" | "block";
@@ -4851,7 +4851,7 @@ declare const SurfaceContractSchema: ZodObject<{
4851
4851
  routings?: {
4852
4852
  surfaceId: string;
4853
4853
  lightSourceId: string | readonly string[];
4854
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
4854
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4855
4855
  }[] | undefined;
4856
4856
  pricing?: Record<string, {
4857
4857
  perMillionInput: number;
@@ -4863,7 +4863,7 @@ declare const SurfaceContractSchema: ZodObject<{
4863
4863
  skillDrafting: {
4864
4864
  surfaceId: string;
4865
4865
  lightSourceId: string | readonly string[];
4866
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
4866
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4867
4867
  dimensions?: {
4868
4868
  id: string;
4869
4869
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -4871,7 +4871,7 @@ declare const SurfaceContractSchema: ZodObject<{
4871
4871
  passThreshold?: number | undefined;
4872
4872
  rubricRef?: string | undefined;
4873
4873
  gatePolicy?: {
4874
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
4874
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4875
4875
  enabled: boolean;
4876
4876
  passThreshold: number;
4877
4877
  failureAction: "retry" | "flag" | "block";
@@ -4903,7 +4903,7 @@ declare const SurfaceContractSchema: ZodObject<{
4903
4903
  lessonDrafting?: {
4904
4904
  surfaceId: string;
4905
4905
  lightSourceId: string | readonly string[];
4906
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
4906
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4907
4907
  dimensions?: {
4908
4908
  id: string;
4909
4909
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -4911,7 +4911,7 @@ declare const SurfaceContractSchema: ZodObject<{
4911
4911
  passThreshold?: number | undefined;
4912
4912
  rubricRef?: string | undefined;
4913
4913
  gatePolicy?: {
4914
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
4914
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4915
4915
  enabled: boolean;
4916
4916
  passThreshold: number;
4917
4917
  failureAction: "retry" | "flag" | "block";
@@ -4943,7 +4943,7 @@ declare const SurfaceContractSchema: ZodObject<{
4943
4943
  fixtureGeneration?: {
4944
4944
  surfaceId: string;
4945
4945
  lightSourceId: string | readonly string[];
4946
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
4946
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4947
4947
  dimensions?: {
4948
4948
  id: string;
4949
4949
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -4951,7 +4951,7 @@ declare const SurfaceContractSchema: ZodObject<{
4951
4951
  passThreshold?: number | undefined;
4952
4952
  rubricRef?: string | undefined;
4953
4953
  gatePolicy?: {
4954
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
4954
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4955
4955
  enabled: boolean;
4956
4956
  passThreshold: number;
4957
4957
  failureAction: "retry" | "flag" | "block";
@@ -4983,7 +4983,7 @@ declare const SurfaceContractSchema: ZodObject<{
4983
4983
  codeChangeRecommendationDrafting?: {
4984
4984
  surfaceId: string;
4985
4985
  lightSourceId: string | readonly string[];
4986
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
4986
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4987
4987
  dimensions?: {
4988
4988
  id: string;
4989
4989
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -4991,7 +4991,7 @@ declare const SurfaceContractSchema: ZodObject<{
4991
4991
  passThreshold?: number | undefined;
4992
4992
  rubricRef?: string | undefined;
4993
4993
  gatePolicy?: {
4994
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
4994
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4995
4995
  enabled: boolean;
4996
4996
  passThreshold: number;
4997
4997
  failureAction: "retry" | "flag" | "block";
@@ -5023,7 +5023,7 @@ declare const SurfaceContractSchema: ZodObject<{
5023
5023
  blastRadiusJudging?: {
5024
5024
  surfaceId: string;
5025
5025
  lightSourceId: string | readonly string[];
5026
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
5026
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
5027
5027
  dimensions?: {
5028
5028
  id: string;
5029
5029
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -5031,7 +5031,7 @@ declare const SurfaceContractSchema: ZodObject<{
5031
5031
  passThreshold?: number | undefined;
5032
5032
  rubricRef?: string | undefined;
5033
5033
  gatePolicy?: {
5034
- activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
5034
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
5035
5035
  enabled: boolean;
5036
5036
  passThreshold: number;
5037
5037
  failureAction: "retry" | "flag" | "block";
@@ -5074,7 +5074,7 @@ declare const SurfaceContractSchema: ZodObject<{
5074
5074
  gatePolicy?: {
5075
5075
  passThreshold: number;
5076
5076
  failureAction: "retry" | "flag" | "block";
5077
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
5077
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
5078
5078
  retry?: {
5079
5079
  maxAttempts: number;
5080
5080
  augmentPrompt?: string | undefined;
@@ -5139,7 +5139,7 @@ declare const SurfaceContractSchema: ZodObject<{
5139
5139
  routings?: {
5140
5140
  surfaceId: string;
5141
5141
  lightSourceId: string | readonly string[];
5142
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
5142
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
5143
5143
  }[] | undefined;
5144
5144
  pricing?: Record<string, {
5145
5145
  perMillionInput: number;
@@ -5151,7 +5151,7 @@ declare const SurfaceContractSchema: ZodObject<{
5151
5151
  skillDrafting: {
5152
5152
  surfaceId: string;
5153
5153
  lightSourceId: string | readonly string[];
5154
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
5154
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
5155
5155
  dimensions?: {
5156
5156
  id: string;
5157
5157
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -5161,7 +5161,7 @@ declare const SurfaceContractSchema: ZodObject<{
5161
5161
  gatePolicy?: {
5162
5162
  passThreshold: number;
5163
5163
  failureAction: "retry" | "flag" | "block";
5164
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
5164
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
5165
5165
  retry?: {
5166
5166
  maxAttempts: number;
5167
5167
  augmentPrompt?: string | undefined;
@@ -5191,7 +5191,7 @@ declare const SurfaceContractSchema: ZodObject<{
5191
5191
  lessonDrafting?: {
5192
5192
  surfaceId: string;
5193
5193
  lightSourceId: string | readonly string[];
5194
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
5194
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
5195
5195
  dimensions?: {
5196
5196
  id: string;
5197
5197
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -5201,7 +5201,7 @@ declare const SurfaceContractSchema: ZodObject<{
5201
5201
  gatePolicy?: {
5202
5202
  passThreshold: number;
5203
5203
  failureAction: "retry" | "flag" | "block";
5204
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
5204
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
5205
5205
  retry?: {
5206
5206
  maxAttempts: number;
5207
5207
  augmentPrompt?: string | undefined;
@@ -5231,7 +5231,7 @@ declare const SurfaceContractSchema: ZodObject<{
5231
5231
  fixtureGeneration?: {
5232
5232
  surfaceId: string;
5233
5233
  lightSourceId: string | readonly string[];
5234
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
5234
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
5235
5235
  dimensions?: {
5236
5236
  id: string;
5237
5237
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -5241,7 +5241,7 @@ declare const SurfaceContractSchema: ZodObject<{
5241
5241
  gatePolicy?: {
5242
5242
  passThreshold: number;
5243
5243
  failureAction: "retry" | "flag" | "block";
5244
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
5244
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
5245
5245
  retry?: {
5246
5246
  maxAttempts: number;
5247
5247
  augmentPrompt?: string | undefined;
@@ -5271,7 +5271,7 @@ declare const SurfaceContractSchema: ZodObject<{
5271
5271
  codeChangeRecommendationDrafting?: {
5272
5272
  surfaceId: string;
5273
5273
  lightSourceId: string | readonly string[];
5274
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
5274
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
5275
5275
  dimensions?: {
5276
5276
  id: string;
5277
5277
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -5281,7 +5281,7 @@ declare const SurfaceContractSchema: ZodObject<{
5281
5281
  gatePolicy?: {
5282
5282
  passThreshold: number;
5283
5283
  failureAction: "retry" | "flag" | "block";
5284
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
5284
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
5285
5285
  retry?: {
5286
5286
  maxAttempts: number;
5287
5287
  augmentPrompt?: string | undefined;
@@ -5311,7 +5311,7 @@ declare const SurfaceContractSchema: ZodObject<{
5311
5311
  blastRadiusJudging?: {
5312
5312
  surfaceId: string;
5313
5313
  lightSourceId: string | readonly string[];
5314
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
5314
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
5315
5315
  dimensions?: {
5316
5316
  id: string;
5317
5317
  scoring: "custom" | "exact-match" | "llm-judge";
@@ -5321,7 +5321,7 @@ declare const SurfaceContractSchema: ZodObject<{
5321
5321
  gatePolicy?: {
5322
5322
  passThreshold: number;
5323
5323
  failureAction: "retry" | "flag" | "block";
5324
- activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
5324
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
5325
5325
  retry?: {
5326
5326
  maxAttempts: number;
5327
5327
  augmentPrompt?: string | undefined;
@@ -6388,9 +6388,11 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
6388
6388
 
6389
6389
  correlationId: ZodString;
6390
6390
 
6391
+ emissionStreamId: ZodOptional$1<ZodString>;
6392
+
6391
6393
  lensVersion: ZodString;
6392
6394
 
6393
- kind: ZodDefault$1<ZodEnum$1<["evaluation", "availability.transition", "analysis.noise-floor-calibration", "analysis.variance-decomposition", "analysis.lifecycle-transition", "analysis.eval-recommendation", "analysis.conformance-fixture", "analysis.emission-coverage"]>>;
6395
+ kind: ZodDefault$1<ZodEnum$1<["evaluation", "availability.transition", "analysis.noise-floor-calibration", "analysis.variance-decomposition", "analysis.lifecycle-transition", "analysis.eval-recommendation", "analysis.conformance-fixture", "analysis.emission-coverage", "analysis.delivery-orphan"]>>;
6394
6396
 
6395
6397
  light: ZodOptional$1<ZodObject<{
6396
6398
 
@@ -7376,19 +7378,19 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
7376
7378
  timestamp: ZodString;
7377
7379
  columns: ZodRecord<ZodString, ZodString>;
7378
7380
  }, "strip", ZodTypeAny$1, {
7379
- provenance: "replay" | "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run";
7381
+ provenance: "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run" | "replay";
7380
7382
  timestamp: string;
7381
7383
  lensVersion: string;
7382
7384
  lightSourceIdentifier: string;
7383
- runMode: "production" | "test" | "eval" | "replay" | "local_dev";
7385
+ runMode: "local_dev" | "replay" | "production" | "test" | "eval";
7384
7386
  correlationId: string;
7385
7387
  columns: Record<string, string>;
7386
7388
  }, {
7387
- provenance: "replay" | "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run";
7389
+ provenance: "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run" | "replay";
7388
7390
  timestamp: string;
7389
7391
  lensVersion: string;
7390
7392
  lightSourceIdentifier: string;
7391
- runMode: "production" | "test" | "eval" | "replay" | "local_dev";
7393
+ runMode: "local_dev" | "replay" | "production" | "test" | "eval";
7392
7394
  correlationId: string;
7393
7395
  columns: Record<string, string>;
7394
7396
  }>>;
@@ -8287,22 +8289,44 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
8287
8289
  finalSeen: boolean;
8288
8290
  observedAtMs: number;
8289
8291
  }>>;
8292
+
8293
+ deliveryOrphan: ZodOptional$1<ZodObject<{
8294
+
8295
+ darkEventId: ZodString;
8296
+
8297
+ emissionStreamId: ZodString;
8298
+
8299
+ surfaceId: ZodString;
8300
+
8301
+ witnessedAtMs: ZodNumber;
8302
+ }, "strip", ZodTypeAny$1, {
8303
+ surfaceId: string;
8304
+ darkEventId: string;
8305
+ emissionStreamId: string;
8306
+ witnessedAtMs: number;
8307
+ }, {
8308
+ surfaceId: string;
8309
+ darkEventId: string;
8310
+ emissionStreamId: string;
8311
+ witnessedAtMs: number;
8312
+ }>>;
8290
8313
  }, "strip", ZodTypeAny$1, {
8291
8314
  lensVersion: string;
8292
8315
  correlationId: string;
8293
8316
  surfaceId: string;
8294
- kind: "evaluation" | "availability.transition" | "analysis.noise-floor-calibration" | "analysis.variance-decomposition" | "analysis.lifecycle-transition" | "analysis.eval-recommendation" | "analysis.conformance-fixture" | "analysis.emission-coverage";
8317
+ kind: "evaluation" | "availability.transition" | "analysis.noise-floor-calibration" | "analysis.variance-decomposition" | "analysis.lifecycle-transition" | "analysis.eval-recommendation" | "analysis.conformance-fixture" | "analysis.emission-coverage" | "analysis.delivery-orphan";
8295
8318
  occurredAt: string;
8296
8319
  eventId: string;
8297
8320
  substrate?: {
8298
- provenance: "replay" | "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run";
8321
+ provenance: "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run" | "replay";
8299
8322
  timestamp: string;
8300
8323
  lensVersion: string;
8301
8324
  lightSourceIdentifier: string;
8302
- runMode: "production" | "test" | "eval" | "replay" | "local_dev";
8325
+ runMode: "local_dev" | "replay" | "production" | "test" | "eval";
8303
8326
  correlationId: string;
8304
8327
  columns: Record<string, string>;
8305
8328
  } | undefined;
8329
+ emissionStreamId?: string | undefined;
8306
8330
  light?: {
8307
8331
  rawRequest?: objectOutputType<{
8308
8332
  surfaceId: ZodString;
@@ -8661,6 +8685,12 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
8661
8685
  finalSeen: boolean;
8662
8686
  observedAtMs: number;
8663
8687
  } | undefined;
8688
+ deliveryOrphan?: {
8689
+ surfaceId: string;
8690
+ darkEventId: string;
8691
+ emissionStreamId: string;
8692
+ witnessedAtMs: number;
8693
+ } | undefined;
8664
8694
  }, {
8665
8695
  lensVersion: string;
8666
8696
  correlationId: string;
@@ -8668,15 +8698,16 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
8668
8698
  occurredAt: string;
8669
8699
  eventId: string;
8670
8700
  substrate?: {
8671
- provenance: "replay" | "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run";
8701
+ provenance: "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run" | "replay";
8672
8702
  timestamp: string;
8673
8703
  lensVersion: string;
8674
8704
  lightSourceIdentifier: string;
8675
- runMode: "production" | "test" | "eval" | "replay" | "local_dev";
8705
+ runMode: "local_dev" | "replay" | "production" | "test" | "eval";
8676
8706
  correlationId: string;
8677
8707
  columns: Record<string, string>;
8678
8708
  } | undefined;
8679
- kind?: "evaluation" | "availability.transition" | "analysis.noise-floor-calibration" | "analysis.variance-decomposition" | "analysis.lifecycle-transition" | "analysis.eval-recommendation" | "analysis.conformance-fixture" | "analysis.emission-coverage" | undefined;
8709
+ kind?: "evaluation" | "availability.transition" | "analysis.noise-floor-calibration" | "analysis.variance-decomposition" | "analysis.lifecycle-transition" | "analysis.eval-recommendation" | "analysis.conformance-fixture" | "analysis.emission-coverage" | "analysis.delivery-orphan" | undefined;
8710
+ emissionStreamId?: string | undefined;
8680
8711
  light?: {
8681
8712
  rawRequest?: objectInputType<{
8682
8713
  surfaceId: ZodString;
@@ -9035,22 +9066,29 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
9035
9066
  finalSeen: boolean;
9036
9067
  observedAtMs: number;
9037
9068
  } | undefined;
9069
+ deliveryOrphan?: {
9070
+ surfaceId: string;
9071
+ darkEventId: string;
9072
+ emissionStreamId: string;
9073
+ witnessedAtMs: number;
9074
+ } | undefined;
9038
9075
  }>, {
9039
9076
  lensVersion: string;
9040
9077
  correlationId: string;
9041
9078
  surfaceId: string;
9042
- kind: "evaluation" | "availability.transition" | "analysis.noise-floor-calibration" | "analysis.variance-decomposition" | "analysis.lifecycle-transition" | "analysis.eval-recommendation" | "analysis.conformance-fixture" | "analysis.emission-coverage";
9079
+ kind: "evaluation" | "availability.transition" | "analysis.noise-floor-calibration" | "analysis.variance-decomposition" | "analysis.lifecycle-transition" | "analysis.eval-recommendation" | "analysis.conformance-fixture" | "analysis.emission-coverage" | "analysis.delivery-orphan";
9043
9080
  occurredAt: string;
9044
9081
  eventId: string;
9045
9082
  substrate?: {
9046
- provenance: "replay" | "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run";
9083
+ provenance: "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run" | "replay";
9047
9084
  timestamp: string;
9048
9085
  lensVersion: string;
9049
9086
  lightSourceIdentifier: string;
9050
- runMode: "production" | "test" | "eval" | "replay" | "local_dev";
9087
+ runMode: "local_dev" | "replay" | "production" | "test" | "eval";
9051
9088
  correlationId: string;
9052
9089
  columns: Record<string, string>;
9053
9090
  } | undefined;
9091
+ emissionStreamId?: string | undefined;
9054
9092
  light?: {
9055
9093
  rawRequest?: objectOutputType<{
9056
9094
  surfaceId: ZodString;
@@ -9409,6 +9447,12 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
9409
9447
  finalSeen: boolean;
9410
9448
  observedAtMs: number;
9411
9449
  } | undefined;
9450
+ deliveryOrphan?: {
9451
+ surfaceId: string;
9452
+ darkEventId: string;
9453
+ emissionStreamId: string;
9454
+ witnessedAtMs: number;
9455
+ } | undefined;
9412
9456
  }, {
9413
9457
  lensVersion: string;
9414
9458
  correlationId: string;
@@ -9416,15 +9460,16 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
9416
9460
  occurredAt: string;
9417
9461
  eventId: string;
9418
9462
  substrate?: {
9419
- provenance: "replay" | "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run";
9463
+ provenance: "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run" | "replay";
9420
9464
  timestamp: string;
9421
9465
  lensVersion: string;
9422
9466
  lightSourceIdentifier: string;
9423
- runMode: "production" | "test" | "eval" | "replay" | "local_dev";
9467
+ runMode: "local_dev" | "replay" | "production" | "test" | "eval";
9424
9468
  correlationId: string;
9425
9469
  columns: Record<string, string>;
9426
9470
  } | undefined;
9427
- kind?: "evaluation" | "availability.transition" | "analysis.noise-floor-calibration" | "analysis.variance-decomposition" | "analysis.lifecycle-transition" | "analysis.eval-recommendation" | "analysis.conformance-fixture" | "analysis.emission-coverage" | undefined;
9471
+ kind?: "evaluation" | "availability.transition" | "analysis.noise-floor-calibration" | "analysis.variance-decomposition" | "analysis.lifecycle-transition" | "analysis.eval-recommendation" | "analysis.conformance-fixture" | "analysis.emission-coverage" | "analysis.delivery-orphan" | undefined;
9472
+ emissionStreamId?: string | undefined;
9428
9473
  light?: {
9429
9474
  rawRequest?: objectInputType<{
9430
9475
  surfaceId: ZodString;
@@ -9783,6 +9828,12 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
9783
9828
  finalSeen: boolean;
9784
9829
  observedAtMs: number;
9785
9830
  } | undefined;
9831
+ deliveryOrphan?: {
9832
+ surfaceId: string;
9833
+ darkEventId: string;
9834
+ emissionStreamId: string;
9835
+ witnessedAtMs: number;
9836
+ } | undefined;
9786
9837
  }>;
9787
9838
  type EvaluationEvent = TypeOf$1<typeof EvaluationEventSchema>;
9788
9839
 
@@ -11098,6 +11149,10 @@ interface EmitOptions {
11098
11149
 
11099
11150
  mode?: EmitMode;
11100
11151
 
11152
+ deployment?: 'serverless' | 'persistent';
11153
+
11154
+ streamId?: string;
11155
+
11101
11156
  otlp?: OtlpEmitConfig;
11102
11157
 
11103
11158
  bufferSize?: number;