@tangle-network/agent-interface 1.8.0 → 2.0.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 (48) hide show
  1. package/README.md +14 -0
  2. package/dist/agent-candidate-code-schema.d.ts +17 -17
  3. package/dist/agent-candidate-execution-plan-schema.d.ts +179 -179
  4. package/dist/agent-candidate-lineage-schema.d.ts +2 -2
  5. package/dist/agent-candidate-outcome-schema.d.ts +56 -56
  6. package/dist/agent-candidate-profile-schema.d.ts +17 -17
  7. package/dist/agent-candidate-promotion-schema.d.ts +1085 -1085
  8. package/dist/agent-candidate-receipt-schema.d.ts +195 -195
  9. package/dist/agent-candidate-schema-common.d.ts +6 -0
  10. package/dist/agent-candidate-schema-common.js +25 -10
  11. package/dist/agent-candidate-schema.d.ts +30 -30
  12. package/dist/agent-candidate-task-schema.d.ts +16 -16
  13. package/dist/agent-execution-limits.d.ts +1 -1
  14. package/dist/agent-execution-preparation-receipt.d.ts +71 -71
  15. package/dist/agent-improvement-measurement-schema.d.ts +26 -26
  16. package/dist/agent-instance.d.ts +2 -2
  17. package/dist/agent-profile-improvement-schema.d.ts +75 -75
  18. package/dist/agent-workspace-lease.d.ts +4 -4
  19. package/dist/certified-context.d.ts +2 -2
  20. package/dist/environment-command-turn.js +4 -1
  21. package/dist/environment-interactive-control.d.ts +422 -422
  22. package/dist/environment-interactive-start.d.ts +17 -17
  23. package/dist/environment-observation.d.ts +39 -39
  24. package/dist/environment-provider.d.ts +1 -0
  25. package/dist/environment-provider.js +1 -0
  26. package/dist/environment-requests.d.ts +22 -2
  27. package/dist/environment-requests.js +29 -1
  28. package/dist/environment-runtime.d.ts +53 -20
  29. package/dist/environment-runtime.js +23 -0
  30. package/dist/harness.d.ts +11 -11
  31. package/dist/index.d.ts +1 -1
  32. package/dist/index.js +1 -1
  33. package/dist/interaction-envelope.d.ts +26 -26
  34. package/dist/interaction-fields.d.ts +22 -22
  35. package/dist/interaction-permissions.d.ts +2 -2
  36. package/dist/portable-context-base.d.ts +1 -1
  37. package/dist/portable-context-continuation.d.ts +4 -4
  38. package/dist/portable-context-plan-request.d.ts +1 -1
  39. package/dist/portable-context-plan.d.ts +5 -5
  40. package/dist/portable-context-shared.d.ts +1 -1
  41. package/dist/portable-context-transfer.d.ts +6 -6
  42. package/dist/profile-schema.d.ts +37 -37
  43. package/dist/runtime-control.d.ts +10 -10
  44. package/dist/workspace-cleanup.d.ts +3 -3
  45. package/dist/workspace-cwd.d.ts +28 -0
  46. package/dist/workspace-cwd.js +77 -0
  47. package/dist/workspace-fork.d.ts +4 -4
  48. package/package.json +6 -6
@@ -18,13 +18,13 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
18
18
  }, z.core.$strict>>;
19
19
  model: z.ZodOptional<z.ZodObject<{
20
20
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
21
- none: "none";
22
- minimal: "minimal";
21
+ high: "high";
23
22
  low: "low";
24
23
  medium: "medium";
25
- high: "high";
26
- xhigh: "xhigh";
24
+ minimal: "minimal";
25
+ none: "none";
27
26
  ultracode: "ultracode";
27
+ xhigh: "xhigh";
28
28
  }>>;
29
29
  maxVisibleOutputTokens: z.ZodOptional<z.ZodNumber>;
30
30
  maxReasoningTokens: z.ZodOptional<z.ZodNumber>;
@@ -34,22 +34,22 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
34
34
  provider: z.ZodOptional<z.ZodString>;
35
35
  }, z.core.$strict>>;
36
36
  harness: z.ZodOptional<z.ZodEnum<{
37
+ acp: "acp";
38
+ amp: "amp";
37
39
  "claude-code": "claude-code";
38
- nanoclaw: "nanoclaw";
40
+ "cli-base": "cli-base";
39
41
  codex: "codex";
40
- opencode: "opencode";
41
- "kimi-code": "kimi-code";
42
- pi: "pi";
43
- prime: "prime";
42
+ cursor: "cursor";
43
+ "factory-droids": "factory-droids";
44
+ forge: "forge";
44
45
  gemini: "gemini";
45
46
  hermes: "hermes";
47
+ "kimi-code": "kimi-code";
48
+ nanoclaw: "nanoclaw";
46
49
  openclaw: "openclaw";
47
- amp: "amp";
48
- "factory-droids": "factory-droids";
49
- forge: "forge";
50
- cursor: "cursor";
51
- acp: "acp";
52
- "cli-base": "cli-base";
50
+ opencode: "opencode";
51
+ pi: "pi";
52
+ prime: "prime";
53
53
  }>>;
54
54
  permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodEnum<{
55
55
  allow: "allow";
@@ -59,9 +59,9 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
59
59
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
60
60
  mcp: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./agent-candidate.js").AgentCandidateMcpServer, unknown, z.core.$ZodTypeInternals<import("./agent-candidate.js").AgentCandidateMcpServer, unknown>>>>;
61
61
  subagents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
62
+ description: z.ZodOptional<z.ZodString>;
62
63
  prompt: z.ZodOptional<z.ZodString>;
63
64
  tools: z.ZodOptional<z.ZodType<Record<string, boolean>, unknown, z.core.$ZodTypeInternals<Record<string, boolean>, unknown>>>;
64
- description: z.ZodOptional<z.ZodString>;
65
65
  permissions: z.ZodOptional<z.ZodType<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown, z.core.$ZodTypeInternals<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown>>>;
66
66
  model: z.ZodOptional<z.ZodString>;
67
67
  maxSteps: z.ZodOptional<z.ZodNumber>;
@@ -538,9 +538,9 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
538
538
  }, z.core.$strict>>>;
539
539
  }, z.core.$strict>>>>;
540
540
  modes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
541
+ description: z.ZodOptional<z.ZodString>;
541
542
  prompt: z.ZodOptional<z.ZodString>;
542
543
  tools: z.ZodOptional<z.ZodType<Record<string, boolean>, unknown, z.core.$ZodTypeInternals<Record<string, boolean>, unknown>>>;
543
- description: z.ZodOptional<z.ZodString>;
544
544
  permissions: z.ZodOptional<z.ZodType<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown, z.core.$ZodTypeInternals<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown>>>;
545
545
  model: z.ZodOptional<z.ZodString>;
546
546
  }, z.core.$strict>>>;
@@ -585,22 +585,22 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
585
585
  }, z.core.$strict>], "kind">;
586
586
  execution: z.ZodObject<{
587
587
  harness: z.ZodEnum<{
588
+ acp: "acp";
589
+ amp: "amp";
588
590
  "claude-code": "claude-code";
589
- nanoclaw: "nanoclaw";
591
+ "cli-base": "cli-base";
590
592
  codex: "codex";
591
- opencode: "opencode";
592
- "kimi-code": "kimi-code";
593
- pi: "pi";
594
- prime: "prime";
593
+ cursor: "cursor";
594
+ "factory-droids": "factory-droids";
595
+ forge: "forge";
595
596
  gemini: "gemini";
596
597
  hermes: "hermes";
598
+ "kimi-code": "kimi-code";
599
+ nanoclaw: "nanoclaw";
597
600
  openclaw: "openclaw";
598
- amp: "amp";
599
- "factory-droids": "factory-droids";
600
- forge: "forge";
601
- cursor: "cursor";
602
- acp: "acp";
603
- "cli-base": "cli-base";
601
+ opencode: "opencode";
602
+ pi: "pi";
603
+ prime: "prime";
604
604
  }>;
605
605
  harnessVersion: z.ZodString;
606
606
  launch: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -614,11 +614,11 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
614
614
  kind: z.ZodLiteral<"candidate-entrypoint">;
615
615
  entrypoint: z.ZodString;
616
616
  interpreter: z.ZodOptional<z.ZodEnum<{
617
+ bun: "bun";
618
+ deno: "deno";
617
619
  node: "node";
618
620
  python: "python";
619
621
  python3: "python3";
620
- bun: "bun";
621
- deno: "deno";
622
622
  tsx: "tsx";
623
623
  uv: "uv";
624
624
  }>>;
@@ -851,13 +851,13 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
851
851
  }, z.core.$strict>>;
852
852
  model: z.ZodOptional<z.ZodObject<{
853
853
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
854
- none: "none";
855
- minimal: "minimal";
854
+ high: "high";
856
855
  low: "low";
857
856
  medium: "medium";
858
- high: "high";
859
- xhigh: "xhigh";
857
+ minimal: "minimal";
858
+ none: "none";
860
859
  ultracode: "ultracode";
860
+ xhigh: "xhigh";
861
861
  }>>;
862
862
  maxVisibleOutputTokens: z.ZodOptional<z.ZodNumber>;
863
863
  maxReasoningTokens: z.ZodOptional<z.ZodNumber>;
@@ -867,22 +867,22 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
867
867
  provider: z.ZodOptional<z.ZodString>;
868
868
  }, z.core.$strict>>;
869
869
  harness: z.ZodOptional<z.ZodEnum<{
870
+ acp: "acp";
871
+ amp: "amp";
870
872
  "claude-code": "claude-code";
871
- nanoclaw: "nanoclaw";
873
+ "cli-base": "cli-base";
872
874
  codex: "codex";
873
- opencode: "opencode";
874
- "kimi-code": "kimi-code";
875
- pi: "pi";
876
- prime: "prime";
875
+ cursor: "cursor";
876
+ "factory-droids": "factory-droids";
877
+ forge: "forge";
877
878
  gemini: "gemini";
878
879
  hermes: "hermes";
880
+ "kimi-code": "kimi-code";
881
+ nanoclaw: "nanoclaw";
879
882
  openclaw: "openclaw";
880
- amp: "amp";
881
- "factory-droids": "factory-droids";
882
- forge: "forge";
883
- cursor: "cursor";
884
- acp: "acp";
885
- "cli-base": "cli-base";
883
+ opencode: "opencode";
884
+ pi: "pi";
885
+ prime: "prime";
886
886
  }>>;
887
887
  permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodEnum<{
888
888
  allow: "allow";
@@ -892,9 +892,9 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
892
892
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
893
893
  mcp: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./agent-candidate.js").AgentCandidateMcpServer, unknown, z.core.$ZodTypeInternals<import("./agent-candidate.js").AgentCandidateMcpServer, unknown>>>>;
894
894
  subagents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
895
+ description: z.ZodOptional<z.ZodString>;
895
896
  prompt: z.ZodOptional<z.ZodString>;
896
897
  tools: z.ZodOptional<z.ZodType<Record<string, boolean>, unknown, z.core.$ZodTypeInternals<Record<string, boolean>, unknown>>>;
897
- description: z.ZodOptional<z.ZodString>;
898
898
  permissions: z.ZodOptional<z.ZodType<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown, z.core.$ZodTypeInternals<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown>>>;
899
899
  model: z.ZodOptional<z.ZodString>;
900
900
  maxSteps: z.ZodOptional<z.ZodNumber>;
@@ -1371,9 +1371,9 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
1371
1371
  }, z.core.$strict>>>;
1372
1372
  }, z.core.$strict>>>>;
1373
1373
  modes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1374
+ description: z.ZodOptional<z.ZodString>;
1374
1375
  prompt: z.ZodOptional<z.ZodString>;
1375
1376
  tools: z.ZodOptional<z.ZodType<Record<string, boolean>, unknown, z.core.$ZodTypeInternals<Record<string, boolean>, unknown>>>;
1376
- description: z.ZodOptional<z.ZodString>;
1377
1377
  permissions: z.ZodOptional<z.ZodType<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown, z.core.$ZodTypeInternals<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown>>>;
1378
1378
  model: z.ZodOptional<z.ZodString>;
1379
1379
  }, z.core.$strict>>>;
@@ -1418,22 +1418,22 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
1418
1418
  }, z.core.$strict>], "kind">;
1419
1419
  execution: z.ZodObject<{
1420
1420
  harness: z.ZodEnum<{
1421
+ acp: "acp";
1422
+ amp: "amp";
1421
1423
  "claude-code": "claude-code";
1422
- nanoclaw: "nanoclaw";
1424
+ "cli-base": "cli-base";
1423
1425
  codex: "codex";
1424
- opencode: "opencode";
1425
- "kimi-code": "kimi-code";
1426
- pi: "pi";
1427
- prime: "prime";
1426
+ cursor: "cursor";
1427
+ "factory-droids": "factory-droids";
1428
+ forge: "forge";
1428
1429
  gemini: "gemini";
1429
1430
  hermes: "hermes";
1431
+ "kimi-code": "kimi-code";
1432
+ nanoclaw: "nanoclaw";
1430
1433
  openclaw: "openclaw";
1431
- amp: "amp";
1432
- "factory-droids": "factory-droids";
1433
- forge: "forge";
1434
- cursor: "cursor";
1435
- acp: "acp";
1436
- "cli-base": "cli-base";
1434
+ opencode: "opencode";
1435
+ pi: "pi";
1436
+ prime: "prime";
1437
1437
  }>;
1438
1438
  harnessVersion: z.ZodString;
1439
1439
  launch: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1447,11 +1447,11 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
1447
1447
  kind: z.ZodLiteral<"candidate-entrypoint">;
1448
1448
  entrypoint: z.ZodString;
1449
1449
  interpreter: z.ZodOptional<z.ZodEnum<{
1450
+ bun: "bun";
1451
+ deno: "deno";
1450
1452
  node: "node";
1451
1453
  python: "python";
1452
1454
  python3: "python3";
1453
- bun: "bun";
1454
- deno: "deno";
1455
1455
  tsx: "tsx";
1456
1456
  uv: "uv";
1457
1457
  }>>;
@@ -1671,10 +1671,10 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
1671
1671
  }, z.core.$strict>;
1672
1672
  candidateLineage: z.ZodObject<{
1673
1673
  source: z.ZodEnum<{
1674
- human: "human";
1675
- optimizer: "optimizer";
1676
1674
  compound: "compound";
1675
+ human: "human";
1677
1676
  import: "import";
1677
+ optimizer: "optimizer";
1678
1678
  }>;
1679
1679
  parentDigests: z.ZodOptional<z.ZodArray<z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>>>;
1680
1680
  runIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1808,13 +1808,13 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
1808
1808
  model: z.ZodString;
1809
1809
  snapshot: z.ZodString;
1810
1810
  reasoningEffort: z.ZodEnum<{
1811
- none: "none";
1812
- minimal: "minimal";
1811
+ high: "high";
1813
1812
  low: "low";
1814
1813
  medium: "medium";
1815
- high: "high";
1816
- xhigh: "xhigh";
1814
+ minimal: "minimal";
1815
+ none: "none";
1817
1816
  ultracode: "ultracode";
1817
+ xhigh: "xhigh";
1818
1818
  }>;
1819
1819
  }, z.core.$strict>;
1820
1820
  attempt: z.ZodObject<{
@@ -1962,13 +1962,13 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
1962
1962
  model: z.ZodString;
1963
1963
  snapshot: z.ZodString;
1964
1964
  reasoningEffort: z.ZodEnum<{
1965
- none: "none";
1966
- minimal: "minimal";
1965
+ high: "high";
1967
1966
  low: "low";
1968
1967
  medium: "medium";
1969
- high: "high";
1970
- xhigh: "xhigh";
1968
+ minimal: "minimal";
1969
+ none: "none";
1971
1970
  ultracode: "ultracode";
1971
+ xhigh: "xhigh";
1972
1972
  }>;
1973
1973
  }, z.core.$strict>;
1974
1974
  attempt: z.ZodObject<{
@@ -2071,7 +2071,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2071
2071
  digest: `sha256:${string}`;
2072
2072
  material: {
2073
2073
  sourceProfileDigest: `sha256:${string}`;
2074
- harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
2074
+ harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
2075
2075
  files: {
2076
2076
  relPath: string;
2077
2077
  mode: number;
@@ -2085,10 +2085,6 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2085
2085
  kind: "public";
2086
2086
  value: string;
2087
2087
  }[];
2088
- unsupported: {
2089
- dimension: string;
2090
- reason: string;
2091
- }[];
2092
2088
  systemPrompt?: {
2093
2089
  kind: "public";
2094
2090
  value: string;
@@ -2097,6 +2093,10 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2097
2093
  kind: "public";
2098
2094
  value: string;
2099
2095
  } | undefined;
2096
+ unsupported: {
2097
+ dimension: string;
2098
+ reason: string;
2099
+ }[];
2100
2100
  };
2101
2101
  artifact: {
2102
2102
  locator: {
@@ -2122,7 +2122,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2122
2122
  digest: `sha256:${string}`;
2123
2123
  material: {
2124
2124
  sourceProfileDigest: `sha256:${string}`;
2125
- harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
2125
+ harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
2126
2126
  files: {
2127
2127
  relPath: string;
2128
2128
  mode: number;
@@ -2136,10 +2136,6 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2136
2136
  kind: "public";
2137
2137
  value: string;
2138
2138
  }[];
2139
- unsupported: {
2140
- dimension: string;
2141
- reason: string;
2142
- }[];
2143
2139
  systemPrompt?: {
2144
2140
  kind: "public";
2145
2141
  value: string;
@@ -2148,6 +2144,10 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2148
2144
  kind: "public";
2149
2145
  value: string;
2150
2146
  } | undefined;
2147
+ unsupported: {
2148
+ dimension: string;
2149
+ reason: string;
2150
+ }[];
2151
2151
  };
2152
2152
  artifact: {
2153
2153
  locator: {
@@ -2200,13 +2200,64 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2200
2200
  taskRoot: string;
2201
2201
  candidateRoot?: string | undefined;
2202
2202
  };
2203
- codeKind: "disabled" | "no-op" | "git-patch";
2203
+ codeKind: "disabled" | "git-patch" | "no-op";
2204
+ candidateWorkspace?: {
2205
+ kind: "agent-candidate-workspace-snapshot";
2206
+ digest: `sha256:${string}`;
2207
+ material: {
2208
+ kind: "agent-candidate-workspace-manifest";
2209
+ files: {
2210
+ path: string;
2211
+ mode: number;
2212
+ sha256: `sha256:${string}`;
2213
+ byteLength: number;
2214
+ }[];
2215
+ };
2216
+ manifest: {
2217
+ locator: {
2218
+ kind: "s3";
2219
+ bucket: string;
2220
+ key: string;
2221
+ region?: string | undefined;
2222
+ } | {
2223
+ kind: "ipfs";
2224
+ cid: string;
2225
+ path?: string | undefined;
2226
+ };
2227
+ sha256: `sha256:${string}`;
2228
+ byteLength: number;
2229
+ } | {
2230
+ encoding: "base64";
2231
+ content: string;
2232
+ sha256: `sha256:${string}`;
2233
+ byteLength: number;
2234
+ };
2235
+ archive: {
2236
+ locator: {
2237
+ kind: "s3";
2238
+ bucket: string;
2239
+ key: string;
2240
+ region?: string | undefined;
2241
+ } | {
2242
+ kind: "ipfs";
2243
+ cid: string;
2244
+ path?: string | undefined;
2245
+ };
2246
+ sha256: `sha256:${string}`;
2247
+ byteLength: number;
2248
+ } | {
2249
+ encoding: "base64";
2250
+ content: string;
2251
+ sha256: `sha256:${string}`;
2252
+ byteLength: number;
2253
+ };
2254
+ } | undefined;
2204
2255
  profile: {
2205
2256
  planDigest: `sha256:${string}`;
2206
2257
  targetWorkspace: "candidate" | "task";
2207
2258
  mountPaths: string[];
2208
2259
  };
2209
- harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
2260
+ harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
2210
2261
  harnessVersion: string;
2211
2262
  instructionDelivery: {
2212
2263
  kind: "argv-append";
@@ -2223,13 +2274,13 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2223
2274
  maxModelCalls: number;
2224
2275
  maxInputTokens: number;
2225
2276
  maxOutputTokens: number;
2226
- maxCostUsd: number;
2227
2277
  maxTotalTokens?: number | undefined;
2278
+ maxCostUsd: number;
2228
2279
  };
2229
2280
  container: {
2230
2281
  image: string;
2231
2282
  indexDigest: `sha256:${string}`;
2232
- source: "pinned-container" | "evaluator-task-container";
2283
+ source: "evaluator-task-container" | "pinned-container";
2233
2284
  manifestDigest: `sha256:${string}`;
2234
2285
  platform: {
2235
2286
  os: string;
@@ -2244,7 +2295,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2244
2295
  provider: string;
2245
2296
  model: string;
2246
2297
  snapshot: string;
2247
- reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
2298
+ reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
2248
2299
  };
2249
2300
  access: {
2250
2301
  kind: "evaluator-mediated";
@@ -2287,6 +2338,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2287
2338
  path: string;
2288
2339
  };
2289
2340
  };
2341
+ knowledgeManifestDigest?: `sha256:${string}` | undefined;
2290
2342
  memory: {
2291
2343
  mode: "isolated";
2292
2344
  scope: "task";
@@ -2372,6 +2424,27 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2372
2424
  network: {
2373
2425
  mode: "disabled";
2374
2426
  };
2427
+ }, unknown, z.core.$ZodTypeInternals<{
2428
+ kind: "agent-candidate-execution-plan-material";
2429
+ runCell: {
2430
+ kind: "agent-candidate-run-cell";
2431
+ experimentDigest: `sha256:${string}`;
2432
+ arm: "baseline" | "candidate";
2433
+ bundleDigest: `sha256:${string}`;
2434
+ suiteDigest: `sha256:${string}`;
2435
+ taskDigest: `sha256:${string}`;
2436
+ taskIndex: number;
2437
+ repetition: number;
2438
+ seed: number;
2439
+ attempt: number;
2440
+ digest: `sha256:${string}`;
2441
+ };
2442
+ executionId: string;
2443
+ workspaces: {
2444
+ taskRoot: string;
2445
+ candidateRoot?: string | undefined;
2446
+ };
2447
+ codeKind: "disabled" | "git-patch" | "no-op";
2375
2448
  candidateWorkspace?: {
2376
2449
  kind: "agent-candidate-workspace-snapshot";
2377
2450
  digest: `sha256:${string}`;
@@ -2423,34 +2496,12 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2423
2496
  byteLength: number;
2424
2497
  };
2425
2498
  } | undefined;
2426
- knowledgeManifestDigest?: `sha256:${string}` | undefined;
2427
- }, unknown, z.core.$ZodTypeInternals<{
2428
- kind: "agent-candidate-execution-plan-material";
2429
- runCell: {
2430
- kind: "agent-candidate-run-cell";
2431
- experimentDigest: `sha256:${string}`;
2432
- arm: "baseline" | "candidate";
2433
- bundleDigest: `sha256:${string}`;
2434
- suiteDigest: `sha256:${string}`;
2435
- taskDigest: `sha256:${string}`;
2436
- taskIndex: number;
2437
- repetition: number;
2438
- seed: number;
2439
- attempt: number;
2440
- digest: `sha256:${string}`;
2441
- };
2442
- executionId: string;
2443
- workspaces: {
2444
- taskRoot: string;
2445
- candidateRoot?: string | undefined;
2446
- };
2447
- codeKind: "disabled" | "no-op" | "git-patch";
2448
2499
  profile: {
2449
2500
  planDigest: `sha256:${string}`;
2450
2501
  targetWorkspace: "candidate" | "task";
2451
2502
  mountPaths: string[];
2452
2503
  };
2453
- harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
2504
+ harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
2454
2505
  harnessVersion: string;
2455
2506
  instructionDelivery: {
2456
2507
  kind: "argv-append";
@@ -2467,13 +2518,13 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2467
2518
  maxModelCalls: number;
2468
2519
  maxInputTokens: number;
2469
2520
  maxOutputTokens: number;
2470
- maxCostUsd: number;
2471
2521
  maxTotalTokens?: number | undefined;
2522
+ maxCostUsd: number;
2472
2523
  };
2473
2524
  container: {
2474
2525
  image: string;
2475
2526
  indexDigest: `sha256:${string}`;
2476
- source: "pinned-container" | "evaluator-task-container";
2527
+ source: "evaluator-task-container" | "pinned-container";
2477
2528
  manifestDigest: `sha256:${string}`;
2478
2529
  platform: {
2479
2530
  os: string;
@@ -2488,7 +2539,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2488
2539
  provider: string;
2489
2540
  model: string;
2490
2541
  snapshot: string;
2491
- reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
2542
+ reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
2492
2543
  };
2493
2544
  access: {
2494
2545
  kind: "evaluator-mediated";
@@ -2531,6 +2582,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2531
2582
  path: string;
2532
2583
  };
2533
2584
  };
2585
+ knowledgeManifestDigest?: `sha256:${string}` | undefined;
2534
2586
  memory: {
2535
2587
  mode: "isolated";
2536
2588
  scope: "task";
@@ -2616,58 +2668,6 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2616
2668
  network: {
2617
2669
  mode: "disabled";
2618
2670
  };
2619
- candidateWorkspace?: {
2620
- kind: "agent-candidate-workspace-snapshot";
2621
- digest: `sha256:${string}`;
2622
- material: {
2623
- kind: "agent-candidate-workspace-manifest";
2624
- files: {
2625
- path: string;
2626
- mode: number;
2627
- sha256: `sha256:${string}`;
2628
- byteLength: number;
2629
- }[];
2630
- };
2631
- manifest: {
2632
- locator: {
2633
- kind: "s3";
2634
- bucket: string;
2635
- key: string;
2636
- region?: string | undefined;
2637
- } | {
2638
- kind: "ipfs";
2639
- cid: string;
2640
- path?: string | undefined;
2641
- };
2642
- sha256: `sha256:${string}`;
2643
- byteLength: number;
2644
- } | {
2645
- encoding: "base64";
2646
- content: string;
2647
- sha256: `sha256:${string}`;
2648
- byteLength: number;
2649
- };
2650
- archive: {
2651
- locator: {
2652
- kind: "s3";
2653
- bucket: string;
2654
- key: string;
2655
- region?: string | undefined;
2656
- } | {
2657
- kind: "ipfs";
2658
- cid: string;
2659
- path?: string | undefined;
2660
- };
2661
- sha256: `sha256:${string}`;
2662
- byteLength: number;
2663
- } | {
2664
- encoding: "base64";
2665
- content: string;
2666
- sha256: `sha256:${string}`;
2667
- byteLength: number;
2668
- };
2669
- } | undefined;
2670
- knowledgeManifestDigest?: `sha256:${string}` | undefined;
2671
2671
  }, unknown>>;
2672
2672
  artifact: z.ZodUnion<readonly [z.ZodObject<{
2673
2673
  locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2742,33 +2742,33 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2742
2742
  }, z.core.$strict>>;
2743
2743
  codeKind: z.ZodEnum<{
2744
2744
  disabled: "disabled";
2745
- "no-op": "no-op";
2746
2745
  "git-patch": "git-patch";
2746
+ "no-op": "no-op";
2747
2747
  }>;
2748
2748
  materializedTree: z.ZodOptional<z.ZodString>;
2749
2749
  harness: z.ZodEnum<{
2750
+ acp: "acp";
2751
+ amp: "amp";
2750
2752
  "claude-code": "claude-code";
2751
- nanoclaw: "nanoclaw";
2753
+ "cli-base": "cli-base";
2752
2754
  codex: "codex";
2753
- opencode: "opencode";
2754
- "kimi-code": "kimi-code";
2755
- pi: "pi";
2756
- prime: "prime";
2755
+ cursor: "cursor";
2756
+ "factory-droids": "factory-droids";
2757
+ forge: "forge";
2757
2758
  gemini: "gemini";
2758
2759
  hermes: "hermes";
2760
+ "kimi-code": "kimi-code";
2761
+ nanoclaw: "nanoclaw";
2759
2762
  openclaw: "openclaw";
2760
- amp: "amp";
2761
- "factory-droids": "factory-droids";
2762
- forge: "forge";
2763
- cursor: "cursor";
2764
- acp: "acp";
2765
- "cli-base": "cli-base";
2763
+ opencode: "opencode";
2764
+ pi: "pi";
2765
+ prime: "prime";
2766
2766
  }>;
2767
2767
  harnessVersion: z.ZodString;
2768
2768
  container: z.ZodObject<{
2769
2769
  source: z.ZodEnum<{
2770
- "pinned-container": "pinned-container";
2771
2770
  "evaluator-task-container": "evaluator-task-container";
2771
+ "pinned-container": "pinned-container";
2772
2772
  }>;
2773
2773
  image: z.ZodString;
2774
2774
  indexDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
@@ -2785,13 +2785,13 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2785
2785
  model: z.ZodString;
2786
2786
  snapshot: z.ZodString;
2787
2787
  reasoningEffort: z.ZodEnum<{
2788
- none: "none";
2789
- minimal: "minimal";
2788
+ high: "high";
2790
2789
  low: "low";
2791
2790
  medium: "medium";
2792
- high: "high";
2793
- xhigh: "xhigh";
2791
+ minimal: "minimal";
2792
+ none: "none";
2794
2793
  ultracode: "ultracode";
2794
+ xhigh: "xhigh";
2795
2795
  }>;
2796
2796
  }, z.core.$strict>;
2797
2797
  knowledgeManifestDigest: z.ZodOptional<z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>>;
@@ -2928,22 +2928,6 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2928
2928
  kind: z.ZodLiteral<"agent-candidate-model-settlement">;
2929
2929
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
2930
2930
  material: z.ZodType<{
2931
- calls: {
2932
- callId: string;
2933
- generationId: string;
2934
- traceSpanId: string;
2935
- status: "succeeded" | "failed";
2936
- model: string;
2937
- startedAtMs: number;
2938
- endedAtMs: number;
2939
- inputTokens: number;
2940
- accountedInputTokens: number;
2941
- outputTokens: number;
2942
- cachedInputTokens: number;
2943
- reasoningTokens: number;
2944
- costUsdNanos: number;
2945
- costProvenance: "observed" | "estimated";
2946
- }[];
2947
2931
  kind: "agent-candidate-model-settlement-material";
2948
2932
  executionPlanDigest: `sha256:${string}`;
2949
2933
  preparationId: string;
@@ -2955,7 +2939,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2955
2939
  provider: string;
2956
2940
  model: string;
2957
2941
  snapshot: string;
2958
- reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
2942
+ reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
2959
2943
  };
2960
2944
  usage: {
2961
2945
  inputTokens: number;
@@ -2964,14 +2948,13 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2964
2948
  reasoningTokens: number;
2965
2949
  modelCalls: number;
2966
2950
  costUsdNanos: number;
2967
- costProvenance: "observed" | "estimated";
2951
+ costProvenance: "estimated" | "observed";
2968
2952
  };
2969
- }, unknown, z.core.$ZodTypeInternals<{
2970
2953
  calls: {
2971
2954
  callId: string;
2972
2955
  generationId: string;
2973
2956
  traceSpanId: string;
2974
- status: "succeeded" | "failed";
2957
+ status: "failed" | "succeeded";
2975
2958
  model: string;
2976
2959
  startedAtMs: number;
2977
2960
  endedAtMs: number;
@@ -2981,8 +2964,9 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2981
2964
  cachedInputTokens: number;
2982
2965
  reasoningTokens: number;
2983
2966
  costUsdNanos: number;
2984
- costProvenance: "observed" | "estimated";
2967
+ costProvenance: "estimated" | "observed";
2985
2968
  }[];
2969
+ }, unknown, z.core.$ZodTypeInternals<{
2986
2970
  kind: "agent-candidate-model-settlement-material";
2987
2971
  executionPlanDigest: `sha256:${string}`;
2988
2972
  preparationId: string;
@@ -2994,7 +2978,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2994
2978
  provider: string;
2995
2979
  model: string;
2996
2980
  snapshot: string;
2997
- reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
2981
+ reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
2998
2982
  };
2999
2983
  usage: {
3000
2984
  inputTokens: number;
@@ -3003,8 +2987,24 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
3003
2987
  reasoningTokens: number;
3004
2988
  modelCalls: number;
3005
2989
  costUsdNanos: number;
3006
- costProvenance: "observed" | "estimated";
2990
+ costProvenance: "estimated" | "observed";
3007
2991
  };
2992
+ calls: {
2993
+ callId: string;
2994
+ generationId: string;
2995
+ traceSpanId: string;
2996
+ status: "failed" | "succeeded";
2997
+ model: string;
2998
+ startedAtMs: number;
2999
+ endedAtMs: number;
3000
+ inputTokens: number;
3001
+ accountedInputTokens: number;
3002
+ outputTokens: number;
3003
+ cachedInputTokens: number;
3004
+ reasoningTokens: number;
3005
+ costUsdNanos: number;
3006
+ costProvenance: "estimated" | "observed";
3007
+ }[];
3008
3008
  }, unknown>>;
3009
3009
  artifact: z.ZodUnion<readonly [z.ZodObject<{
3010
3010
  locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -3310,7 +3310,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
3310
3310
  reasoningTokens: number;
3311
3311
  modelCalls: number;
3312
3312
  costUsdNanos: number;
3313
- costProvenance: "observed" | "estimated";
3313
+ costProvenance: "estimated" | "observed";
3314
3314
  };
3315
3315
  timing: {
3316
3316
  startedAtMs: number;
@@ -3369,7 +3369,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
3369
3369
  reasoningTokens: number;
3370
3370
  modelCalls: number;
3371
3371
  costUsdNanos: number;
3372
- costProvenance: "observed" | "estimated";
3372
+ costProvenance: "estimated" | "observed";
3373
3373
  };
3374
3374
  timing: {
3375
3375
  startedAtMs: number;
@@ -3410,8 +3410,6 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
3410
3410
  }, z.core.$strict>;
3411
3411
  export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
3412
3412
  overall: z.ZodObject<{
3413
- direction: z.ZodLiteral<"higher-is-better">;
3414
- unit: z.ZodLiteral<"score">;
3415
3413
  baseline: z.ZodNumber;
3416
3414
  candidate: z.ZodNumber;
3417
3415
  delta: z.ZodNumber;
@@ -3425,12 +3423,10 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
3425
3423
  }, z.core.$strict>;
3426
3424
  n: z.ZodNumber;
3427
3425
  name: z.ZodLiteral<"composite">;
3428
- }, z.core.$strict>;
3429
- objectives: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3430
- kind: z.ZodLiteral<"objective">;
3431
- name: z.ZodString;
3432
3426
  direction: z.ZodLiteral<"higher-is-better">;
3433
3427
  unit: z.ZodLiteral<"score">;
3428
+ }, z.core.$strict>;
3429
+ objectives: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3434
3430
  baseline: z.ZodNumber;
3435
3431
  candidate: z.ZodNumber;
3436
3432
  delta: z.ZodNumber;
@@ -3443,6 +3439,10 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
3443
3439
  resamples: z.ZodNumber;
3444
3440
  }, z.core.$strict>;
3445
3441
  n: z.ZodNumber;
3442
+ kind: z.ZodLiteral<"objective">;
3443
+ name: z.ZodString;
3444
+ direction: z.ZodLiteral<"higher-is-better">;
3445
+ unit: z.ZodLiteral<"score">;
3446
3446
  availability: z.ZodLiteral<"measured">;
3447
3447
  }, z.core.$strict>, z.ZodObject<{
3448
3448
  kind: z.ZodLiteral<"objective">;
@@ -3452,11 +3452,6 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
3452
3452
  availability: z.ZodLiteral<"unavailable">;
3453
3453
  reason: z.ZodString;
3454
3454
  }, z.core.$strict>, z.ZodObject<{
3455
- kind: z.ZodLiteral<"dimension">;
3456
- objective: z.ZodString;
3457
- name: z.ZodString;
3458
- direction: z.ZodLiteral<"higher-is-better">;
3459
- unit: z.ZodLiteral<"score">;
3460
3455
  baseline: z.ZodNumber;
3461
3456
  candidate: z.ZodNumber;
3462
3457
  delta: z.ZodNumber;
@@ -3469,6 +3464,11 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
3469
3464
  resamples: z.ZodNumber;
3470
3465
  }, z.core.$strict>;
3471
3466
  n: z.ZodNumber;
3467
+ kind: z.ZodLiteral<"dimension">;
3468
+ objective: z.ZodString;
3469
+ name: z.ZodString;
3470
+ direction: z.ZodLiteral<"higher-is-better">;
3471
+ unit: z.ZodLiteral<"score">;
3472
3472
  availability: z.ZodLiteral<"measured">;
3473
3473
  }, z.core.$strict>, z.ZodObject<{
3474
3474
  kind: z.ZodLiteral<"dimension">;
@@ -3479,10 +3479,6 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
3479
3479
  availability: z.ZodLiteral<"unavailable">;
3480
3480
  reason: z.ZodString;
3481
3481
  }, z.core.$strict>, z.ZodObject<{
3482
- kind: z.ZodLiteral<"cost">;
3483
- name: z.ZodLiteral<"cost">;
3484
- direction: z.ZodLiteral<"lower-is-better">;
3485
- unit: z.ZodLiteral<"usd">;
3486
3482
  baseline: z.ZodNumber;
3487
3483
  candidate: z.ZodNumber;
3488
3484
  delta: z.ZodNumber;
@@ -3495,12 +3491,12 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
3495
3491
  resamples: z.ZodNumber;
3496
3492
  }, z.core.$strict>;
3497
3493
  n: z.ZodNumber;
3494
+ kind: z.ZodLiteral<"cost">;
3495
+ name: z.ZodLiteral<"cost">;
3496
+ direction: z.ZodLiteral<"lower-is-better">;
3497
+ unit: z.ZodLiteral<"usd">;
3498
3498
  availability: z.ZodLiteral<"measured">;
3499
3499
  }, z.core.$strict>, z.ZodObject<{
3500
- kind: z.ZodLiteral<"latency">;
3501
- name: z.ZodLiteral<"latency">;
3502
- direction: z.ZodLiteral<"lower-is-better">;
3503
- unit: z.ZodLiteral<"milliseconds">;
3504
3500
  baseline: z.ZodNumber;
3505
3501
  candidate: z.ZodNumber;
3506
3502
  delta: z.ZodNumber;
@@ -3513,6 +3509,10 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
3513
3509
  resamples: z.ZodNumber;
3514
3510
  }, z.core.$strict>;
3515
3511
  n: z.ZodNumber;
3512
+ kind: z.ZodLiteral<"latency">;
3513
+ name: z.ZodLiteral<"latency">;
3514
+ direction: z.ZodLiteral<"lower-is-better">;
3515
+ unit: z.ZodLiteral<"milliseconds">;
3516
3516
  availability: z.ZodLiteral<"measured">;
3517
3517
  }, z.core.$strict>]>>;
3518
3518
  candidate: z.ZodOptional<z.ZodObject<{
@@ -3521,11 +3521,11 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
3521
3521
  }, z.core.$strict>>;
3522
3522
  decision: z.ZodObject<{
3523
3523
  outcome: z.ZodEnum<{
3524
- ship: "ship";
3524
+ arch_ceiling: "arch_ceiling";
3525
3525
  hold: "hold";
3526
- need_more_work: "need_more_work";
3527
3526
  model_ceiling: "model_ceiling";
3528
- arch_ceiling: "arch_ceiling";
3527
+ need_more_work: "need_more_work";
3528
+ ship: "ship";
3529
3529
  }>;
3530
3530
  reasons: z.ZodArray<z.ZodString>;
3531
3531
  contributingChecks: z.ZodArray<z.ZodObject<{
@@ -3558,8 +3558,8 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
3558
3558
  cost: z.ZodObject<{
3559
3559
  usd: z.ZodNumber;
3560
3560
  provenance: z.ZodEnum<{
3561
- observed: "observed";
3562
3561
  estimated: "estimated";
3562
+ observed: "observed";
3563
3563
  }>;
3564
3564
  }, z.core.$strict>;
3565
3565
  }, z.core.$strict>;
@@ -3569,8 +3569,8 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
3569
3569
  cost: z.ZodObject<{
3570
3570
  usd: z.ZodNumber;
3571
3571
  provenance: z.ZodEnum<{
3572
- observed: "observed";
3573
3572
  estimated: "estimated";
3573
+ observed: "observed";
3574
3574
  }>;
3575
3575
  }, z.core.$strict>;
3576
3576
  }, z.core.$strict>;
@@ -3579,8 +3579,8 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
3579
3579
  cost: z.ZodObject<{
3580
3580
  usd: z.ZodNumber;
3581
3581
  provenance: z.ZodEnum<{
3582
- observed: "observed";
3583
3582
  estimated: "estimated";
3583
+ observed: "observed";
3584
3584
  }>;
3585
3585
  }, z.core.$strict>;
3586
3586
  }, z.core.$strict>;
@@ -3605,13 +3605,13 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
3605
3605
  }, z.core.$strict>>;
3606
3606
  model: z.ZodOptional<z.ZodObject<{
3607
3607
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
3608
- none: "none";
3609
- minimal: "minimal";
3608
+ high: "high";
3610
3609
  low: "low";
3611
3610
  medium: "medium";
3612
- high: "high";
3613
- xhigh: "xhigh";
3611
+ minimal: "minimal";
3612
+ none: "none";
3614
3613
  ultracode: "ultracode";
3614
+ xhigh: "xhigh";
3615
3615
  }>>;
3616
3616
  maxVisibleOutputTokens: z.ZodOptional<z.ZodNumber>;
3617
3617
  maxReasoningTokens: z.ZodOptional<z.ZodNumber>;
@@ -3621,22 +3621,22 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
3621
3621
  provider: z.ZodOptional<z.ZodString>;
3622
3622
  }, z.core.$strict>>;
3623
3623
  harness: z.ZodOptional<z.ZodEnum<{
3624
+ acp: "acp";
3625
+ amp: "amp";
3624
3626
  "claude-code": "claude-code";
3625
- nanoclaw: "nanoclaw";
3627
+ "cli-base": "cli-base";
3626
3628
  codex: "codex";
3627
- opencode: "opencode";
3628
- "kimi-code": "kimi-code";
3629
- pi: "pi";
3630
- prime: "prime";
3629
+ cursor: "cursor";
3630
+ "factory-droids": "factory-droids";
3631
+ forge: "forge";
3631
3632
  gemini: "gemini";
3632
3633
  hermes: "hermes";
3634
+ "kimi-code": "kimi-code";
3635
+ nanoclaw: "nanoclaw";
3633
3636
  openclaw: "openclaw";
3634
- amp: "amp";
3635
- "factory-droids": "factory-droids";
3636
- forge: "forge";
3637
- cursor: "cursor";
3638
- acp: "acp";
3639
- "cli-base": "cli-base";
3637
+ opencode: "opencode";
3638
+ pi: "pi";
3639
+ prime: "prime";
3640
3640
  }>>;
3641
3641
  permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodEnum<{
3642
3642
  allow: "allow";
@@ -3646,9 +3646,9 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
3646
3646
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
3647
3647
  mcp: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./agent-candidate.js").AgentCandidateMcpServer, unknown, z.core.$ZodTypeInternals<import("./agent-candidate.js").AgentCandidateMcpServer, unknown>>>>;
3648
3648
  subagents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3649
+ description: z.ZodOptional<z.ZodString>;
3649
3650
  prompt: z.ZodOptional<z.ZodString>;
3650
3651
  tools: z.ZodOptional<z.ZodType<Record<string, boolean>, unknown, z.core.$ZodTypeInternals<Record<string, boolean>, unknown>>>;
3651
- description: z.ZodOptional<z.ZodString>;
3652
3652
  permissions: z.ZodOptional<z.ZodType<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown, z.core.$ZodTypeInternals<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown>>>;
3653
3653
  model: z.ZodOptional<z.ZodString>;
3654
3654
  maxSteps: z.ZodOptional<z.ZodNumber>;
@@ -4125,9 +4125,9 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
4125
4125
  }, z.core.$strict>>>;
4126
4126
  }, z.core.$strict>>>>;
4127
4127
  modes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4128
+ description: z.ZodOptional<z.ZodString>;
4128
4129
  prompt: z.ZodOptional<z.ZodString>;
4129
4130
  tools: z.ZodOptional<z.ZodType<Record<string, boolean>, unknown, z.core.$ZodTypeInternals<Record<string, boolean>, unknown>>>;
4130
- description: z.ZodOptional<z.ZodString>;
4131
4131
  permissions: z.ZodOptional<z.ZodType<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown, z.core.$ZodTypeInternals<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown>>>;
4132
4132
  model: z.ZodOptional<z.ZodString>;
4133
4133
  }, z.core.$strict>>>;
@@ -4172,22 +4172,22 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
4172
4172
  }, z.core.$strict>], "kind">;
4173
4173
  execution: z.ZodObject<{
4174
4174
  harness: z.ZodEnum<{
4175
+ acp: "acp";
4176
+ amp: "amp";
4175
4177
  "claude-code": "claude-code";
4176
- nanoclaw: "nanoclaw";
4178
+ "cli-base": "cli-base";
4177
4179
  codex: "codex";
4178
- opencode: "opencode";
4179
- "kimi-code": "kimi-code";
4180
- pi: "pi";
4181
- prime: "prime";
4180
+ cursor: "cursor";
4181
+ "factory-droids": "factory-droids";
4182
+ forge: "forge";
4182
4183
  gemini: "gemini";
4183
4184
  hermes: "hermes";
4185
+ "kimi-code": "kimi-code";
4186
+ nanoclaw: "nanoclaw";
4184
4187
  openclaw: "openclaw";
4185
- amp: "amp";
4186
- "factory-droids": "factory-droids";
4187
- forge: "forge";
4188
- cursor: "cursor";
4189
- acp: "acp";
4190
- "cli-base": "cli-base";
4188
+ opencode: "opencode";
4189
+ pi: "pi";
4190
+ prime: "prime";
4191
4191
  }>;
4192
4192
  harnessVersion: z.ZodString;
4193
4193
  launch: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -4201,11 +4201,11 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
4201
4201
  kind: z.ZodLiteral<"candidate-entrypoint">;
4202
4202
  entrypoint: z.ZodString;
4203
4203
  interpreter: z.ZodOptional<z.ZodEnum<{
4204
+ bun: "bun";
4205
+ deno: "deno";
4204
4206
  node: "node";
4205
4207
  python: "python";
4206
4208
  python3: "python3";
4207
- bun: "bun";
4208
- deno: "deno";
4209
4209
  tsx: "tsx";
4210
4210
  uv: "uv";
4211
4211
  }>>;
@@ -4438,13 +4438,13 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
4438
4438
  }, z.core.$strict>>;
4439
4439
  model: z.ZodOptional<z.ZodObject<{
4440
4440
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
4441
- none: "none";
4442
- minimal: "minimal";
4441
+ high: "high";
4443
4442
  low: "low";
4444
4443
  medium: "medium";
4445
- high: "high";
4446
- xhigh: "xhigh";
4444
+ minimal: "minimal";
4445
+ none: "none";
4447
4446
  ultracode: "ultracode";
4447
+ xhigh: "xhigh";
4448
4448
  }>>;
4449
4449
  maxVisibleOutputTokens: z.ZodOptional<z.ZodNumber>;
4450
4450
  maxReasoningTokens: z.ZodOptional<z.ZodNumber>;
@@ -4454,22 +4454,22 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
4454
4454
  provider: z.ZodOptional<z.ZodString>;
4455
4455
  }, z.core.$strict>>;
4456
4456
  harness: z.ZodOptional<z.ZodEnum<{
4457
+ acp: "acp";
4458
+ amp: "amp";
4457
4459
  "claude-code": "claude-code";
4458
- nanoclaw: "nanoclaw";
4460
+ "cli-base": "cli-base";
4459
4461
  codex: "codex";
4460
- opencode: "opencode";
4461
- "kimi-code": "kimi-code";
4462
- pi: "pi";
4463
- prime: "prime";
4462
+ cursor: "cursor";
4463
+ "factory-droids": "factory-droids";
4464
+ forge: "forge";
4464
4465
  gemini: "gemini";
4465
4466
  hermes: "hermes";
4467
+ "kimi-code": "kimi-code";
4468
+ nanoclaw: "nanoclaw";
4466
4469
  openclaw: "openclaw";
4467
- amp: "amp";
4468
- "factory-droids": "factory-droids";
4469
- forge: "forge";
4470
- cursor: "cursor";
4471
- acp: "acp";
4472
- "cli-base": "cli-base";
4470
+ opencode: "opencode";
4471
+ pi: "pi";
4472
+ prime: "prime";
4473
4473
  }>>;
4474
4474
  permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodEnum<{
4475
4475
  allow: "allow";
@@ -4479,9 +4479,9 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
4479
4479
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
4480
4480
  mcp: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./agent-candidate.js").AgentCandidateMcpServer, unknown, z.core.$ZodTypeInternals<import("./agent-candidate.js").AgentCandidateMcpServer, unknown>>>>;
4481
4481
  subagents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4482
+ description: z.ZodOptional<z.ZodString>;
4482
4483
  prompt: z.ZodOptional<z.ZodString>;
4483
4484
  tools: z.ZodOptional<z.ZodType<Record<string, boolean>, unknown, z.core.$ZodTypeInternals<Record<string, boolean>, unknown>>>;
4484
- description: z.ZodOptional<z.ZodString>;
4485
4485
  permissions: z.ZodOptional<z.ZodType<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown, z.core.$ZodTypeInternals<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown>>>;
4486
4486
  model: z.ZodOptional<z.ZodString>;
4487
4487
  maxSteps: z.ZodOptional<z.ZodNumber>;
@@ -4958,9 +4958,9 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
4958
4958
  }, z.core.$strict>>>;
4959
4959
  }, z.core.$strict>>>>;
4960
4960
  modes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4961
+ description: z.ZodOptional<z.ZodString>;
4961
4962
  prompt: z.ZodOptional<z.ZodString>;
4962
4963
  tools: z.ZodOptional<z.ZodType<Record<string, boolean>, unknown, z.core.$ZodTypeInternals<Record<string, boolean>, unknown>>>;
4963
- description: z.ZodOptional<z.ZodString>;
4964
4964
  permissions: z.ZodOptional<z.ZodType<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown, z.core.$ZodTypeInternals<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown>>>;
4965
4965
  model: z.ZodOptional<z.ZodString>;
4966
4966
  }, z.core.$strict>>>;
@@ -5005,22 +5005,22 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5005
5005
  }, z.core.$strict>], "kind">;
5006
5006
  execution: z.ZodObject<{
5007
5007
  harness: z.ZodEnum<{
5008
+ acp: "acp";
5009
+ amp: "amp";
5008
5010
  "claude-code": "claude-code";
5009
- nanoclaw: "nanoclaw";
5011
+ "cli-base": "cli-base";
5010
5012
  codex: "codex";
5011
- opencode: "opencode";
5012
- "kimi-code": "kimi-code";
5013
- pi: "pi";
5014
- prime: "prime";
5013
+ cursor: "cursor";
5014
+ "factory-droids": "factory-droids";
5015
+ forge: "forge";
5015
5016
  gemini: "gemini";
5016
5017
  hermes: "hermes";
5018
+ "kimi-code": "kimi-code";
5019
+ nanoclaw: "nanoclaw";
5017
5020
  openclaw: "openclaw";
5018
- amp: "amp";
5019
- "factory-droids": "factory-droids";
5020
- forge: "forge";
5021
- cursor: "cursor";
5022
- acp: "acp";
5023
- "cli-base": "cli-base";
5021
+ opencode: "opencode";
5022
+ pi: "pi";
5023
+ prime: "prime";
5024
5024
  }>;
5025
5025
  harnessVersion: z.ZodString;
5026
5026
  launch: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -5034,11 +5034,11 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5034
5034
  kind: z.ZodLiteral<"candidate-entrypoint">;
5035
5035
  entrypoint: z.ZodString;
5036
5036
  interpreter: z.ZodOptional<z.ZodEnum<{
5037
+ bun: "bun";
5038
+ deno: "deno";
5037
5039
  node: "node";
5038
5040
  python: "python";
5039
5041
  python3: "python3";
5040
- bun: "bun";
5041
- deno: "deno";
5042
5042
  tsx: "tsx";
5043
5043
  uv: "uv";
5044
5044
  }>>;
@@ -5258,10 +5258,10 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5258
5258
  }, z.core.$strict>;
5259
5259
  candidateLineage: z.ZodObject<{
5260
5260
  source: z.ZodEnum<{
5261
- human: "human";
5262
- optimizer: "optimizer";
5263
5261
  compound: "compound";
5262
+ human: "human";
5264
5263
  import: "import";
5264
+ optimizer: "optimizer";
5265
5265
  }>;
5266
5266
  parentDigests: z.ZodOptional<z.ZodArray<z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>>>;
5267
5267
  runIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -5395,13 +5395,13 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5395
5395
  model: z.ZodString;
5396
5396
  snapshot: z.ZodString;
5397
5397
  reasoningEffort: z.ZodEnum<{
5398
- none: "none";
5399
- minimal: "minimal";
5398
+ high: "high";
5400
5399
  low: "low";
5401
5400
  medium: "medium";
5402
- high: "high";
5403
- xhigh: "xhigh";
5401
+ minimal: "minimal";
5402
+ none: "none";
5404
5403
  ultracode: "ultracode";
5404
+ xhigh: "xhigh";
5405
5405
  }>;
5406
5406
  }, z.core.$strict>;
5407
5407
  attempt: z.ZodObject<{
@@ -5549,13 +5549,13 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5549
5549
  model: z.ZodString;
5550
5550
  snapshot: z.ZodString;
5551
5551
  reasoningEffort: z.ZodEnum<{
5552
- none: "none";
5553
- minimal: "minimal";
5552
+ high: "high";
5554
5553
  low: "low";
5555
5554
  medium: "medium";
5556
- high: "high";
5557
- xhigh: "xhigh";
5555
+ minimal: "minimal";
5556
+ none: "none";
5558
5557
  ultracode: "ultracode";
5558
+ xhigh: "xhigh";
5559
5559
  }>;
5560
5560
  }, z.core.$strict>;
5561
5561
  attempt: z.ZodObject<{
@@ -5659,7 +5659,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5659
5659
  digest: `sha256:${string}`;
5660
5660
  material: {
5661
5661
  sourceProfileDigest: `sha256:${string}`;
5662
- harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
5662
+ harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
5663
5663
  files: {
5664
5664
  relPath: string;
5665
5665
  mode: number;
@@ -5673,10 +5673,6 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5673
5673
  kind: "public";
5674
5674
  value: string;
5675
5675
  }[];
5676
- unsupported: {
5677
- dimension: string;
5678
- reason: string;
5679
- }[];
5680
5676
  systemPrompt?: {
5681
5677
  kind: "public";
5682
5678
  value: string;
@@ -5685,6 +5681,10 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5685
5681
  kind: "public";
5686
5682
  value: string;
5687
5683
  } | undefined;
5684
+ unsupported: {
5685
+ dimension: string;
5686
+ reason: string;
5687
+ }[];
5688
5688
  };
5689
5689
  artifact: {
5690
5690
  locator: {
@@ -5710,7 +5710,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5710
5710
  digest: `sha256:${string}`;
5711
5711
  material: {
5712
5712
  sourceProfileDigest: `sha256:${string}`;
5713
- harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
5713
+ harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
5714
5714
  files: {
5715
5715
  relPath: string;
5716
5716
  mode: number;
@@ -5724,10 +5724,6 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5724
5724
  kind: "public";
5725
5725
  value: string;
5726
5726
  }[];
5727
- unsupported: {
5728
- dimension: string;
5729
- reason: string;
5730
- }[];
5731
5727
  systemPrompt?: {
5732
5728
  kind: "public";
5733
5729
  value: string;
@@ -5736,6 +5732,10 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5736
5732
  kind: "public";
5737
5733
  value: string;
5738
5734
  } | undefined;
5735
+ unsupported: {
5736
+ dimension: string;
5737
+ reason: string;
5738
+ }[];
5739
5739
  };
5740
5740
  artifact: {
5741
5741
  locator: {
@@ -5788,13 +5788,64 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5788
5788
  taskRoot: string;
5789
5789
  candidateRoot?: string | undefined;
5790
5790
  };
5791
- codeKind: "disabled" | "no-op" | "git-patch";
5791
+ codeKind: "disabled" | "git-patch" | "no-op";
5792
+ candidateWorkspace?: {
5793
+ kind: "agent-candidate-workspace-snapshot";
5794
+ digest: `sha256:${string}`;
5795
+ material: {
5796
+ kind: "agent-candidate-workspace-manifest";
5797
+ files: {
5798
+ path: string;
5799
+ mode: number;
5800
+ sha256: `sha256:${string}`;
5801
+ byteLength: number;
5802
+ }[];
5803
+ };
5804
+ manifest: {
5805
+ locator: {
5806
+ kind: "s3";
5807
+ bucket: string;
5808
+ key: string;
5809
+ region?: string | undefined;
5810
+ } | {
5811
+ kind: "ipfs";
5812
+ cid: string;
5813
+ path?: string | undefined;
5814
+ };
5815
+ sha256: `sha256:${string}`;
5816
+ byteLength: number;
5817
+ } | {
5818
+ encoding: "base64";
5819
+ content: string;
5820
+ sha256: `sha256:${string}`;
5821
+ byteLength: number;
5822
+ };
5823
+ archive: {
5824
+ locator: {
5825
+ kind: "s3";
5826
+ bucket: string;
5827
+ key: string;
5828
+ region?: string | undefined;
5829
+ } | {
5830
+ kind: "ipfs";
5831
+ cid: string;
5832
+ path?: string | undefined;
5833
+ };
5834
+ sha256: `sha256:${string}`;
5835
+ byteLength: number;
5836
+ } | {
5837
+ encoding: "base64";
5838
+ content: string;
5839
+ sha256: `sha256:${string}`;
5840
+ byteLength: number;
5841
+ };
5842
+ } | undefined;
5792
5843
  profile: {
5793
5844
  planDigest: `sha256:${string}`;
5794
5845
  targetWorkspace: "candidate" | "task";
5795
5846
  mountPaths: string[];
5796
5847
  };
5797
- harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
5848
+ harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
5798
5849
  harnessVersion: string;
5799
5850
  instructionDelivery: {
5800
5851
  kind: "argv-append";
@@ -5811,13 +5862,13 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5811
5862
  maxModelCalls: number;
5812
5863
  maxInputTokens: number;
5813
5864
  maxOutputTokens: number;
5814
- maxCostUsd: number;
5815
5865
  maxTotalTokens?: number | undefined;
5866
+ maxCostUsd: number;
5816
5867
  };
5817
5868
  container: {
5818
5869
  image: string;
5819
5870
  indexDigest: `sha256:${string}`;
5820
- source: "pinned-container" | "evaluator-task-container";
5871
+ source: "evaluator-task-container" | "pinned-container";
5821
5872
  manifestDigest: `sha256:${string}`;
5822
5873
  platform: {
5823
5874
  os: string;
@@ -5832,7 +5883,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5832
5883
  provider: string;
5833
5884
  model: string;
5834
5885
  snapshot: string;
5835
- reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
5886
+ reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
5836
5887
  };
5837
5888
  access: {
5838
5889
  kind: "evaluator-mediated";
@@ -5875,6 +5926,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5875
5926
  path: string;
5876
5927
  };
5877
5928
  };
5929
+ knowledgeManifestDigest?: `sha256:${string}` | undefined;
5878
5930
  memory: {
5879
5931
  mode: "isolated";
5880
5932
  scope: "task";
@@ -5960,6 +6012,27 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5960
6012
  network: {
5961
6013
  mode: "disabled";
5962
6014
  };
6015
+ }, unknown, z.core.$ZodTypeInternals<{
6016
+ kind: "agent-candidate-execution-plan-material";
6017
+ runCell: {
6018
+ kind: "agent-candidate-run-cell";
6019
+ experimentDigest: `sha256:${string}`;
6020
+ arm: "baseline" | "candidate";
6021
+ bundleDigest: `sha256:${string}`;
6022
+ suiteDigest: `sha256:${string}`;
6023
+ taskDigest: `sha256:${string}`;
6024
+ taskIndex: number;
6025
+ repetition: number;
6026
+ seed: number;
6027
+ attempt: number;
6028
+ digest: `sha256:${string}`;
6029
+ };
6030
+ executionId: string;
6031
+ workspaces: {
6032
+ taskRoot: string;
6033
+ candidateRoot?: string | undefined;
6034
+ };
6035
+ codeKind: "disabled" | "git-patch" | "no-op";
5963
6036
  candidateWorkspace?: {
5964
6037
  kind: "agent-candidate-workspace-snapshot";
5965
6038
  digest: `sha256:${string}`;
@@ -6011,34 +6084,12 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6011
6084
  byteLength: number;
6012
6085
  };
6013
6086
  } | undefined;
6014
- knowledgeManifestDigest?: `sha256:${string}` | undefined;
6015
- }, unknown, z.core.$ZodTypeInternals<{
6016
- kind: "agent-candidate-execution-plan-material";
6017
- runCell: {
6018
- kind: "agent-candidate-run-cell";
6019
- experimentDigest: `sha256:${string}`;
6020
- arm: "baseline" | "candidate";
6021
- bundleDigest: `sha256:${string}`;
6022
- suiteDigest: `sha256:${string}`;
6023
- taskDigest: `sha256:${string}`;
6024
- taskIndex: number;
6025
- repetition: number;
6026
- seed: number;
6027
- attempt: number;
6028
- digest: `sha256:${string}`;
6029
- };
6030
- executionId: string;
6031
- workspaces: {
6032
- taskRoot: string;
6033
- candidateRoot?: string | undefined;
6034
- };
6035
- codeKind: "disabled" | "no-op" | "git-patch";
6036
6087
  profile: {
6037
6088
  planDigest: `sha256:${string}`;
6038
6089
  targetWorkspace: "candidate" | "task";
6039
6090
  mountPaths: string[];
6040
6091
  };
6041
- harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
6092
+ harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
6042
6093
  harnessVersion: string;
6043
6094
  instructionDelivery: {
6044
6095
  kind: "argv-append";
@@ -6055,13 +6106,13 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6055
6106
  maxModelCalls: number;
6056
6107
  maxInputTokens: number;
6057
6108
  maxOutputTokens: number;
6058
- maxCostUsd: number;
6059
6109
  maxTotalTokens?: number | undefined;
6110
+ maxCostUsd: number;
6060
6111
  };
6061
6112
  container: {
6062
6113
  image: string;
6063
6114
  indexDigest: `sha256:${string}`;
6064
- source: "pinned-container" | "evaluator-task-container";
6115
+ source: "evaluator-task-container" | "pinned-container";
6065
6116
  manifestDigest: `sha256:${string}`;
6066
6117
  platform: {
6067
6118
  os: string;
@@ -6076,7 +6127,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6076
6127
  provider: string;
6077
6128
  model: string;
6078
6129
  snapshot: string;
6079
- reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
6130
+ reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
6080
6131
  };
6081
6132
  access: {
6082
6133
  kind: "evaluator-mediated";
@@ -6119,6 +6170,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6119
6170
  path: string;
6120
6171
  };
6121
6172
  };
6173
+ knowledgeManifestDigest?: `sha256:${string}` | undefined;
6122
6174
  memory: {
6123
6175
  mode: "isolated";
6124
6176
  scope: "task";
@@ -6204,58 +6256,6 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6204
6256
  network: {
6205
6257
  mode: "disabled";
6206
6258
  };
6207
- candidateWorkspace?: {
6208
- kind: "agent-candidate-workspace-snapshot";
6209
- digest: `sha256:${string}`;
6210
- material: {
6211
- kind: "agent-candidate-workspace-manifest";
6212
- files: {
6213
- path: string;
6214
- mode: number;
6215
- sha256: `sha256:${string}`;
6216
- byteLength: number;
6217
- }[];
6218
- };
6219
- manifest: {
6220
- locator: {
6221
- kind: "s3";
6222
- bucket: string;
6223
- key: string;
6224
- region?: string | undefined;
6225
- } | {
6226
- kind: "ipfs";
6227
- cid: string;
6228
- path?: string | undefined;
6229
- };
6230
- sha256: `sha256:${string}`;
6231
- byteLength: number;
6232
- } | {
6233
- encoding: "base64";
6234
- content: string;
6235
- sha256: `sha256:${string}`;
6236
- byteLength: number;
6237
- };
6238
- archive: {
6239
- locator: {
6240
- kind: "s3";
6241
- bucket: string;
6242
- key: string;
6243
- region?: string | undefined;
6244
- } | {
6245
- kind: "ipfs";
6246
- cid: string;
6247
- path?: string | undefined;
6248
- };
6249
- sha256: `sha256:${string}`;
6250
- byteLength: number;
6251
- } | {
6252
- encoding: "base64";
6253
- content: string;
6254
- sha256: `sha256:${string}`;
6255
- byteLength: number;
6256
- };
6257
- } | undefined;
6258
- knowledgeManifestDigest?: `sha256:${string}` | undefined;
6259
6259
  }, unknown>>;
6260
6260
  artifact: z.ZodUnion<readonly [z.ZodObject<{
6261
6261
  locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -6330,33 +6330,33 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6330
6330
  }, z.core.$strict>>;
6331
6331
  codeKind: z.ZodEnum<{
6332
6332
  disabled: "disabled";
6333
- "no-op": "no-op";
6334
6333
  "git-patch": "git-patch";
6334
+ "no-op": "no-op";
6335
6335
  }>;
6336
6336
  materializedTree: z.ZodOptional<z.ZodString>;
6337
6337
  harness: z.ZodEnum<{
6338
+ acp: "acp";
6339
+ amp: "amp";
6338
6340
  "claude-code": "claude-code";
6339
- nanoclaw: "nanoclaw";
6341
+ "cli-base": "cli-base";
6340
6342
  codex: "codex";
6341
- opencode: "opencode";
6342
- "kimi-code": "kimi-code";
6343
- pi: "pi";
6344
- prime: "prime";
6343
+ cursor: "cursor";
6344
+ "factory-droids": "factory-droids";
6345
+ forge: "forge";
6345
6346
  gemini: "gemini";
6346
6347
  hermes: "hermes";
6348
+ "kimi-code": "kimi-code";
6349
+ nanoclaw: "nanoclaw";
6347
6350
  openclaw: "openclaw";
6348
- amp: "amp";
6349
- "factory-droids": "factory-droids";
6350
- forge: "forge";
6351
- cursor: "cursor";
6352
- acp: "acp";
6353
- "cli-base": "cli-base";
6351
+ opencode: "opencode";
6352
+ pi: "pi";
6353
+ prime: "prime";
6354
6354
  }>;
6355
6355
  harnessVersion: z.ZodString;
6356
6356
  container: z.ZodObject<{
6357
6357
  source: z.ZodEnum<{
6358
- "pinned-container": "pinned-container";
6359
6358
  "evaluator-task-container": "evaluator-task-container";
6359
+ "pinned-container": "pinned-container";
6360
6360
  }>;
6361
6361
  image: z.ZodString;
6362
6362
  indexDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
@@ -6373,13 +6373,13 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6373
6373
  model: z.ZodString;
6374
6374
  snapshot: z.ZodString;
6375
6375
  reasoningEffort: z.ZodEnum<{
6376
- none: "none";
6377
- minimal: "minimal";
6376
+ high: "high";
6378
6377
  low: "low";
6379
6378
  medium: "medium";
6380
- high: "high";
6381
- xhigh: "xhigh";
6379
+ minimal: "minimal";
6380
+ none: "none";
6382
6381
  ultracode: "ultracode";
6382
+ xhigh: "xhigh";
6383
6383
  }>;
6384
6384
  }, z.core.$strict>;
6385
6385
  knowledgeManifestDigest: z.ZodOptional<z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>>;
@@ -6516,22 +6516,6 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6516
6516
  kind: z.ZodLiteral<"agent-candidate-model-settlement">;
6517
6517
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
6518
6518
  material: z.ZodType<{
6519
- calls: {
6520
- callId: string;
6521
- generationId: string;
6522
- traceSpanId: string;
6523
- status: "succeeded" | "failed";
6524
- model: string;
6525
- startedAtMs: number;
6526
- endedAtMs: number;
6527
- inputTokens: number;
6528
- accountedInputTokens: number;
6529
- outputTokens: number;
6530
- cachedInputTokens: number;
6531
- reasoningTokens: number;
6532
- costUsdNanos: number;
6533
- costProvenance: "observed" | "estimated";
6534
- }[];
6535
6519
  kind: "agent-candidate-model-settlement-material";
6536
6520
  executionPlanDigest: `sha256:${string}`;
6537
6521
  preparationId: string;
@@ -6543,7 +6527,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6543
6527
  provider: string;
6544
6528
  model: string;
6545
6529
  snapshot: string;
6546
- reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
6530
+ reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
6547
6531
  };
6548
6532
  usage: {
6549
6533
  inputTokens: number;
@@ -6552,14 +6536,13 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6552
6536
  reasoningTokens: number;
6553
6537
  modelCalls: number;
6554
6538
  costUsdNanos: number;
6555
- costProvenance: "observed" | "estimated";
6539
+ costProvenance: "estimated" | "observed";
6556
6540
  };
6557
- }, unknown, z.core.$ZodTypeInternals<{
6558
6541
  calls: {
6559
6542
  callId: string;
6560
6543
  generationId: string;
6561
6544
  traceSpanId: string;
6562
- status: "succeeded" | "failed";
6545
+ status: "failed" | "succeeded";
6563
6546
  model: string;
6564
6547
  startedAtMs: number;
6565
6548
  endedAtMs: number;
@@ -6569,8 +6552,9 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6569
6552
  cachedInputTokens: number;
6570
6553
  reasoningTokens: number;
6571
6554
  costUsdNanos: number;
6572
- costProvenance: "observed" | "estimated";
6555
+ costProvenance: "estimated" | "observed";
6573
6556
  }[];
6557
+ }, unknown, z.core.$ZodTypeInternals<{
6574
6558
  kind: "agent-candidate-model-settlement-material";
6575
6559
  executionPlanDigest: `sha256:${string}`;
6576
6560
  preparationId: string;
@@ -6582,7 +6566,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6582
6566
  provider: string;
6583
6567
  model: string;
6584
6568
  snapshot: string;
6585
- reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
6569
+ reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
6586
6570
  };
6587
6571
  usage: {
6588
6572
  inputTokens: number;
@@ -6591,8 +6575,24 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6591
6575
  reasoningTokens: number;
6592
6576
  modelCalls: number;
6593
6577
  costUsdNanos: number;
6594
- costProvenance: "observed" | "estimated";
6578
+ costProvenance: "estimated" | "observed";
6595
6579
  };
6580
+ calls: {
6581
+ callId: string;
6582
+ generationId: string;
6583
+ traceSpanId: string;
6584
+ status: "failed" | "succeeded";
6585
+ model: string;
6586
+ startedAtMs: number;
6587
+ endedAtMs: number;
6588
+ inputTokens: number;
6589
+ accountedInputTokens: number;
6590
+ outputTokens: number;
6591
+ cachedInputTokens: number;
6592
+ reasoningTokens: number;
6593
+ costUsdNanos: number;
6594
+ costProvenance: "estimated" | "observed";
6595
+ }[];
6596
6596
  }, unknown>>;
6597
6597
  artifact: z.ZodUnion<readonly [z.ZodObject<{
6598
6598
  locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -6898,7 +6898,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6898
6898
  reasoningTokens: number;
6899
6899
  modelCalls: number;
6900
6900
  costUsdNanos: number;
6901
- costProvenance: "observed" | "estimated";
6901
+ costProvenance: "estimated" | "observed";
6902
6902
  };
6903
6903
  timing: {
6904
6904
  startedAtMs: number;
@@ -6957,7 +6957,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6957
6957
  reasoningTokens: number;
6958
6958
  modelCalls: number;
6959
6959
  costUsdNanos: number;
6960
- costProvenance: "observed" | "estimated";
6960
+ costProvenance: "estimated" | "observed";
6961
6961
  };
6962
6962
  timing: {
6963
6963
  startedAtMs: number;
@@ -7054,7 +7054,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
7054
7054
  digest: `sha256:${string}`;
7055
7055
  material: {
7056
7056
  sourceProfileDigest: `sha256:${string}`;
7057
- harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
7057
+ harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
7058
7058
  files: {
7059
7059
  relPath: string;
7060
7060
  mode: number;
@@ -7068,10 +7068,6 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
7068
7068
  kind: "public";
7069
7069
  value: string;
7070
7070
  }[];
7071
- unsupported: {
7072
- dimension: string;
7073
- reason: string;
7074
- }[];
7075
7071
  systemPrompt?: {
7076
7072
  kind: "public";
7077
7073
  value: string;
@@ -7080,6 +7076,10 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
7080
7076
  kind: "public";
7081
7077
  value: string;
7082
7078
  } | undefined;
7079
+ unsupported: {
7080
+ dimension: string;
7081
+ reason: string;
7082
+ }[];
7083
7083
  };
7084
7084
  artifact: {
7085
7085
  locator: {
@@ -7105,7 +7105,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
7105
7105
  digest: `sha256:${string}`;
7106
7106
  material: {
7107
7107
  sourceProfileDigest: `sha256:${string}`;
7108
- harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
7108
+ harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
7109
7109
  files: {
7110
7110
  relPath: string;
7111
7111
  mode: number;
@@ -7119,10 +7119,6 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
7119
7119
  kind: "public";
7120
7120
  value: string;
7121
7121
  }[];
7122
- unsupported: {
7123
- dimension: string;
7124
- reason: string;
7125
- }[];
7126
7122
  systemPrompt?: {
7127
7123
  kind: "public";
7128
7124
  value: string;
@@ -7131,6 +7127,10 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
7131
7127
  kind: "public";
7132
7128
  value: string;
7133
7129
  } | undefined;
7130
+ unsupported: {
7131
+ dimension: string;
7132
+ reason: string;
7133
+ }[];
7134
7134
  };
7135
7135
  artifact: {
7136
7136
  locator: {
@@ -7183,13 +7183,64 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
7183
7183
  taskRoot: string;
7184
7184
  candidateRoot?: string | undefined;
7185
7185
  };
7186
- codeKind: "disabled" | "no-op" | "git-patch";
7186
+ codeKind: "disabled" | "git-patch" | "no-op";
7187
+ candidateWorkspace?: {
7188
+ kind: "agent-candidate-workspace-snapshot";
7189
+ digest: `sha256:${string}`;
7190
+ material: {
7191
+ kind: "agent-candidate-workspace-manifest";
7192
+ files: {
7193
+ path: string;
7194
+ mode: number;
7195
+ sha256: `sha256:${string}`;
7196
+ byteLength: number;
7197
+ }[];
7198
+ };
7199
+ manifest: {
7200
+ locator: {
7201
+ kind: "s3";
7202
+ bucket: string;
7203
+ key: string;
7204
+ region?: string | undefined;
7205
+ } | {
7206
+ kind: "ipfs";
7207
+ cid: string;
7208
+ path?: string | undefined;
7209
+ };
7210
+ sha256: `sha256:${string}`;
7211
+ byteLength: number;
7212
+ } | {
7213
+ encoding: "base64";
7214
+ content: string;
7215
+ sha256: `sha256:${string}`;
7216
+ byteLength: number;
7217
+ };
7218
+ archive: {
7219
+ locator: {
7220
+ kind: "s3";
7221
+ bucket: string;
7222
+ key: string;
7223
+ region?: string | undefined;
7224
+ } | {
7225
+ kind: "ipfs";
7226
+ cid: string;
7227
+ path?: string | undefined;
7228
+ };
7229
+ sha256: `sha256:${string}`;
7230
+ byteLength: number;
7231
+ } | {
7232
+ encoding: "base64";
7233
+ content: string;
7234
+ sha256: `sha256:${string}`;
7235
+ byteLength: number;
7236
+ };
7237
+ } | undefined;
7187
7238
  profile: {
7188
7239
  planDigest: `sha256:${string}`;
7189
7240
  targetWorkspace: "candidate" | "task";
7190
7241
  mountPaths: string[];
7191
7242
  };
7192
- harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
7243
+ harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
7193
7244
  harnessVersion: string;
7194
7245
  instructionDelivery: {
7195
7246
  kind: "argv-append";
@@ -7206,13 +7257,13 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
7206
7257
  maxModelCalls: number;
7207
7258
  maxInputTokens: number;
7208
7259
  maxOutputTokens: number;
7209
- maxCostUsd: number;
7210
7260
  maxTotalTokens?: number | undefined;
7261
+ maxCostUsd: number;
7211
7262
  };
7212
7263
  container: {
7213
7264
  image: string;
7214
7265
  indexDigest: `sha256:${string}`;
7215
- source: "pinned-container" | "evaluator-task-container";
7266
+ source: "evaluator-task-container" | "pinned-container";
7216
7267
  manifestDigest: `sha256:${string}`;
7217
7268
  platform: {
7218
7269
  os: string;
@@ -7227,7 +7278,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
7227
7278
  provider: string;
7228
7279
  model: string;
7229
7280
  snapshot: string;
7230
- reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
7281
+ reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
7231
7282
  };
7232
7283
  access: {
7233
7284
  kind: "evaluator-mediated";
@@ -7270,6 +7321,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
7270
7321
  path: string;
7271
7322
  };
7272
7323
  };
7324
+ knowledgeManifestDigest?: `sha256:${string}` | undefined;
7273
7325
  memory: {
7274
7326
  mode: "isolated";
7275
7327
  scope: "task";
@@ -7355,6 +7407,27 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
7355
7407
  network: {
7356
7408
  mode: "disabled";
7357
7409
  };
7410
+ }, unknown, z.core.$ZodTypeInternals<{
7411
+ kind: "agent-candidate-execution-plan-material";
7412
+ runCell: {
7413
+ kind: "agent-candidate-run-cell";
7414
+ experimentDigest: `sha256:${string}`;
7415
+ arm: "baseline" | "candidate";
7416
+ bundleDigest: `sha256:${string}`;
7417
+ suiteDigest: `sha256:${string}`;
7418
+ taskDigest: `sha256:${string}`;
7419
+ taskIndex: number;
7420
+ repetition: number;
7421
+ seed: number;
7422
+ attempt: number;
7423
+ digest: `sha256:${string}`;
7424
+ };
7425
+ executionId: string;
7426
+ workspaces: {
7427
+ taskRoot: string;
7428
+ candidateRoot?: string | undefined;
7429
+ };
7430
+ codeKind: "disabled" | "git-patch" | "no-op";
7358
7431
  candidateWorkspace?: {
7359
7432
  kind: "agent-candidate-workspace-snapshot";
7360
7433
  digest: `sha256:${string}`;
@@ -7406,34 +7479,12 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
7406
7479
  byteLength: number;
7407
7480
  };
7408
7481
  } | undefined;
7409
- knowledgeManifestDigest?: `sha256:${string}` | undefined;
7410
- }, unknown, z.core.$ZodTypeInternals<{
7411
- kind: "agent-candidate-execution-plan-material";
7412
- runCell: {
7413
- kind: "agent-candidate-run-cell";
7414
- experimentDigest: `sha256:${string}`;
7415
- arm: "baseline" | "candidate";
7416
- bundleDigest: `sha256:${string}`;
7417
- suiteDigest: `sha256:${string}`;
7418
- taskDigest: `sha256:${string}`;
7419
- taskIndex: number;
7420
- repetition: number;
7421
- seed: number;
7422
- attempt: number;
7423
- digest: `sha256:${string}`;
7424
- };
7425
- executionId: string;
7426
- workspaces: {
7427
- taskRoot: string;
7428
- candidateRoot?: string | undefined;
7429
- };
7430
- codeKind: "disabled" | "no-op" | "git-patch";
7431
7482
  profile: {
7432
7483
  planDigest: `sha256:${string}`;
7433
7484
  targetWorkspace: "candidate" | "task";
7434
7485
  mountPaths: string[];
7435
7486
  };
7436
- harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
7487
+ harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
7437
7488
  harnessVersion: string;
7438
7489
  instructionDelivery: {
7439
7490
  kind: "argv-append";
@@ -7450,13 +7501,13 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
7450
7501
  maxModelCalls: number;
7451
7502
  maxInputTokens: number;
7452
7503
  maxOutputTokens: number;
7453
- maxCostUsd: number;
7454
7504
  maxTotalTokens?: number | undefined;
7505
+ maxCostUsd: number;
7455
7506
  };
7456
7507
  container: {
7457
7508
  image: string;
7458
7509
  indexDigest: `sha256:${string}`;
7459
- source: "pinned-container" | "evaluator-task-container";
7510
+ source: "evaluator-task-container" | "pinned-container";
7460
7511
  manifestDigest: `sha256:${string}`;
7461
7512
  platform: {
7462
7513
  os: string;
@@ -7471,7 +7522,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
7471
7522
  provider: string;
7472
7523
  model: string;
7473
7524
  snapshot: string;
7474
- reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
7525
+ reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
7475
7526
  };
7476
7527
  access: {
7477
7528
  kind: "evaluator-mediated";
@@ -7514,6 +7565,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
7514
7565
  path: string;
7515
7566
  };
7516
7567
  };
7568
+ knowledgeManifestDigest?: `sha256:${string}` | undefined;
7517
7569
  memory: {
7518
7570
  mode: "isolated";
7519
7571
  scope: "task";
@@ -7599,58 +7651,6 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
7599
7651
  network: {
7600
7652
  mode: "disabled";
7601
7653
  };
7602
- candidateWorkspace?: {
7603
- kind: "agent-candidate-workspace-snapshot";
7604
- digest: `sha256:${string}`;
7605
- material: {
7606
- kind: "agent-candidate-workspace-manifest";
7607
- files: {
7608
- path: string;
7609
- mode: number;
7610
- sha256: `sha256:${string}`;
7611
- byteLength: number;
7612
- }[];
7613
- };
7614
- manifest: {
7615
- locator: {
7616
- kind: "s3";
7617
- bucket: string;
7618
- key: string;
7619
- region?: string | undefined;
7620
- } | {
7621
- kind: "ipfs";
7622
- cid: string;
7623
- path?: string | undefined;
7624
- };
7625
- sha256: `sha256:${string}`;
7626
- byteLength: number;
7627
- } | {
7628
- encoding: "base64";
7629
- content: string;
7630
- sha256: `sha256:${string}`;
7631
- byteLength: number;
7632
- };
7633
- archive: {
7634
- locator: {
7635
- kind: "s3";
7636
- bucket: string;
7637
- key: string;
7638
- region?: string | undefined;
7639
- } | {
7640
- kind: "ipfs";
7641
- cid: string;
7642
- path?: string | undefined;
7643
- };
7644
- sha256: `sha256:${string}`;
7645
- byteLength: number;
7646
- } | {
7647
- encoding: "base64";
7648
- content: string;
7649
- sha256: `sha256:${string}`;
7650
- byteLength: number;
7651
- };
7652
- } | undefined;
7653
- knowledgeManifestDigest?: `sha256:${string}` | undefined;
7654
7654
  }, unknown>>;
7655
7655
  artifact: z.ZodUnion<readonly [z.ZodObject<{
7656
7656
  locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -7725,33 +7725,33 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
7725
7725
  }, z.core.$strict>>;
7726
7726
  codeKind: z.ZodEnum<{
7727
7727
  disabled: "disabled";
7728
- "no-op": "no-op";
7729
7728
  "git-patch": "git-patch";
7729
+ "no-op": "no-op";
7730
7730
  }>;
7731
7731
  materializedTree: z.ZodOptional<z.ZodString>;
7732
7732
  harness: z.ZodEnum<{
7733
+ acp: "acp";
7734
+ amp: "amp";
7733
7735
  "claude-code": "claude-code";
7734
- nanoclaw: "nanoclaw";
7736
+ "cli-base": "cli-base";
7735
7737
  codex: "codex";
7736
- opencode: "opencode";
7737
- "kimi-code": "kimi-code";
7738
- pi: "pi";
7739
- prime: "prime";
7738
+ cursor: "cursor";
7739
+ "factory-droids": "factory-droids";
7740
+ forge: "forge";
7740
7741
  gemini: "gemini";
7741
7742
  hermes: "hermes";
7743
+ "kimi-code": "kimi-code";
7744
+ nanoclaw: "nanoclaw";
7742
7745
  openclaw: "openclaw";
7743
- amp: "amp";
7744
- "factory-droids": "factory-droids";
7745
- forge: "forge";
7746
- cursor: "cursor";
7747
- acp: "acp";
7748
- "cli-base": "cli-base";
7746
+ opencode: "opencode";
7747
+ pi: "pi";
7748
+ prime: "prime";
7749
7749
  }>;
7750
7750
  harnessVersion: z.ZodString;
7751
7751
  container: z.ZodObject<{
7752
7752
  source: z.ZodEnum<{
7753
- "pinned-container": "pinned-container";
7754
7753
  "evaluator-task-container": "evaluator-task-container";
7754
+ "pinned-container": "pinned-container";
7755
7755
  }>;
7756
7756
  image: z.ZodString;
7757
7757
  indexDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
@@ -7768,13 +7768,13 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
7768
7768
  model: z.ZodString;
7769
7769
  snapshot: z.ZodString;
7770
7770
  reasoningEffort: z.ZodEnum<{
7771
- none: "none";
7772
- minimal: "minimal";
7771
+ high: "high";
7773
7772
  low: "low";
7774
7773
  medium: "medium";
7775
- high: "high";
7776
- xhigh: "xhigh";
7774
+ minimal: "minimal";
7775
+ none: "none";
7777
7776
  ultracode: "ultracode";
7777
+ xhigh: "xhigh";
7778
7778
  }>;
7779
7779
  }, z.core.$strict>;
7780
7780
  knowledgeManifestDigest: z.ZodOptional<z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>>;
@@ -7911,22 +7911,6 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
7911
7911
  kind: z.ZodLiteral<"agent-candidate-model-settlement">;
7912
7912
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
7913
7913
  material: z.ZodType<{
7914
- calls: {
7915
- callId: string;
7916
- generationId: string;
7917
- traceSpanId: string;
7918
- status: "succeeded" | "failed";
7919
- model: string;
7920
- startedAtMs: number;
7921
- endedAtMs: number;
7922
- inputTokens: number;
7923
- accountedInputTokens: number;
7924
- outputTokens: number;
7925
- cachedInputTokens: number;
7926
- reasoningTokens: number;
7927
- costUsdNanos: number;
7928
- costProvenance: "observed" | "estimated";
7929
- }[];
7930
7914
  kind: "agent-candidate-model-settlement-material";
7931
7915
  executionPlanDigest: `sha256:${string}`;
7932
7916
  preparationId: string;
@@ -7938,7 +7922,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
7938
7922
  provider: string;
7939
7923
  model: string;
7940
7924
  snapshot: string;
7941
- reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
7925
+ reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
7942
7926
  };
7943
7927
  usage: {
7944
7928
  inputTokens: number;
@@ -7947,14 +7931,13 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
7947
7931
  reasoningTokens: number;
7948
7932
  modelCalls: number;
7949
7933
  costUsdNanos: number;
7950
- costProvenance: "observed" | "estimated";
7934
+ costProvenance: "estimated" | "observed";
7951
7935
  };
7952
- }, unknown, z.core.$ZodTypeInternals<{
7953
7936
  calls: {
7954
7937
  callId: string;
7955
7938
  generationId: string;
7956
7939
  traceSpanId: string;
7957
- status: "succeeded" | "failed";
7940
+ status: "failed" | "succeeded";
7958
7941
  model: string;
7959
7942
  startedAtMs: number;
7960
7943
  endedAtMs: number;
@@ -7964,8 +7947,9 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
7964
7947
  cachedInputTokens: number;
7965
7948
  reasoningTokens: number;
7966
7949
  costUsdNanos: number;
7967
- costProvenance: "observed" | "estimated";
7950
+ costProvenance: "estimated" | "observed";
7968
7951
  }[];
7952
+ }, unknown, z.core.$ZodTypeInternals<{
7969
7953
  kind: "agent-candidate-model-settlement-material";
7970
7954
  executionPlanDigest: `sha256:${string}`;
7971
7955
  preparationId: string;
@@ -7977,7 +7961,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
7977
7961
  provider: string;
7978
7962
  model: string;
7979
7963
  snapshot: string;
7980
- reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
7964
+ reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
7981
7965
  };
7982
7966
  usage: {
7983
7967
  inputTokens: number;
@@ -7986,8 +7970,24 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
7986
7970
  reasoningTokens: number;
7987
7971
  modelCalls: number;
7988
7972
  costUsdNanos: number;
7989
- costProvenance: "observed" | "estimated";
7973
+ costProvenance: "estimated" | "observed";
7990
7974
  };
7975
+ calls: {
7976
+ callId: string;
7977
+ generationId: string;
7978
+ traceSpanId: string;
7979
+ status: "failed" | "succeeded";
7980
+ model: string;
7981
+ startedAtMs: number;
7982
+ endedAtMs: number;
7983
+ inputTokens: number;
7984
+ accountedInputTokens: number;
7985
+ outputTokens: number;
7986
+ cachedInputTokens: number;
7987
+ reasoningTokens: number;
7988
+ costUsdNanos: number;
7989
+ costProvenance: "estimated" | "observed";
7990
+ }[];
7991
7991
  }, unknown>>;
7992
7992
  artifact: z.ZodUnion<readonly [z.ZodObject<{
7993
7993
  locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -8293,7 +8293,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
8293
8293
  reasoningTokens: number;
8294
8294
  modelCalls: number;
8295
8295
  costUsdNanos: number;
8296
- costProvenance: "observed" | "estimated";
8296
+ costProvenance: "estimated" | "observed";
8297
8297
  };
8298
8298
  timing: {
8299
8299
  startedAtMs: number;
@@ -8352,7 +8352,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
8352
8352
  reasoningTokens: number;
8353
8353
  modelCalls: number;
8354
8354
  costUsdNanos: number;
8355
- costProvenance: "observed" | "estimated";
8355
+ costProvenance: "estimated" | "observed";
8356
8356
  };
8357
8357
  timing: {
8358
8358
  startedAtMs: number;
@@ -8397,36 +8397,34 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
8397
8397
  kind: z.ZodLiteral<"agent-improvement-proposal">;
8398
8398
  runId: z.ZodString;
8399
8399
  changedSurfaces: z.ZodTuple<[z.ZodEnum<{
8400
- prompt: "prompt";
8401
- tools: "tools";
8402
- skills: "skills";
8403
- mcp: "mcp";
8404
- subagents: "subagents";
8405
- hooks: "hooks";
8406
- code: "code";
8407
8400
  "agent-profile": "agent-profile";
8408
- memory: "memory";
8401
+ code: "code";
8402
+ hooks: "hooks";
8409
8403
  knowledge: "knowledge";
8410
- "rollout-policy": "rollout-policy";
8411
- }>], z.ZodEnum<{
8404
+ mcp: "mcp";
8405
+ memory: "memory";
8412
8406
  prompt: "prompt";
8413
- tools: "tools";
8407
+ "rollout-policy": "rollout-policy";
8414
8408
  skills: "skills";
8415
- mcp: "mcp";
8416
8409
  subagents: "subagents";
8417
- hooks: "hooks";
8418
- code: "code";
8410
+ tools: "tools";
8411
+ }>], z.ZodEnum<{
8419
8412
  "agent-profile": "agent-profile";
8420
- memory: "memory";
8413
+ code: "code";
8414
+ hooks: "hooks";
8421
8415
  knowledge: "knowledge";
8416
+ mcp: "mcp";
8417
+ memory: "memory";
8418
+ prompt: "prompt";
8422
8419
  "rollout-policy": "rollout-policy";
8420
+ skills: "skills";
8421
+ subagents: "subagents";
8422
+ tools: "tools";
8423
8423
  }>>;
8424
8424
  proposedAt: z.ZodISODateTime;
8425
8425
  findings: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodCustom<AgentCandidateJsonValue, AgentCandidateJsonValue>>>;
8426
8426
  evaluation: z.ZodDiscriminatedUnion<[z.ZodObject<{
8427
8427
  overall: z.ZodObject<{
8428
- direction: z.ZodLiteral<"higher-is-better">;
8429
- unit: z.ZodLiteral<"score">;
8430
8428
  baseline: z.ZodNumber;
8431
8429
  candidate: z.ZodNumber;
8432
8430
  delta: z.ZodNumber;
@@ -8440,12 +8438,10 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
8440
8438
  }, z.core.$strict>;
8441
8439
  n: z.ZodNumber;
8442
8440
  name: z.ZodLiteral<"composite">;
8443
- }, z.core.$strict>;
8444
- objectives: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
8445
- kind: z.ZodLiteral<"objective">;
8446
- name: z.ZodString;
8447
8441
  direction: z.ZodLiteral<"higher-is-better">;
8448
8442
  unit: z.ZodLiteral<"score">;
8443
+ }, z.core.$strict>;
8444
+ objectives: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
8449
8445
  baseline: z.ZodNumber;
8450
8446
  candidate: z.ZodNumber;
8451
8447
  delta: z.ZodNumber;
@@ -8458,6 +8454,10 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
8458
8454
  resamples: z.ZodNumber;
8459
8455
  }, z.core.$strict>;
8460
8456
  n: z.ZodNumber;
8457
+ kind: z.ZodLiteral<"objective">;
8458
+ name: z.ZodString;
8459
+ direction: z.ZodLiteral<"higher-is-better">;
8460
+ unit: z.ZodLiteral<"score">;
8461
8461
  availability: z.ZodLiteral<"measured">;
8462
8462
  }, z.core.$strict>, z.ZodObject<{
8463
8463
  kind: z.ZodLiteral<"objective">;
@@ -8467,11 +8467,6 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
8467
8467
  availability: z.ZodLiteral<"unavailable">;
8468
8468
  reason: z.ZodString;
8469
8469
  }, z.core.$strict>, z.ZodObject<{
8470
- kind: z.ZodLiteral<"dimension">;
8471
- objective: z.ZodString;
8472
- name: z.ZodString;
8473
- direction: z.ZodLiteral<"higher-is-better">;
8474
- unit: z.ZodLiteral<"score">;
8475
8470
  baseline: z.ZodNumber;
8476
8471
  candidate: z.ZodNumber;
8477
8472
  delta: z.ZodNumber;
@@ -8484,6 +8479,11 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
8484
8479
  resamples: z.ZodNumber;
8485
8480
  }, z.core.$strict>;
8486
8481
  n: z.ZodNumber;
8482
+ kind: z.ZodLiteral<"dimension">;
8483
+ objective: z.ZodString;
8484
+ name: z.ZodString;
8485
+ direction: z.ZodLiteral<"higher-is-better">;
8486
+ unit: z.ZodLiteral<"score">;
8487
8487
  availability: z.ZodLiteral<"measured">;
8488
8488
  }, z.core.$strict>, z.ZodObject<{
8489
8489
  kind: z.ZodLiteral<"dimension">;
@@ -8494,10 +8494,6 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
8494
8494
  availability: z.ZodLiteral<"unavailable">;
8495
8495
  reason: z.ZodString;
8496
8496
  }, z.core.$strict>, z.ZodObject<{
8497
- kind: z.ZodLiteral<"cost">;
8498
- name: z.ZodLiteral<"cost">;
8499
- direction: z.ZodLiteral<"lower-is-better">;
8500
- unit: z.ZodLiteral<"usd">;
8501
8497
  baseline: z.ZodNumber;
8502
8498
  candidate: z.ZodNumber;
8503
8499
  delta: z.ZodNumber;
@@ -8510,12 +8506,12 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
8510
8506
  resamples: z.ZodNumber;
8511
8507
  }, z.core.$strict>;
8512
8508
  n: z.ZodNumber;
8509
+ kind: z.ZodLiteral<"cost">;
8510
+ name: z.ZodLiteral<"cost">;
8511
+ direction: z.ZodLiteral<"lower-is-better">;
8512
+ unit: z.ZodLiteral<"usd">;
8513
8513
  availability: z.ZodLiteral<"measured">;
8514
8514
  }, z.core.$strict>, z.ZodObject<{
8515
- kind: z.ZodLiteral<"latency">;
8516
- name: z.ZodLiteral<"latency">;
8517
- direction: z.ZodLiteral<"lower-is-better">;
8518
- unit: z.ZodLiteral<"milliseconds">;
8519
8515
  baseline: z.ZodNumber;
8520
8516
  candidate: z.ZodNumber;
8521
8517
  delta: z.ZodNumber;
@@ -8528,6 +8524,10 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
8528
8524
  resamples: z.ZodNumber;
8529
8525
  }, z.core.$strict>;
8530
8526
  n: z.ZodNumber;
8527
+ kind: z.ZodLiteral<"latency">;
8528
+ name: z.ZodLiteral<"latency">;
8529
+ direction: z.ZodLiteral<"lower-is-better">;
8530
+ unit: z.ZodLiteral<"milliseconds">;
8531
8531
  availability: z.ZodLiteral<"measured">;
8532
8532
  }, z.core.$strict>]>>;
8533
8533
  candidate: z.ZodOptional<z.ZodObject<{
@@ -8536,11 +8536,11 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
8536
8536
  }, z.core.$strict>>;
8537
8537
  decision: z.ZodObject<{
8538
8538
  outcome: z.ZodEnum<{
8539
- ship: "ship";
8539
+ arch_ceiling: "arch_ceiling";
8540
8540
  hold: "hold";
8541
- need_more_work: "need_more_work";
8542
8541
  model_ceiling: "model_ceiling";
8543
- arch_ceiling: "arch_ceiling";
8542
+ need_more_work: "need_more_work";
8543
+ ship: "ship";
8544
8544
  }>;
8545
8545
  reasons: z.ZodArray<z.ZodString>;
8546
8546
  contributingChecks: z.ZodArray<z.ZodObject<{
@@ -8573,8 +8573,8 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
8573
8573
  cost: z.ZodObject<{
8574
8574
  usd: z.ZodNumber;
8575
8575
  provenance: z.ZodEnum<{
8576
- observed: "observed";
8577
8576
  estimated: "estimated";
8577
+ observed: "observed";
8578
8578
  }>;
8579
8579
  }, z.core.$strict>;
8580
8580
  }, z.core.$strict>;
@@ -8584,8 +8584,8 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
8584
8584
  cost: z.ZodObject<{
8585
8585
  usd: z.ZodNumber;
8586
8586
  provenance: z.ZodEnum<{
8587
- observed: "observed";
8588
8587
  estimated: "estimated";
8588
+ observed: "observed";
8589
8589
  }>;
8590
8590
  }, z.core.$strict>;
8591
8591
  }, z.core.$strict>;
@@ -8594,8 +8594,8 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
8594
8594
  cost: z.ZodObject<{
8595
8595
  usd: z.ZodNumber;
8596
8596
  provenance: z.ZodEnum<{
8597
- observed: "observed";
8598
8597
  estimated: "estimated";
8598
+ observed: "observed";
8599
8599
  }>;
8600
8600
  }, z.core.$strict>;
8601
8601
  }, z.core.$strict>;
@@ -8620,13 +8620,13 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
8620
8620
  }, z.core.$strict>>;
8621
8621
  model: z.ZodOptional<z.ZodObject<{
8622
8622
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
8623
- none: "none";
8624
- minimal: "minimal";
8623
+ high: "high";
8625
8624
  low: "low";
8626
8625
  medium: "medium";
8627
- high: "high";
8628
- xhigh: "xhigh";
8626
+ minimal: "minimal";
8627
+ none: "none";
8629
8628
  ultracode: "ultracode";
8629
+ xhigh: "xhigh";
8630
8630
  }>>;
8631
8631
  maxVisibleOutputTokens: z.ZodOptional<z.ZodNumber>;
8632
8632
  maxReasoningTokens: z.ZodOptional<z.ZodNumber>;
@@ -8636,22 +8636,22 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
8636
8636
  provider: z.ZodOptional<z.ZodString>;
8637
8637
  }, z.core.$strict>>;
8638
8638
  harness: z.ZodOptional<z.ZodEnum<{
8639
+ acp: "acp";
8640
+ amp: "amp";
8639
8641
  "claude-code": "claude-code";
8640
- nanoclaw: "nanoclaw";
8642
+ "cli-base": "cli-base";
8641
8643
  codex: "codex";
8642
- opencode: "opencode";
8643
- "kimi-code": "kimi-code";
8644
- pi: "pi";
8645
- prime: "prime";
8644
+ cursor: "cursor";
8645
+ "factory-droids": "factory-droids";
8646
+ forge: "forge";
8646
8647
  gemini: "gemini";
8647
8648
  hermes: "hermes";
8649
+ "kimi-code": "kimi-code";
8650
+ nanoclaw: "nanoclaw";
8648
8651
  openclaw: "openclaw";
8649
- amp: "amp";
8650
- "factory-droids": "factory-droids";
8651
- forge: "forge";
8652
- cursor: "cursor";
8653
- acp: "acp";
8654
- "cli-base": "cli-base";
8652
+ opencode: "opencode";
8653
+ pi: "pi";
8654
+ prime: "prime";
8655
8655
  }>>;
8656
8656
  permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodEnum<{
8657
8657
  allow: "allow";
@@ -8661,9 +8661,9 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
8661
8661
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
8662
8662
  mcp: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./agent-candidate.js").AgentCandidateMcpServer, unknown, z.core.$ZodTypeInternals<import("./agent-candidate.js").AgentCandidateMcpServer, unknown>>>>;
8663
8663
  subagents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8664
+ description: z.ZodOptional<z.ZodString>;
8664
8665
  prompt: z.ZodOptional<z.ZodString>;
8665
8666
  tools: z.ZodOptional<z.ZodType<Record<string, boolean>, unknown, z.core.$ZodTypeInternals<Record<string, boolean>, unknown>>>;
8666
- description: z.ZodOptional<z.ZodString>;
8667
8667
  permissions: z.ZodOptional<z.ZodType<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown, z.core.$ZodTypeInternals<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown>>>;
8668
8668
  model: z.ZodOptional<z.ZodString>;
8669
8669
  maxSteps: z.ZodOptional<z.ZodNumber>;
@@ -9140,9 +9140,9 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
9140
9140
  }, z.core.$strict>>>;
9141
9141
  }, z.core.$strict>>>>;
9142
9142
  modes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9143
+ description: z.ZodOptional<z.ZodString>;
9143
9144
  prompt: z.ZodOptional<z.ZodString>;
9144
9145
  tools: z.ZodOptional<z.ZodType<Record<string, boolean>, unknown, z.core.$ZodTypeInternals<Record<string, boolean>, unknown>>>;
9145
- description: z.ZodOptional<z.ZodString>;
9146
9146
  permissions: z.ZodOptional<z.ZodType<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown, z.core.$ZodTypeInternals<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown>>>;
9147
9147
  model: z.ZodOptional<z.ZodString>;
9148
9148
  }, z.core.$strict>>>;
@@ -9187,22 +9187,22 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
9187
9187
  }, z.core.$strict>], "kind">;
9188
9188
  execution: z.ZodObject<{
9189
9189
  harness: z.ZodEnum<{
9190
+ acp: "acp";
9191
+ amp: "amp";
9190
9192
  "claude-code": "claude-code";
9191
- nanoclaw: "nanoclaw";
9193
+ "cli-base": "cli-base";
9192
9194
  codex: "codex";
9193
- opencode: "opencode";
9194
- "kimi-code": "kimi-code";
9195
- pi: "pi";
9196
- prime: "prime";
9195
+ cursor: "cursor";
9196
+ "factory-droids": "factory-droids";
9197
+ forge: "forge";
9197
9198
  gemini: "gemini";
9198
9199
  hermes: "hermes";
9200
+ "kimi-code": "kimi-code";
9201
+ nanoclaw: "nanoclaw";
9199
9202
  openclaw: "openclaw";
9200
- amp: "amp";
9201
- "factory-droids": "factory-droids";
9202
- forge: "forge";
9203
- cursor: "cursor";
9204
- acp: "acp";
9205
- "cli-base": "cli-base";
9203
+ opencode: "opencode";
9204
+ pi: "pi";
9205
+ prime: "prime";
9206
9206
  }>;
9207
9207
  harnessVersion: z.ZodString;
9208
9208
  launch: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -9216,11 +9216,11 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
9216
9216
  kind: z.ZodLiteral<"candidate-entrypoint">;
9217
9217
  entrypoint: z.ZodString;
9218
9218
  interpreter: z.ZodOptional<z.ZodEnum<{
9219
+ bun: "bun";
9220
+ deno: "deno";
9219
9221
  node: "node";
9220
9222
  python: "python";
9221
9223
  python3: "python3";
9222
- bun: "bun";
9223
- deno: "deno";
9224
9224
  tsx: "tsx";
9225
9225
  uv: "uv";
9226
9226
  }>>;
@@ -9453,13 +9453,13 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
9453
9453
  }, z.core.$strict>>;
9454
9454
  model: z.ZodOptional<z.ZodObject<{
9455
9455
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
9456
- none: "none";
9457
- minimal: "minimal";
9456
+ high: "high";
9458
9457
  low: "low";
9459
9458
  medium: "medium";
9460
- high: "high";
9461
- xhigh: "xhigh";
9459
+ minimal: "minimal";
9460
+ none: "none";
9462
9461
  ultracode: "ultracode";
9462
+ xhigh: "xhigh";
9463
9463
  }>>;
9464
9464
  maxVisibleOutputTokens: z.ZodOptional<z.ZodNumber>;
9465
9465
  maxReasoningTokens: z.ZodOptional<z.ZodNumber>;
@@ -9469,22 +9469,22 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
9469
9469
  provider: z.ZodOptional<z.ZodString>;
9470
9470
  }, z.core.$strict>>;
9471
9471
  harness: z.ZodOptional<z.ZodEnum<{
9472
+ acp: "acp";
9473
+ amp: "amp";
9472
9474
  "claude-code": "claude-code";
9473
- nanoclaw: "nanoclaw";
9475
+ "cli-base": "cli-base";
9474
9476
  codex: "codex";
9475
- opencode: "opencode";
9476
- "kimi-code": "kimi-code";
9477
- pi: "pi";
9478
- prime: "prime";
9477
+ cursor: "cursor";
9478
+ "factory-droids": "factory-droids";
9479
+ forge: "forge";
9479
9480
  gemini: "gemini";
9480
9481
  hermes: "hermes";
9482
+ "kimi-code": "kimi-code";
9483
+ nanoclaw: "nanoclaw";
9481
9484
  openclaw: "openclaw";
9482
- amp: "amp";
9483
- "factory-droids": "factory-droids";
9484
- forge: "forge";
9485
- cursor: "cursor";
9486
- acp: "acp";
9487
- "cli-base": "cli-base";
9485
+ opencode: "opencode";
9486
+ pi: "pi";
9487
+ prime: "prime";
9488
9488
  }>>;
9489
9489
  permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodEnum<{
9490
9490
  allow: "allow";
@@ -9494,9 +9494,9 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
9494
9494
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
9495
9495
  mcp: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./agent-candidate.js").AgentCandidateMcpServer, unknown, z.core.$ZodTypeInternals<import("./agent-candidate.js").AgentCandidateMcpServer, unknown>>>>;
9496
9496
  subagents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9497
+ description: z.ZodOptional<z.ZodString>;
9497
9498
  prompt: z.ZodOptional<z.ZodString>;
9498
9499
  tools: z.ZodOptional<z.ZodType<Record<string, boolean>, unknown, z.core.$ZodTypeInternals<Record<string, boolean>, unknown>>>;
9499
- description: z.ZodOptional<z.ZodString>;
9500
9500
  permissions: z.ZodOptional<z.ZodType<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown, z.core.$ZodTypeInternals<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown>>>;
9501
9501
  model: z.ZodOptional<z.ZodString>;
9502
9502
  maxSteps: z.ZodOptional<z.ZodNumber>;
@@ -9973,9 +9973,9 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
9973
9973
  }, z.core.$strict>>>;
9974
9974
  }, z.core.$strict>>>>;
9975
9975
  modes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9976
+ description: z.ZodOptional<z.ZodString>;
9976
9977
  prompt: z.ZodOptional<z.ZodString>;
9977
9978
  tools: z.ZodOptional<z.ZodType<Record<string, boolean>, unknown, z.core.$ZodTypeInternals<Record<string, boolean>, unknown>>>;
9978
- description: z.ZodOptional<z.ZodString>;
9979
9979
  permissions: z.ZodOptional<z.ZodType<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown, z.core.$ZodTypeInternals<Record<string, "allow" | "ask" | "deny" | Record<string, "allow" | "ask" | "deny">>, unknown>>>;
9980
9980
  model: z.ZodOptional<z.ZodString>;
9981
9981
  }, z.core.$strict>>>;
@@ -10020,22 +10020,22 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
10020
10020
  }, z.core.$strict>], "kind">;
10021
10021
  execution: z.ZodObject<{
10022
10022
  harness: z.ZodEnum<{
10023
+ acp: "acp";
10024
+ amp: "amp";
10023
10025
  "claude-code": "claude-code";
10024
- nanoclaw: "nanoclaw";
10026
+ "cli-base": "cli-base";
10025
10027
  codex: "codex";
10026
- opencode: "opencode";
10027
- "kimi-code": "kimi-code";
10028
- pi: "pi";
10029
- prime: "prime";
10028
+ cursor: "cursor";
10029
+ "factory-droids": "factory-droids";
10030
+ forge: "forge";
10030
10031
  gemini: "gemini";
10031
10032
  hermes: "hermes";
10033
+ "kimi-code": "kimi-code";
10034
+ nanoclaw: "nanoclaw";
10032
10035
  openclaw: "openclaw";
10033
- amp: "amp";
10034
- "factory-droids": "factory-droids";
10035
- forge: "forge";
10036
- cursor: "cursor";
10037
- acp: "acp";
10038
- "cli-base": "cli-base";
10036
+ opencode: "opencode";
10037
+ pi: "pi";
10038
+ prime: "prime";
10039
10039
  }>;
10040
10040
  harnessVersion: z.ZodString;
10041
10041
  launch: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -10049,11 +10049,11 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
10049
10049
  kind: z.ZodLiteral<"candidate-entrypoint">;
10050
10050
  entrypoint: z.ZodString;
10051
10051
  interpreter: z.ZodOptional<z.ZodEnum<{
10052
+ bun: "bun";
10053
+ deno: "deno";
10052
10054
  node: "node";
10053
10055
  python: "python";
10054
10056
  python3: "python3";
10055
- bun: "bun";
10056
- deno: "deno";
10057
10057
  tsx: "tsx";
10058
10058
  uv: "uv";
10059
10059
  }>>;
@@ -10273,10 +10273,10 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
10273
10273
  }, z.core.$strict>;
10274
10274
  candidateLineage: z.ZodObject<{
10275
10275
  source: z.ZodEnum<{
10276
- human: "human";
10277
- optimizer: "optimizer";
10278
10276
  compound: "compound";
10277
+ human: "human";
10279
10278
  import: "import";
10279
+ optimizer: "optimizer";
10280
10280
  }>;
10281
10281
  parentDigests: z.ZodOptional<z.ZodArray<z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>>>;
10282
10282
  runIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -10410,13 +10410,13 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
10410
10410
  model: z.ZodString;
10411
10411
  snapshot: z.ZodString;
10412
10412
  reasoningEffort: z.ZodEnum<{
10413
- none: "none";
10414
- minimal: "minimal";
10413
+ high: "high";
10415
10414
  low: "low";
10416
10415
  medium: "medium";
10417
- high: "high";
10418
- xhigh: "xhigh";
10416
+ minimal: "minimal";
10417
+ none: "none";
10419
10418
  ultracode: "ultracode";
10419
+ xhigh: "xhigh";
10420
10420
  }>;
10421
10421
  }, z.core.$strict>;
10422
10422
  attempt: z.ZodObject<{
@@ -10564,13 +10564,13 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
10564
10564
  model: z.ZodString;
10565
10565
  snapshot: z.ZodString;
10566
10566
  reasoningEffort: z.ZodEnum<{
10567
- none: "none";
10568
- minimal: "minimal";
10567
+ high: "high";
10569
10568
  low: "low";
10570
10569
  medium: "medium";
10571
- high: "high";
10572
- xhigh: "xhigh";
10570
+ minimal: "minimal";
10571
+ none: "none";
10573
10572
  ultracode: "ultracode";
10573
+ xhigh: "xhigh";
10574
10574
  }>;
10575
10575
  }, z.core.$strict>;
10576
10576
  attempt: z.ZodObject<{
@@ -10674,7 +10674,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
10674
10674
  digest: `sha256:${string}`;
10675
10675
  material: {
10676
10676
  sourceProfileDigest: `sha256:${string}`;
10677
- harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
10677
+ harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
10678
10678
  files: {
10679
10679
  relPath: string;
10680
10680
  mode: number;
@@ -10688,10 +10688,6 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
10688
10688
  kind: "public";
10689
10689
  value: string;
10690
10690
  }[];
10691
- unsupported: {
10692
- dimension: string;
10693
- reason: string;
10694
- }[];
10695
10691
  systemPrompt?: {
10696
10692
  kind: "public";
10697
10693
  value: string;
@@ -10700,6 +10696,10 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
10700
10696
  kind: "public";
10701
10697
  value: string;
10702
10698
  } | undefined;
10699
+ unsupported: {
10700
+ dimension: string;
10701
+ reason: string;
10702
+ }[];
10703
10703
  };
10704
10704
  artifact: {
10705
10705
  locator: {
@@ -10725,7 +10725,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
10725
10725
  digest: `sha256:${string}`;
10726
10726
  material: {
10727
10727
  sourceProfileDigest: `sha256:${string}`;
10728
- harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
10728
+ harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
10729
10729
  files: {
10730
10730
  relPath: string;
10731
10731
  mode: number;
@@ -10739,10 +10739,6 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
10739
10739
  kind: "public";
10740
10740
  value: string;
10741
10741
  }[];
10742
- unsupported: {
10743
- dimension: string;
10744
- reason: string;
10745
- }[];
10746
10742
  systemPrompt?: {
10747
10743
  kind: "public";
10748
10744
  value: string;
@@ -10751,6 +10747,10 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
10751
10747
  kind: "public";
10752
10748
  value: string;
10753
10749
  } | undefined;
10750
+ unsupported: {
10751
+ dimension: string;
10752
+ reason: string;
10753
+ }[];
10754
10754
  };
10755
10755
  artifact: {
10756
10756
  locator: {
@@ -10803,36 +10803,87 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
10803
10803
  taskRoot: string;
10804
10804
  candidateRoot?: string | undefined;
10805
10805
  };
10806
- codeKind: "disabled" | "no-op" | "git-patch";
10807
- profile: {
10808
- planDigest: `sha256:${string}`;
10809
- targetWorkspace: "candidate" | "task";
10810
- mountPaths: string[];
10811
- };
10812
- harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
10813
- harnessVersion: string;
10814
- instructionDelivery: {
10815
- kind: "argv-append";
10816
- } | {
10817
- kind: "stdin-utf8";
10818
- } | {
10819
- kind: "utf8-file";
10820
- env: "TANGLE_CANDIDATE_TASK_PATH";
10821
- path: "/tangle/input/task.txt";
10822
- };
10823
- limits: {
10824
- timeoutMs: number;
10825
- maxSteps: number;
10826
- maxModelCalls: number;
10827
- maxInputTokens: number;
10828
- maxOutputTokens: number;
10829
- maxCostUsd: number;
10830
- maxTotalTokens?: number | undefined;
10831
- };
10806
+ codeKind: "disabled" | "git-patch" | "no-op";
10807
+ candidateWorkspace?: {
10808
+ kind: "agent-candidate-workspace-snapshot";
10809
+ digest: `sha256:${string}`;
10810
+ material: {
10811
+ kind: "agent-candidate-workspace-manifest";
10812
+ files: {
10813
+ path: string;
10814
+ mode: number;
10815
+ sha256: `sha256:${string}`;
10816
+ byteLength: number;
10817
+ }[];
10818
+ };
10819
+ manifest: {
10820
+ locator: {
10821
+ kind: "s3";
10822
+ bucket: string;
10823
+ key: string;
10824
+ region?: string | undefined;
10825
+ } | {
10826
+ kind: "ipfs";
10827
+ cid: string;
10828
+ path?: string | undefined;
10829
+ };
10830
+ sha256: `sha256:${string}`;
10831
+ byteLength: number;
10832
+ } | {
10833
+ encoding: "base64";
10834
+ content: string;
10835
+ sha256: `sha256:${string}`;
10836
+ byteLength: number;
10837
+ };
10838
+ archive: {
10839
+ locator: {
10840
+ kind: "s3";
10841
+ bucket: string;
10842
+ key: string;
10843
+ region?: string | undefined;
10844
+ } | {
10845
+ kind: "ipfs";
10846
+ cid: string;
10847
+ path?: string | undefined;
10848
+ };
10849
+ sha256: `sha256:${string}`;
10850
+ byteLength: number;
10851
+ } | {
10852
+ encoding: "base64";
10853
+ content: string;
10854
+ sha256: `sha256:${string}`;
10855
+ byteLength: number;
10856
+ };
10857
+ } | undefined;
10858
+ profile: {
10859
+ planDigest: `sha256:${string}`;
10860
+ targetWorkspace: "candidate" | "task";
10861
+ mountPaths: string[];
10862
+ };
10863
+ harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
10864
+ harnessVersion: string;
10865
+ instructionDelivery: {
10866
+ kind: "argv-append";
10867
+ } | {
10868
+ kind: "stdin-utf8";
10869
+ } | {
10870
+ kind: "utf8-file";
10871
+ env: "TANGLE_CANDIDATE_TASK_PATH";
10872
+ path: "/tangle/input/task.txt";
10873
+ };
10874
+ limits: {
10875
+ timeoutMs: number;
10876
+ maxSteps: number;
10877
+ maxModelCalls: number;
10878
+ maxInputTokens: number;
10879
+ maxOutputTokens: number;
10880
+ maxTotalTokens?: number | undefined;
10881
+ maxCostUsd: number;
10882
+ };
10832
10883
  container: {
10833
10884
  image: string;
10834
10885
  indexDigest: `sha256:${string}`;
10835
- source: "pinned-container" | "evaluator-task-container";
10886
+ source: "evaluator-task-container" | "pinned-container";
10836
10887
  manifestDigest: `sha256:${string}`;
10837
10888
  platform: {
10838
10889
  os: string;
@@ -10847,7 +10898,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
10847
10898
  provider: string;
10848
10899
  model: string;
10849
10900
  snapshot: string;
10850
- reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
10901
+ reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
10851
10902
  };
10852
10903
  access: {
10853
10904
  kind: "evaluator-mediated";
@@ -10890,6 +10941,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
10890
10941
  path: string;
10891
10942
  };
10892
10943
  };
10944
+ knowledgeManifestDigest?: `sha256:${string}` | undefined;
10893
10945
  memory: {
10894
10946
  mode: "isolated";
10895
10947
  scope: "task";
@@ -10975,6 +11027,27 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
10975
11027
  network: {
10976
11028
  mode: "disabled";
10977
11029
  };
11030
+ }, unknown, z.core.$ZodTypeInternals<{
11031
+ kind: "agent-candidate-execution-plan-material";
11032
+ runCell: {
11033
+ kind: "agent-candidate-run-cell";
11034
+ experimentDigest: `sha256:${string}`;
11035
+ arm: "baseline" | "candidate";
11036
+ bundleDigest: `sha256:${string}`;
11037
+ suiteDigest: `sha256:${string}`;
11038
+ taskDigest: `sha256:${string}`;
11039
+ taskIndex: number;
11040
+ repetition: number;
11041
+ seed: number;
11042
+ attempt: number;
11043
+ digest: `sha256:${string}`;
11044
+ };
11045
+ executionId: string;
11046
+ workspaces: {
11047
+ taskRoot: string;
11048
+ candidateRoot?: string | undefined;
11049
+ };
11050
+ codeKind: "disabled" | "git-patch" | "no-op";
10978
11051
  candidateWorkspace?: {
10979
11052
  kind: "agent-candidate-workspace-snapshot";
10980
11053
  digest: `sha256:${string}`;
@@ -11026,34 +11099,12 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
11026
11099
  byteLength: number;
11027
11100
  };
11028
11101
  } | undefined;
11029
- knowledgeManifestDigest?: `sha256:${string}` | undefined;
11030
- }, unknown, z.core.$ZodTypeInternals<{
11031
- kind: "agent-candidate-execution-plan-material";
11032
- runCell: {
11033
- kind: "agent-candidate-run-cell";
11034
- experimentDigest: `sha256:${string}`;
11035
- arm: "baseline" | "candidate";
11036
- bundleDigest: `sha256:${string}`;
11037
- suiteDigest: `sha256:${string}`;
11038
- taskDigest: `sha256:${string}`;
11039
- taskIndex: number;
11040
- repetition: number;
11041
- seed: number;
11042
- attempt: number;
11043
- digest: `sha256:${string}`;
11044
- };
11045
- executionId: string;
11046
- workspaces: {
11047
- taskRoot: string;
11048
- candidateRoot?: string | undefined;
11049
- };
11050
- codeKind: "disabled" | "no-op" | "git-patch";
11051
11102
  profile: {
11052
11103
  planDigest: `sha256:${string}`;
11053
11104
  targetWorkspace: "candidate" | "task";
11054
11105
  mountPaths: string[];
11055
11106
  };
11056
- harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
11107
+ harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
11057
11108
  harnessVersion: string;
11058
11109
  instructionDelivery: {
11059
11110
  kind: "argv-append";
@@ -11070,13 +11121,13 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
11070
11121
  maxModelCalls: number;
11071
11122
  maxInputTokens: number;
11072
11123
  maxOutputTokens: number;
11073
- maxCostUsd: number;
11074
11124
  maxTotalTokens?: number | undefined;
11125
+ maxCostUsd: number;
11075
11126
  };
11076
11127
  container: {
11077
11128
  image: string;
11078
11129
  indexDigest: `sha256:${string}`;
11079
- source: "pinned-container" | "evaluator-task-container";
11130
+ source: "evaluator-task-container" | "pinned-container";
11080
11131
  manifestDigest: `sha256:${string}`;
11081
11132
  platform: {
11082
11133
  os: string;
@@ -11091,7 +11142,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
11091
11142
  provider: string;
11092
11143
  model: string;
11093
11144
  snapshot: string;
11094
- reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
11145
+ reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
11095
11146
  };
11096
11147
  access: {
11097
11148
  kind: "evaluator-mediated";
@@ -11134,6 +11185,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
11134
11185
  path: string;
11135
11186
  };
11136
11187
  };
11188
+ knowledgeManifestDigest?: `sha256:${string}` | undefined;
11137
11189
  memory: {
11138
11190
  mode: "isolated";
11139
11191
  scope: "task";
@@ -11219,58 +11271,6 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
11219
11271
  network: {
11220
11272
  mode: "disabled";
11221
11273
  };
11222
- candidateWorkspace?: {
11223
- kind: "agent-candidate-workspace-snapshot";
11224
- digest: `sha256:${string}`;
11225
- material: {
11226
- kind: "agent-candidate-workspace-manifest";
11227
- files: {
11228
- path: string;
11229
- mode: number;
11230
- sha256: `sha256:${string}`;
11231
- byteLength: number;
11232
- }[];
11233
- };
11234
- manifest: {
11235
- locator: {
11236
- kind: "s3";
11237
- bucket: string;
11238
- key: string;
11239
- region?: string | undefined;
11240
- } | {
11241
- kind: "ipfs";
11242
- cid: string;
11243
- path?: string | undefined;
11244
- };
11245
- sha256: `sha256:${string}`;
11246
- byteLength: number;
11247
- } | {
11248
- encoding: "base64";
11249
- content: string;
11250
- sha256: `sha256:${string}`;
11251
- byteLength: number;
11252
- };
11253
- archive: {
11254
- locator: {
11255
- kind: "s3";
11256
- bucket: string;
11257
- key: string;
11258
- region?: string | undefined;
11259
- } | {
11260
- kind: "ipfs";
11261
- cid: string;
11262
- path?: string | undefined;
11263
- };
11264
- sha256: `sha256:${string}`;
11265
- byteLength: number;
11266
- } | {
11267
- encoding: "base64";
11268
- content: string;
11269
- sha256: `sha256:${string}`;
11270
- byteLength: number;
11271
- };
11272
- } | undefined;
11273
- knowledgeManifestDigest?: `sha256:${string}` | undefined;
11274
11274
  }, unknown>>;
11275
11275
  artifact: z.ZodUnion<readonly [z.ZodObject<{
11276
11276
  locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -11345,33 +11345,33 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
11345
11345
  }, z.core.$strict>>;
11346
11346
  codeKind: z.ZodEnum<{
11347
11347
  disabled: "disabled";
11348
- "no-op": "no-op";
11349
11348
  "git-patch": "git-patch";
11349
+ "no-op": "no-op";
11350
11350
  }>;
11351
11351
  materializedTree: z.ZodOptional<z.ZodString>;
11352
11352
  harness: z.ZodEnum<{
11353
+ acp: "acp";
11354
+ amp: "amp";
11353
11355
  "claude-code": "claude-code";
11354
- nanoclaw: "nanoclaw";
11356
+ "cli-base": "cli-base";
11355
11357
  codex: "codex";
11356
- opencode: "opencode";
11357
- "kimi-code": "kimi-code";
11358
- pi: "pi";
11359
- prime: "prime";
11358
+ cursor: "cursor";
11359
+ "factory-droids": "factory-droids";
11360
+ forge: "forge";
11360
11361
  gemini: "gemini";
11361
11362
  hermes: "hermes";
11363
+ "kimi-code": "kimi-code";
11364
+ nanoclaw: "nanoclaw";
11362
11365
  openclaw: "openclaw";
11363
- amp: "amp";
11364
- "factory-droids": "factory-droids";
11365
- forge: "forge";
11366
- cursor: "cursor";
11367
- acp: "acp";
11368
- "cli-base": "cli-base";
11366
+ opencode: "opencode";
11367
+ pi: "pi";
11368
+ prime: "prime";
11369
11369
  }>;
11370
11370
  harnessVersion: z.ZodString;
11371
11371
  container: z.ZodObject<{
11372
11372
  source: z.ZodEnum<{
11373
- "pinned-container": "pinned-container";
11374
11373
  "evaluator-task-container": "evaluator-task-container";
11374
+ "pinned-container": "pinned-container";
11375
11375
  }>;
11376
11376
  image: z.ZodString;
11377
11377
  indexDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
@@ -11388,13 +11388,13 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
11388
11388
  model: z.ZodString;
11389
11389
  snapshot: z.ZodString;
11390
11390
  reasoningEffort: z.ZodEnum<{
11391
- none: "none";
11392
- minimal: "minimal";
11391
+ high: "high";
11393
11392
  low: "low";
11394
11393
  medium: "medium";
11395
- high: "high";
11396
- xhigh: "xhigh";
11394
+ minimal: "minimal";
11395
+ none: "none";
11397
11396
  ultracode: "ultracode";
11397
+ xhigh: "xhigh";
11398
11398
  }>;
11399
11399
  }, z.core.$strict>;
11400
11400
  knowledgeManifestDigest: z.ZodOptional<z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>>;
@@ -11531,22 +11531,6 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
11531
11531
  kind: z.ZodLiteral<"agent-candidate-model-settlement">;
11532
11532
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
11533
11533
  material: z.ZodType<{
11534
- calls: {
11535
- callId: string;
11536
- generationId: string;
11537
- traceSpanId: string;
11538
- status: "succeeded" | "failed";
11539
- model: string;
11540
- startedAtMs: number;
11541
- endedAtMs: number;
11542
- inputTokens: number;
11543
- accountedInputTokens: number;
11544
- outputTokens: number;
11545
- cachedInputTokens: number;
11546
- reasoningTokens: number;
11547
- costUsdNanos: number;
11548
- costProvenance: "observed" | "estimated";
11549
- }[];
11550
11534
  kind: "agent-candidate-model-settlement-material";
11551
11535
  executionPlanDigest: `sha256:${string}`;
11552
11536
  preparationId: string;
@@ -11558,7 +11542,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
11558
11542
  provider: string;
11559
11543
  model: string;
11560
11544
  snapshot: string;
11561
- reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
11545
+ reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
11562
11546
  };
11563
11547
  usage: {
11564
11548
  inputTokens: number;
@@ -11567,14 +11551,13 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
11567
11551
  reasoningTokens: number;
11568
11552
  modelCalls: number;
11569
11553
  costUsdNanos: number;
11570
- costProvenance: "observed" | "estimated";
11554
+ costProvenance: "estimated" | "observed";
11571
11555
  };
11572
- }, unknown, z.core.$ZodTypeInternals<{
11573
11556
  calls: {
11574
11557
  callId: string;
11575
11558
  generationId: string;
11576
11559
  traceSpanId: string;
11577
- status: "succeeded" | "failed";
11560
+ status: "failed" | "succeeded";
11578
11561
  model: string;
11579
11562
  startedAtMs: number;
11580
11563
  endedAtMs: number;
@@ -11584,8 +11567,9 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
11584
11567
  cachedInputTokens: number;
11585
11568
  reasoningTokens: number;
11586
11569
  costUsdNanos: number;
11587
- costProvenance: "observed" | "estimated";
11570
+ costProvenance: "estimated" | "observed";
11588
11571
  }[];
11572
+ }, unknown, z.core.$ZodTypeInternals<{
11589
11573
  kind: "agent-candidate-model-settlement-material";
11590
11574
  executionPlanDigest: `sha256:${string}`;
11591
11575
  preparationId: string;
@@ -11597,7 +11581,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
11597
11581
  provider: string;
11598
11582
  model: string;
11599
11583
  snapshot: string;
11600
- reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
11584
+ reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
11601
11585
  };
11602
11586
  usage: {
11603
11587
  inputTokens: number;
@@ -11606,8 +11590,24 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
11606
11590
  reasoningTokens: number;
11607
11591
  modelCalls: number;
11608
11592
  costUsdNanos: number;
11609
- costProvenance: "observed" | "estimated";
11593
+ costProvenance: "estimated" | "observed";
11610
11594
  };
11595
+ calls: {
11596
+ callId: string;
11597
+ generationId: string;
11598
+ traceSpanId: string;
11599
+ status: "failed" | "succeeded";
11600
+ model: string;
11601
+ startedAtMs: number;
11602
+ endedAtMs: number;
11603
+ inputTokens: number;
11604
+ accountedInputTokens: number;
11605
+ outputTokens: number;
11606
+ cachedInputTokens: number;
11607
+ reasoningTokens: number;
11608
+ costUsdNanos: number;
11609
+ costProvenance: "estimated" | "observed";
11610
+ }[];
11611
11611
  }, unknown>>;
11612
11612
  artifact: z.ZodUnion<readonly [z.ZodObject<{
11613
11613
  locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -11913,7 +11913,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
11913
11913
  reasoningTokens: number;
11914
11914
  modelCalls: number;
11915
11915
  costUsdNanos: number;
11916
- costProvenance: "observed" | "estimated";
11916
+ costProvenance: "estimated" | "observed";
11917
11917
  };
11918
11918
  timing: {
11919
11919
  startedAtMs: number;
@@ -11972,7 +11972,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
11972
11972
  reasoningTokens: number;
11973
11973
  modelCalls: number;
11974
11974
  costUsdNanos: number;
11975
- costProvenance: "observed" | "estimated";
11975
+ costProvenance: "estimated" | "observed";
11976
11976
  };
11977
11977
  timing: {
11978
11978
  startedAtMs: number;
@@ -12069,7 +12069,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12069
12069
  digest: `sha256:${string}`;
12070
12070
  material: {
12071
12071
  sourceProfileDigest: `sha256:${string}`;
12072
- harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
12072
+ harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
12073
12073
  files: {
12074
12074
  relPath: string;
12075
12075
  mode: number;
@@ -12083,10 +12083,6 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12083
12083
  kind: "public";
12084
12084
  value: string;
12085
12085
  }[];
12086
- unsupported: {
12087
- dimension: string;
12088
- reason: string;
12089
- }[];
12090
12086
  systemPrompt?: {
12091
12087
  kind: "public";
12092
12088
  value: string;
@@ -12095,6 +12091,10 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12095
12091
  kind: "public";
12096
12092
  value: string;
12097
12093
  } | undefined;
12094
+ unsupported: {
12095
+ dimension: string;
12096
+ reason: string;
12097
+ }[];
12098
12098
  };
12099
12099
  artifact: {
12100
12100
  locator: {
@@ -12120,7 +12120,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12120
12120
  digest: `sha256:${string}`;
12121
12121
  material: {
12122
12122
  sourceProfileDigest: `sha256:${string}`;
12123
- harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
12123
+ harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
12124
12124
  files: {
12125
12125
  relPath: string;
12126
12126
  mode: number;
@@ -12134,10 +12134,6 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12134
12134
  kind: "public";
12135
12135
  value: string;
12136
12136
  }[];
12137
- unsupported: {
12138
- dimension: string;
12139
- reason: string;
12140
- }[];
12141
12137
  systemPrompt?: {
12142
12138
  kind: "public";
12143
12139
  value: string;
@@ -12146,6 +12142,10 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12146
12142
  kind: "public";
12147
12143
  value: string;
12148
12144
  } | undefined;
12145
+ unsupported: {
12146
+ dimension: string;
12147
+ reason: string;
12148
+ }[];
12149
12149
  };
12150
12150
  artifact: {
12151
12151
  locator: {
@@ -12198,13 +12198,64 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12198
12198
  taskRoot: string;
12199
12199
  candidateRoot?: string | undefined;
12200
12200
  };
12201
- codeKind: "disabled" | "no-op" | "git-patch";
12201
+ codeKind: "disabled" | "git-patch" | "no-op";
12202
+ candidateWorkspace?: {
12203
+ kind: "agent-candidate-workspace-snapshot";
12204
+ digest: `sha256:${string}`;
12205
+ material: {
12206
+ kind: "agent-candidate-workspace-manifest";
12207
+ files: {
12208
+ path: string;
12209
+ mode: number;
12210
+ sha256: `sha256:${string}`;
12211
+ byteLength: number;
12212
+ }[];
12213
+ };
12214
+ manifest: {
12215
+ locator: {
12216
+ kind: "s3";
12217
+ bucket: string;
12218
+ key: string;
12219
+ region?: string | undefined;
12220
+ } | {
12221
+ kind: "ipfs";
12222
+ cid: string;
12223
+ path?: string | undefined;
12224
+ };
12225
+ sha256: `sha256:${string}`;
12226
+ byteLength: number;
12227
+ } | {
12228
+ encoding: "base64";
12229
+ content: string;
12230
+ sha256: `sha256:${string}`;
12231
+ byteLength: number;
12232
+ };
12233
+ archive: {
12234
+ locator: {
12235
+ kind: "s3";
12236
+ bucket: string;
12237
+ key: string;
12238
+ region?: string | undefined;
12239
+ } | {
12240
+ kind: "ipfs";
12241
+ cid: string;
12242
+ path?: string | undefined;
12243
+ };
12244
+ sha256: `sha256:${string}`;
12245
+ byteLength: number;
12246
+ } | {
12247
+ encoding: "base64";
12248
+ content: string;
12249
+ sha256: `sha256:${string}`;
12250
+ byteLength: number;
12251
+ };
12252
+ } | undefined;
12202
12253
  profile: {
12203
12254
  planDigest: `sha256:${string}`;
12204
12255
  targetWorkspace: "candidate" | "task";
12205
12256
  mountPaths: string[];
12206
12257
  };
12207
- harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
12258
+ harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
12208
12259
  harnessVersion: string;
12209
12260
  instructionDelivery: {
12210
12261
  kind: "argv-append";
@@ -12221,13 +12272,13 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12221
12272
  maxModelCalls: number;
12222
12273
  maxInputTokens: number;
12223
12274
  maxOutputTokens: number;
12224
- maxCostUsd: number;
12225
12275
  maxTotalTokens?: number | undefined;
12276
+ maxCostUsd: number;
12226
12277
  };
12227
12278
  container: {
12228
12279
  image: string;
12229
12280
  indexDigest: `sha256:${string}`;
12230
- source: "pinned-container" | "evaluator-task-container";
12281
+ source: "evaluator-task-container" | "pinned-container";
12231
12282
  manifestDigest: `sha256:${string}`;
12232
12283
  platform: {
12233
12284
  os: string;
@@ -12242,7 +12293,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12242
12293
  provider: string;
12243
12294
  model: string;
12244
12295
  snapshot: string;
12245
- reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
12296
+ reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
12246
12297
  };
12247
12298
  access: {
12248
12299
  kind: "evaluator-mediated";
@@ -12285,6 +12336,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12285
12336
  path: string;
12286
12337
  };
12287
12338
  };
12339
+ knowledgeManifestDigest?: `sha256:${string}` | undefined;
12288
12340
  memory: {
12289
12341
  mode: "isolated";
12290
12342
  scope: "task";
@@ -12370,6 +12422,27 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12370
12422
  network: {
12371
12423
  mode: "disabled";
12372
12424
  };
12425
+ }, unknown, z.core.$ZodTypeInternals<{
12426
+ kind: "agent-candidate-execution-plan-material";
12427
+ runCell: {
12428
+ kind: "agent-candidate-run-cell";
12429
+ experimentDigest: `sha256:${string}`;
12430
+ arm: "baseline" | "candidate";
12431
+ bundleDigest: `sha256:${string}`;
12432
+ suiteDigest: `sha256:${string}`;
12433
+ taskDigest: `sha256:${string}`;
12434
+ taskIndex: number;
12435
+ repetition: number;
12436
+ seed: number;
12437
+ attempt: number;
12438
+ digest: `sha256:${string}`;
12439
+ };
12440
+ executionId: string;
12441
+ workspaces: {
12442
+ taskRoot: string;
12443
+ candidateRoot?: string | undefined;
12444
+ };
12445
+ codeKind: "disabled" | "git-patch" | "no-op";
12373
12446
  candidateWorkspace?: {
12374
12447
  kind: "agent-candidate-workspace-snapshot";
12375
12448
  digest: `sha256:${string}`;
@@ -12421,34 +12494,12 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12421
12494
  byteLength: number;
12422
12495
  };
12423
12496
  } | undefined;
12424
- knowledgeManifestDigest?: `sha256:${string}` | undefined;
12425
- }, unknown, z.core.$ZodTypeInternals<{
12426
- kind: "agent-candidate-execution-plan-material";
12427
- runCell: {
12428
- kind: "agent-candidate-run-cell";
12429
- experimentDigest: `sha256:${string}`;
12430
- arm: "baseline" | "candidate";
12431
- bundleDigest: `sha256:${string}`;
12432
- suiteDigest: `sha256:${string}`;
12433
- taskDigest: `sha256:${string}`;
12434
- taskIndex: number;
12435
- repetition: number;
12436
- seed: number;
12437
- attempt: number;
12438
- digest: `sha256:${string}`;
12439
- };
12440
- executionId: string;
12441
- workspaces: {
12442
- taskRoot: string;
12443
- candidateRoot?: string | undefined;
12444
- };
12445
- codeKind: "disabled" | "no-op" | "git-patch";
12446
12497
  profile: {
12447
12498
  planDigest: `sha256:${string}`;
12448
12499
  targetWorkspace: "candidate" | "task";
12449
12500
  mountPaths: string[];
12450
12501
  };
12451
- harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
12502
+ harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
12452
12503
  harnessVersion: string;
12453
12504
  instructionDelivery: {
12454
12505
  kind: "argv-append";
@@ -12465,13 +12516,13 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12465
12516
  maxModelCalls: number;
12466
12517
  maxInputTokens: number;
12467
12518
  maxOutputTokens: number;
12468
- maxCostUsd: number;
12469
12519
  maxTotalTokens?: number | undefined;
12520
+ maxCostUsd: number;
12470
12521
  };
12471
12522
  container: {
12472
12523
  image: string;
12473
12524
  indexDigest: `sha256:${string}`;
12474
- source: "pinned-container" | "evaluator-task-container";
12525
+ source: "evaluator-task-container" | "pinned-container";
12475
12526
  manifestDigest: `sha256:${string}`;
12476
12527
  platform: {
12477
12528
  os: string;
@@ -12486,7 +12537,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12486
12537
  provider: string;
12487
12538
  model: string;
12488
12539
  snapshot: string;
12489
- reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
12540
+ reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
12490
12541
  };
12491
12542
  access: {
12492
12543
  kind: "evaluator-mediated";
@@ -12529,6 +12580,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12529
12580
  path: string;
12530
12581
  };
12531
12582
  };
12583
+ knowledgeManifestDigest?: `sha256:${string}` | undefined;
12532
12584
  memory: {
12533
12585
  mode: "isolated";
12534
12586
  scope: "task";
@@ -12614,58 +12666,6 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12614
12666
  network: {
12615
12667
  mode: "disabled";
12616
12668
  };
12617
- candidateWorkspace?: {
12618
- kind: "agent-candidate-workspace-snapshot";
12619
- digest: `sha256:${string}`;
12620
- material: {
12621
- kind: "agent-candidate-workspace-manifest";
12622
- files: {
12623
- path: string;
12624
- mode: number;
12625
- sha256: `sha256:${string}`;
12626
- byteLength: number;
12627
- }[];
12628
- };
12629
- manifest: {
12630
- locator: {
12631
- kind: "s3";
12632
- bucket: string;
12633
- key: string;
12634
- region?: string | undefined;
12635
- } | {
12636
- kind: "ipfs";
12637
- cid: string;
12638
- path?: string | undefined;
12639
- };
12640
- sha256: `sha256:${string}`;
12641
- byteLength: number;
12642
- } | {
12643
- encoding: "base64";
12644
- content: string;
12645
- sha256: `sha256:${string}`;
12646
- byteLength: number;
12647
- };
12648
- archive: {
12649
- locator: {
12650
- kind: "s3";
12651
- bucket: string;
12652
- key: string;
12653
- region?: string | undefined;
12654
- } | {
12655
- kind: "ipfs";
12656
- cid: string;
12657
- path?: string | undefined;
12658
- };
12659
- sha256: `sha256:${string}`;
12660
- byteLength: number;
12661
- } | {
12662
- encoding: "base64";
12663
- content: string;
12664
- sha256: `sha256:${string}`;
12665
- byteLength: number;
12666
- };
12667
- } | undefined;
12668
- knowledgeManifestDigest?: `sha256:${string}` | undefined;
12669
12669
  }, unknown>>;
12670
12670
  artifact: z.ZodUnion<readonly [z.ZodObject<{
12671
12671
  locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -12740,33 +12740,33 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12740
12740
  }, z.core.$strict>>;
12741
12741
  codeKind: z.ZodEnum<{
12742
12742
  disabled: "disabled";
12743
- "no-op": "no-op";
12744
12743
  "git-patch": "git-patch";
12744
+ "no-op": "no-op";
12745
12745
  }>;
12746
12746
  materializedTree: z.ZodOptional<z.ZodString>;
12747
12747
  harness: z.ZodEnum<{
12748
+ acp: "acp";
12749
+ amp: "amp";
12748
12750
  "claude-code": "claude-code";
12749
- nanoclaw: "nanoclaw";
12751
+ "cli-base": "cli-base";
12750
12752
  codex: "codex";
12751
- opencode: "opencode";
12752
- "kimi-code": "kimi-code";
12753
- pi: "pi";
12754
- prime: "prime";
12753
+ cursor: "cursor";
12754
+ "factory-droids": "factory-droids";
12755
+ forge: "forge";
12755
12756
  gemini: "gemini";
12756
12757
  hermes: "hermes";
12758
+ "kimi-code": "kimi-code";
12759
+ nanoclaw: "nanoclaw";
12757
12760
  openclaw: "openclaw";
12758
- amp: "amp";
12759
- "factory-droids": "factory-droids";
12760
- forge: "forge";
12761
- cursor: "cursor";
12762
- acp: "acp";
12763
- "cli-base": "cli-base";
12761
+ opencode: "opencode";
12762
+ pi: "pi";
12763
+ prime: "prime";
12764
12764
  }>;
12765
12765
  harnessVersion: z.ZodString;
12766
12766
  container: z.ZodObject<{
12767
12767
  source: z.ZodEnum<{
12768
- "pinned-container": "pinned-container";
12769
12768
  "evaluator-task-container": "evaluator-task-container";
12769
+ "pinned-container": "pinned-container";
12770
12770
  }>;
12771
12771
  image: z.ZodString;
12772
12772
  indexDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
@@ -12783,13 +12783,13 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12783
12783
  model: z.ZodString;
12784
12784
  snapshot: z.ZodString;
12785
12785
  reasoningEffort: z.ZodEnum<{
12786
- none: "none";
12787
- minimal: "minimal";
12788
- low: "low";
12789
- medium: "medium";
12790
12786
  high: "high";
12791
- xhigh: "xhigh";
12787
+ low: "low";
12788
+ medium: "medium";
12789
+ minimal: "minimal";
12790
+ none: "none";
12792
12791
  ultracode: "ultracode";
12792
+ xhigh: "xhigh";
12793
12793
  }>;
12794
12794
  }, z.core.$strict>;
12795
12795
  knowledgeManifestDigest: z.ZodOptional<z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>>;
@@ -12926,22 +12926,6 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12926
12926
  kind: z.ZodLiteral<"agent-candidate-model-settlement">;
12927
12927
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
12928
12928
  material: z.ZodType<{
12929
- calls: {
12930
- callId: string;
12931
- generationId: string;
12932
- traceSpanId: string;
12933
- status: "succeeded" | "failed";
12934
- model: string;
12935
- startedAtMs: number;
12936
- endedAtMs: number;
12937
- inputTokens: number;
12938
- accountedInputTokens: number;
12939
- outputTokens: number;
12940
- cachedInputTokens: number;
12941
- reasoningTokens: number;
12942
- costUsdNanos: number;
12943
- costProvenance: "observed" | "estimated";
12944
- }[];
12945
12929
  kind: "agent-candidate-model-settlement-material";
12946
12930
  executionPlanDigest: `sha256:${string}`;
12947
12931
  preparationId: string;
@@ -12953,7 +12937,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12953
12937
  provider: string;
12954
12938
  model: string;
12955
12939
  snapshot: string;
12956
- reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
12940
+ reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
12957
12941
  };
12958
12942
  usage: {
12959
12943
  inputTokens: number;
@@ -12962,14 +12946,13 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12962
12946
  reasoningTokens: number;
12963
12947
  modelCalls: number;
12964
12948
  costUsdNanos: number;
12965
- costProvenance: "observed" | "estimated";
12949
+ costProvenance: "estimated" | "observed";
12966
12950
  };
12967
- }, unknown, z.core.$ZodTypeInternals<{
12968
12951
  calls: {
12969
12952
  callId: string;
12970
12953
  generationId: string;
12971
12954
  traceSpanId: string;
12972
- status: "succeeded" | "failed";
12955
+ status: "failed" | "succeeded";
12973
12956
  model: string;
12974
12957
  startedAtMs: number;
12975
12958
  endedAtMs: number;
@@ -12979,8 +12962,9 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12979
12962
  cachedInputTokens: number;
12980
12963
  reasoningTokens: number;
12981
12964
  costUsdNanos: number;
12982
- costProvenance: "observed" | "estimated";
12965
+ costProvenance: "estimated" | "observed";
12983
12966
  }[];
12967
+ }, unknown, z.core.$ZodTypeInternals<{
12984
12968
  kind: "agent-candidate-model-settlement-material";
12985
12969
  executionPlanDigest: `sha256:${string}`;
12986
12970
  preparationId: string;
@@ -12992,7 +12976,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12992
12976
  provider: string;
12993
12977
  model: string;
12994
12978
  snapshot: string;
12995
- reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
12979
+ reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
12996
12980
  };
12997
12981
  usage: {
12998
12982
  inputTokens: number;
@@ -13001,8 +12985,24 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13001
12985
  reasoningTokens: number;
13002
12986
  modelCalls: number;
13003
12987
  costUsdNanos: number;
13004
- costProvenance: "observed" | "estimated";
12988
+ costProvenance: "estimated" | "observed";
13005
12989
  };
12990
+ calls: {
12991
+ callId: string;
12992
+ generationId: string;
12993
+ traceSpanId: string;
12994
+ status: "failed" | "succeeded";
12995
+ model: string;
12996
+ startedAtMs: number;
12997
+ endedAtMs: number;
12998
+ inputTokens: number;
12999
+ accountedInputTokens: number;
13000
+ outputTokens: number;
13001
+ cachedInputTokens: number;
13002
+ reasoningTokens: number;
13003
+ costUsdNanos: number;
13004
+ costProvenance: "estimated" | "observed";
13005
+ }[];
13006
13006
  }, unknown>>;
13007
13007
  artifact: z.ZodUnion<readonly [z.ZodObject<{
13008
13008
  locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -13308,7 +13308,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13308
13308
  reasoningTokens: number;
13309
13309
  modelCalls: number;
13310
13310
  costUsdNanos: number;
13311
- costProvenance: "observed" | "estimated";
13311
+ costProvenance: "estimated" | "observed";
13312
13312
  };
13313
13313
  timing: {
13314
13314
  startedAtMs: number;
@@ -13367,7 +13367,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13367
13367
  reasoningTokens: number;
13368
13368
  modelCalls: number;
13369
13369
  costUsdNanos: number;
13370
- costProvenance: "observed" | "estimated";
13370
+ costProvenance: "estimated" | "observed";
13371
13371
  };
13372
13372
  timing: {
13373
13373
  startedAtMs: number;
@@ -13409,8 +13409,6 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13409
13409
  }, z.core.$strict>>;
13410
13410
  }, z.core.$strict>, z.ZodObject<{
13411
13411
  overall: z.ZodObject<{
13412
- direction: z.ZodLiteral<"higher-is-better">;
13413
- unit: z.ZodLiteral<"score">;
13414
13412
  baseline: z.ZodNumber;
13415
13413
  candidate: z.ZodNumber;
13416
13414
  delta: z.ZodNumber;
@@ -13424,12 +13422,10 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13424
13422
  }, z.core.$strict>;
13425
13423
  n: z.ZodNumber;
13426
13424
  name: z.ZodLiteral<"composite">;
13427
- }, z.core.$strict>;
13428
- objectives: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13429
- kind: z.ZodLiteral<"objective">;
13430
- name: z.ZodString;
13431
13425
  direction: z.ZodLiteral<"higher-is-better">;
13432
13426
  unit: z.ZodLiteral<"score">;
13427
+ }, z.core.$strict>;
13428
+ objectives: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13433
13429
  baseline: z.ZodNumber;
13434
13430
  candidate: z.ZodNumber;
13435
13431
  delta: z.ZodNumber;
@@ -13442,6 +13438,10 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13442
13438
  resamples: z.ZodNumber;
13443
13439
  }, z.core.$strict>;
13444
13440
  n: z.ZodNumber;
13441
+ kind: z.ZodLiteral<"objective">;
13442
+ name: z.ZodString;
13443
+ direction: z.ZodLiteral<"higher-is-better">;
13444
+ unit: z.ZodLiteral<"score">;
13445
13445
  availability: z.ZodLiteral<"measured">;
13446
13446
  }, z.core.$strict>, z.ZodObject<{
13447
13447
  kind: z.ZodLiteral<"objective">;
@@ -13451,11 +13451,6 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13451
13451
  availability: z.ZodLiteral<"unavailable">;
13452
13452
  reason: z.ZodString;
13453
13453
  }, z.core.$strict>, z.ZodObject<{
13454
- kind: z.ZodLiteral<"dimension">;
13455
- objective: z.ZodString;
13456
- name: z.ZodString;
13457
- direction: z.ZodLiteral<"higher-is-better">;
13458
- unit: z.ZodLiteral<"score">;
13459
13454
  baseline: z.ZodNumber;
13460
13455
  candidate: z.ZodNumber;
13461
13456
  delta: z.ZodNumber;
@@ -13468,6 +13463,11 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13468
13463
  resamples: z.ZodNumber;
13469
13464
  }, z.core.$strict>;
13470
13465
  n: z.ZodNumber;
13466
+ kind: z.ZodLiteral<"dimension">;
13467
+ objective: z.ZodString;
13468
+ name: z.ZodString;
13469
+ direction: z.ZodLiteral<"higher-is-better">;
13470
+ unit: z.ZodLiteral<"score">;
13471
13471
  availability: z.ZodLiteral<"measured">;
13472
13472
  }, z.core.$strict>, z.ZodObject<{
13473
13473
  kind: z.ZodLiteral<"dimension">;
@@ -13478,10 +13478,6 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13478
13478
  availability: z.ZodLiteral<"unavailable">;
13479
13479
  reason: z.ZodString;
13480
13480
  }, z.core.$strict>, z.ZodObject<{
13481
- kind: z.ZodLiteral<"cost">;
13482
- name: z.ZodLiteral<"cost">;
13483
- direction: z.ZodLiteral<"lower-is-better">;
13484
- unit: z.ZodLiteral<"usd">;
13485
13481
  baseline: z.ZodNumber;
13486
13482
  candidate: z.ZodNumber;
13487
13483
  delta: z.ZodNumber;
@@ -13494,12 +13490,12 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13494
13490
  resamples: z.ZodNumber;
13495
13491
  }, z.core.$strict>;
13496
13492
  n: z.ZodNumber;
13493
+ kind: z.ZodLiteral<"cost">;
13494
+ name: z.ZodLiteral<"cost">;
13495
+ direction: z.ZodLiteral<"lower-is-better">;
13496
+ unit: z.ZodLiteral<"usd">;
13497
13497
  availability: z.ZodLiteral<"measured">;
13498
13498
  }, z.core.$strict>, z.ZodObject<{
13499
- kind: z.ZodLiteral<"latency">;
13500
- name: z.ZodLiteral<"latency">;
13501
- direction: z.ZodLiteral<"lower-is-better">;
13502
- unit: z.ZodLiteral<"milliseconds">;
13503
13499
  baseline: z.ZodNumber;
13504
13500
  candidate: z.ZodNumber;
13505
13501
  delta: z.ZodNumber;
@@ -13512,6 +13508,10 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13512
13508
  resamples: z.ZodNumber;
13513
13509
  }, z.core.$strict>;
13514
13510
  n: z.ZodNumber;
13511
+ kind: z.ZodLiteral<"latency">;
13512
+ name: z.ZodLiteral<"latency">;
13513
+ direction: z.ZodLiteral<"lower-is-better">;
13514
+ unit: z.ZodLiteral<"milliseconds">;
13515
13515
  availability: z.ZodLiteral<"measured">;
13516
13516
  }, z.core.$strict>]>>;
13517
13517
  candidate: z.ZodOptional<z.ZodObject<{
@@ -13520,11 +13520,11 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13520
13520
  }, z.core.$strict>>;
13521
13521
  decision: z.ZodObject<{
13522
13522
  outcome: z.ZodEnum<{
13523
- ship: "ship";
13523
+ arch_ceiling: "arch_ceiling";
13524
13524
  hold: "hold";
13525
- need_more_work: "need_more_work";
13526
13525
  model_ceiling: "model_ceiling";
13527
- arch_ceiling: "arch_ceiling";
13526
+ need_more_work: "need_more_work";
13527
+ ship: "ship";
13528
13528
  }>;
13529
13529
  reasons: z.ZodArray<z.ZodString>;
13530
13530
  contributingChecks: z.ZodArray<z.ZodObject<{
@@ -13557,8 +13557,8 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13557
13557
  cost: z.ZodObject<{
13558
13558
  usd: z.ZodNumber;
13559
13559
  provenance: z.ZodEnum<{
13560
- observed: "observed";
13561
13560
  estimated: "estimated";
13561
+ observed: "observed";
13562
13562
  }>;
13563
13563
  }, z.core.$strict>;
13564
13564
  }, z.core.$strict>;
@@ -13568,8 +13568,8 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13568
13568
  cost: z.ZodObject<{
13569
13569
  usd: z.ZodNumber;
13570
13570
  provenance: z.ZodEnum<{
13571
- observed: "observed";
13572
13571
  estimated: "estimated";
13572
+ observed: "observed";
13573
13573
  }>;
13574
13574
  }, z.core.$strict>;
13575
13575
  }, z.core.$strict>;
@@ -13578,8 +13578,8 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13578
13578
  cost: z.ZodObject<{
13579
13579
  usd: z.ZodNumber;
13580
13580
  provenance: z.ZodEnum<{
13581
- observed: "observed";
13582
13581
  estimated: "estimated";
13582
+ observed: "observed";
13583
13583
  }>;
13584
13584
  }, z.core.$strict>;
13585
13585
  }, z.core.$strict>;
@@ -13631,10 +13631,10 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13631
13631
  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>>>;
13632
13632
  candidateLineage: z.ZodObject<{
13633
13633
  source: z.ZodEnum<{
13634
- human: "human";
13635
- optimizer: "optimizer";
13636
13634
  compound: "compound";
13635
+ human: "human";
13637
13636
  import: "import";
13637
+ optimizer: "optimizer";
13638
13638
  }>;
13639
13639
  parentDigests: z.ZodOptional<z.ZodArray<z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>>>;
13640
13640
  runIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -13685,13 +13685,13 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13685
13685
  model: z.ZodString;
13686
13686
  snapshot: z.ZodString;
13687
13687
  reasoningEffort: z.ZodEnum<{
13688
- none: "none";
13689
- minimal: "minimal";
13688
+ high: "high";
13690
13689
  low: "low";
13691
13690
  medium: "medium";
13692
- high: "high";
13693
- xhigh: "xhigh";
13691
+ minimal: "minimal";
13692
+ none: "none";
13694
13693
  ultracode: "ultracode";
13694
+ xhigh: "xhigh";
13695
13695
  }>;
13696
13696
  }, z.core.$strict>;
13697
13697
  limits: z.ZodObject<{
@@ -13737,13 +13737,13 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13737
13737
  model: z.ZodString;
13738
13738
  snapshot: z.ZodString;
13739
13739
  reasoningEffort: z.ZodEnum<{
13740
- none: "none";
13741
- minimal: "minimal";
13740
+ high: "high";
13742
13741
  low: "low";
13743
13742
  medium: "medium";
13744
- high: "high";
13745
- xhigh: "xhigh";
13743
+ minimal: "minimal";
13744
+ none: "none";
13746
13745
  ultracode: "ultracode";
13746
+ xhigh: "xhigh";
13747
13747
  }>;
13748
13748
  }, z.core.$strict>;
13749
13749
  limits: z.ZodObject<{
@@ -13822,13 +13822,13 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13822
13822
  model: z.ZodString;
13823
13823
  snapshot: z.ZodString;
13824
13824
  reasoningEffort: z.ZodEnum<{
13825
- none: "none";
13826
- minimal: "minimal";
13825
+ high: "high";
13827
13826
  low: "low";
13828
13827
  medium: "medium";
13829
- high: "high";
13830
- xhigh: "xhigh";
13828
+ minimal: "minimal";
13829
+ none: "none";
13831
13830
  ultracode: "ultracode";
13831
+ xhigh: "xhigh";
13832
13832
  }>;
13833
13833
  }, z.core.$strict>;
13834
13834
  limits: z.ZodObject<{
@@ -13848,8 +13848,8 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13848
13848
  modelCalls: z.ZodNumber;
13849
13849
  costUsdNanos: z.ZodNumber;
13850
13850
  costProvenance: z.ZodEnum<{
13851
- observed: "observed";
13852
13851
  estimated: "estimated";
13852
+ observed: "observed";
13853
13853
  }>;
13854
13854
  }, z.core.$strict>;
13855
13855
  trace: z.ZodObject<{
@@ -13911,8 +13911,8 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13911
13911
  modelCalls: z.ZodNumber;
13912
13912
  costUsdNanos: z.ZodNumber;
13913
13913
  costProvenance: z.ZodEnum<{
13914
- observed: "observed";
13915
13914
  estimated: "estimated";
13915
+ observed: "observed";
13916
13916
  }>;
13917
13917
  }, z.core.$strict>;
13918
13918
  score: z.ZodNumber;
@@ -13975,13 +13975,13 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13975
13975
  model: z.ZodString;
13976
13976
  snapshot: z.ZodString;
13977
13977
  reasoningEffort: z.ZodEnum<{
13978
- none: "none";
13979
- minimal: "minimal";
13978
+ high: "high";
13980
13979
  low: "low";
13981
13980
  medium: "medium";
13982
- high: "high";
13983
- xhigh: "xhigh";
13981
+ minimal: "minimal";
13982
+ none: "none";
13984
13983
  ultracode: "ultracode";
13984
+ xhigh: "xhigh";
13985
13985
  }>;
13986
13986
  }, z.core.$strict>;
13987
13987
  limits: z.ZodObject<{
@@ -14001,8 +14001,8 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
14001
14001
  modelCalls: z.ZodNumber;
14002
14002
  costUsdNanos: z.ZodNumber;
14003
14003
  costProvenance: z.ZodEnum<{
14004
- observed: "observed";
14005
14004
  estimated: "estimated";
14005
+ observed: "observed";
14006
14006
  }>;
14007
14007
  }, z.core.$strict>;
14008
14008
  trace: z.ZodObject<{
@@ -14064,8 +14064,8 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
14064
14064
  modelCalls: z.ZodNumber;
14065
14065
  costUsdNanos: z.ZodNumber;
14066
14066
  costProvenance: z.ZodEnum<{
14067
- observed: "observed";
14068
14067
  estimated: "estimated";
14068
+ observed: "observed";
14069
14069
  }>;
14070
14070
  }, z.core.$strict>;
14071
14071
  score: z.ZodNumber;
@@ -14112,33 +14112,33 @@ export declare const agentImprovementActivationSchema: z.ZodObject<{
14112
14112
  }>;
14113
14113
  targets: z.ZodTuple<[z.ZodObject<{
14114
14114
  surface: z.ZodEnum<{
14115
- prompt: "prompt";
14116
- tools: "tools";
14117
- skills: "skills";
14118
- mcp: "mcp";
14119
- subagents: "subagents";
14120
- hooks: "hooks";
14121
- code: "code";
14122
14115
  "agent-profile": "agent-profile";
14123
- memory: "memory";
14116
+ code: "code";
14117
+ hooks: "hooks";
14124
14118
  knowledge: "knowledge";
14119
+ mcp: "mcp";
14120
+ memory: "memory";
14121
+ prompt: "prompt";
14125
14122
  "rollout-policy": "rollout-policy";
14123
+ skills: "skills";
14124
+ subagents: "subagents";
14125
+ tools: "tools";
14126
14126
  }>;
14127
14127
  identity: z.ZodString;
14128
14128
  expectedBaseDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
14129
14129
  }, z.core.$strict>], z.ZodObject<{
14130
14130
  surface: z.ZodEnum<{
14131
- prompt: "prompt";
14132
- tools: "tools";
14133
- skills: "skills";
14134
- mcp: "mcp";
14135
- subagents: "subagents";
14136
- hooks: "hooks";
14137
- code: "code";
14138
14131
  "agent-profile": "agent-profile";
14139
- memory: "memory";
14132
+ code: "code";
14133
+ hooks: "hooks";
14140
14134
  knowledge: "knowledge";
14135
+ mcp: "mcp";
14136
+ memory: "memory";
14137
+ prompt: "prompt";
14141
14138
  "rollout-policy": "rollout-policy";
14139
+ skills: "skills";
14140
+ subagents: "subagents";
14141
+ tools: "tools";
14142
14142
  }>;
14143
14143
  identity: z.ZodString;
14144
14144
  expectedBaseDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
@@ -14159,34 +14159,34 @@ export declare const agentImprovementActivationResultSchema: z.ZodObject<{
14159
14159
  transactionId: z.ZodString;
14160
14160
  targets: z.ZodTuple<[z.ZodObject<{
14161
14161
  surface: z.ZodEnum<{
14162
- prompt: "prompt";
14163
- tools: "tools";
14164
- skills: "skills";
14165
- mcp: "mcp";
14166
- subagents: "subagents";
14167
- hooks: "hooks";
14168
- code: "code";
14169
14162
  "agent-profile": "agent-profile";
14170
- memory: "memory";
14163
+ code: "code";
14164
+ hooks: "hooks";
14171
14165
  knowledge: "knowledge";
14166
+ mcp: "mcp";
14167
+ memory: "memory";
14168
+ prompt: "prompt";
14172
14169
  "rollout-policy": "rollout-policy";
14170
+ skills: "skills";
14171
+ subagents: "subagents";
14172
+ tools: "tools";
14173
14173
  }>;
14174
14174
  identity: z.ZodString;
14175
14175
  beforeDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
14176
14176
  afterDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
14177
14177
  }, z.core.$strict>], z.ZodObject<{
14178
14178
  surface: z.ZodEnum<{
14179
- prompt: "prompt";
14180
- tools: "tools";
14181
- skills: "skills";
14182
- mcp: "mcp";
14183
- subagents: "subagents";
14184
- hooks: "hooks";
14185
- code: "code";
14186
14179
  "agent-profile": "agent-profile";
14187
- memory: "memory";
14180
+ code: "code";
14181
+ hooks: "hooks";
14188
14182
  knowledge: "knowledge";
14183
+ mcp: "mcp";
14184
+ memory: "memory";
14185
+ prompt: "prompt";
14189
14186
  "rollout-policy": "rollout-policy";
14187
+ skills: "skills";
14188
+ subagents: "subagents";
14189
+ tools: "tools";
14190
14190
  }>;
14191
14191
  identity: z.ZodString;
14192
14192
  beforeDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
@@ -14196,33 +14196,33 @@ export declare const agentImprovementActivationResultSchema: z.ZodObject<{
14196
14196
  status: z.ZodLiteral<"already-applied">;
14197
14197
  targets: z.ZodTuple<[z.ZodObject<{
14198
14198
  surface: z.ZodEnum<{
14199
- prompt: "prompt";
14200
- tools: "tools";
14201
- skills: "skills";
14202
- mcp: "mcp";
14203
- subagents: "subagents";
14204
- hooks: "hooks";
14205
- code: "code";
14206
14199
  "agent-profile": "agent-profile";
14207
- memory: "memory";
14200
+ code: "code";
14201
+ hooks: "hooks";
14208
14202
  knowledge: "knowledge";
14203
+ mcp: "mcp";
14204
+ memory: "memory";
14205
+ prompt: "prompt";
14209
14206
  "rollout-policy": "rollout-policy";
14207
+ skills: "skills";
14208
+ subagents: "subagents";
14209
+ tools: "tools";
14210
14210
  }>;
14211
14211
  identity: z.ZodString;
14212
14212
  currentDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
14213
14213
  }, z.core.$strict>], z.ZodObject<{
14214
14214
  surface: z.ZodEnum<{
14215
- prompt: "prompt";
14216
- tools: "tools";
14217
- skills: "skills";
14218
- mcp: "mcp";
14219
- subagents: "subagents";
14220
- hooks: "hooks";
14221
- code: "code";
14222
14215
  "agent-profile": "agent-profile";
14223
- memory: "memory";
14216
+ code: "code";
14217
+ hooks: "hooks";
14224
14218
  knowledge: "knowledge";
14219
+ mcp: "mcp";
14220
+ memory: "memory";
14221
+ prompt: "prompt";
14225
14222
  "rollout-policy": "rollout-policy";
14223
+ skills: "skills";
14224
+ subagents: "subagents";
14225
+ tools: "tools";
14226
14226
  }>;
14227
14227
  identity: z.ZodString;
14228
14228
  currentDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
@@ -14231,33 +14231,33 @@ export declare const agentImprovementActivationResultSchema: z.ZodObject<{
14231
14231
  status: z.ZodLiteral<"conflict">;
14232
14232
  targets: z.ZodTuple<[z.ZodObject<{
14233
14233
  surface: z.ZodEnum<{
14234
- prompt: "prompt";
14235
- tools: "tools";
14236
- skills: "skills";
14237
- mcp: "mcp";
14238
- subagents: "subagents";
14239
- hooks: "hooks";
14240
- code: "code";
14241
14234
  "agent-profile": "agent-profile";
14242
- memory: "memory";
14235
+ code: "code";
14236
+ hooks: "hooks";
14243
14237
  knowledge: "knowledge";
14238
+ mcp: "mcp";
14239
+ memory: "memory";
14240
+ prompt: "prompt";
14244
14241
  "rollout-policy": "rollout-policy";
14242
+ skills: "skills";
14243
+ subagents: "subagents";
14244
+ tools: "tools";
14245
14245
  }>;
14246
14246
  identity: z.ZodString;
14247
14247
  currentDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
14248
14248
  }, z.core.$strict>], z.ZodObject<{
14249
14249
  surface: z.ZodEnum<{
14250
- prompt: "prompt";
14251
- tools: "tools";
14252
- skills: "skills";
14253
- mcp: "mcp";
14254
- subagents: "subagents";
14255
- hooks: "hooks";
14256
- code: "code";
14257
14250
  "agent-profile": "agent-profile";
14258
- memory: "memory";
14251
+ code: "code";
14252
+ hooks: "hooks";
14259
14253
  knowledge: "knowledge";
14254
+ mcp: "mcp";
14255
+ memory: "memory";
14256
+ prompt: "prompt";
14260
14257
  "rollout-policy": "rollout-policy";
14258
+ skills: "skills";
14259
+ subagents: "subagents";
14260
+ tools: "tools";
14261
14261
  }>;
14262
14262
  identity: z.ZodString;
14263
14263
  currentDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;