@tangle-network/agent-interface 0.33.0 → 0.35.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 (36) hide show
  1. package/dist/agent-candidate-code-schema.d.ts +0 -3
  2. package/dist/agent-candidate-execution-plan-schema.d.ts +11 -17
  3. package/dist/agent-candidate-lineage-schema.d.ts +2 -2
  4. package/dist/agent-candidate-outcome-schema.d.ts +4 -4
  5. package/dist/agent-candidate-profile-schema.d.ts +0 -3
  6. package/dist/agent-candidate-promotion-schema.d.ts +1418 -885
  7. package/dist/agent-candidate-promotion-schema.js +55 -346
  8. package/dist/agent-candidate-receipt-schema.d.ts +9 -11
  9. package/dist/agent-candidate-receipt-schema.js +1 -0
  10. package/dist/agent-candidate-schema.d.ts +0 -6
  11. package/dist/agent-candidate-schema.js +1 -3
  12. package/dist/agent-candidate.d.ts +15 -7
  13. package/dist/agent-execution-limits.d.ts +28 -0
  14. package/dist/agent-execution-limits.js +77 -0
  15. package/dist/agent-improvement-measurement-schema.d.ts +198 -0
  16. package/dist/agent-improvement-measurement-schema.js +349 -0
  17. package/dist/agent-improvement-source.d.ts +23 -0
  18. package/dist/agent-improvement-source.js +38 -0
  19. package/dist/agent-profile-improvement-schema.d.ts +1088 -0
  20. package/dist/agent-profile-improvement-schema.js +560 -0
  21. package/dist/agent-profile-improvement.d.ts +140 -0
  22. package/dist/agent-profile-improvement.js +1 -0
  23. package/dist/agent-profile.d.ts +2 -2
  24. package/dist/agent-profile.js +2 -2
  25. package/dist/harness-capabilities.d.ts +1 -1
  26. package/dist/harness-capabilities.js +9 -12
  27. package/dist/harness.d.ts +1 -10
  28. package/dist/harness.js +0 -13
  29. package/dist/index.d.ts +8 -1
  30. package/dist/index.js +6 -0
  31. package/dist/interaction.d.ts +0 -17
  32. package/dist/interaction.js +0 -23
  33. package/dist/number-validation.d.ts +1 -0
  34. package/dist/number-validation.js +4 -0
  35. package/dist/profile-schema.d.ts +0 -3
  36. package/package.json +1 -1
@@ -1,15 +1,5 @@
1
1
  import { z } from "zod";
2
2
  import type { AgentCandidateJsonValue } from "./agent-candidate.js";
3
- export declare const agentCandidateEvaluationPolicySchema: z.ZodObject<{
4
- confidenceLevel: z.ZodNumber;
5
- resamples: z.ZodNumber;
6
- bootstrapSeed: z.ZodNumber;
7
- deltaThreshold: z.ZodNumber;
8
- minProductiveRuns: z.ZodNumber;
9
- budgetUsd: z.ZodOptional<z.ZodNumber>;
10
- criticalDimensions: z.ZodArray<z.ZodString>;
11
- regressionTolerance: z.ZodNumber;
12
- }, z.core.$strict>;
13
3
  export declare const agentCandidateExperimentSchema: z.ZodObject<{
14
4
  kind: z.ZodLiteral<"agent-candidate-experiment">;
15
5
  digestAlgorithm: z.ZodLiteral<"rfc8785-sha256">;
@@ -41,13 +31,10 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
41
31
  }, z.core.$strict>>;
42
32
  harness: z.ZodOptional<z.ZodEnum<{
43
33
  "claude-code": "claude-code";
44
- claude: "claude";
45
- claudish: "claudish";
46
34
  nanoclaw: "nanoclaw";
47
35
  codex: "codex";
48
36
  opencode: "opencode";
49
37
  "kimi-code": "kimi-code";
50
- kimi: "kimi";
51
38
  pi: "pi";
52
39
  gemini: "gemini";
53
40
  hermes: "hermes";
@@ -276,13 +263,10 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
276
263
  execution: z.ZodObject<{
277
264
  harness: z.ZodEnum<{
278
265
  "claude-code": "claude-code";
279
- claude: "claude";
280
- claudish: "claudish";
281
266
  nanoclaw: "nanoclaw";
282
267
  codex: "codex";
283
268
  opencode: "opencode";
284
269
  "kimi-code": "kimi-code";
285
- kimi: "kimi";
286
270
  pi: "pi";
287
271
  gemini: "gemini";
288
272
  hermes: "hermes";
@@ -554,13 +538,10 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
554
538
  }, z.core.$strict>>;
555
539
  harness: z.ZodOptional<z.ZodEnum<{
556
540
  "claude-code": "claude-code";
557
- claude: "claude";
558
- claudish: "claudish";
559
541
  nanoclaw: "nanoclaw";
560
542
  codex: "codex";
561
543
  opencode: "opencode";
562
544
  "kimi-code": "kimi-code";
563
- kimi: "kimi";
564
545
  pi: "pi";
565
546
  gemini: "gemini";
566
547
  hermes: "hermes";
@@ -789,13 +770,10 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
789
770
  execution: z.ZodObject<{
790
771
  harness: z.ZodEnum<{
791
772
  "claude-code": "claude-code";
792
- claude: "claude";
793
- claudish: "claudish";
794
773
  nanoclaw: "nanoclaw";
795
774
  codex: "codex";
796
775
  opencode: "opencode";
797
776
  "kimi-code": "kimi-code";
798
- kimi: "kimi";
799
777
  pi: "pi";
800
778
  gemini: "gemini";
801
779
  hermes: "hermes";
@@ -1041,10 +1019,10 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
1041
1019
  }, z.core.$strict>;
1042
1020
  candidateLineage: z.ZodObject<{
1043
1021
  source: z.ZodEnum<{
1044
- optimizer: "optimizer";
1045
1022
  human: "human";
1046
- import: "import";
1023
+ optimizer: "optimizer";
1047
1024
  compound: "compound";
1025
+ import: "import";
1048
1026
  }>;
1049
1027
  parentDigests: z.ZodOptional<z.ZodArray<z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>>>;
1050
1028
  runIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1440,7 +1418,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
1440
1418
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
1441
1419
  material: z.ZodType<{
1442
1420
  sourceProfileDigest: `sha256:${string}`;
1443
- harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
1421
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
1444
1422
  files: {
1445
1423
  relPath: string;
1446
1424
  mode: number;
@@ -1464,7 +1442,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
1464
1442
  } | undefined;
1465
1443
  }, unknown, z.core.$ZodTypeInternals<{
1466
1444
  sourceProfileDigest: `sha256:${string}`;
1467
- harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
1445
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
1468
1446
  files: {
1469
1447
  relPath: string;
1470
1448
  mode: number;
@@ -1522,7 +1500,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
1522
1500
  runCell: {
1523
1501
  kind: "agent-candidate-run-cell";
1524
1502
  experimentDigest: `sha256:${string}`;
1525
- arm: "candidate" | "baseline";
1503
+ arm: "baseline" | "candidate";
1526
1504
  bundleDigest: `sha256:${string}`;
1527
1505
  suiteDigest: `sha256:${string}`;
1528
1506
  taskDigest: `sha256:${string}`;
@@ -1543,7 +1521,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
1543
1521
  targetWorkspace: "candidate" | "task";
1544
1522
  mountPaths: string[];
1545
1523
  };
1546
- harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
1524
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
1547
1525
  harnessVersion: string;
1548
1526
  instructionDelivery: {
1549
1527
  kind: "argv-append";
@@ -1765,7 +1743,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
1765
1743
  runCell: {
1766
1744
  kind: "agent-candidate-run-cell";
1767
1745
  experimentDigest: `sha256:${string}`;
1768
- arm: "candidate" | "baseline";
1746
+ arm: "baseline" | "candidate";
1769
1747
  bundleDigest: `sha256:${string}`;
1770
1748
  suiteDigest: `sha256:${string}`;
1771
1749
  taskDigest: `sha256:${string}`;
@@ -1786,7 +1764,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
1786
1764
  targetWorkspace: "candidate" | "task";
1787
1765
  mountPaths: string[];
1788
1766
  };
1789
- harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
1767
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
1790
1768
  harnessVersion: string;
1791
1769
  instructionDelivery: {
1792
1770
  kind: "argv-append";
@@ -2083,13 +2061,10 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2083
2061
  materializedTree: z.ZodOptional<z.ZodString>;
2084
2062
  harness: z.ZodEnum<{
2085
2063
  "claude-code": "claude-code";
2086
- claude: "claude";
2087
- claudish: "claudish";
2088
2064
  nanoclaw: "nanoclaw";
2089
2065
  codex: "codex";
2090
2066
  opencode: "opencode";
2091
2067
  "kimi-code": "kimi-code";
2092
- kimi: "kimi";
2093
2068
  pi: "pi";
2094
2069
  gemini: "gemini";
2095
2070
  hermes: "hermes";
@@ -2149,6 +2124,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2149
2124
  endedAtMs: z.ZodNumber;
2150
2125
  durationMs: z.ZodNumber;
2151
2126
  }, z.core.$strict>;
2127
+ steps: z.ZodNumber;
2152
2128
  memory: z.ZodDiscriminatedUnion<[z.ZodObject<{
2153
2129
  mode: z.ZodLiteral<"disabled">;
2154
2130
  }, z.core.$strict>, z.ZodObject<{
@@ -2266,7 +2242,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2266
2242
  callId: string;
2267
2243
  generationId: string;
2268
2244
  traceSpanId: string;
2269
- status: "failed" | "succeeded";
2245
+ status: "succeeded" | "failed";
2270
2246
  model: string;
2271
2247
  startedAtMs: number;
2272
2248
  endedAtMs: number;
@@ -2301,7 +2277,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2301
2277
  callId: string;
2302
2278
  generationId: string;
2303
2279
  traceSpanId: string;
2304
- status: "failed" | "succeeded";
2280
+ status: "succeeded" | "failed";
2305
2281
  model: string;
2306
2282
  startedAtMs: number;
2307
2283
  endedAtMs: number;
@@ -2733,6 +2709,158 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2733
2709
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
2734
2710
  }, z.core.$strict>;
2735
2711
  export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
2712
+ overall: z.ZodObject<{
2713
+ direction: z.ZodLiteral<"higher-is-better">;
2714
+ unit: z.ZodLiteral<"score">;
2715
+ baseline: z.ZodNumber;
2716
+ candidate: z.ZodNumber;
2717
+ delta: z.ZodNumber;
2718
+ confidenceInterval: z.ZodObject<{
2719
+ level: z.ZodNumber;
2720
+ lower: z.ZodNumber;
2721
+ upper: z.ZodNumber;
2722
+ method: z.ZodLiteral<"paired-bootstrap">;
2723
+ statistic: z.ZodLiteral<"mean">;
2724
+ resamples: z.ZodNumber;
2725
+ }, z.core.$strict>;
2726
+ n: z.ZodNumber;
2727
+ name: z.ZodLiteral<"composite">;
2728
+ }, z.core.$strict>;
2729
+ objectives: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2730
+ kind: z.ZodLiteral<"objective">;
2731
+ name: z.ZodString;
2732
+ direction: z.ZodLiteral<"higher-is-better">;
2733
+ unit: z.ZodLiteral<"score">;
2734
+ baseline: z.ZodNumber;
2735
+ candidate: z.ZodNumber;
2736
+ delta: z.ZodNumber;
2737
+ confidenceInterval: z.ZodObject<{
2738
+ level: z.ZodNumber;
2739
+ lower: z.ZodNumber;
2740
+ upper: z.ZodNumber;
2741
+ method: z.ZodLiteral<"paired-bootstrap">;
2742
+ statistic: z.ZodLiteral<"mean">;
2743
+ resamples: z.ZodNumber;
2744
+ }, z.core.$strict>;
2745
+ n: z.ZodNumber;
2746
+ availability: z.ZodLiteral<"measured">;
2747
+ }, z.core.$strict>, z.ZodObject<{
2748
+ kind: z.ZodLiteral<"objective">;
2749
+ name: z.ZodString;
2750
+ direction: z.ZodLiteral<"higher-is-better">;
2751
+ unit: z.ZodLiteral<"score">;
2752
+ availability: z.ZodLiteral<"unavailable">;
2753
+ reason: z.ZodString;
2754
+ }, z.core.$strict>, z.ZodObject<{
2755
+ kind: z.ZodLiteral<"dimension">;
2756
+ objective: z.ZodString;
2757
+ name: z.ZodString;
2758
+ direction: z.ZodLiteral<"higher-is-better">;
2759
+ unit: z.ZodLiteral<"score">;
2760
+ baseline: z.ZodNumber;
2761
+ candidate: z.ZodNumber;
2762
+ delta: z.ZodNumber;
2763
+ confidenceInterval: z.ZodObject<{
2764
+ level: z.ZodNumber;
2765
+ lower: z.ZodNumber;
2766
+ upper: z.ZodNumber;
2767
+ method: z.ZodLiteral<"paired-bootstrap">;
2768
+ statistic: z.ZodLiteral<"mean">;
2769
+ resamples: z.ZodNumber;
2770
+ }, z.core.$strict>;
2771
+ n: z.ZodNumber;
2772
+ availability: z.ZodLiteral<"measured">;
2773
+ }, z.core.$strict>, z.ZodObject<{
2774
+ kind: z.ZodLiteral<"dimension">;
2775
+ objective: z.ZodString;
2776
+ name: z.ZodString;
2777
+ direction: z.ZodLiteral<"higher-is-better">;
2778
+ unit: z.ZodLiteral<"score">;
2779
+ availability: z.ZodLiteral<"unavailable">;
2780
+ reason: z.ZodString;
2781
+ }, z.core.$strict>, z.ZodObject<{
2782
+ kind: z.ZodLiteral<"cost">;
2783
+ name: z.ZodLiteral<"cost">;
2784
+ direction: z.ZodLiteral<"lower-is-better">;
2785
+ unit: z.ZodLiteral<"usd">;
2786
+ baseline: z.ZodNumber;
2787
+ candidate: z.ZodNumber;
2788
+ delta: z.ZodNumber;
2789
+ confidenceInterval: z.ZodObject<{
2790
+ level: z.ZodNumber;
2791
+ lower: z.ZodNumber;
2792
+ upper: z.ZodNumber;
2793
+ method: z.ZodLiteral<"paired-bootstrap">;
2794
+ statistic: z.ZodLiteral<"mean">;
2795
+ resamples: z.ZodNumber;
2796
+ }, z.core.$strict>;
2797
+ n: z.ZodNumber;
2798
+ availability: z.ZodLiteral<"measured">;
2799
+ }, z.core.$strict>, z.ZodObject<{
2800
+ kind: z.ZodLiteral<"latency">;
2801
+ name: z.ZodLiteral<"latency">;
2802
+ direction: z.ZodLiteral<"lower-is-better">;
2803
+ unit: z.ZodLiteral<"milliseconds">;
2804
+ baseline: z.ZodNumber;
2805
+ candidate: z.ZodNumber;
2806
+ delta: z.ZodNumber;
2807
+ confidenceInterval: z.ZodObject<{
2808
+ level: z.ZodNumber;
2809
+ lower: z.ZodNumber;
2810
+ upper: z.ZodNumber;
2811
+ method: z.ZodLiteral<"paired-bootstrap">;
2812
+ statistic: z.ZodLiteral<"mean">;
2813
+ resamples: z.ZodNumber;
2814
+ }, z.core.$strict>;
2815
+ n: z.ZodNumber;
2816
+ availability: z.ZodLiteral<"measured">;
2817
+ }, z.core.$strict>]>>;
2818
+ candidate: z.ZodOptional<z.ZodObject<{
2819
+ label: z.ZodOptional<z.ZodString>;
2820
+ rationale: z.ZodOptional<z.ZodString>;
2821
+ }, z.core.$strict>>;
2822
+ decision: z.ZodObject<{
2823
+ outcome: z.ZodEnum<{
2824
+ ship: "ship";
2825
+ hold: "hold";
2826
+ need_more_work: "need_more_work";
2827
+ model_ceiling: "model_ceiling";
2828
+ arch_ceiling: "arch_ceiling";
2829
+ }>;
2830
+ reasons: z.ZodArray<z.ZodString>;
2831
+ contributingChecks: z.ZodArray<z.ZodObject<{
2832
+ name: z.ZodString;
2833
+ passed: z.ZodBoolean;
2834
+ }, z.core.$strict>>;
2835
+ }, z.core.$strict>;
2836
+ power: z.ZodObject<{
2837
+ sufficient: z.ZodBoolean;
2838
+ n: z.ZodNumber;
2839
+ minimumDetectableDelta: z.ZodNumber;
2840
+ confidenceLevel: z.ZodNumber;
2841
+ scaleAssumed: z.ZodBoolean;
2842
+ sharedScorerChannel: z.ZodBoolean;
2843
+ reason: z.ZodString;
2844
+ }, z.core.$strict>;
2845
+ provenance: z.ZodObject<{
2846
+ kind: z.ZodLiteral<"agent-eval-loop">;
2847
+ schema: z.ZodString;
2848
+ runId: z.ZodString;
2849
+ recordDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
2850
+ baselineContentHash: z.ZodString;
2851
+ candidateContentHash: z.ZodString;
2852
+ }, z.core.$strict>;
2853
+ diff: z.ZodString;
2854
+ evaluation: z.ZodObject<{
2855
+ generationsExplored: z.ZodNumber;
2856
+ searchDurationMs: z.ZodNumber;
2857
+ executionDurationMs: z.ZodNumber;
2858
+ durationMs: z.ZodNumber;
2859
+ searchCostUsd: z.ZodNumber;
2860
+ executionCostUsd: z.ZodNumber;
2861
+ totalCostUsd: z.ZodNumber;
2862
+ }, z.core.$strict>;
2863
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCustom<AgentCandidateJsonValue, AgentCandidateJsonValue>>>;
2736
2864
  kind: z.ZodLiteral<"agent-improvement-measured-comparison">;
2737
2865
  experiment: z.ZodObject<{
2738
2866
  kind: z.ZodLiteral<"agent-candidate-experiment">;
@@ -2765,13 +2893,10 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
2765
2893
  }, z.core.$strict>>;
2766
2894
  harness: z.ZodOptional<z.ZodEnum<{
2767
2895
  "claude-code": "claude-code";
2768
- claude: "claude";
2769
- claudish: "claudish";
2770
2896
  nanoclaw: "nanoclaw";
2771
2897
  codex: "codex";
2772
2898
  opencode: "opencode";
2773
2899
  "kimi-code": "kimi-code";
2774
- kimi: "kimi";
2775
2900
  pi: "pi";
2776
2901
  gemini: "gemini";
2777
2902
  hermes: "hermes";
@@ -3000,13 +3125,10 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
3000
3125
  execution: z.ZodObject<{
3001
3126
  harness: z.ZodEnum<{
3002
3127
  "claude-code": "claude-code";
3003
- claude: "claude";
3004
- claudish: "claudish";
3005
3128
  nanoclaw: "nanoclaw";
3006
3129
  codex: "codex";
3007
3130
  opencode: "opencode";
3008
3131
  "kimi-code": "kimi-code";
3009
- kimi: "kimi";
3010
3132
  pi: "pi";
3011
3133
  gemini: "gemini";
3012
3134
  hermes: "hermes";
@@ -3278,13 +3400,10 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
3278
3400
  }, z.core.$strict>>;
3279
3401
  harness: z.ZodOptional<z.ZodEnum<{
3280
3402
  "claude-code": "claude-code";
3281
- claude: "claude";
3282
- claudish: "claudish";
3283
3403
  nanoclaw: "nanoclaw";
3284
3404
  codex: "codex";
3285
3405
  opencode: "opencode";
3286
3406
  "kimi-code": "kimi-code";
3287
- kimi: "kimi";
3288
3407
  pi: "pi";
3289
3408
  gemini: "gemini";
3290
3409
  hermes: "hermes";
@@ -3513,13 +3632,10 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
3513
3632
  execution: z.ZodObject<{
3514
3633
  harness: z.ZodEnum<{
3515
3634
  "claude-code": "claude-code";
3516
- claude: "claude";
3517
- claudish: "claudish";
3518
3635
  nanoclaw: "nanoclaw";
3519
3636
  codex: "codex";
3520
3637
  opencode: "opencode";
3521
3638
  "kimi-code": "kimi-code";
3522
- kimi: "kimi";
3523
3639
  pi: "pi";
3524
3640
  gemini: "gemini";
3525
3641
  hermes: "hermes";
@@ -3765,10 +3881,10 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
3765
3881
  }, z.core.$strict>;
3766
3882
  candidateLineage: z.ZodObject<{
3767
3883
  source: z.ZodEnum<{
3768
- optimizer: "optimizer";
3769
3884
  human: "human";
3770
- import: "import";
3885
+ optimizer: "optimizer";
3771
3886
  compound: "compound";
3887
+ import: "import";
3772
3888
  }>;
3773
3889
  parentDigests: z.ZodOptional<z.ZodArray<z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>>>;
3774
3890
  runIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -4165,7 +4281,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
4165
4281
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
4166
4282
  material: z.ZodType<{
4167
4283
  sourceProfileDigest: `sha256:${string}`;
4168
- harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
4284
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
4169
4285
  files: {
4170
4286
  relPath: string;
4171
4287
  mode: number;
@@ -4189,7 +4305,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
4189
4305
  } | undefined;
4190
4306
  }, unknown, z.core.$ZodTypeInternals<{
4191
4307
  sourceProfileDigest: `sha256:${string}`;
4192
- harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
4308
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
4193
4309
  files: {
4194
4310
  relPath: string;
4195
4311
  mode: number;
@@ -4247,7 +4363,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
4247
4363
  runCell: {
4248
4364
  kind: "agent-candidate-run-cell";
4249
4365
  experimentDigest: `sha256:${string}`;
4250
- arm: "candidate" | "baseline";
4366
+ arm: "baseline" | "candidate";
4251
4367
  bundleDigest: `sha256:${string}`;
4252
4368
  suiteDigest: `sha256:${string}`;
4253
4369
  taskDigest: `sha256:${string}`;
@@ -4268,7 +4384,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
4268
4384
  targetWorkspace: "candidate" | "task";
4269
4385
  mountPaths: string[];
4270
4386
  };
4271
- harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
4387
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
4272
4388
  harnessVersion: string;
4273
4389
  instructionDelivery: {
4274
4390
  kind: "argv-append";
@@ -4490,7 +4606,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
4490
4606
  runCell: {
4491
4607
  kind: "agent-candidate-run-cell";
4492
4608
  experimentDigest: `sha256:${string}`;
4493
- arm: "candidate" | "baseline";
4609
+ arm: "baseline" | "candidate";
4494
4610
  bundleDigest: `sha256:${string}`;
4495
4611
  suiteDigest: `sha256:${string}`;
4496
4612
  taskDigest: `sha256:${string}`;
@@ -4511,7 +4627,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
4511
4627
  targetWorkspace: "candidate" | "task";
4512
4628
  mountPaths: string[];
4513
4629
  };
4514
- harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
4630
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
4515
4631
  harnessVersion: string;
4516
4632
  instructionDelivery: {
4517
4633
  kind: "argv-append";
@@ -4808,13 +4924,10 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
4808
4924
  materializedTree: z.ZodOptional<z.ZodString>;
4809
4925
  harness: z.ZodEnum<{
4810
4926
  "claude-code": "claude-code";
4811
- claude: "claude";
4812
- claudish: "claudish";
4813
4927
  nanoclaw: "nanoclaw";
4814
4928
  codex: "codex";
4815
4929
  opencode: "opencode";
4816
4930
  "kimi-code": "kimi-code";
4817
- kimi: "kimi";
4818
4931
  pi: "pi";
4819
4932
  gemini: "gemini";
4820
4933
  hermes: "hermes";
@@ -4874,6 +4987,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
4874
4987
  endedAtMs: z.ZodNumber;
4875
4988
  durationMs: z.ZodNumber;
4876
4989
  }, z.core.$strict>;
4990
+ steps: z.ZodNumber;
4877
4991
  memory: z.ZodDiscriminatedUnion<[z.ZodObject<{
4878
4992
  mode: z.ZodLiteral<"disabled">;
4879
4993
  }, z.core.$strict>, z.ZodObject<{
@@ -4991,7 +5105,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
4991
5105
  callId: string;
4992
5106
  generationId: string;
4993
5107
  traceSpanId: string;
4994
- status: "failed" | "succeeded";
5108
+ status: "succeeded" | "failed";
4995
5109
  model: string;
4996
5110
  startedAtMs: number;
4997
5111
  endedAtMs: number;
@@ -5026,7 +5140,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5026
5140
  callId: string;
5027
5141
  generationId: string;
5028
5142
  traceSpanId: string;
5029
- status: "failed" | "succeeded";
5143
+ status: "succeeded" | "failed";
5030
5144
  model: string;
5031
5145
  startedAtMs: number;
5032
5146
  endedAtMs: number;
@@ -5516,7 +5630,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5516
5630
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
5517
5631
  material: z.ZodType<{
5518
5632
  sourceProfileDigest: `sha256:${string}`;
5519
- harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
5633
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
5520
5634
  files: {
5521
5635
  relPath: string;
5522
5636
  mode: number;
@@ -5540,7 +5654,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5540
5654
  } | undefined;
5541
5655
  }, unknown, z.core.$ZodTypeInternals<{
5542
5656
  sourceProfileDigest: `sha256:${string}`;
5543
- harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
5657
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
5544
5658
  files: {
5545
5659
  relPath: string;
5546
5660
  mode: number;
@@ -5598,7 +5712,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5598
5712
  runCell: {
5599
5713
  kind: "agent-candidate-run-cell";
5600
5714
  experimentDigest: `sha256:${string}`;
5601
- arm: "candidate" | "baseline";
5715
+ arm: "baseline" | "candidate";
5602
5716
  bundleDigest: `sha256:${string}`;
5603
5717
  suiteDigest: `sha256:${string}`;
5604
5718
  taskDigest: `sha256:${string}`;
@@ -5619,7 +5733,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5619
5733
  targetWorkspace: "candidate" | "task";
5620
5734
  mountPaths: string[];
5621
5735
  };
5622
- harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
5736
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
5623
5737
  harnessVersion: string;
5624
5738
  instructionDelivery: {
5625
5739
  kind: "argv-append";
@@ -5841,7 +5955,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5841
5955
  runCell: {
5842
5956
  kind: "agent-candidate-run-cell";
5843
5957
  experimentDigest: `sha256:${string}`;
5844
- arm: "candidate" | "baseline";
5958
+ arm: "baseline" | "candidate";
5845
5959
  bundleDigest: `sha256:${string}`;
5846
5960
  suiteDigest: `sha256:${string}`;
5847
5961
  taskDigest: `sha256:${string}`;
@@ -5862,7 +5976,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5862
5976
  targetWorkspace: "candidate" | "task";
5863
5977
  mountPaths: string[];
5864
5978
  };
5865
- harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
5979
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
5866
5980
  harnessVersion: string;
5867
5981
  instructionDelivery: {
5868
5982
  kind: "argv-append";
@@ -6159,13 +6273,10 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6159
6273
  materializedTree: z.ZodOptional<z.ZodString>;
6160
6274
  harness: z.ZodEnum<{
6161
6275
  "claude-code": "claude-code";
6162
- claude: "claude";
6163
- claudish: "claudish";
6164
6276
  nanoclaw: "nanoclaw";
6165
6277
  codex: "codex";
6166
6278
  opencode: "opencode";
6167
6279
  "kimi-code": "kimi-code";
6168
- kimi: "kimi";
6169
6280
  pi: "pi";
6170
6281
  gemini: "gemini";
6171
6282
  hermes: "hermes";
@@ -6225,6 +6336,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6225
6336
  endedAtMs: z.ZodNumber;
6226
6337
  durationMs: z.ZodNumber;
6227
6338
  }, z.core.$strict>;
6339
+ steps: z.ZodNumber;
6228
6340
  memory: z.ZodDiscriminatedUnion<[z.ZodObject<{
6229
6341
  mode: z.ZodLiteral<"disabled">;
6230
6342
  }, z.core.$strict>, z.ZodObject<{
@@ -6342,7 +6454,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6342
6454
  callId: string;
6343
6455
  generationId: string;
6344
6456
  traceSpanId: string;
6345
- status: "failed" | "succeeded";
6457
+ status: "succeeded" | "failed";
6346
6458
  model: string;
6347
6459
  startedAtMs: number;
6348
6460
  endedAtMs: number;
@@ -6377,7 +6489,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6377
6489
  callId: string;
6378
6490
  generationId: string;
6379
6491
  traceSpanId: string;
6380
- status: "failed" | "succeeded";
6492
+ status: "succeeded" | "failed";
6381
6493
  model: string;
6382
6494
  startedAtMs: number;
6383
6495
  endedAtMs: number;
@@ -6809,188 +6921,188 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6809
6921
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
6810
6922
  }, z.core.$strict>;
6811
6923
  }, z.core.$strict>>;
6812
- overall: z.ZodObject<{
6813
- direction: z.ZodLiteral<"higher-is-better">;
6814
- unit: z.ZodLiteral<"score">;
6815
- baseline: z.ZodNumber;
6816
- candidate: z.ZodNumber;
6817
- delta: z.ZodNumber;
6818
- confidenceInterval: z.ZodObject<{
6819
- level: z.ZodNumber;
6820
- lower: z.ZodNumber;
6821
- upper: z.ZodNumber;
6822
- method: z.ZodLiteral<"paired-bootstrap">;
6823
- statistic: z.ZodLiteral<"mean">;
6824
- resamples: z.ZodNumber;
6825
- }, z.core.$strict>;
6826
- n: z.ZodNumber;
6827
- name: z.ZodLiteral<"composite">;
6828
- }, z.core.$strict>;
6829
- objectives: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
6830
- kind: z.ZodLiteral<"objective">;
6831
- name: z.ZodString;
6832
- direction: z.ZodLiteral<"higher-is-better">;
6833
- unit: z.ZodLiteral<"score">;
6834
- baseline: z.ZodNumber;
6835
- candidate: z.ZodNumber;
6836
- delta: z.ZodNumber;
6837
- confidenceInterval: z.ZodObject<{
6838
- level: z.ZodNumber;
6839
- lower: z.ZodNumber;
6840
- upper: z.ZodNumber;
6841
- method: z.ZodLiteral<"paired-bootstrap">;
6842
- statistic: z.ZodLiteral<"mean">;
6843
- resamples: z.ZodNumber;
6924
+ }, z.core.$strict>;
6925
+ export declare const agentImprovementProposalSchema: z.ZodObject<{
6926
+ kind: z.ZodLiteral<"agent-improvement-proposal">;
6927
+ runId: z.ZodString;
6928
+ changedSurfaces: z.ZodTuple<[z.ZodEnum<{
6929
+ prompt: "prompt";
6930
+ tools: "tools";
6931
+ mcp: "mcp";
6932
+ subagents: "subagents";
6933
+ hooks: "hooks";
6934
+ code: "code";
6935
+ skills: "skills";
6936
+ "agent-profile": "agent-profile";
6937
+ memory: "memory";
6938
+ knowledge: "knowledge";
6939
+ }>], z.ZodEnum<{
6940
+ prompt: "prompt";
6941
+ tools: "tools";
6942
+ mcp: "mcp";
6943
+ subagents: "subagents";
6944
+ hooks: "hooks";
6945
+ code: "code";
6946
+ skills: "skills";
6947
+ "agent-profile": "agent-profile";
6948
+ memory: "memory";
6949
+ knowledge: "knowledge";
6950
+ }>>;
6951
+ proposedAt: z.ZodISODateTime;
6952
+ findings: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodCustom<AgentCandidateJsonValue, AgentCandidateJsonValue>>>;
6953
+ evaluation: z.ZodDiscriminatedUnion<[z.ZodObject<{
6954
+ overall: z.ZodObject<{
6955
+ direction: z.ZodLiteral<"higher-is-better">;
6956
+ unit: z.ZodLiteral<"score">;
6957
+ baseline: z.ZodNumber;
6958
+ candidate: z.ZodNumber;
6959
+ delta: z.ZodNumber;
6960
+ confidenceInterval: z.ZodObject<{
6961
+ level: z.ZodNumber;
6962
+ lower: z.ZodNumber;
6963
+ upper: z.ZodNumber;
6964
+ method: z.ZodLiteral<"paired-bootstrap">;
6965
+ statistic: z.ZodLiteral<"mean">;
6966
+ resamples: z.ZodNumber;
6967
+ }, z.core.$strict>;
6968
+ n: z.ZodNumber;
6969
+ name: z.ZodLiteral<"composite">;
6844
6970
  }, z.core.$strict>;
6845
- n: z.ZodNumber;
6846
- availability: z.ZodLiteral<"measured">;
6847
- }, z.core.$strict>, z.ZodObject<{
6848
- kind: z.ZodLiteral<"objective">;
6849
- name: z.ZodString;
6850
- direction: z.ZodLiteral<"higher-is-better">;
6851
- unit: z.ZodLiteral<"score">;
6852
- availability: z.ZodLiteral<"unavailable">;
6853
- reason: z.ZodString;
6854
- }, z.core.$strict>, z.ZodObject<{
6855
- kind: z.ZodLiteral<"dimension">;
6856
- objective: z.ZodString;
6857
- name: z.ZodString;
6858
- direction: z.ZodLiteral<"higher-is-better">;
6859
- unit: z.ZodLiteral<"score">;
6860
- baseline: z.ZodNumber;
6861
- candidate: z.ZodNumber;
6862
- delta: z.ZodNumber;
6863
- confidenceInterval: z.ZodObject<{
6864
- level: z.ZodNumber;
6865
- lower: z.ZodNumber;
6866
- upper: z.ZodNumber;
6867
- method: z.ZodLiteral<"paired-bootstrap">;
6868
- statistic: z.ZodLiteral<"mean">;
6869
- resamples: z.ZodNumber;
6971
+ objectives: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
6972
+ kind: z.ZodLiteral<"objective">;
6973
+ name: z.ZodString;
6974
+ direction: z.ZodLiteral<"higher-is-better">;
6975
+ unit: z.ZodLiteral<"score">;
6976
+ baseline: z.ZodNumber;
6977
+ candidate: z.ZodNumber;
6978
+ delta: z.ZodNumber;
6979
+ confidenceInterval: z.ZodObject<{
6980
+ level: z.ZodNumber;
6981
+ lower: z.ZodNumber;
6982
+ upper: z.ZodNumber;
6983
+ method: z.ZodLiteral<"paired-bootstrap">;
6984
+ statistic: z.ZodLiteral<"mean">;
6985
+ resamples: z.ZodNumber;
6986
+ }, z.core.$strict>;
6987
+ n: z.ZodNumber;
6988
+ availability: z.ZodLiteral<"measured">;
6989
+ }, z.core.$strict>, z.ZodObject<{
6990
+ kind: z.ZodLiteral<"objective">;
6991
+ name: z.ZodString;
6992
+ direction: z.ZodLiteral<"higher-is-better">;
6993
+ unit: z.ZodLiteral<"score">;
6994
+ availability: z.ZodLiteral<"unavailable">;
6995
+ reason: z.ZodString;
6996
+ }, z.core.$strict>, z.ZodObject<{
6997
+ kind: z.ZodLiteral<"dimension">;
6998
+ objective: z.ZodString;
6999
+ name: z.ZodString;
7000
+ direction: z.ZodLiteral<"higher-is-better">;
7001
+ unit: z.ZodLiteral<"score">;
7002
+ baseline: z.ZodNumber;
7003
+ candidate: z.ZodNumber;
7004
+ delta: z.ZodNumber;
7005
+ confidenceInterval: z.ZodObject<{
7006
+ level: z.ZodNumber;
7007
+ lower: z.ZodNumber;
7008
+ upper: z.ZodNumber;
7009
+ method: z.ZodLiteral<"paired-bootstrap">;
7010
+ statistic: z.ZodLiteral<"mean">;
7011
+ resamples: z.ZodNumber;
7012
+ }, z.core.$strict>;
7013
+ n: z.ZodNumber;
7014
+ availability: z.ZodLiteral<"measured">;
7015
+ }, z.core.$strict>, z.ZodObject<{
7016
+ kind: z.ZodLiteral<"dimension">;
7017
+ objective: z.ZodString;
7018
+ name: z.ZodString;
7019
+ direction: z.ZodLiteral<"higher-is-better">;
7020
+ unit: z.ZodLiteral<"score">;
7021
+ availability: z.ZodLiteral<"unavailable">;
7022
+ reason: z.ZodString;
7023
+ }, z.core.$strict>, z.ZodObject<{
7024
+ kind: z.ZodLiteral<"cost">;
7025
+ name: z.ZodLiteral<"cost">;
7026
+ direction: z.ZodLiteral<"lower-is-better">;
7027
+ unit: z.ZodLiteral<"usd">;
7028
+ baseline: z.ZodNumber;
7029
+ candidate: z.ZodNumber;
7030
+ delta: z.ZodNumber;
7031
+ confidenceInterval: z.ZodObject<{
7032
+ level: z.ZodNumber;
7033
+ lower: z.ZodNumber;
7034
+ upper: z.ZodNumber;
7035
+ method: z.ZodLiteral<"paired-bootstrap">;
7036
+ statistic: z.ZodLiteral<"mean">;
7037
+ resamples: z.ZodNumber;
7038
+ }, z.core.$strict>;
7039
+ n: z.ZodNumber;
7040
+ availability: z.ZodLiteral<"measured">;
7041
+ }, z.core.$strict>, z.ZodObject<{
7042
+ kind: z.ZodLiteral<"latency">;
7043
+ name: z.ZodLiteral<"latency">;
7044
+ direction: z.ZodLiteral<"lower-is-better">;
7045
+ unit: z.ZodLiteral<"milliseconds">;
7046
+ baseline: z.ZodNumber;
7047
+ candidate: z.ZodNumber;
7048
+ delta: z.ZodNumber;
7049
+ confidenceInterval: z.ZodObject<{
7050
+ level: z.ZodNumber;
7051
+ lower: z.ZodNumber;
7052
+ upper: z.ZodNumber;
7053
+ method: z.ZodLiteral<"paired-bootstrap">;
7054
+ statistic: z.ZodLiteral<"mean">;
7055
+ resamples: z.ZodNumber;
7056
+ }, z.core.$strict>;
7057
+ n: z.ZodNumber;
7058
+ availability: z.ZodLiteral<"measured">;
7059
+ }, z.core.$strict>]>>;
7060
+ candidate: z.ZodOptional<z.ZodObject<{
7061
+ label: z.ZodOptional<z.ZodString>;
7062
+ rationale: z.ZodOptional<z.ZodString>;
7063
+ }, z.core.$strict>>;
7064
+ decision: z.ZodObject<{
7065
+ outcome: z.ZodEnum<{
7066
+ ship: "ship";
7067
+ hold: "hold";
7068
+ need_more_work: "need_more_work";
7069
+ model_ceiling: "model_ceiling";
7070
+ arch_ceiling: "arch_ceiling";
7071
+ }>;
7072
+ reasons: z.ZodArray<z.ZodString>;
7073
+ contributingChecks: z.ZodArray<z.ZodObject<{
7074
+ name: z.ZodString;
7075
+ passed: z.ZodBoolean;
7076
+ }, z.core.$strict>>;
6870
7077
  }, z.core.$strict>;
6871
- n: z.ZodNumber;
6872
- availability: z.ZodLiteral<"measured">;
6873
- }, z.core.$strict>, z.ZodObject<{
6874
- kind: z.ZodLiteral<"dimension">;
6875
- objective: z.ZodString;
6876
- name: z.ZodString;
6877
- direction: z.ZodLiteral<"higher-is-better">;
6878
- unit: z.ZodLiteral<"score">;
6879
- availability: z.ZodLiteral<"unavailable">;
6880
- reason: z.ZodString;
6881
- }, z.core.$strict>, z.ZodObject<{
6882
- kind: z.ZodLiteral<"cost">;
6883
- name: z.ZodLiteral<"cost">;
6884
- direction: z.ZodLiteral<"lower-is-better">;
6885
- unit: z.ZodLiteral<"usd">;
6886
- baseline: z.ZodNumber;
6887
- candidate: z.ZodNumber;
6888
- delta: z.ZodNumber;
6889
- confidenceInterval: z.ZodObject<{
6890
- level: z.ZodNumber;
6891
- lower: z.ZodNumber;
6892
- upper: z.ZodNumber;
6893
- method: z.ZodLiteral<"paired-bootstrap">;
6894
- statistic: z.ZodLiteral<"mean">;
6895
- resamples: z.ZodNumber;
7078
+ power: z.ZodObject<{
7079
+ sufficient: z.ZodBoolean;
7080
+ n: z.ZodNumber;
7081
+ minimumDetectableDelta: z.ZodNumber;
7082
+ confidenceLevel: z.ZodNumber;
7083
+ scaleAssumed: z.ZodBoolean;
7084
+ sharedScorerChannel: z.ZodBoolean;
7085
+ reason: z.ZodString;
6896
7086
  }, z.core.$strict>;
6897
- n: z.ZodNumber;
6898
- availability: z.ZodLiteral<"measured">;
6899
- }, z.core.$strict>, z.ZodObject<{
6900
- kind: z.ZodLiteral<"latency">;
6901
- name: z.ZodLiteral<"latency">;
6902
- direction: z.ZodLiteral<"lower-is-better">;
6903
- unit: z.ZodLiteral<"milliseconds">;
6904
- baseline: z.ZodNumber;
6905
- candidate: z.ZodNumber;
6906
- delta: z.ZodNumber;
6907
- confidenceInterval: z.ZodObject<{
6908
- level: z.ZodNumber;
6909
- lower: z.ZodNumber;
6910
- upper: z.ZodNumber;
6911
- method: z.ZodLiteral<"paired-bootstrap">;
6912
- statistic: z.ZodLiteral<"mean">;
6913
- resamples: z.ZodNumber;
7087
+ provenance: z.ZodObject<{
7088
+ kind: z.ZodLiteral<"agent-eval-loop">;
7089
+ schema: z.ZodString;
7090
+ runId: z.ZodString;
7091
+ recordDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
7092
+ baselineContentHash: z.ZodString;
7093
+ candidateContentHash: z.ZodString;
6914
7094
  }, z.core.$strict>;
6915
- n: z.ZodNumber;
6916
- availability: z.ZodLiteral<"measured">;
6917
- }, z.core.$strict>]>>;
6918
- candidate: z.ZodOptional<z.ZodObject<{
6919
- label: z.ZodOptional<z.ZodString>;
6920
- rationale: z.ZodOptional<z.ZodString>;
6921
- }, z.core.$strict>>;
6922
- decision: z.ZodObject<{
6923
- outcome: z.ZodEnum<{
6924
- ship: "ship";
6925
- hold: "hold";
6926
- need_more_work: "need_more_work";
6927
- model_ceiling: "model_ceiling";
6928
- arch_ceiling: "arch_ceiling";
6929
- }>;
6930
- reasons: z.ZodArray<z.ZodString>;
6931
- contributingChecks: z.ZodArray<z.ZodObject<{
6932
- name: z.ZodString;
6933
- passed: z.ZodBoolean;
6934
- }, z.core.$strict>>;
6935
- }, z.core.$strict>;
6936
- power: z.ZodObject<{
6937
- sufficient: z.ZodBoolean;
6938
- n: z.ZodNumber;
6939
- minimumDetectableDelta: z.ZodNumber;
6940
- confidenceLevel: z.ZodNumber;
6941
- scaleAssumed: z.ZodBoolean;
6942
- sharedScorerChannel: z.ZodBoolean;
6943
- reason: z.ZodString;
6944
- }, z.core.$strict>;
6945
- provenance: z.ZodObject<{
6946
- kind: z.ZodLiteral<"agent-eval-loop">;
6947
- schema: z.ZodString;
6948
- runId: z.ZodString;
6949
- recordDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
6950
- baselineContentHash: z.ZodString;
6951
- candidateContentHash: z.ZodString;
6952
- }, z.core.$strict>;
6953
- diff: z.ZodString;
6954
- evaluation: z.ZodObject<{
6955
- generationsExplored: z.ZodNumber;
6956
- searchDurationMs: z.ZodNumber;
6957
- executionDurationMs: z.ZodNumber;
6958
- durationMs: z.ZodNumber;
6959
- searchCostUsd: z.ZodNumber;
6960
- executionCostUsd: z.ZodNumber;
6961
- totalCostUsd: z.ZodNumber;
6962
- }, z.core.$strict>;
6963
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCustom<AgentCandidateJsonValue, AgentCandidateJsonValue>>>;
6964
- }, z.core.$strict>;
6965
- export declare const agentImprovementProposalSchema: z.ZodObject<{
6966
- kind: z.ZodLiteral<"agent-improvement-proposal">;
6967
- runId: z.ZodString;
6968
- changedSurfaces: z.ZodTuple<[z.ZodEnum<{
6969
- prompt: "prompt";
6970
- tools: "tools";
6971
- mcp: "mcp";
6972
- subagents: "subagents";
6973
- hooks: "hooks";
6974
- skills: "skills";
6975
- "agent-profile": "agent-profile";
6976
- memory: "memory";
6977
- code: "code";
6978
- knowledge: "knowledge";
6979
- }>], z.ZodEnum<{
6980
- prompt: "prompt";
6981
- tools: "tools";
6982
- mcp: "mcp";
6983
- subagents: "subagents";
6984
- hooks: "hooks";
6985
- skills: "skills";
6986
- "agent-profile": "agent-profile";
6987
- memory: "memory";
6988
- code: "code";
6989
- knowledge: "knowledge";
6990
- }>>;
6991
- proposedAt: z.ZodISODateTime;
6992
- findings: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodCustom<AgentCandidateJsonValue, AgentCandidateJsonValue>>>;
6993
- evaluation: z.ZodObject<{
7095
+ diff: z.ZodString;
7096
+ evaluation: z.ZodObject<{
7097
+ generationsExplored: z.ZodNumber;
7098
+ searchDurationMs: z.ZodNumber;
7099
+ executionDurationMs: z.ZodNumber;
7100
+ durationMs: z.ZodNumber;
7101
+ searchCostUsd: z.ZodNumber;
7102
+ executionCostUsd: z.ZodNumber;
7103
+ totalCostUsd: z.ZodNumber;
7104
+ }, z.core.$strict>;
7105
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCustom<AgentCandidateJsonValue, AgentCandidateJsonValue>>>;
6994
7106
  kind: z.ZodLiteral<"agent-improvement-measured-comparison">;
6995
7107
  experiment: z.ZodObject<{
6996
7108
  kind: z.ZodLiteral<"agent-candidate-experiment">;
@@ -7023,13 +7135,10 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
7023
7135
  }, z.core.$strict>>;
7024
7136
  harness: z.ZodOptional<z.ZodEnum<{
7025
7137
  "claude-code": "claude-code";
7026
- claude: "claude";
7027
- claudish: "claudish";
7028
7138
  nanoclaw: "nanoclaw";
7029
7139
  codex: "codex";
7030
7140
  opencode: "opencode";
7031
7141
  "kimi-code": "kimi-code";
7032
- kimi: "kimi";
7033
7142
  pi: "pi";
7034
7143
  gemini: "gemini";
7035
7144
  hermes: "hermes";
@@ -7258,13 +7367,10 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
7258
7367
  execution: z.ZodObject<{
7259
7368
  harness: z.ZodEnum<{
7260
7369
  "claude-code": "claude-code";
7261
- claude: "claude";
7262
- claudish: "claudish";
7263
7370
  nanoclaw: "nanoclaw";
7264
7371
  codex: "codex";
7265
7372
  opencode: "opencode";
7266
7373
  "kimi-code": "kimi-code";
7267
- kimi: "kimi";
7268
7374
  pi: "pi";
7269
7375
  gemini: "gemini";
7270
7376
  hermes: "hermes";
@@ -7536,13 +7642,10 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
7536
7642
  }, z.core.$strict>>;
7537
7643
  harness: z.ZodOptional<z.ZodEnum<{
7538
7644
  "claude-code": "claude-code";
7539
- claude: "claude";
7540
- claudish: "claudish";
7541
7645
  nanoclaw: "nanoclaw";
7542
7646
  codex: "codex";
7543
7647
  opencode: "opencode";
7544
7648
  "kimi-code": "kimi-code";
7545
- kimi: "kimi";
7546
7649
  pi: "pi";
7547
7650
  gemini: "gemini";
7548
7651
  hermes: "hermes";
@@ -7771,13 +7874,10 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
7771
7874
  execution: z.ZodObject<{
7772
7875
  harness: z.ZodEnum<{
7773
7876
  "claude-code": "claude-code";
7774
- claude: "claude";
7775
- claudish: "claudish";
7776
7877
  nanoclaw: "nanoclaw";
7777
7878
  codex: "codex";
7778
7879
  opencode: "opencode";
7779
7880
  "kimi-code": "kimi-code";
7780
- kimi: "kimi";
7781
7881
  pi: "pi";
7782
7882
  gemini: "gemini";
7783
7883
  hermes: "hermes";
@@ -8023,10 +8123,10 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
8023
8123
  }, z.core.$strict>;
8024
8124
  candidateLineage: z.ZodObject<{
8025
8125
  source: z.ZodEnum<{
8026
- optimizer: "optimizer";
8027
8126
  human: "human";
8028
- import: "import";
8127
+ optimizer: "optimizer";
8029
8128
  compound: "compound";
8129
+ import: "import";
8030
8130
  }>;
8031
8131
  parentDigests: z.ZodOptional<z.ZodArray<z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>>>;
8032
8132
  runIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -8423,7 +8523,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
8423
8523
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
8424
8524
  material: z.ZodType<{
8425
8525
  sourceProfileDigest: `sha256:${string}`;
8426
- harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
8526
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
8427
8527
  files: {
8428
8528
  relPath: string;
8429
8529
  mode: number;
@@ -8447,7 +8547,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
8447
8547
  } | undefined;
8448
8548
  }, unknown, z.core.$ZodTypeInternals<{
8449
8549
  sourceProfileDigest: `sha256:${string}`;
8450
- harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
8550
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
8451
8551
  files: {
8452
8552
  relPath: string;
8453
8553
  mode: number;
@@ -8505,7 +8605,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
8505
8605
  runCell: {
8506
8606
  kind: "agent-candidate-run-cell";
8507
8607
  experimentDigest: `sha256:${string}`;
8508
- arm: "candidate" | "baseline";
8608
+ arm: "baseline" | "candidate";
8509
8609
  bundleDigest: `sha256:${string}`;
8510
8610
  suiteDigest: `sha256:${string}`;
8511
8611
  taskDigest: `sha256:${string}`;
@@ -8526,7 +8626,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
8526
8626
  targetWorkspace: "candidate" | "task";
8527
8627
  mountPaths: string[];
8528
8628
  };
8529
- harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
8629
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
8530
8630
  harnessVersion: string;
8531
8631
  instructionDelivery: {
8532
8632
  kind: "argv-append";
@@ -8748,7 +8848,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
8748
8848
  runCell: {
8749
8849
  kind: "agent-candidate-run-cell";
8750
8850
  experimentDigest: `sha256:${string}`;
8751
- arm: "candidate" | "baseline";
8851
+ arm: "baseline" | "candidate";
8752
8852
  bundleDigest: `sha256:${string}`;
8753
8853
  suiteDigest: `sha256:${string}`;
8754
8854
  taskDigest: `sha256:${string}`;
@@ -8769,7 +8869,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
8769
8869
  targetWorkspace: "candidate" | "task";
8770
8870
  mountPaths: string[];
8771
8871
  };
8772
- harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
8872
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
8773
8873
  harnessVersion: string;
8774
8874
  instructionDelivery: {
8775
8875
  kind: "argv-append";
@@ -9066,13 +9166,10 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
9066
9166
  materializedTree: z.ZodOptional<z.ZodString>;
9067
9167
  harness: z.ZodEnum<{
9068
9168
  "claude-code": "claude-code";
9069
- claude: "claude";
9070
- claudish: "claudish";
9071
9169
  nanoclaw: "nanoclaw";
9072
9170
  codex: "codex";
9073
9171
  opencode: "opencode";
9074
9172
  "kimi-code": "kimi-code";
9075
- kimi: "kimi";
9076
9173
  pi: "pi";
9077
9174
  gemini: "gemini";
9078
9175
  hermes: "hermes";
@@ -9132,6 +9229,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
9132
9229
  endedAtMs: z.ZodNumber;
9133
9230
  durationMs: z.ZodNumber;
9134
9231
  }, z.core.$strict>;
9232
+ steps: z.ZodNumber;
9135
9233
  memory: z.ZodDiscriminatedUnion<[z.ZodObject<{
9136
9234
  mode: z.ZodLiteral<"disabled">;
9137
9235
  }, z.core.$strict>, z.ZodObject<{
@@ -9249,7 +9347,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
9249
9347
  callId: string;
9250
9348
  generationId: string;
9251
9349
  traceSpanId: string;
9252
- status: "failed" | "succeeded";
9350
+ status: "succeeded" | "failed";
9253
9351
  model: string;
9254
9352
  startedAtMs: number;
9255
9353
  endedAtMs: number;
@@ -9284,7 +9382,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
9284
9382
  callId: string;
9285
9383
  generationId: string;
9286
9384
  traceSpanId: string;
9287
- status: "failed" | "succeeded";
9385
+ status: "succeeded" | "failed";
9288
9386
  model: string;
9289
9387
  startedAtMs: number;
9290
9388
  endedAtMs: number;
@@ -9774,7 +9872,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
9774
9872
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
9775
9873
  material: z.ZodType<{
9776
9874
  sourceProfileDigest: `sha256:${string}`;
9777
- harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
9875
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
9778
9876
  files: {
9779
9877
  relPath: string;
9780
9878
  mode: number;
@@ -9798,7 +9896,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
9798
9896
  } | undefined;
9799
9897
  }, unknown, z.core.$ZodTypeInternals<{
9800
9898
  sourceProfileDigest: `sha256:${string}`;
9801
- harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
9899
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
9802
9900
  files: {
9803
9901
  relPath: string;
9804
9902
  mode: number;
@@ -9856,7 +9954,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
9856
9954
  runCell: {
9857
9955
  kind: "agent-candidate-run-cell";
9858
9956
  experimentDigest: `sha256:${string}`;
9859
- arm: "candidate" | "baseline";
9957
+ arm: "baseline" | "candidate";
9860
9958
  bundleDigest: `sha256:${string}`;
9861
9959
  suiteDigest: `sha256:${string}`;
9862
9960
  taskDigest: `sha256:${string}`;
@@ -9877,7 +9975,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
9877
9975
  targetWorkspace: "candidate" | "task";
9878
9976
  mountPaths: string[];
9879
9977
  };
9880
- harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
9978
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
9881
9979
  harnessVersion: string;
9882
9980
  instructionDelivery: {
9883
9981
  kind: "argv-append";
@@ -10099,7 +10197,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
10099
10197
  runCell: {
10100
10198
  kind: "agent-candidate-run-cell";
10101
10199
  experimentDigest: `sha256:${string}`;
10102
- arm: "candidate" | "baseline";
10200
+ arm: "baseline" | "candidate";
10103
10201
  bundleDigest: `sha256:${string}`;
10104
10202
  suiteDigest: `sha256:${string}`;
10105
10203
  taskDigest: `sha256:${string}`;
@@ -10120,7 +10218,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
10120
10218
  targetWorkspace: "candidate" | "task";
10121
10219
  mountPaths: string[];
10122
10220
  };
10123
- harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
10221
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
10124
10222
  harnessVersion: string;
10125
10223
  instructionDelivery: {
10126
10224
  kind: "argv-append";
@@ -10417,13 +10515,10 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
10417
10515
  materializedTree: z.ZodOptional<z.ZodString>;
10418
10516
  harness: z.ZodEnum<{
10419
10517
  "claude-code": "claude-code";
10420
- claude: "claude";
10421
- claudish: "claudish";
10422
10518
  nanoclaw: "nanoclaw";
10423
10519
  codex: "codex";
10424
10520
  opencode: "opencode";
10425
10521
  "kimi-code": "kimi-code";
10426
- kimi: "kimi";
10427
10522
  pi: "pi";
10428
10523
  gemini: "gemini";
10429
10524
  hermes: "hermes";
@@ -10483,6 +10578,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
10483
10578
  endedAtMs: z.ZodNumber;
10484
10579
  durationMs: z.ZodNumber;
10485
10580
  }, z.core.$strict>;
10581
+ steps: z.ZodNumber;
10486
10582
  memory: z.ZodDiscriminatedUnion<[z.ZodObject<{
10487
10583
  mode: z.ZodLiteral<"disabled">;
10488
10584
  }, z.core.$strict>, z.ZodObject<{
@@ -10563,108 +10659,484 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
10563
10659
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
10564
10660
  byteLength: z.ZodNumber;
10565
10661
  }, z.core.$strict>]>;
10566
- eventCount: z.ZodNumber;
10567
- modelCallCount: z.ZodNumber;
10568
- }, z.core.$strict>;
10569
- termination: z.ZodDiscriminatedUnion<[z.ZodObject<{
10570
- kind: z.ZodLiteral<"exit">;
10571
- exitCode: z.ZodNumber;
10572
- }, z.core.$strict>, z.ZodObject<{
10573
- kind: z.ZodLiteral<"timeout">;
10574
- timeoutMs: z.ZodNumber;
10575
- }, z.core.$strict>, z.ZodObject<{
10576
- kind: z.ZodLiteral<"signal">;
10577
- signal: z.ZodString;
10578
- }, z.core.$strict>, z.ZodObject<{
10579
- kind: z.ZodLiteral<"cancelled">;
10580
- }, z.core.$strict>], "kind">;
10581
- executorCapture: z.ZodObject<{
10582
- locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
10583
- kind: z.ZodLiteral<"s3">;
10584
- bucket: z.ZodString;
10585
- key: z.ZodString;
10586
- region: z.ZodOptional<z.ZodString>;
10587
- }, z.core.$strict>, z.ZodObject<{
10588
- kind: z.ZodLiteral<"ipfs">;
10589
- cid: z.ZodString;
10590
- path: z.ZodOptional<z.ZodString>;
10591
- }, z.core.$strict>], "kind">;
10592
- sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
10593
- byteLength: z.ZodNumber;
10662
+ eventCount: z.ZodNumber;
10663
+ modelCallCount: z.ZodNumber;
10664
+ }, z.core.$strict>;
10665
+ termination: z.ZodDiscriminatedUnion<[z.ZodObject<{
10666
+ kind: z.ZodLiteral<"exit">;
10667
+ exitCode: z.ZodNumber;
10668
+ }, z.core.$strict>, z.ZodObject<{
10669
+ kind: z.ZodLiteral<"timeout">;
10670
+ timeoutMs: z.ZodNumber;
10671
+ }, z.core.$strict>, z.ZodObject<{
10672
+ kind: z.ZodLiteral<"signal">;
10673
+ signal: z.ZodString;
10674
+ }, z.core.$strict>, z.ZodObject<{
10675
+ kind: z.ZodLiteral<"cancelled">;
10676
+ }, z.core.$strict>], "kind">;
10677
+ executorCapture: z.ZodObject<{
10678
+ locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
10679
+ kind: z.ZodLiteral<"s3">;
10680
+ bucket: z.ZodString;
10681
+ key: z.ZodString;
10682
+ region: z.ZodOptional<z.ZodString>;
10683
+ }, z.core.$strict>, z.ZodObject<{
10684
+ kind: z.ZodLiteral<"ipfs">;
10685
+ cid: z.ZodString;
10686
+ path: z.ZodOptional<z.ZodString>;
10687
+ }, z.core.$strict>], "kind">;
10688
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
10689
+ byteLength: z.ZodNumber;
10690
+ }, z.core.$strict>;
10691
+ modelSettlement: z.ZodObject<{
10692
+ kind: z.ZodLiteral<"agent-candidate-model-settlement">;
10693
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
10694
+ material: z.ZodType<{
10695
+ calls: {
10696
+ callId: string;
10697
+ generationId: string;
10698
+ traceSpanId: string;
10699
+ status: "succeeded" | "failed";
10700
+ model: string;
10701
+ startedAtMs: number;
10702
+ endedAtMs: number;
10703
+ inputTokens: number;
10704
+ outputTokens: number;
10705
+ cachedInputTokens: number;
10706
+ reasoningTokens: number;
10707
+ costUsdNanos: number;
10708
+ }[];
10709
+ kind: "agent-candidate-model-settlement-material";
10710
+ executionPlanDigest: `sha256:${string}`;
10711
+ preparationId: string;
10712
+ grantDigest: `sha256:${string}`;
10713
+ closed: true;
10714
+ resolved: {
10715
+ requested: string;
10716
+ provider: string;
10717
+ model: string;
10718
+ snapshot: string;
10719
+ reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
10720
+ };
10721
+ usage: {
10722
+ inputTokens: number;
10723
+ outputTokens: number;
10724
+ cachedInputTokens: number;
10725
+ reasoningTokens: number;
10726
+ modelCalls: number;
10727
+ costUsdNanos: number;
10728
+ };
10729
+ }, unknown, z.core.$ZodTypeInternals<{
10730
+ calls: {
10731
+ callId: string;
10732
+ generationId: string;
10733
+ traceSpanId: string;
10734
+ status: "succeeded" | "failed";
10735
+ model: string;
10736
+ startedAtMs: number;
10737
+ endedAtMs: number;
10738
+ inputTokens: number;
10739
+ outputTokens: number;
10740
+ cachedInputTokens: number;
10741
+ reasoningTokens: number;
10742
+ costUsdNanos: number;
10743
+ }[];
10744
+ kind: "agent-candidate-model-settlement-material";
10745
+ executionPlanDigest: `sha256:${string}`;
10746
+ preparationId: string;
10747
+ grantDigest: `sha256:${string}`;
10748
+ closed: true;
10749
+ resolved: {
10750
+ requested: string;
10751
+ provider: string;
10752
+ model: string;
10753
+ snapshot: string;
10754
+ reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
10755
+ };
10756
+ usage: {
10757
+ inputTokens: number;
10758
+ outputTokens: number;
10759
+ cachedInputTokens: number;
10760
+ reasoningTokens: number;
10761
+ modelCalls: number;
10762
+ costUsdNanos: number;
10763
+ };
10764
+ }, unknown>>;
10765
+ artifact: z.ZodUnion<readonly [z.ZodObject<{
10766
+ locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
10767
+ kind: z.ZodLiteral<"s3">;
10768
+ bucket: z.ZodString;
10769
+ key: z.ZodString;
10770
+ region: z.ZodOptional<z.ZodString>;
10771
+ }, z.core.$strict>, z.ZodObject<{
10772
+ kind: z.ZodLiteral<"ipfs">;
10773
+ cid: z.ZodString;
10774
+ path: z.ZodOptional<z.ZodString>;
10775
+ }, z.core.$strict>], "kind">;
10776
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
10777
+ byteLength: z.ZodNumber;
10778
+ }, z.core.$strict>, z.ZodObject<{
10779
+ encoding: z.ZodLiteral<"base64">;
10780
+ content: z.ZodString;
10781
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
10782
+ byteLength: z.ZodNumber;
10783
+ }, z.core.$strict>]>;
10784
+ }, z.core.$strict>;
10785
+ taskOutcome: z.ZodObject<{
10786
+ kind: z.ZodLiteral<"agent-candidate-task-outcome">;
10787
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
10788
+ material: z.ZodType<{
10789
+ kind: "agent-candidate-task-outcome-material";
10790
+ executionPlanDigest: `sha256:${string}`;
10791
+ outcome: {
10792
+ kind: "workspace";
10793
+ baseRepository: {
10794
+ identity: string;
10795
+ rootIdentity: string;
10796
+ commit: string;
10797
+ tree: string;
10798
+ };
10799
+ resultRepository: {
10800
+ identity: string;
10801
+ rootIdentity: string;
10802
+ commit: string;
10803
+ tree: string;
10804
+ };
10805
+ afterState: {
10806
+ kind: "agent-candidate-workspace-snapshot";
10807
+ digest: `sha256:${string}`;
10808
+ material: {
10809
+ kind: "agent-candidate-workspace-manifest";
10810
+ files: {
10811
+ path: string;
10812
+ mode: number;
10813
+ sha256: `sha256:${string}`;
10814
+ byteLength: number;
10815
+ }[];
10816
+ };
10817
+ manifest: {
10818
+ locator: {
10819
+ kind: "s3";
10820
+ bucket: string;
10821
+ key: string;
10822
+ region?: string | undefined;
10823
+ } | {
10824
+ kind: "ipfs";
10825
+ cid: string;
10826
+ path?: string | undefined;
10827
+ };
10828
+ sha256: `sha256:${string}`;
10829
+ byteLength: number;
10830
+ } | {
10831
+ encoding: "base64";
10832
+ content: string;
10833
+ sha256: `sha256:${string}`;
10834
+ byteLength: number;
10835
+ };
10836
+ archive: {
10837
+ locator: {
10838
+ kind: "s3";
10839
+ bucket: string;
10840
+ key: string;
10841
+ region?: string | undefined;
10842
+ } | {
10843
+ kind: "ipfs";
10844
+ cid: string;
10845
+ path?: string | undefined;
10846
+ };
10847
+ sha256: `sha256:${string}`;
10848
+ byteLength: number;
10849
+ } | {
10850
+ encoding: "base64";
10851
+ content: string;
10852
+ sha256: `sha256:${string}`;
10853
+ byteLength: number;
10854
+ };
10855
+ };
10856
+ gitDiff: {
10857
+ format: "git-diff-binary";
10858
+ artifact: {
10859
+ locator: {
10860
+ kind: "s3";
10861
+ bucket: string;
10862
+ key: string;
10863
+ region?: string | undefined;
10864
+ } | {
10865
+ kind: "ipfs";
10866
+ cid: string;
10867
+ path?: string | undefined;
10868
+ };
10869
+ sha256: `sha256:${string}`;
10870
+ byteLength: number;
10871
+ };
10872
+ };
10873
+ } | {
10874
+ kind: "output";
10875
+ spec: {
10876
+ mediaType: string;
10877
+ maxBytes: number;
10878
+ };
10879
+ artifact: {
10880
+ locator: {
10881
+ kind: "s3";
10882
+ bucket: string;
10883
+ key: string;
10884
+ region?: string | undefined;
10885
+ } | {
10886
+ kind: "ipfs";
10887
+ cid: string;
10888
+ path?: string | undefined;
10889
+ };
10890
+ sha256: `sha256:${string}`;
10891
+ byteLength: number;
10892
+ };
10893
+ };
10894
+ }, unknown, z.core.$ZodTypeInternals<{
10895
+ kind: "agent-candidate-task-outcome-material";
10896
+ executionPlanDigest: `sha256:${string}`;
10897
+ outcome: {
10898
+ kind: "workspace";
10899
+ baseRepository: {
10900
+ identity: string;
10901
+ rootIdentity: string;
10902
+ commit: string;
10903
+ tree: string;
10904
+ };
10905
+ resultRepository: {
10906
+ identity: string;
10907
+ rootIdentity: string;
10908
+ commit: string;
10909
+ tree: string;
10910
+ };
10911
+ afterState: {
10912
+ kind: "agent-candidate-workspace-snapshot";
10913
+ digest: `sha256:${string}`;
10914
+ material: {
10915
+ kind: "agent-candidate-workspace-manifest";
10916
+ files: {
10917
+ path: string;
10918
+ mode: number;
10919
+ sha256: `sha256:${string}`;
10920
+ byteLength: number;
10921
+ }[];
10922
+ };
10923
+ manifest: {
10924
+ locator: {
10925
+ kind: "s3";
10926
+ bucket: string;
10927
+ key: string;
10928
+ region?: string | undefined;
10929
+ } | {
10930
+ kind: "ipfs";
10931
+ cid: string;
10932
+ path?: string | undefined;
10933
+ };
10934
+ sha256: `sha256:${string}`;
10935
+ byteLength: number;
10936
+ } | {
10937
+ encoding: "base64";
10938
+ content: string;
10939
+ sha256: `sha256:${string}`;
10940
+ byteLength: number;
10941
+ };
10942
+ archive: {
10943
+ locator: {
10944
+ kind: "s3";
10945
+ bucket: string;
10946
+ key: string;
10947
+ region?: string | undefined;
10948
+ } | {
10949
+ kind: "ipfs";
10950
+ cid: string;
10951
+ path?: string | undefined;
10952
+ };
10953
+ sha256: `sha256:${string}`;
10954
+ byteLength: number;
10955
+ } | {
10956
+ encoding: "base64";
10957
+ content: string;
10958
+ sha256: `sha256:${string}`;
10959
+ byteLength: number;
10960
+ };
10961
+ };
10962
+ gitDiff: {
10963
+ format: "git-diff-binary";
10964
+ artifact: {
10965
+ locator: {
10966
+ kind: "s3";
10967
+ bucket: string;
10968
+ key: string;
10969
+ region?: string | undefined;
10970
+ } | {
10971
+ kind: "ipfs";
10972
+ cid: string;
10973
+ path?: string | undefined;
10974
+ };
10975
+ sha256: `sha256:${string}`;
10976
+ byteLength: number;
10977
+ };
10978
+ };
10979
+ } | {
10980
+ kind: "output";
10981
+ spec: {
10982
+ mediaType: string;
10983
+ maxBytes: number;
10984
+ };
10985
+ artifact: {
10986
+ locator: {
10987
+ kind: "s3";
10988
+ bucket: string;
10989
+ key: string;
10990
+ region?: string | undefined;
10991
+ } | {
10992
+ kind: "ipfs";
10993
+ cid: string;
10994
+ path?: string | undefined;
10995
+ };
10996
+ sha256: `sha256:${string}`;
10997
+ byteLength: number;
10998
+ };
10999
+ };
11000
+ }, unknown>>;
11001
+ artifact: z.ZodUnion<readonly [z.ZodObject<{
11002
+ locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
11003
+ kind: z.ZodLiteral<"s3">;
11004
+ bucket: z.ZodString;
11005
+ key: z.ZodString;
11006
+ region: z.ZodOptional<z.ZodString>;
11007
+ }, z.core.$strict>, z.ZodObject<{
11008
+ kind: z.ZodLiteral<"ipfs">;
11009
+ cid: z.ZodString;
11010
+ path: z.ZodOptional<z.ZodString>;
11011
+ }, z.core.$strict>], "kind">;
11012
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11013
+ byteLength: z.ZodNumber;
11014
+ }, z.core.$strict>, z.ZodObject<{
11015
+ encoding: z.ZodLiteral<"base64">;
11016
+ content: z.ZodString;
11017
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11018
+ byteLength: z.ZodNumber;
11019
+ }, z.core.$strict>]>;
10594
11020
  }, z.core.$strict>;
10595
- modelSettlement: z.ZodObject<{
10596
- kind: z.ZodLiteral<"agent-candidate-model-settlement">;
11021
+ benchmarkResult: z.ZodObject<{
11022
+ kind: z.ZodLiteral<"agent-candidate-benchmark-result">;
10597
11023
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
10598
11024
  material: z.ZodType<{
10599
- calls: {
10600
- callId: string;
10601
- generationId: string;
10602
- traceSpanId: string;
10603
- status: "failed" | "succeeded";
10604
- model: string;
10605
- startedAtMs: number;
10606
- endedAtMs: number;
10607
- inputTokens: number;
10608
- outputTokens: number;
10609
- cachedInputTokens: number;
10610
- reasoningTokens: number;
10611
- costUsdNanos: number;
10612
- }[];
10613
- kind: "agent-candidate-model-settlement-material";
11025
+ kind: "agent-candidate-benchmark-result-material";
10614
11026
  executionPlanDigest: `sha256:${string}`;
10615
- preparationId: string;
10616
- grantDigest: `sha256:${string}`;
10617
- closed: true;
10618
- resolved: {
10619
- requested: string;
10620
- provider: string;
10621
- model: string;
10622
- snapshot: string;
10623
- reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
11027
+ taskOutcomeDigest: `sha256:${string}`;
11028
+ grader: {
11029
+ name: string;
11030
+ version: string;
11031
+ format: "tangle-grader";
11032
+ artifact: {
11033
+ locator: {
11034
+ kind: "s3";
11035
+ bucket: string;
11036
+ key: string;
11037
+ region?: string | undefined;
11038
+ } | {
11039
+ kind: "ipfs";
11040
+ cid: string;
11041
+ path?: string | undefined;
11042
+ };
11043
+ sha256: `sha256:${string}`;
11044
+ byteLength: number;
11045
+ };
10624
11046
  };
10625
- usage: {
10626
- inputTokens: number;
10627
- outputTokens: number;
10628
- cachedInputTokens: number;
10629
- reasoningTokens: number;
10630
- modelCalls: number;
10631
- costUsdNanos: number;
11047
+ evidence: {
11048
+ locator: {
11049
+ kind: "s3";
11050
+ bucket: string;
11051
+ key: string;
11052
+ region?: string | undefined;
11053
+ } | {
11054
+ kind: "ipfs";
11055
+ cid: string;
11056
+ path?: string | undefined;
11057
+ };
11058
+ sha256: `sha256:${string}`;
11059
+ byteLength: number;
10632
11060
  };
10633
- }, unknown, z.core.$ZodTypeInternals<{
10634
- calls: {
10635
- callId: string;
10636
- generationId: string;
10637
- traceSpanId: string;
10638
- status: "failed" | "succeeded";
10639
- model: string;
10640
- startedAtMs: number;
10641
- endedAtMs: number;
10642
- inputTokens: number;
10643
- outputTokens: number;
10644
- cachedInputTokens: number;
10645
- reasoningTokens: number;
10646
- costUsdNanos: number;
11061
+ grading: {
11062
+ usage: {
11063
+ inputTokens: number;
11064
+ outputTokens: number;
11065
+ cachedInputTokens: number;
11066
+ reasoningTokens: number;
11067
+ modelCalls: number;
11068
+ costUsdNanos: number;
11069
+ };
11070
+ timing: {
11071
+ startedAtMs: number;
11072
+ endedAtMs: number;
11073
+ durationMs: number;
11074
+ };
11075
+ };
11076
+ score: number;
11077
+ passed: boolean;
11078
+ dimensions: {
11079
+ name: string;
11080
+ score: number;
10647
11081
  }[];
10648
- kind: "agent-candidate-model-settlement-material";
11082
+ }, unknown, z.core.$ZodTypeInternals<{
11083
+ kind: "agent-candidate-benchmark-result-material";
10649
11084
  executionPlanDigest: `sha256:${string}`;
10650
- preparationId: string;
10651
- grantDigest: `sha256:${string}`;
10652
- closed: true;
10653
- resolved: {
10654
- requested: string;
10655
- provider: string;
10656
- model: string;
10657
- snapshot: string;
10658
- reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
11085
+ taskOutcomeDigest: `sha256:${string}`;
11086
+ grader: {
11087
+ name: string;
11088
+ version: string;
11089
+ format: "tangle-grader";
11090
+ artifact: {
11091
+ locator: {
11092
+ kind: "s3";
11093
+ bucket: string;
11094
+ key: string;
11095
+ region?: string | undefined;
11096
+ } | {
11097
+ kind: "ipfs";
11098
+ cid: string;
11099
+ path?: string | undefined;
11100
+ };
11101
+ sha256: `sha256:${string}`;
11102
+ byteLength: number;
11103
+ };
10659
11104
  };
10660
- usage: {
10661
- inputTokens: number;
10662
- outputTokens: number;
10663
- cachedInputTokens: number;
10664
- reasoningTokens: number;
10665
- modelCalls: number;
10666
- costUsdNanos: number;
11105
+ evidence: {
11106
+ locator: {
11107
+ kind: "s3";
11108
+ bucket: string;
11109
+ key: string;
11110
+ region?: string | undefined;
11111
+ } | {
11112
+ kind: "ipfs";
11113
+ cid: string;
11114
+ path?: string | undefined;
11115
+ };
11116
+ sha256: `sha256:${string}`;
11117
+ byteLength: number;
11118
+ };
11119
+ grading: {
11120
+ usage: {
11121
+ inputTokens: number;
11122
+ outputTokens: number;
11123
+ cachedInputTokens: number;
11124
+ reasoningTokens: number;
11125
+ modelCalls: number;
11126
+ costUsdNanos: number;
11127
+ };
11128
+ timing: {
11129
+ startedAtMs: number;
11130
+ endedAtMs: number;
11131
+ durationMs: number;
11132
+ };
10667
11133
  };
11134
+ score: number;
11135
+ passed: boolean;
11136
+ dimensions: {
11137
+ name: string;
11138
+ score: number;
11139
+ }[];
10668
11140
  }, unknown>>;
10669
11141
  artifact: z.ZodUnion<readonly [z.ZodObject<{
10670
11142
  locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -10684,225 +11156,270 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
10684
11156
  content: z.ZodString;
10685
11157
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
10686
11158
  byteLength: z.ZodNumber;
10687
- }, z.core.$strict>]>;
11159
+ }, z.core.$strict>]>;
11160
+ }, z.core.$strict>;
11161
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11162
+ }, z.core.$strict>;
11163
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11164
+ }, z.core.$strict>;
11165
+ }, z.core.$strict>>;
11166
+ }, z.core.$strict>, z.ZodObject<{
11167
+ overall: z.ZodObject<{
11168
+ direction: z.ZodLiteral<"higher-is-better">;
11169
+ unit: z.ZodLiteral<"score">;
11170
+ baseline: z.ZodNumber;
11171
+ candidate: z.ZodNumber;
11172
+ delta: z.ZodNumber;
11173
+ confidenceInterval: z.ZodObject<{
11174
+ level: z.ZodNumber;
11175
+ lower: z.ZodNumber;
11176
+ upper: z.ZodNumber;
11177
+ method: z.ZodLiteral<"paired-bootstrap">;
11178
+ statistic: z.ZodLiteral<"mean">;
11179
+ resamples: z.ZodNumber;
11180
+ }, z.core.$strict>;
11181
+ n: z.ZodNumber;
11182
+ name: z.ZodLiteral<"composite">;
11183
+ }, z.core.$strict>;
11184
+ objectives: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
11185
+ kind: z.ZodLiteral<"objective">;
11186
+ name: z.ZodString;
11187
+ direction: z.ZodLiteral<"higher-is-better">;
11188
+ unit: z.ZodLiteral<"score">;
11189
+ baseline: z.ZodNumber;
11190
+ candidate: z.ZodNumber;
11191
+ delta: z.ZodNumber;
11192
+ confidenceInterval: z.ZodObject<{
11193
+ level: z.ZodNumber;
11194
+ lower: z.ZodNumber;
11195
+ upper: z.ZodNumber;
11196
+ method: z.ZodLiteral<"paired-bootstrap">;
11197
+ statistic: z.ZodLiteral<"mean">;
11198
+ resamples: z.ZodNumber;
11199
+ }, z.core.$strict>;
11200
+ n: z.ZodNumber;
11201
+ availability: z.ZodLiteral<"measured">;
11202
+ }, z.core.$strict>, z.ZodObject<{
11203
+ kind: z.ZodLiteral<"objective">;
11204
+ name: z.ZodString;
11205
+ direction: z.ZodLiteral<"higher-is-better">;
11206
+ unit: z.ZodLiteral<"score">;
11207
+ availability: z.ZodLiteral<"unavailable">;
11208
+ reason: z.ZodString;
11209
+ }, z.core.$strict>, z.ZodObject<{
11210
+ kind: z.ZodLiteral<"dimension">;
11211
+ objective: z.ZodString;
11212
+ name: z.ZodString;
11213
+ direction: z.ZodLiteral<"higher-is-better">;
11214
+ unit: z.ZodLiteral<"score">;
11215
+ baseline: z.ZodNumber;
11216
+ candidate: z.ZodNumber;
11217
+ delta: z.ZodNumber;
11218
+ confidenceInterval: z.ZodObject<{
11219
+ level: z.ZodNumber;
11220
+ lower: z.ZodNumber;
11221
+ upper: z.ZodNumber;
11222
+ method: z.ZodLiteral<"paired-bootstrap">;
11223
+ statistic: z.ZodLiteral<"mean">;
11224
+ resamples: z.ZodNumber;
11225
+ }, z.core.$strict>;
11226
+ n: z.ZodNumber;
11227
+ availability: z.ZodLiteral<"measured">;
11228
+ }, z.core.$strict>, z.ZodObject<{
11229
+ kind: z.ZodLiteral<"dimension">;
11230
+ objective: z.ZodString;
11231
+ name: z.ZodString;
11232
+ direction: z.ZodLiteral<"higher-is-better">;
11233
+ unit: z.ZodLiteral<"score">;
11234
+ availability: z.ZodLiteral<"unavailable">;
11235
+ reason: z.ZodString;
11236
+ }, z.core.$strict>, z.ZodObject<{
11237
+ kind: z.ZodLiteral<"cost">;
11238
+ name: z.ZodLiteral<"cost">;
11239
+ direction: z.ZodLiteral<"lower-is-better">;
11240
+ unit: z.ZodLiteral<"usd">;
11241
+ baseline: z.ZodNumber;
11242
+ candidate: z.ZodNumber;
11243
+ delta: z.ZodNumber;
11244
+ confidenceInterval: z.ZodObject<{
11245
+ level: z.ZodNumber;
11246
+ lower: z.ZodNumber;
11247
+ upper: z.ZodNumber;
11248
+ method: z.ZodLiteral<"paired-bootstrap">;
11249
+ statistic: z.ZodLiteral<"mean">;
11250
+ resamples: z.ZodNumber;
11251
+ }, z.core.$strict>;
11252
+ n: z.ZodNumber;
11253
+ availability: z.ZodLiteral<"measured">;
11254
+ }, z.core.$strict>, z.ZodObject<{
11255
+ kind: z.ZodLiteral<"latency">;
11256
+ name: z.ZodLiteral<"latency">;
11257
+ direction: z.ZodLiteral<"lower-is-better">;
11258
+ unit: z.ZodLiteral<"milliseconds">;
11259
+ baseline: z.ZodNumber;
11260
+ candidate: z.ZodNumber;
11261
+ delta: z.ZodNumber;
11262
+ confidenceInterval: z.ZodObject<{
11263
+ level: z.ZodNumber;
11264
+ lower: z.ZodNumber;
11265
+ upper: z.ZodNumber;
11266
+ method: z.ZodLiteral<"paired-bootstrap">;
11267
+ statistic: z.ZodLiteral<"mean">;
11268
+ resamples: z.ZodNumber;
11269
+ }, z.core.$strict>;
11270
+ n: z.ZodNumber;
11271
+ availability: z.ZodLiteral<"measured">;
11272
+ }, z.core.$strict>]>>;
11273
+ candidate: z.ZodOptional<z.ZodObject<{
11274
+ label: z.ZodOptional<z.ZodString>;
11275
+ rationale: z.ZodOptional<z.ZodString>;
11276
+ }, z.core.$strict>>;
11277
+ decision: z.ZodObject<{
11278
+ outcome: z.ZodEnum<{
11279
+ ship: "ship";
11280
+ hold: "hold";
11281
+ need_more_work: "need_more_work";
11282
+ model_ceiling: "model_ceiling";
11283
+ arch_ceiling: "arch_ceiling";
11284
+ }>;
11285
+ reasons: z.ZodArray<z.ZodString>;
11286
+ contributingChecks: z.ZodArray<z.ZodObject<{
11287
+ name: z.ZodString;
11288
+ passed: z.ZodBoolean;
11289
+ }, z.core.$strict>>;
11290
+ }, z.core.$strict>;
11291
+ power: z.ZodObject<{
11292
+ sufficient: z.ZodBoolean;
11293
+ n: z.ZodNumber;
11294
+ minimumDetectableDelta: z.ZodNumber;
11295
+ confidenceLevel: z.ZodNumber;
11296
+ scaleAssumed: z.ZodBoolean;
11297
+ sharedScorerChannel: z.ZodBoolean;
11298
+ reason: z.ZodString;
11299
+ }, z.core.$strict>;
11300
+ provenance: z.ZodObject<{
11301
+ kind: z.ZodLiteral<"agent-eval-loop">;
11302
+ schema: z.ZodString;
11303
+ runId: z.ZodString;
11304
+ recordDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11305
+ baselineContentHash: z.ZodString;
11306
+ candidateContentHash: z.ZodString;
11307
+ }, z.core.$strict>;
11308
+ diff: z.ZodString;
11309
+ evaluation: z.ZodObject<{
11310
+ generationsExplored: z.ZodNumber;
11311
+ searchDurationMs: z.ZodNumber;
11312
+ executionDurationMs: z.ZodNumber;
11313
+ durationMs: z.ZodNumber;
11314
+ searchCostUsd: z.ZodNumber;
11315
+ executionCostUsd: z.ZodNumber;
11316
+ totalCostUsd: z.ZodNumber;
11317
+ }, z.core.$strict>;
11318
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCustom<AgentCandidateJsonValue, AgentCandidateJsonValue>>>;
11319
+ kind: z.ZodLiteral<"agent-profile-improvement-measured-comparison">;
11320
+ experiment: z.ZodObject<{
11321
+ kind: z.ZodLiteral<"agent-profile-improvement-experiment">;
11322
+ digestAlgorithm: z.ZodLiteral<"rfc8785-sha256">;
11323
+ source: z.ZodObject<{
11324
+ kind: z.ZodString;
11325
+ sourceIdentity: z.ZodString;
11326
+ sourceDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11327
+ sourceRevision: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
11328
+ }, z.core.$strict>;
11329
+ baseline: z.ZodObject<{
11330
+ stateDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11331
+ }, z.core.$strict>;
11332
+ candidate: z.ZodObject<{
11333
+ stateDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11334
+ }, z.core.$strict>;
11335
+ change: z.ZodTuple<[z.ZodType<import("./profile-diff.js").AgentProfileDiff, unknown, z.core.$ZodTypeInternals<import("./profile-diff.js").AgentProfileDiff, unknown>>], z.ZodType<import("./profile-diff.js").AgentProfileDiff, unknown, z.core.$ZodTypeInternals<import("./profile-diff.js").AgentProfileDiff, unknown>>>;
11336
+ candidateLineage: z.ZodObject<{
11337
+ source: z.ZodEnum<{
11338
+ human: "human";
11339
+ optimizer: "optimizer";
11340
+ compound: "compound";
11341
+ import: "import";
11342
+ }>;
11343
+ parentDigests: z.ZodOptional<z.ZodArray<z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>>>;
11344
+ runIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
11345
+ profileDiffIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
11346
+ modelSnapshots: z.ZodOptional<z.ZodArray<z.ZodString>>;
11347
+ developmentSplitDigest: z.ZodOptional<z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>>;
11348
+ }, z.core.$strict>;
11349
+ benchmark: z.ZodObject<{
11350
+ suite: z.ZodObject<{
11351
+ kind: z.ZodLiteral<"agent-profile-improvement-suite">;
11352
+ digestAlgorithm: z.ZodLiteral<"rfc8785-sha256">;
11353
+ splitDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11354
+ taskDigests: z.ZodTuple<[z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>], z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>>;
11355
+ reps: z.ZodNumber;
11356
+ seeds: z.ZodTuple<[z.ZodNumber], z.ZodNumber>;
11357
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11358
+ }, z.core.$strict>;
11359
+ tasks: z.ZodTuple<[z.ZodObject<{
11360
+ kind: z.ZodLiteral<"agent-profile-improvement-task">;
11361
+ digestAlgorithm: z.ZodLiteral<"rfc8785-sha256">;
11362
+ scenario: z.ZodObject<{
11363
+ id: z.ZodString;
11364
+ kind: z.ZodString;
11365
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11366
+ }, z.core.$strict>;
11367
+ grader: z.ZodObject<{
11368
+ name: z.ZodString;
11369
+ version: z.ZodString;
11370
+ format: z.ZodLiteral<"tangle-grader">;
11371
+ artifact: z.ZodObject<{
11372
+ locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
11373
+ kind: z.ZodLiteral<"s3">;
11374
+ bucket: z.ZodString;
11375
+ key: z.ZodString;
11376
+ region: z.ZodOptional<z.ZodString>;
11377
+ }, z.core.$strict>, z.ZodObject<{
11378
+ kind: z.ZodLiteral<"ipfs">;
11379
+ cid: z.ZodString;
11380
+ path: z.ZodOptional<z.ZodString>;
11381
+ }, z.core.$strict>], "kind">;
11382
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11383
+ byteLength: z.ZodNumber;
11384
+ }, z.core.$strict>;
10688
11385
  }, z.core.$strict>;
10689
- taskOutcome: z.ZodObject<{
10690
- kind: z.ZodLiteral<"agent-candidate-task-outcome">;
11386
+ model: z.ZodObject<{
11387
+ requested: z.ZodString;
11388
+ provider: z.ZodString;
11389
+ model: z.ZodString;
11390
+ snapshot: z.ZodString;
11391
+ reasoningEffort: z.ZodEnum<{
11392
+ none: "none";
11393
+ minimal: "minimal";
11394
+ low: "low";
11395
+ medium: "medium";
11396
+ high: "high";
11397
+ xhigh: "xhigh";
11398
+ ultracode: "ultracode";
11399
+ }>;
11400
+ }, z.core.$strict>;
11401
+ limits: z.ZodObject<{
11402
+ timeoutMs: z.ZodNumber;
11403
+ maxSteps: z.ZodNumber;
11404
+ maxModelCalls: z.ZodNumber;
11405
+ maxInputTokens: z.ZodNumber;
11406
+ maxOutputTokens: z.ZodNumber;
11407
+ maxCostUsd: z.ZodNumber;
11408
+ }, z.core.$strict>;
11409
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11410
+ }, z.core.$strict>], z.ZodObject<{
11411
+ kind: z.ZodLiteral<"agent-profile-improvement-task">;
11412
+ digestAlgorithm: z.ZodLiteral<"rfc8785-sha256">;
11413
+ scenario: z.ZodObject<{
11414
+ id: z.ZodString;
11415
+ kind: z.ZodString;
10691
11416
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
10692
- material: z.ZodType<{
10693
- kind: "agent-candidate-task-outcome-material";
10694
- executionPlanDigest: `sha256:${string}`;
10695
- outcome: {
10696
- kind: "workspace";
10697
- baseRepository: {
10698
- identity: string;
10699
- rootIdentity: string;
10700
- commit: string;
10701
- tree: string;
10702
- };
10703
- resultRepository: {
10704
- identity: string;
10705
- rootIdentity: string;
10706
- commit: string;
10707
- tree: string;
10708
- };
10709
- afterState: {
10710
- kind: "agent-candidate-workspace-snapshot";
10711
- digest: `sha256:${string}`;
10712
- material: {
10713
- kind: "agent-candidate-workspace-manifest";
10714
- files: {
10715
- path: string;
10716
- mode: number;
10717
- sha256: `sha256:${string}`;
10718
- byteLength: number;
10719
- }[];
10720
- };
10721
- manifest: {
10722
- locator: {
10723
- kind: "s3";
10724
- bucket: string;
10725
- key: string;
10726
- region?: string | undefined;
10727
- } | {
10728
- kind: "ipfs";
10729
- cid: string;
10730
- path?: string | undefined;
10731
- };
10732
- sha256: `sha256:${string}`;
10733
- byteLength: number;
10734
- } | {
10735
- encoding: "base64";
10736
- content: string;
10737
- sha256: `sha256:${string}`;
10738
- byteLength: number;
10739
- };
10740
- archive: {
10741
- locator: {
10742
- kind: "s3";
10743
- bucket: string;
10744
- key: string;
10745
- region?: string | undefined;
10746
- } | {
10747
- kind: "ipfs";
10748
- cid: string;
10749
- path?: string | undefined;
10750
- };
10751
- sha256: `sha256:${string}`;
10752
- byteLength: number;
10753
- } | {
10754
- encoding: "base64";
10755
- content: string;
10756
- sha256: `sha256:${string}`;
10757
- byteLength: number;
10758
- };
10759
- };
10760
- gitDiff: {
10761
- format: "git-diff-binary";
10762
- artifact: {
10763
- locator: {
10764
- kind: "s3";
10765
- bucket: string;
10766
- key: string;
10767
- region?: string | undefined;
10768
- } | {
10769
- kind: "ipfs";
10770
- cid: string;
10771
- path?: string | undefined;
10772
- };
10773
- sha256: `sha256:${string}`;
10774
- byteLength: number;
10775
- };
10776
- };
10777
- } | {
10778
- kind: "output";
10779
- spec: {
10780
- mediaType: string;
10781
- maxBytes: number;
10782
- };
10783
- artifact: {
10784
- locator: {
10785
- kind: "s3";
10786
- bucket: string;
10787
- key: string;
10788
- region?: string | undefined;
10789
- } | {
10790
- kind: "ipfs";
10791
- cid: string;
10792
- path?: string | undefined;
10793
- };
10794
- sha256: `sha256:${string}`;
10795
- byteLength: number;
10796
- };
10797
- };
10798
- }, unknown, z.core.$ZodTypeInternals<{
10799
- kind: "agent-candidate-task-outcome-material";
10800
- executionPlanDigest: `sha256:${string}`;
10801
- outcome: {
10802
- kind: "workspace";
10803
- baseRepository: {
10804
- identity: string;
10805
- rootIdentity: string;
10806
- commit: string;
10807
- tree: string;
10808
- };
10809
- resultRepository: {
10810
- identity: string;
10811
- rootIdentity: string;
10812
- commit: string;
10813
- tree: string;
10814
- };
10815
- afterState: {
10816
- kind: "agent-candidate-workspace-snapshot";
10817
- digest: `sha256:${string}`;
10818
- material: {
10819
- kind: "agent-candidate-workspace-manifest";
10820
- files: {
10821
- path: string;
10822
- mode: number;
10823
- sha256: `sha256:${string}`;
10824
- byteLength: number;
10825
- }[];
10826
- };
10827
- manifest: {
10828
- locator: {
10829
- kind: "s3";
10830
- bucket: string;
10831
- key: string;
10832
- region?: string | undefined;
10833
- } | {
10834
- kind: "ipfs";
10835
- cid: string;
10836
- path?: string | undefined;
10837
- };
10838
- sha256: `sha256:${string}`;
10839
- byteLength: number;
10840
- } | {
10841
- encoding: "base64";
10842
- content: string;
10843
- sha256: `sha256:${string}`;
10844
- byteLength: number;
10845
- };
10846
- archive: {
10847
- locator: {
10848
- kind: "s3";
10849
- bucket: string;
10850
- key: string;
10851
- region?: string | undefined;
10852
- } | {
10853
- kind: "ipfs";
10854
- cid: string;
10855
- path?: string | undefined;
10856
- };
10857
- sha256: `sha256:${string}`;
10858
- byteLength: number;
10859
- } | {
10860
- encoding: "base64";
10861
- content: string;
10862
- sha256: `sha256:${string}`;
10863
- byteLength: number;
10864
- };
10865
- };
10866
- gitDiff: {
10867
- format: "git-diff-binary";
10868
- artifact: {
10869
- locator: {
10870
- kind: "s3";
10871
- bucket: string;
10872
- key: string;
10873
- region?: string | undefined;
10874
- } | {
10875
- kind: "ipfs";
10876
- cid: string;
10877
- path?: string | undefined;
10878
- };
10879
- sha256: `sha256:${string}`;
10880
- byteLength: number;
10881
- };
10882
- };
10883
- } | {
10884
- kind: "output";
10885
- spec: {
10886
- mediaType: string;
10887
- maxBytes: number;
10888
- };
10889
- artifact: {
10890
- locator: {
10891
- kind: "s3";
10892
- bucket: string;
10893
- key: string;
10894
- region?: string | undefined;
10895
- } | {
10896
- kind: "ipfs";
10897
- cid: string;
10898
- path?: string | undefined;
10899
- };
10900
- sha256: `sha256:${string}`;
10901
- byteLength: number;
10902
- };
10903
- };
10904
- }, unknown>>;
10905
- artifact: z.ZodUnion<readonly [z.ZodObject<{
11417
+ }, z.core.$strict>;
11418
+ grader: z.ZodObject<{
11419
+ name: z.ZodString;
11420
+ version: z.ZodString;
11421
+ format: z.ZodLiteral<"tangle-grader">;
11422
+ artifact: z.ZodObject<{
10906
11423
  locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
10907
11424
  kind: z.ZodLiteral<"s3">;
10908
11425
  bucket: z.ZodString;
@@ -10915,134 +11432,284 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
10915
11432
  }, z.core.$strict>], "kind">;
10916
11433
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
10917
11434
  byteLength: z.ZodNumber;
10918
- }, z.core.$strict>, z.ZodObject<{
10919
- encoding: z.ZodLiteral<"base64">;
10920
- content: z.ZodString;
11435
+ }, z.core.$strict>;
11436
+ }, z.core.$strict>;
11437
+ model: z.ZodObject<{
11438
+ requested: z.ZodString;
11439
+ provider: z.ZodString;
11440
+ model: z.ZodString;
11441
+ snapshot: z.ZodString;
11442
+ reasoningEffort: z.ZodEnum<{
11443
+ none: "none";
11444
+ minimal: "minimal";
11445
+ low: "low";
11446
+ medium: "medium";
11447
+ high: "high";
11448
+ xhigh: "xhigh";
11449
+ ultracode: "ultracode";
11450
+ }>;
11451
+ }, z.core.$strict>;
11452
+ limits: z.ZodObject<{
11453
+ timeoutMs: z.ZodNumber;
11454
+ maxSteps: z.ZodNumber;
11455
+ maxModelCalls: z.ZodNumber;
11456
+ maxInputTokens: z.ZodNumber;
11457
+ maxOutputTokens: z.ZodNumber;
11458
+ maxCostUsd: z.ZodNumber;
11459
+ }, z.core.$strict>;
11460
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11461
+ }, z.core.$strict>>;
11462
+ }, z.core.$strict>;
11463
+ policy: z.ZodObject<{
11464
+ confidenceLevel: z.ZodNumber;
11465
+ resamples: z.ZodNumber;
11466
+ bootstrapSeed: z.ZodNumber;
11467
+ deltaThreshold: z.ZodNumber;
11468
+ minProductiveRuns: z.ZodNumber;
11469
+ budgetUsd: z.ZodOptional<z.ZodNumber>;
11470
+ criticalDimensions: z.ZodArray<z.ZodString>;
11471
+ regressionTolerance: z.ZodNumber;
11472
+ }, z.core.$strict>;
11473
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11474
+ }, z.core.$strict>;
11475
+ measurements: z.ZodArray<z.ZodObject<{
11476
+ baseline: z.ZodObject<{
11477
+ kind: z.ZodLiteral<"agent-profile-improvement-run">;
11478
+ digestAlgorithm: z.ZodLiteral<"rfc8785-sha256">;
11479
+ executionId: z.ZodString;
11480
+ runCell: z.ZodObject<{
11481
+ kind: z.ZodLiteral<"agent-profile-improvement-run-cell">;
11482
+ experimentDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11483
+ arm: z.ZodEnum<{
11484
+ baseline: "baseline";
11485
+ candidate: "candidate";
11486
+ }>;
11487
+ stateDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11488
+ suiteDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11489
+ taskDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11490
+ taskIndex: z.ZodNumber;
11491
+ repetition: z.ZodNumber;
11492
+ seed: z.ZodNumber;
11493
+ attempt: z.ZodNumber;
11494
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11495
+ }, z.core.$strict>;
11496
+ runRecord: z.ZodObject<{
11497
+ kind: z.ZodString;
11498
+ identity: z.ZodString;
11499
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11500
+ }, z.core.$strict>;
11501
+ billing: z.ZodTuple<[z.ZodObject<{
11502
+ kind: z.ZodString;
11503
+ identity: z.ZodString;
11504
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11505
+ }, z.core.$strict>], z.ZodObject<{
11506
+ kind: z.ZodString;
11507
+ identity: z.ZodString;
11508
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11509
+ }, z.core.$strict>>;
11510
+ timing: z.ZodObject<{
11511
+ startedAtMs: z.ZodNumber;
11512
+ endedAtMs: z.ZodNumber;
11513
+ durationMs: z.ZodNumber;
11514
+ }, z.core.$strict>;
11515
+ steps: z.ZodNumber;
11516
+ resolvedModel: z.ZodObject<{
11517
+ requested: z.ZodString;
11518
+ provider: z.ZodString;
11519
+ model: z.ZodString;
11520
+ snapshot: z.ZodString;
11521
+ reasoningEffort: z.ZodEnum<{
11522
+ none: "none";
11523
+ minimal: "minimal";
11524
+ low: "low";
11525
+ medium: "medium";
11526
+ high: "high";
11527
+ xhigh: "xhigh";
11528
+ ultracode: "ultracode";
11529
+ }>;
11530
+ }, z.core.$strict>;
11531
+ limits: z.ZodObject<{
11532
+ timeoutMs: z.ZodNumber;
11533
+ maxSteps: z.ZodNumber;
11534
+ maxModelCalls: z.ZodNumber;
11535
+ maxInputTokens: z.ZodNumber;
11536
+ maxOutputTokens: z.ZodNumber;
11537
+ maxCostUsd: z.ZodNumber;
11538
+ }, z.core.$strict>;
11539
+ usage: z.ZodObject<{
11540
+ inputTokens: z.ZodNumber;
11541
+ outputTokens: z.ZodNumber;
11542
+ cachedInputTokens: z.ZodNumber;
11543
+ reasoningTokens: z.ZodNumber;
11544
+ modelCalls: z.ZodNumber;
11545
+ costUsdNanos: z.ZodNumber;
11546
+ }, z.core.$strict>;
11547
+ trace: z.ZodObject<{
11548
+ evidence: z.ZodObject<{
11549
+ kind: z.ZodString;
11550
+ identity: z.ZodString;
11551
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11552
+ }, z.core.$strict>;
11553
+ eventCount: z.ZodNumber;
11554
+ modelCallCount: z.ZodNumber;
11555
+ }, z.core.$strict>;
11556
+ output: z.ZodObject<{
11557
+ kind: z.ZodString;
11558
+ identity: z.ZodString;
11559
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11560
+ }, z.core.$strict>;
11561
+ outcome: z.ZodDiscriminatedUnion<[z.ZodObject<{
11562
+ status: z.ZodLiteral<"succeeded">;
11563
+ }, z.core.$strict>, z.ZodObject<{
11564
+ status: z.ZodLiteral<"failed">;
11565
+ code: z.ZodString;
11566
+ message: z.ZodString;
11567
+ }, z.core.$strict>], "status">;
11568
+ grading: z.ZodObject<{
11569
+ grader: z.ZodObject<{
11570
+ name: z.ZodString;
11571
+ version: z.ZodString;
11572
+ format: z.ZodLiteral<"tangle-grader">;
11573
+ artifact: z.ZodObject<{
11574
+ locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
11575
+ kind: z.ZodLiteral<"s3">;
11576
+ bucket: z.ZodString;
11577
+ key: z.ZodString;
11578
+ region: z.ZodOptional<z.ZodString>;
11579
+ }, z.core.$strict>, z.ZodObject<{
11580
+ kind: z.ZodLiteral<"ipfs">;
11581
+ cid: z.ZodString;
11582
+ path: z.ZodOptional<z.ZodString>;
11583
+ }, z.core.$strict>], "kind">;
10921
11584
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
10922
11585
  byteLength: z.ZodNumber;
10923
- }, z.core.$strict>]>;
11586
+ }, z.core.$strict>;
10924
11587
  }, z.core.$strict>;
10925
- benchmarkResult: z.ZodObject<{
10926
- kind: z.ZodLiteral<"agent-candidate-benchmark-result">;
11588
+ evidence: z.ZodObject<{
11589
+ kind: z.ZodString;
11590
+ identity: z.ZodString;
10927
11591
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
10928
- material: z.ZodType<{
10929
- kind: "agent-candidate-benchmark-result-material";
10930
- executionPlanDigest: `sha256:${string}`;
10931
- taskOutcomeDigest: `sha256:${string}`;
10932
- grader: {
10933
- name: string;
10934
- version: string;
10935
- format: "tangle-grader";
10936
- artifact: {
10937
- locator: {
10938
- kind: "s3";
10939
- bucket: string;
10940
- key: string;
10941
- region?: string | undefined;
10942
- } | {
10943
- kind: "ipfs";
10944
- cid: string;
10945
- path?: string | undefined;
10946
- };
10947
- sha256: `sha256:${string}`;
10948
- byteLength: number;
10949
- };
10950
- };
10951
- evidence: {
10952
- locator: {
10953
- kind: "s3";
10954
- bucket: string;
10955
- key: string;
10956
- region?: string | undefined;
10957
- } | {
10958
- kind: "ipfs";
10959
- cid: string;
10960
- path?: string | undefined;
10961
- };
10962
- sha256: `sha256:${string}`;
10963
- byteLength: number;
10964
- };
10965
- grading: {
10966
- usage: {
10967
- inputTokens: number;
10968
- outputTokens: number;
10969
- cachedInputTokens: number;
10970
- reasoningTokens: number;
10971
- modelCalls: number;
10972
- costUsdNanos: number;
10973
- };
10974
- timing: {
10975
- startedAtMs: number;
10976
- endedAtMs: number;
10977
- durationMs: number;
10978
- };
10979
- };
10980
- score: number;
10981
- passed: boolean;
10982
- dimensions: {
10983
- name: string;
10984
- score: number;
10985
- }[];
10986
- }, unknown, z.core.$ZodTypeInternals<{
10987
- kind: "agent-candidate-benchmark-result-material";
10988
- executionPlanDigest: `sha256:${string}`;
10989
- taskOutcomeDigest: `sha256:${string}`;
10990
- grader: {
10991
- name: string;
10992
- version: string;
10993
- format: "tangle-grader";
10994
- artifact: {
10995
- locator: {
10996
- kind: "s3";
10997
- bucket: string;
10998
- key: string;
10999
- region?: string | undefined;
11000
- } | {
11001
- kind: "ipfs";
11002
- cid: string;
11003
- path?: string | undefined;
11004
- };
11005
- sha256: `sha256:${string}`;
11006
- byteLength: number;
11007
- };
11008
- };
11009
- evidence: {
11010
- locator: {
11011
- kind: "s3";
11012
- bucket: string;
11013
- key: string;
11014
- region?: string | undefined;
11015
- } | {
11016
- kind: "ipfs";
11017
- cid: string;
11018
- path?: string | undefined;
11019
- };
11020
- sha256: `sha256:${string}`;
11021
- byteLength: number;
11022
- };
11023
- grading: {
11024
- usage: {
11025
- inputTokens: number;
11026
- outputTokens: number;
11027
- cachedInputTokens: number;
11028
- reasoningTokens: number;
11029
- modelCalls: number;
11030
- costUsdNanos: number;
11031
- };
11032
- timing: {
11033
- startedAtMs: number;
11034
- endedAtMs: number;
11035
- durationMs: number;
11036
- };
11037
- };
11038
- score: number;
11039
- passed: boolean;
11040
- dimensions: {
11041
- name: string;
11042
- score: number;
11043
- }[];
11044
- }, unknown>>;
11045
- artifact: z.ZodUnion<readonly [z.ZodObject<{
11592
+ }, z.core.$strict>;
11593
+ timing: z.ZodObject<{
11594
+ startedAtMs: z.ZodNumber;
11595
+ endedAtMs: z.ZodNumber;
11596
+ durationMs: z.ZodNumber;
11597
+ }, z.core.$strict>;
11598
+ usage: z.ZodObject<{
11599
+ inputTokens: z.ZodNumber;
11600
+ outputTokens: z.ZodNumber;
11601
+ cachedInputTokens: z.ZodNumber;
11602
+ reasoningTokens: z.ZodNumber;
11603
+ modelCalls: z.ZodNumber;
11604
+ costUsdNanos: z.ZodNumber;
11605
+ }, z.core.$strict>;
11606
+ score: z.ZodNumber;
11607
+ passed: z.ZodBoolean;
11608
+ dimensions: z.ZodArray<z.ZodObject<{
11609
+ name: z.ZodString;
11610
+ score: z.ZodNumber;
11611
+ }, z.core.$strict>>;
11612
+ }, z.core.$strict>;
11613
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11614
+ }, z.core.$strict>;
11615
+ candidate: z.ZodObject<{
11616
+ kind: z.ZodLiteral<"agent-profile-improvement-run">;
11617
+ digestAlgorithm: z.ZodLiteral<"rfc8785-sha256">;
11618
+ executionId: z.ZodString;
11619
+ runCell: z.ZodObject<{
11620
+ kind: z.ZodLiteral<"agent-profile-improvement-run-cell">;
11621
+ experimentDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11622
+ arm: z.ZodEnum<{
11623
+ baseline: "baseline";
11624
+ candidate: "candidate";
11625
+ }>;
11626
+ stateDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11627
+ suiteDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11628
+ taskDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11629
+ taskIndex: z.ZodNumber;
11630
+ repetition: z.ZodNumber;
11631
+ seed: z.ZodNumber;
11632
+ attempt: z.ZodNumber;
11633
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11634
+ }, z.core.$strict>;
11635
+ runRecord: z.ZodObject<{
11636
+ kind: z.ZodString;
11637
+ identity: z.ZodString;
11638
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11639
+ }, z.core.$strict>;
11640
+ billing: z.ZodTuple<[z.ZodObject<{
11641
+ kind: z.ZodString;
11642
+ identity: z.ZodString;
11643
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11644
+ }, z.core.$strict>], z.ZodObject<{
11645
+ kind: z.ZodString;
11646
+ identity: z.ZodString;
11647
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11648
+ }, z.core.$strict>>;
11649
+ timing: z.ZodObject<{
11650
+ startedAtMs: z.ZodNumber;
11651
+ endedAtMs: z.ZodNumber;
11652
+ durationMs: z.ZodNumber;
11653
+ }, z.core.$strict>;
11654
+ steps: z.ZodNumber;
11655
+ resolvedModel: z.ZodObject<{
11656
+ requested: z.ZodString;
11657
+ provider: z.ZodString;
11658
+ model: z.ZodString;
11659
+ snapshot: z.ZodString;
11660
+ reasoningEffort: z.ZodEnum<{
11661
+ none: "none";
11662
+ minimal: "minimal";
11663
+ low: "low";
11664
+ medium: "medium";
11665
+ high: "high";
11666
+ xhigh: "xhigh";
11667
+ ultracode: "ultracode";
11668
+ }>;
11669
+ }, z.core.$strict>;
11670
+ limits: z.ZodObject<{
11671
+ timeoutMs: z.ZodNumber;
11672
+ maxSteps: z.ZodNumber;
11673
+ maxModelCalls: z.ZodNumber;
11674
+ maxInputTokens: z.ZodNumber;
11675
+ maxOutputTokens: z.ZodNumber;
11676
+ maxCostUsd: z.ZodNumber;
11677
+ }, z.core.$strict>;
11678
+ usage: z.ZodObject<{
11679
+ inputTokens: z.ZodNumber;
11680
+ outputTokens: z.ZodNumber;
11681
+ cachedInputTokens: z.ZodNumber;
11682
+ reasoningTokens: z.ZodNumber;
11683
+ modelCalls: z.ZodNumber;
11684
+ costUsdNanos: z.ZodNumber;
11685
+ }, z.core.$strict>;
11686
+ trace: z.ZodObject<{
11687
+ evidence: z.ZodObject<{
11688
+ kind: z.ZodString;
11689
+ identity: z.ZodString;
11690
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11691
+ }, z.core.$strict>;
11692
+ eventCount: z.ZodNumber;
11693
+ modelCallCount: z.ZodNumber;
11694
+ }, z.core.$strict>;
11695
+ output: z.ZodObject<{
11696
+ kind: z.ZodString;
11697
+ identity: z.ZodString;
11698
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11699
+ }, z.core.$strict>;
11700
+ outcome: z.ZodDiscriminatedUnion<[z.ZodObject<{
11701
+ status: z.ZodLiteral<"succeeded">;
11702
+ }, z.core.$strict>, z.ZodObject<{
11703
+ status: z.ZodLiteral<"failed">;
11704
+ code: z.ZodString;
11705
+ message: z.ZodString;
11706
+ }, z.core.$strict>], "status">;
11707
+ grading: z.ZodObject<{
11708
+ grader: z.ZodObject<{
11709
+ name: z.ZodString;
11710
+ version: z.ZodString;
11711
+ format: z.ZodLiteral<"tangle-grader">;
11712
+ artifact: z.ZodObject<{
11046
11713
  locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
11047
11714
  kind: z.ZodLiteral<"s3">;
11048
11715
  bucket: z.ZodString;
@@ -11055,171 +11722,37 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
11055
11722
  }, z.core.$strict>], "kind">;
11056
11723
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11057
11724
  byteLength: z.ZodNumber;
11058
- }, z.core.$strict>, z.ZodObject<{
11059
- encoding: z.ZodLiteral<"base64">;
11060
- content: z.ZodString;
11061
- sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11062
- byteLength: z.ZodNumber;
11063
- }, z.core.$strict>]>;
11725
+ }, z.core.$strict>;
11064
11726
  }, z.core.$strict>;
11065
- digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11727
+ evidence: z.ZodObject<{
11728
+ kind: z.ZodString;
11729
+ identity: z.ZodString;
11730
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11731
+ }, z.core.$strict>;
11732
+ timing: z.ZodObject<{
11733
+ startedAtMs: z.ZodNumber;
11734
+ endedAtMs: z.ZodNumber;
11735
+ durationMs: z.ZodNumber;
11736
+ }, z.core.$strict>;
11737
+ usage: z.ZodObject<{
11738
+ inputTokens: z.ZodNumber;
11739
+ outputTokens: z.ZodNumber;
11740
+ cachedInputTokens: z.ZodNumber;
11741
+ reasoningTokens: z.ZodNumber;
11742
+ modelCalls: z.ZodNumber;
11743
+ costUsdNanos: z.ZodNumber;
11744
+ }, z.core.$strict>;
11745
+ score: z.ZodNumber;
11746
+ passed: z.ZodBoolean;
11747
+ dimensions: z.ZodArray<z.ZodObject<{
11748
+ name: z.ZodString;
11749
+ score: z.ZodNumber;
11750
+ }, z.core.$strict>>;
11066
11751
  }, z.core.$strict>;
11067
11752
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11068
11753
  }, z.core.$strict>;
11069
11754
  }, z.core.$strict>>;
11070
- overall: z.ZodObject<{
11071
- direction: z.ZodLiteral<"higher-is-better">;
11072
- unit: z.ZodLiteral<"score">;
11073
- baseline: z.ZodNumber;
11074
- candidate: z.ZodNumber;
11075
- delta: z.ZodNumber;
11076
- confidenceInterval: z.ZodObject<{
11077
- level: z.ZodNumber;
11078
- lower: z.ZodNumber;
11079
- upper: z.ZodNumber;
11080
- method: z.ZodLiteral<"paired-bootstrap">;
11081
- statistic: z.ZodLiteral<"mean">;
11082
- resamples: z.ZodNumber;
11083
- }, z.core.$strict>;
11084
- n: z.ZodNumber;
11085
- name: z.ZodLiteral<"composite">;
11086
- }, z.core.$strict>;
11087
- objectives: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
11088
- kind: z.ZodLiteral<"objective">;
11089
- name: z.ZodString;
11090
- direction: z.ZodLiteral<"higher-is-better">;
11091
- unit: z.ZodLiteral<"score">;
11092
- baseline: z.ZodNumber;
11093
- candidate: z.ZodNumber;
11094
- delta: z.ZodNumber;
11095
- confidenceInterval: z.ZodObject<{
11096
- level: z.ZodNumber;
11097
- lower: z.ZodNumber;
11098
- upper: z.ZodNumber;
11099
- method: z.ZodLiteral<"paired-bootstrap">;
11100
- statistic: z.ZodLiteral<"mean">;
11101
- resamples: z.ZodNumber;
11102
- }, z.core.$strict>;
11103
- n: z.ZodNumber;
11104
- availability: z.ZodLiteral<"measured">;
11105
- }, z.core.$strict>, z.ZodObject<{
11106
- kind: z.ZodLiteral<"objective">;
11107
- name: z.ZodString;
11108
- direction: z.ZodLiteral<"higher-is-better">;
11109
- unit: z.ZodLiteral<"score">;
11110
- availability: z.ZodLiteral<"unavailable">;
11111
- reason: z.ZodString;
11112
- }, z.core.$strict>, z.ZodObject<{
11113
- kind: z.ZodLiteral<"dimension">;
11114
- objective: z.ZodString;
11115
- name: z.ZodString;
11116
- direction: z.ZodLiteral<"higher-is-better">;
11117
- unit: z.ZodLiteral<"score">;
11118
- baseline: z.ZodNumber;
11119
- candidate: z.ZodNumber;
11120
- delta: z.ZodNumber;
11121
- confidenceInterval: z.ZodObject<{
11122
- level: z.ZodNumber;
11123
- lower: z.ZodNumber;
11124
- upper: z.ZodNumber;
11125
- method: z.ZodLiteral<"paired-bootstrap">;
11126
- statistic: z.ZodLiteral<"mean">;
11127
- resamples: z.ZodNumber;
11128
- }, z.core.$strict>;
11129
- n: z.ZodNumber;
11130
- availability: z.ZodLiteral<"measured">;
11131
- }, z.core.$strict>, z.ZodObject<{
11132
- kind: z.ZodLiteral<"dimension">;
11133
- objective: z.ZodString;
11134
- name: z.ZodString;
11135
- direction: z.ZodLiteral<"higher-is-better">;
11136
- unit: z.ZodLiteral<"score">;
11137
- availability: z.ZodLiteral<"unavailable">;
11138
- reason: z.ZodString;
11139
- }, z.core.$strict>, z.ZodObject<{
11140
- kind: z.ZodLiteral<"cost">;
11141
- name: z.ZodLiteral<"cost">;
11142
- direction: z.ZodLiteral<"lower-is-better">;
11143
- unit: z.ZodLiteral<"usd">;
11144
- baseline: z.ZodNumber;
11145
- candidate: z.ZodNumber;
11146
- delta: z.ZodNumber;
11147
- confidenceInterval: z.ZodObject<{
11148
- level: z.ZodNumber;
11149
- lower: z.ZodNumber;
11150
- upper: z.ZodNumber;
11151
- method: z.ZodLiteral<"paired-bootstrap">;
11152
- statistic: z.ZodLiteral<"mean">;
11153
- resamples: z.ZodNumber;
11154
- }, z.core.$strict>;
11155
- n: z.ZodNumber;
11156
- availability: z.ZodLiteral<"measured">;
11157
- }, z.core.$strict>, z.ZodObject<{
11158
- kind: z.ZodLiteral<"latency">;
11159
- name: z.ZodLiteral<"latency">;
11160
- direction: z.ZodLiteral<"lower-is-better">;
11161
- unit: z.ZodLiteral<"milliseconds">;
11162
- baseline: z.ZodNumber;
11163
- candidate: z.ZodNumber;
11164
- delta: z.ZodNumber;
11165
- confidenceInterval: z.ZodObject<{
11166
- level: z.ZodNumber;
11167
- lower: z.ZodNumber;
11168
- upper: z.ZodNumber;
11169
- method: z.ZodLiteral<"paired-bootstrap">;
11170
- statistic: z.ZodLiteral<"mean">;
11171
- resamples: z.ZodNumber;
11172
- }, z.core.$strict>;
11173
- n: z.ZodNumber;
11174
- availability: z.ZodLiteral<"measured">;
11175
- }, z.core.$strict>]>>;
11176
- candidate: z.ZodOptional<z.ZodObject<{
11177
- label: z.ZodOptional<z.ZodString>;
11178
- rationale: z.ZodOptional<z.ZodString>;
11179
- }, z.core.$strict>>;
11180
- decision: z.ZodObject<{
11181
- outcome: z.ZodEnum<{
11182
- ship: "ship";
11183
- hold: "hold";
11184
- need_more_work: "need_more_work";
11185
- model_ceiling: "model_ceiling";
11186
- arch_ceiling: "arch_ceiling";
11187
- }>;
11188
- reasons: z.ZodArray<z.ZodString>;
11189
- contributingChecks: z.ZodArray<z.ZodObject<{
11190
- name: z.ZodString;
11191
- passed: z.ZodBoolean;
11192
- }, z.core.$strict>>;
11193
- }, z.core.$strict>;
11194
- power: z.ZodObject<{
11195
- sufficient: z.ZodBoolean;
11196
- n: z.ZodNumber;
11197
- minimumDetectableDelta: z.ZodNumber;
11198
- confidenceLevel: z.ZodNumber;
11199
- scaleAssumed: z.ZodBoolean;
11200
- sharedScorerChannel: z.ZodBoolean;
11201
- reason: z.ZodString;
11202
- }, z.core.$strict>;
11203
- provenance: z.ZodObject<{
11204
- kind: z.ZodLiteral<"agent-eval-loop">;
11205
- schema: z.ZodString;
11206
- runId: z.ZodString;
11207
- recordDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11208
- baselineContentHash: z.ZodString;
11209
- candidateContentHash: z.ZodString;
11210
- }, z.core.$strict>;
11211
- diff: z.ZodString;
11212
- evaluation: z.ZodObject<{
11213
- generationsExplored: z.ZodNumber;
11214
- searchDurationMs: z.ZodNumber;
11215
- executionDurationMs: z.ZodNumber;
11216
- durationMs: z.ZodNumber;
11217
- searchCostUsd: z.ZodNumber;
11218
- executionCostUsd: z.ZodNumber;
11219
- totalCostUsd: z.ZodNumber;
11220
- }, z.core.$strict>;
11221
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCustom<AgentCandidateJsonValue, AgentCandidateJsonValue>>>;
11222
- }, z.core.$strict>;
11755
+ }, z.core.$strict>], "kind">;
11223
11756
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11224
11757
  }, z.core.$strict>;
11225
11758
  export declare const agentImprovementReviewSchema: z.ZodObject<{
@@ -11241,7 +11774,7 @@ export declare const agentImprovementActivationSchema: z.ZodObject<{
11241
11774
  proposalDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11242
11775
  reviewDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11243
11776
  experimentDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11244
- candidateBundleDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11777
+ candidateDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11245
11778
  intent: z.ZodEnum<{
11246
11779
  "activate-candidate": "activate-candidate";
11247
11780
  "restore-baseline": "restore-baseline";
@@ -11253,10 +11786,10 @@ export declare const agentImprovementActivationSchema: z.ZodObject<{
11253
11786
  mcp: "mcp";
11254
11787
  subagents: "subagents";
11255
11788
  hooks: "hooks";
11789
+ code: "code";
11256
11790
  skills: "skills";
11257
11791
  "agent-profile": "agent-profile";
11258
11792
  memory: "memory";
11259
- code: "code";
11260
11793
  knowledge: "knowledge";
11261
11794
  }>;
11262
11795
  identity: z.ZodString;
@@ -11268,10 +11801,10 @@ export declare const agentImprovementActivationSchema: z.ZodObject<{
11268
11801
  mcp: "mcp";
11269
11802
  subagents: "subagents";
11270
11803
  hooks: "hooks";
11804
+ code: "code";
11271
11805
  skills: "skills";
11272
11806
  "agent-profile": "agent-profile";
11273
11807
  memory: "memory";
11274
- code: "code";
11275
11808
  knowledge: "knowledge";
11276
11809
  }>;
11277
11810
  identity: z.ZodString;
@@ -11298,10 +11831,10 @@ export declare const agentImprovementActivationResultSchema: z.ZodObject<{
11298
11831
  mcp: "mcp";
11299
11832
  subagents: "subagents";
11300
11833
  hooks: "hooks";
11834
+ code: "code";
11301
11835
  skills: "skills";
11302
11836
  "agent-profile": "agent-profile";
11303
11837
  memory: "memory";
11304
- code: "code";
11305
11838
  knowledge: "knowledge";
11306
11839
  }>;
11307
11840
  identity: z.ZodString;
@@ -11314,10 +11847,10 @@ export declare const agentImprovementActivationResultSchema: z.ZodObject<{
11314
11847
  mcp: "mcp";
11315
11848
  subagents: "subagents";
11316
11849
  hooks: "hooks";
11850
+ code: "code";
11317
11851
  skills: "skills";
11318
11852
  "agent-profile": "agent-profile";
11319
11853
  memory: "memory";
11320
- code: "code";
11321
11854
  knowledge: "knowledge";
11322
11855
  }>;
11323
11856
  identity: z.ZodString;
@@ -11333,10 +11866,10 @@ export declare const agentImprovementActivationResultSchema: z.ZodObject<{
11333
11866
  mcp: "mcp";
11334
11867
  subagents: "subagents";
11335
11868
  hooks: "hooks";
11869
+ code: "code";
11336
11870
  skills: "skills";
11337
11871
  "agent-profile": "agent-profile";
11338
11872
  memory: "memory";
11339
- code: "code";
11340
11873
  knowledge: "knowledge";
11341
11874
  }>;
11342
11875
  identity: z.ZodString;
@@ -11348,10 +11881,10 @@ export declare const agentImprovementActivationResultSchema: z.ZodObject<{
11348
11881
  mcp: "mcp";
11349
11882
  subagents: "subagents";
11350
11883
  hooks: "hooks";
11884
+ code: "code";
11351
11885
  skills: "skills";
11352
11886
  "agent-profile": "agent-profile";
11353
11887
  memory: "memory";
11354
- code: "code";
11355
11888
  knowledge: "knowledge";
11356
11889
  }>;
11357
11890
  identity: z.ZodString;
@@ -11366,10 +11899,10 @@ export declare const agentImprovementActivationResultSchema: z.ZodObject<{
11366
11899
  mcp: "mcp";
11367
11900
  subagents: "subagents";
11368
11901
  hooks: "hooks";
11902
+ code: "code";
11369
11903
  skills: "skills";
11370
11904
  "agent-profile": "agent-profile";
11371
11905
  memory: "memory";
11372
- code: "code";
11373
11906
  knowledge: "knowledge";
11374
11907
  }>;
11375
11908
  identity: z.ZodString;
@@ -11381,10 +11914,10 @@ export declare const agentImprovementActivationResultSchema: z.ZodObject<{
11381
11914
  mcp: "mcp";
11382
11915
  subagents: "subagents";
11383
11916
  hooks: "hooks";
11917
+ code: "code";
11384
11918
  skills: "skills";
11385
11919
  "agent-profile": "agent-profile";
11386
11920
  memory: "memory";
11387
- code: "code";
11388
11921
  knowledge: "knowledge";
11389
11922
  }>;
11390
11923
  identity: z.ZodString;