assertledger 1.0.0 → 1.1.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 (67) hide show
  1. package/README.fr.md +3 -3
  2. package/README.md +3 -3
  3. package/SECURITY.md +11 -6
  4. package/conformance/schema-extensions.json +36 -0
  5. package/dist/build-info.d.ts +16 -0
  6. package/dist/build-info.d.ts.map +1 -0
  7. package/dist/build-info.js +18 -0
  8. package/dist/build-info.js.map +1 -0
  9. package/dist/build-info.json +7 -0
  10. package/dist/cli.d.ts.map +1 -1
  11. package/dist/cli.js +117 -19
  12. package/dist/cli.js.map +1 -1
  13. package/dist/contracts/index.d.ts +943 -0
  14. package/dist/contracts/index.d.ts.map +1 -1
  15. package/dist/contracts/index.js +561 -21
  16. package/dist/contracts/index.js.map +1 -1
  17. package/dist/core/index.d.ts +10 -1
  18. package/dist/core/index.d.ts.map +1 -1
  19. package/dist/core/index.js +473 -4
  20. package/dist/core/index.js.map +1 -1
  21. package/dist/diagnostics.d.ts.map +1 -1
  22. package/dist/diagnostics.js +42 -2
  23. package/dist/diagnostics.js.map +1 -1
  24. package/dist/engine/adapters/node-test-runtime.d.ts +17 -0
  25. package/dist/engine/adapters/node-test-runtime.d.ts.map +1 -1
  26. package/dist/engine/adapters/node-test-runtime.js +45 -23
  27. package/dist/engine/adapters/node-test-runtime.js.map +1 -1
  28. package/dist/engine/container.d.ts +54 -0
  29. package/dist/engine/container.d.ts.map +1 -0
  30. package/dist/engine/container.js +464 -0
  31. package/dist/engine/container.js.map +1 -0
  32. package/dist/engine/git-regression.d.ts +12 -2
  33. package/dist/engine/git-regression.d.ts.map +1 -1
  34. package/dist/engine/git-regression.js +63 -16
  35. package/dist/engine/git-regression.js.map +1 -1
  36. package/dist/engine/index.d.ts +7 -1
  37. package/dist/engine/index.d.ts.map +1 -1
  38. package/dist/engine/index.js +300 -74
  39. package/dist/engine/index.js.map +1 -1
  40. package/dist/mcp/index.d.ts.map +1 -1
  41. package/dist/mcp/index.js +53 -1
  42. package/dist/mcp/index.js.map +1 -1
  43. package/dist/sdk/index.d.ts +16 -6
  44. package/dist/sdk/index.d.ts.map +1 -1
  45. package/dist/sdk/index.js +63 -5
  46. package/dist/sdk/index.js.map +1 -1
  47. package/docs/agentic-test-profile.md +5 -0
  48. package/docs/architecture.md +8 -3
  49. package/docs/ci.md +7 -1
  50. package/docs/conformance-v1.md +11 -2
  51. package/docs/container-isolation.md +156 -0
  52. package/docs/evidence-export.md +146 -0
  53. package/docs/git-regression.md +7 -3
  54. package/docs/migration-verification-v2.md +55 -0
  55. package/docs/project-intent.md +3 -2
  56. package/docs/proof-model.md +8 -4
  57. package/docs/reference.md +56 -11
  58. package/docs/roadmap.md +12 -4
  59. package/examples/agentic-profile/profile-manifest.mjs +5 -1
  60. package/examples/evidence-export/consumer.mjs +35 -0
  61. package/package.json +2 -2
  62. package/schemas/evidence-export-replay-result.v1.json +49 -0
  63. package/schemas/evidence-export-request.v1.json +681 -0
  64. package/schemas/evidence-export.v1.json +1479 -0
  65. package/schemas/evidence-manifest.v2.json +886 -0
  66. package/schemas/evidence-provider-manifest.v1.json +269 -0
  67. package/schemas/verification-request.v2.json +457 -0
@@ -70,6 +70,28 @@ export declare const TrustedLocalIsolationSchema: z.ZodObject<{
70
70
  acknowledgedUnsafeExecution: z.ZodBoolean;
71
71
  environmentAllowlist: z.ZodArray<z.ZodString>;
72
72
  }, z.core.$strict>;
73
+ export declare const VERIFICATION_SCHEMA_VERSION_V2: "2.0.0";
74
+ export declare const ContainerImageReferenceSchema: z.ZodString;
75
+ export declare const ContainerLimitsSchema: z.ZodObject<{
76
+ memoryBytes: z.ZodInt;
77
+ cpuMillicores: z.ZodInt;
78
+ pids: z.ZodInt;
79
+ temporaryDirectoryBytes: z.ZodInt;
80
+ }, z.core.$strict>;
81
+ export declare const ContainerIsolationSchema: z.ZodObject<{
82
+ kind: z.ZodLiteral<"container">;
83
+ image: z.ZodString;
84
+ environment: z.ZodArray<z.ZodObject<{
85
+ name: z.ZodString;
86
+ value: z.ZodString;
87
+ }, z.core.$strict>>;
88
+ limits: z.ZodObject<{
89
+ memoryBytes: z.ZodInt;
90
+ cpuMillicores: z.ZodInt;
91
+ pids: z.ZodInt;
92
+ temporaryDirectoryBytes: z.ZodInt;
93
+ }, z.core.$strict>;
94
+ }, z.core.$strict>;
73
95
  export declare const BudgetsSchema: z.ZodObject<{
74
96
  maximumCandidates: z.ZodInt;
75
97
  maximumWorlds: z.ZodInt;
@@ -154,6 +176,84 @@ export declare const VerificationRequestSchema: z.ZodObject<{
154
176
  }, z.core.$strict>>;
155
177
  }, z.core.$strict>>;
156
178
  }, z.core.$strict>;
179
+ export declare const VerificationRequestV2Schema: z.ZodObject<{
180
+ repository: z.ZodObject<{
181
+ root: z.ZodString;
182
+ exclude: z.ZodArray<z.ZodString>;
183
+ }, z.core.$strict>;
184
+ adapter: z.ZodDiscriminatedUnion<[z.ZodObject<{
185
+ kind: z.ZodLiteral<"node-test">;
186
+ executable: z.ZodString;
187
+ baseTestFiles: z.ZodArray<z.ZodString>;
188
+ extraArguments: z.ZodOptional<z.ZodArray<z.ZodString>>;
189
+ }, z.core.$strict>, z.ZodObject<{
190
+ kind: z.ZodLiteral<"testforge-command">;
191
+ executable: z.ZodString;
192
+ arguments: z.ZodArray<z.ZodString>;
193
+ protocolVersion: z.ZodLiteral<"1.0.0">;
194
+ }, z.core.$strict>], "kind">;
195
+ candidateRoots: z.ZodArray<z.ZodString>;
196
+ budgets: z.ZodObject<{
197
+ maximumCandidates: z.ZodInt;
198
+ maximumWorlds: z.ZodInt;
199
+ maximumExecutions: z.ZodInt;
200
+ maximumRepositoryFiles: z.ZodInt;
201
+ maximumRepositoryBytes: z.ZodInt;
202
+ maximumWorldOverlayBytes: z.ZodInt;
203
+ maximumCandidateBytes: z.ZodInt;
204
+ maximumTotalCandidateBytes: z.ZodInt;
205
+ timeoutMsPerExecution: z.ZodInt;
206
+ maximumOutputBytes: z.ZodInt;
207
+ }, z.core.$strict>;
208
+ policy: z.ZodObject<{
209
+ policyVersion: z.ZodLiteral<"1.0.0">;
210
+ requiredAttempts: z.ZodInt;
211
+ minimumTargetWeightPermille: z.ZodInt;
212
+ maximumSelectedCandidates: z.ZodInt;
213
+ acceptedTargetOutcomes: z.ZodArray<z.ZodLiteral<"ASSERTION_FAILURE">>;
214
+ }, z.core.$strict>;
215
+ worlds: z.ZodArray<z.ZodObject<{
216
+ id: z.ZodString;
217
+ kind: z.ZodEnum<{
218
+ NEUTRAL: "NEUTRAL";
219
+ REFERENCE: "REFERENCE";
220
+ TARGET: "TARGET";
221
+ }>;
222
+ required: z.ZodBoolean;
223
+ weight: z.ZodInt;
224
+ provenance: z.ZodString;
225
+ files: z.ZodArray<z.ZodObject<{
226
+ path: z.ZodString;
227
+ content: z.ZodString;
228
+ }, z.core.$strict>>;
229
+ }, z.core.$strict>>;
230
+ candidates: z.ZodArray<z.ZodObject<{
231
+ id: z.ZodString;
232
+ files: z.ZodArray<z.ZodObject<{
233
+ path: z.ZodString;
234
+ content: z.ZodString;
235
+ }, z.core.$strict>>;
236
+ }, z.core.$strict>>;
237
+ schemaVersion: z.ZodLiteral<"2.0.0">;
238
+ isolation: z.ZodDiscriminatedUnion<[z.ZodObject<{
239
+ kind: z.ZodLiteral<"trusted-local">;
240
+ acknowledgedUnsafeExecution: z.ZodBoolean;
241
+ environmentAllowlist: z.ZodArray<z.ZodString>;
242
+ }, z.core.$strict>, z.ZodObject<{
243
+ kind: z.ZodLiteral<"container">;
244
+ image: z.ZodString;
245
+ environment: z.ZodArray<z.ZodObject<{
246
+ name: z.ZodString;
247
+ value: z.ZodString;
248
+ }, z.core.$strict>>;
249
+ limits: z.ZodObject<{
250
+ memoryBytes: z.ZodInt;
251
+ cpuMillicores: z.ZodInt;
252
+ pids: z.ZodInt;
253
+ temporaryDirectoryBytes: z.ZodInt;
254
+ }, z.core.$strict>;
255
+ }, z.core.$strict>], "kind">;
256
+ }, z.core.$strict>;
157
257
  export declare const RepositoryAnalysisSchema: z.ZodObject<{
158
258
  root: z.ZodString;
159
259
  fileCount: z.ZodInt;
@@ -690,6 +790,222 @@ export declare const EvidenceManifestSchema: z.ZodObject<{
690
790
  }, z.core.$strict>;
691
791
  limitations: z.ZodArray<z.ZodString>;
692
792
  }, z.core.$strict>;
793
+ declare const ExecutionBackendRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
794
+ kind: z.ZodLiteral<"trusted-local">;
795
+ level: z.ZodLiteral<"UNSANDBOXED">;
796
+ }, z.core.$strict>, z.ZodObject<{
797
+ kind: z.ZodLiteral<"container">;
798
+ level: z.ZodLiteral<"CONTAINER">;
799
+ image: z.ZodObject<{
800
+ reference: z.ZodString;
801
+ id: z.ZodString;
802
+ os: z.ZodLiteral<"linux">;
803
+ architecture: z.ZodString;
804
+ }, z.core.$strict>;
805
+ runtime: z.ZodObject<{
806
+ clientVersion: z.ZodString;
807
+ serverVersion: z.ZodString;
808
+ serverOs: z.ZodLiteral<"linux">;
809
+ serverArchitecture: z.ZodString;
810
+ cgroupVersion: z.ZodString;
811
+ securityOptions: z.ZodArray<z.ZodString>;
812
+ }, z.core.$strict>;
813
+ controls: z.ZodObject<{
814
+ network: z.ZodLiteral<"none">;
815
+ rootFilesystem: z.ZodLiteral<"read-only">;
816
+ hostMounts: z.ZodLiteral<"none">;
817
+ workspace: z.ZodLiteral<"anonymous-volume">;
818
+ user: z.ZodLiteral<"65534:65534">;
819
+ capabilities: z.ZodLiteral<"none">;
820
+ noNewPrivileges: z.ZodLiteral<true>;
821
+ imagePull: z.ZodLiteral<"never">;
822
+ logDriver: z.ZodLiteral<"none">;
823
+ environment: z.ZodArray<z.ZodObject<{
824
+ name: z.ZodString;
825
+ value: z.ZodString;
826
+ }, z.core.$strict>>;
827
+ limits: z.ZodObject<{
828
+ memoryBytes: z.ZodInt;
829
+ cpuMillicores: z.ZodInt;
830
+ pids: z.ZodInt;
831
+ temporaryDirectoryBytes: z.ZodInt;
832
+ }, z.core.$strict>;
833
+ }, z.core.$strict>;
834
+ }, z.core.$strict>], "kind">;
835
+ export declare const EvidenceManifestV2Schema: z.ZodObject<{
836
+ repositoryDigest: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"invalid">]>;
837
+ policy: z.ZodUnion<readonly [z.ZodObject<{
838
+ policyVersion: z.ZodLiteral<"1.0.0">;
839
+ requiredAttempts: z.ZodInt;
840
+ minimumTargetWeightPermille: z.ZodInt;
841
+ maximumSelectedCandidates: z.ZodInt;
842
+ acceptedTargetOutcomes: z.ZodArray<z.ZodLiteral<"ASSERTION_FAILURE">>;
843
+ }, z.core.$strict>, z.ZodObject<{
844
+ policyVersion: z.ZodLiteral<"invalid">;
845
+ requiredAttempts: z.ZodLiteral<1>;
846
+ minimumTargetWeightPermille: z.ZodLiteral<1000>;
847
+ maximumSelectedCandidates: z.ZodLiteral<0>;
848
+ acceptedTargetOutcomes: z.ZodArray<z.ZodLiteral<"ASSERTION_FAILURE">>;
849
+ }, z.core.$strict>]>;
850
+ worlds: z.ZodArray<z.ZodObject<{
851
+ id: z.ZodString;
852
+ kind: z.ZodEnum<{
853
+ NEUTRAL: "NEUTRAL";
854
+ REFERENCE: "REFERENCE";
855
+ TARGET: "TARGET";
856
+ }>;
857
+ required: z.ZodBoolean;
858
+ weight: z.ZodInt;
859
+ }, z.core.$strict>>;
860
+ candidates: z.ZodArray<z.ZodObject<{
861
+ id: z.ZodString;
862
+ digest: z.ZodString;
863
+ sizeBytes: z.ZodInt;
864
+ status: z.ZodEnum<{
865
+ ELIGIBLE: "ELIGIBLE";
866
+ INCONCLUSIVE: "INCONCLUSIVE";
867
+ INVALID: "INVALID";
868
+ UNSTABLE: "UNSTABLE";
869
+ WEAK_ORACLE: "WEAK_ORACLE";
870
+ }>;
871
+ killedTargetIds: z.ZodArray<z.ZodString>;
872
+ targetWeightKilled: z.ZodInt;
873
+ gates: z.ZodArray<z.ZodObject<{
874
+ name: z.ZodEnum<{
875
+ COMPLETENESS: "COMPLETENESS";
876
+ DISCOVERY: "DISCOVERY";
877
+ NEUTRAL: "NEUTRAL";
878
+ REFERENCE: "REFERENCE";
879
+ STABILITY: "STABILITY";
880
+ TARGET_STRENGTH: "TARGET_STRENGTH";
881
+ }>;
882
+ status: z.ZodEnum<{
883
+ FAILED: "FAILED";
884
+ NOT_RUN: "NOT_RUN";
885
+ PASSED: "PASSED";
886
+ }>;
887
+ evidenceRunIds: z.ZodArray<z.ZodString>;
888
+ reasonCodes: z.ZodArray<z.ZodString>;
889
+ }, z.core.$strict>>;
890
+ reasonCodes: z.ZodArray<z.ZodString>;
891
+ }, z.core.$strict>>;
892
+ observations: z.ZodArray<z.ZodObject<{
893
+ runId: z.ZodString;
894
+ candidateId: z.ZodNullable<z.ZodString>;
895
+ worldId: z.ZodString;
896
+ attempt: z.ZodInt;
897
+ outcome: z.ZodEnum<{
898
+ ASSERTION_FAILURE: "ASSERTION_FAILURE";
899
+ COLLECTION_FAILURE: "COLLECTION_FAILURE";
900
+ COMPILE_FAILURE: "COMPILE_FAILURE";
901
+ INFRA_ERROR: "INFRA_ERROR";
902
+ NO_TEST_DISCOVERED: "NO_TEST_DISCOVERED";
903
+ PASS: "PASS";
904
+ PROCESS_CRASH: "PROCESS_CRASH";
905
+ TIMEOUT: "TIMEOUT";
906
+ }>;
907
+ testsDiscovered: z.ZodInt;
908
+ candidateTestsDiscovered: z.ZodInt;
909
+ attributed: z.ZodBoolean;
910
+ durationMs: z.ZodOptional<z.ZodNumber>;
911
+ exitCode: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
912
+ stdoutDigest: z.ZodOptional<z.ZodString>;
913
+ stderrDigest: z.ZodOptional<z.ZodString>;
914
+ }, z.core.$strict>>;
915
+ decision: z.ZodObject<{
916
+ status: z.ZodEnum<{
917
+ ENGINE_ERROR: "ENGINE_ERROR";
918
+ INCONCLUSIVE: "INCONCLUSIVE";
919
+ REJECTED: "REJECTED";
920
+ VERIFIED: "VERIFIED";
921
+ }>;
922
+ selectedCandidateIds: z.ZodArray<z.ZodString>;
923
+ reasonCodes: z.ZodArray<z.ZodString>;
924
+ }, z.core.$strict>;
925
+ decisionDigest: z.ZodString;
926
+ artifactDigest: z.ZodString;
927
+ adapter: z.ZodDiscriminatedUnion<[z.ZodObject<{
928
+ kind: z.ZodLiteral<"node-test">;
929
+ }, z.core.$strict>, z.ZodObject<{
930
+ kind: z.ZodLiteral<"testforge-command">;
931
+ protocolVersion: z.ZodLiteral<"1.0.0">;
932
+ }, z.core.$strict>], "kind">;
933
+ limitations: z.ZodArray<z.ZodString>;
934
+ schemaVersion: z.ZodLiteral<"2.0.0">;
935
+ evidenceContext: z.ZodObject<{
936
+ engine: z.ZodObject<{
937
+ name: z.ZodString;
938
+ version: z.ZodString;
939
+ }, z.core.$strict>;
940
+ adapter: z.ZodObject<{
941
+ name: z.ZodString;
942
+ version: z.ZodString;
943
+ configuration: z.ZodJSONSchema;
944
+ }, z.core.$strict>;
945
+ worlds: z.ZodArray<z.ZodObject<{
946
+ id: z.ZodString;
947
+ provenance: z.ZodString;
948
+ digest: z.ZodString;
949
+ }, z.core.$strict>>;
950
+ execution: z.ZodObject<{
951
+ isolation: z.ZodString;
952
+ environmentAllowlist: z.ZodArray<z.ZodString>;
953
+ budgets: z.ZodJSONSchema;
954
+ candidateRoots: z.ZodArray<z.ZodString>;
955
+ backend: z.ZodDiscriminatedUnion<[z.ZodObject<{
956
+ kind: z.ZodLiteral<"trusted-local">;
957
+ level: z.ZodLiteral<"UNSANDBOXED">;
958
+ }, z.core.$strict>, z.ZodObject<{
959
+ kind: z.ZodLiteral<"container">;
960
+ level: z.ZodLiteral<"CONTAINER">;
961
+ image: z.ZodObject<{
962
+ reference: z.ZodString;
963
+ id: z.ZodString;
964
+ os: z.ZodLiteral<"linux">;
965
+ architecture: z.ZodString;
966
+ }, z.core.$strict>;
967
+ runtime: z.ZodObject<{
968
+ clientVersion: z.ZodString;
969
+ serverVersion: z.ZodString;
970
+ serverOs: z.ZodLiteral<"linux">;
971
+ serverArchitecture: z.ZodString;
972
+ cgroupVersion: z.ZodString;
973
+ securityOptions: z.ZodArray<z.ZodString>;
974
+ }, z.core.$strict>;
975
+ controls: z.ZodObject<{
976
+ network: z.ZodLiteral<"none">;
977
+ rootFilesystem: z.ZodLiteral<"read-only">;
978
+ hostMounts: z.ZodLiteral<"none">;
979
+ workspace: z.ZodLiteral<"anonymous-volume">;
980
+ user: z.ZodLiteral<"65534:65534">;
981
+ capabilities: z.ZodLiteral<"none">;
982
+ noNewPrivileges: z.ZodLiteral<true>;
983
+ imagePull: z.ZodLiteral<"never">;
984
+ logDriver: z.ZodLiteral<"none">;
985
+ environment: z.ZodArray<z.ZodObject<{
986
+ name: z.ZodString;
987
+ value: z.ZodString;
988
+ }, z.core.$strict>>;
989
+ limits: z.ZodObject<{
990
+ memoryBytes: z.ZodInt;
991
+ cpuMillicores: z.ZodInt;
992
+ pids: z.ZodInt;
993
+ temporaryDirectoryBytes: z.ZodInt;
994
+ }, z.core.$strict>;
995
+ }, z.core.$strict>;
996
+ }, z.core.$strict>], "kind">;
997
+ }, z.core.$strict>;
998
+ }, z.core.$strict>;
999
+ isolation: z.ZodDiscriminatedUnion<[z.ZodObject<{
1000
+ kind: z.ZodLiteral<"trusted-local">;
1001
+ level: z.ZodLiteral<"UNSANDBOXED">;
1002
+ acknowledgedUnsafeExecution: z.ZodLiteral<true>;
1003
+ }, z.core.$strict>, z.ZodObject<{
1004
+ kind: z.ZodLiteral<"container">;
1005
+ level: z.ZodLiteral<"CONTAINER">;
1006
+ runtimeCommand: z.ZodArray<z.ZodString>;
1007
+ }, z.core.$strict>], "kind">;
1008
+ }, z.core.$strict>;
693
1009
  export declare const ReplayResultSchema: z.ZodObject<{
694
1010
  valid: z.ZodBoolean;
695
1011
  schemaValid: z.ZodBoolean;
@@ -3780,11 +4096,615 @@ export declare const AgenticCorpusExperimentReplayResultSchema: z.ZodObject<{
3780
4096
  observationSemanticsValid: z.ZodBoolean;
3781
4097
  resultSemanticsValid: z.ZodBoolean;
3782
4098
  }, z.core.$strict>;
4099
+ export declare const EvidenceProviderManifestSchema: z.ZodObject<{
4100
+ schemaVersion: z.ZodLiteral<"1.0.0">;
4101
+ provider: z.ZodObject<{
4102
+ name: z.ZodLiteral<"assertledger">;
4103
+ version: z.ZodString;
4104
+ sourceRevision: z.ZodDiscriminatedUnion<[z.ZodObject<{
4105
+ status: z.ZodLiteral<"RECORDED">;
4106
+ commit: z.ZodString;
4107
+ worktree: z.ZodEnum<{
4108
+ CLEAN: "CLEAN";
4109
+ DIRTY: "DIRTY";
4110
+ }>;
4111
+ }, z.core.$strict>, z.ZodObject<{
4112
+ status: z.ZodLiteral<"UNKNOWN">;
4113
+ }, z.core.$strict>], "status">;
4114
+ }, z.core.$strict>;
4115
+ scope: z.ZodString;
4116
+ formats: z.ZodObject<{
4117
+ accepts: z.ZodArray<z.ZodObject<{
4118
+ schemaId: z.ZodString;
4119
+ schemaVersion: z.ZodString;
4120
+ }, z.core.$strict>>;
4121
+ emits: z.ZodArray<z.ZodObject<{
4122
+ schemaId: z.ZodString;
4123
+ schemaVersion: z.ZodString;
4124
+ }, z.core.$strict>>;
4125
+ }, z.core.$strict>;
4126
+ capabilities: z.ZodArray<z.ZodObject<{
4127
+ id: z.ZodString;
4128
+ status: z.ZodEnum<{
4129
+ SUPPORTED: "SUPPORTED";
4130
+ SUPPORTED_WHEN_RECORDED: "SUPPORTED_WHEN_RECORDED";
4131
+ UNSUPPORTED: "UNSUPPORTED";
4132
+ }>;
4133
+ modality: z.ZodEnum<{
4134
+ NONE: "NONE";
4135
+ RECORDED_METADATA: "RECORDED_METADATA";
4136
+ TEST_OBSERVED: "TEST_OBSERVED";
4137
+ }>;
4138
+ description: z.ZodString;
4139
+ }, z.core.$strict>>;
4140
+ adapters: z.ZodArray<z.ZodObject<{
4141
+ kind: z.ZodEnum<{
4142
+ "node-test": "node-test";
4143
+ "testforge-command": "testforge-command";
4144
+ }>;
4145
+ profileId: z.ZodNullable<z.ZodString>;
4146
+ profileVersion: z.ZodNullable<z.ZodString>;
4147
+ official: z.ZodBoolean;
4148
+ }, z.core.$strict>>;
4149
+ cost: z.ZodObject<{
4150
+ unit: z.ZodLiteral<"PROCESS_EXECUTIONS">;
4151
+ estimate: z.ZodString;
4152
+ assumptions: z.ZodArray<z.ZodString>;
4153
+ }, z.core.$strict>;
4154
+ limits: z.ZodArray<z.ZodString>;
4155
+ manifestDigest: z.ZodString;
4156
+ }, z.core.$strict>;
4157
+ export declare const EvidenceExportRequestSchema: z.ZodObject<{
4158
+ schemaVersion: z.ZodLiteral<"1.0.0">;
4159
+ manifest: z.ZodObject<{
4160
+ schemaVersion: z.ZodLiteral<"1.0.0">;
4161
+ repositoryDigest: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"invalid">]>;
4162
+ evidenceContext: z.ZodObject<{
4163
+ engine: z.ZodObject<{
4164
+ name: z.ZodString;
4165
+ version: z.ZodString;
4166
+ }, z.core.$strict>;
4167
+ adapter: z.ZodObject<{
4168
+ name: z.ZodString;
4169
+ version: z.ZodString;
4170
+ configuration: z.ZodJSONSchema;
4171
+ }, z.core.$strict>;
4172
+ execution: z.ZodObject<{
4173
+ isolation: z.ZodString;
4174
+ environmentAllowlist: z.ZodArray<z.ZodString>;
4175
+ budgets: z.ZodJSONSchema;
4176
+ candidateRoots: z.ZodArray<z.ZodString>;
4177
+ }, z.core.$strict>;
4178
+ worlds: z.ZodArray<z.ZodObject<{
4179
+ id: z.ZodString;
4180
+ provenance: z.ZodString;
4181
+ digest: z.ZodString;
4182
+ }, z.core.$strict>>;
4183
+ }, z.core.$strict>;
4184
+ policy: z.ZodUnion<readonly [z.ZodObject<{
4185
+ policyVersion: z.ZodLiteral<"1.0.0">;
4186
+ requiredAttempts: z.ZodInt;
4187
+ minimumTargetWeightPermille: z.ZodInt;
4188
+ maximumSelectedCandidates: z.ZodInt;
4189
+ acceptedTargetOutcomes: z.ZodArray<z.ZodLiteral<"ASSERTION_FAILURE">>;
4190
+ }, z.core.$strict>, z.ZodObject<{
4191
+ policyVersion: z.ZodLiteral<"invalid">;
4192
+ requiredAttempts: z.ZodLiteral<1>;
4193
+ minimumTargetWeightPermille: z.ZodLiteral<1000>;
4194
+ maximumSelectedCandidates: z.ZodLiteral<0>;
4195
+ acceptedTargetOutcomes: z.ZodArray<z.ZodLiteral<"ASSERTION_FAILURE">>;
4196
+ }, z.core.$strict>]>;
4197
+ worlds: z.ZodArray<z.ZodObject<{
4198
+ id: z.ZodString;
4199
+ kind: z.ZodEnum<{
4200
+ NEUTRAL: "NEUTRAL";
4201
+ REFERENCE: "REFERENCE";
4202
+ TARGET: "TARGET";
4203
+ }>;
4204
+ required: z.ZodBoolean;
4205
+ weight: z.ZodInt;
4206
+ }, z.core.$strict>>;
4207
+ candidates: z.ZodArray<z.ZodObject<{
4208
+ id: z.ZodString;
4209
+ digest: z.ZodString;
4210
+ sizeBytes: z.ZodInt;
4211
+ status: z.ZodEnum<{
4212
+ ELIGIBLE: "ELIGIBLE";
4213
+ INCONCLUSIVE: "INCONCLUSIVE";
4214
+ INVALID: "INVALID";
4215
+ UNSTABLE: "UNSTABLE";
4216
+ WEAK_ORACLE: "WEAK_ORACLE";
4217
+ }>;
4218
+ killedTargetIds: z.ZodArray<z.ZodString>;
4219
+ targetWeightKilled: z.ZodInt;
4220
+ gates: z.ZodArray<z.ZodObject<{
4221
+ name: z.ZodEnum<{
4222
+ COMPLETENESS: "COMPLETENESS";
4223
+ DISCOVERY: "DISCOVERY";
4224
+ NEUTRAL: "NEUTRAL";
4225
+ REFERENCE: "REFERENCE";
4226
+ STABILITY: "STABILITY";
4227
+ TARGET_STRENGTH: "TARGET_STRENGTH";
4228
+ }>;
4229
+ status: z.ZodEnum<{
4230
+ FAILED: "FAILED";
4231
+ NOT_RUN: "NOT_RUN";
4232
+ PASSED: "PASSED";
4233
+ }>;
4234
+ evidenceRunIds: z.ZodArray<z.ZodString>;
4235
+ reasonCodes: z.ZodArray<z.ZodString>;
4236
+ }, z.core.$strict>>;
4237
+ reasonCodes: z.ZodArray<z.ZodString>;
4238
+ }, z.core.$strict>>;
4239
+ observations: z.ZodArray<z.ZodObject<{
4240
+ runId: z.ZodString;
4241
+ candidateId: z.ZodNullable<z.ZodString>;
4242
+ worldId: z.ZodString;
4243
+ attempt: z.ZodInt;
4244
+ outcome: z.ZodEnum<{
4245
+ ASSERTION_FAILURE: "ASSERTION_FAILURE";
4246
+ COLLECTION_FAILURE: "COLLECTION_FAILURE";
4247
+ COMPILE_FAILURE: "COMPILE_FAILURE";
4248
+ INFRA_ERROR: "INFRA_ERROR";
4249
+ NO_TEST_DISCOVERED: "NO_TEST_DISCOVERED";
4250
+ PASS: "PASS";
4251
+ PROCESS_CRASH: "PROCESS_CRASH";
4252
+ TIMEOUT: "TIMEOUT";
4253
+ }>;
4254
+ testsDiscovered: z.ZodInt;
4255
+ candidateTestsDiscovered: z.ZodInt;
4256
+ attributed: z.ZodBoolean;
4257
+ durationMs: z.ZodOptional<z.ZodNumber>;
4258
+ exitCode: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4259
+ stdoutDigest: z.ZodOptional<z.ZodString>;
4260
+ stderrDigest: z.ZodOptional<z.ZodString>;
4261
+ }, z.core.$strict>>;
4262
+ decision: z.ZodObject<{
4263
+ status: z.ZodEnum<{
4264
+ ENGINE_ERROR: "ENGINE_ERROR";
4265
+ INCONCLUSIVE: "INCONCLUSIVE";
4266
+ REJECTED: "REJECTED";
4267
+ VERIFIED: "VERIFIED";
4268
+ }>;
4269
+ selectedCandidateIds: z.ZodArray<z.ZodString>;
4270
+ reasonCodes: z.ZodArray<z.ZodString>;
4271
+ }, z.core.$strict>;
4272
+ decisionDigest: z.ZodString;
4273
+ artifactDigest: z.ZodString;
4274
+ adapter: z.ZodDiscriminatedUnion<[z.ZodObject<{
4275
+ kind: z.ZodLiteral<"node-test">;
4276
+ }, z.core.$strict>, z.ZodObject<{
4277
+ kind: z.ZodLiteral<"testforge-command">;
4278
+ protocolVersion: z.ZodLiteral<"1.0.0">;
4279
+ }, z.core.$strict>], "kind">;
4280
+ isolation: z.ZodObject<{
4281
+ kind: z.ZodLiteral<"trusted-local">;
4282
+ level: z.ZodLiteral<"UNSANDBOXED">;
4283
+ acknowledgedUnsafeExecution: z.ZodLiteral<true>;
4284
+ }, z.core.$strict>;
4285
+ limitations: z.ZodArray<z.ZodString>;
4286
+ }, z.core.$strict>;
4287
+ consumerRequest: z.ZodNullable<z.ZodObject<{
4288
+ reference: z.ZodNullable<z.ZodString>;
4289
+ profileId: z.ZodNullable<z.ZodString>;
4290
+ obligations: z.ZodArray<z.ZodObject<{
4291
+ id: z.ZodString;
4292
+ control: z.ZodString;
4293
+ }, z.core.$strict>>;
4294
+ }, z.core.$strict>>;
4295
+ }, z.core.$strict>;
4296
+ export declare const EvidenceExportSchema: z.ZodObject<{
4297
+ schemaVersion: z.ZodLiteral<"1.0.0">;
4298
+ sourceManifest: z.ZodObject<{
4299
+ schemaVersion: z.ZodLiteral<"1.0.0">;
4300
+ repositoryDigest: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"invalid">]>;
4301
+ evidenceContext: z.ZodObject<{
4302
+ engine: z.ZodObject<{
4303
+ name: z.ZodString;
4304
+ version: z.ZodString;
4305
+ }, z.core.$strict>;
4306
+ adapter: z.ZodObject<{
4307
+ name: z.ZodString;
4308
+ version: z.ZodString;
4309
+ configuration: z.ZodJSONSchema;
4310
+ }, z.core.$strict>;
4311
+ execution: z.ZodObject<{
4312
+ isolation: z.ZodString;
4313
+ environmentAllowlist: z.ZodArray<z.ZodString>;
4314
+ budgets: z.ZodJSONSchema;
4315
+ candidateRoots: z.ZodArray<z.ZodString>;
4316
+ }, z.core.$strict>;
4317
+ worlds: z.ZodArray<z.ZodObject<{
4318
+ id: z.ZodString;
4319
+ provenance: z.ZodString;
4320
+ digest: z.ZodString;
4321
+ }, z.core.$strict>>;
4322
+ }, z.core.$strict>;
4323
+ policy: z.ZodUnion<readonly [z.ZodObject<{
4324
+ policyVersion: z.ZodLiteral<"1.0.0">;
4325
+ requiredAttempts: z.ZodInt;
4326
+ minimumTargetWeightPermille: z.ZodInt;
4327
+ maximumSelectedCandidates: z.ZodInt;
4328
+ acceptedTargetOutcomes: z.ZodArray<z.ZodLiteral<"ASSERTION_FAILURE">>;
4329
+ }, z.core.$strict>, z.ZodObject<{
4330
+ policyVersion: z.ZodLiteral<"invalid">;
4331
+ requiredAttempts: z.ZodLiteral<1>;
4332
+ minimumTargetWeightPermille: z.ZodLiteral<1000>;
4333
+ maximumSelectedCandidates: z.ZodLiteral<0>;
4334
+ acceptedTargetOutcomes: z.ZodArray<z.ZodLiteral<"ASSERTION_FAILURE">>;
4335
+ }, z.core.$strict>]>;
4336
+ worlds: z.ZodArray<z.ZodObject<{
4337
+ id: z.ZodString;
4338
+ kind: z.ZodEnum<{
4339
+ NEUTRAL: "NEUTRAL";
4340
+ REFERENCE: "REFERENCE";
4341
+ TARGET: "TARGET";
4342
+ }>;
4343
+ required: z.ZodBoolean;
4344
+ weight: z.ZodInt;
4345
+ }, z.core.$strict>>;
4346
+ candidates: z.ZodArray<z.ZodObject<{
4347
+ id: z.ZodString;
4348
+ digest: z.ZodString;
4349
+ sizeBytes: z.ZodInt;
4350
+ status: z.ZodEnum<{
4351
+ ELIGIBLE: "ELIGIBLE";
4352
+ INCONCLUSIVE: "INCONCLUSIVE";
4353
+ INVALID: "INVALID";
4354
+ UNSTABLE: "UNSTABLE";
4355
+ WEAK_ORACLE: "WEAK_ORACLE";
4356
+ }>;
4357
+ killedTargetIds: z.ZodArray<z.ZodString>;
4358
+ targetWeightKilled: z.ZodInt;
4359
+ gates: z.ZodArray<z.ZodObject<{
4360
+ name: z.ZodEnum<{
4361
+ COMPLETENESS: "COMPLETENESS";
4362
+ DISCOVERY: "DISCOVERY";
4363
+ NEUTRAL: "NEUTRAL";
4364
+ REFERENCE: "REFERENCE";
4365
+ STABILITY: "STABILITY";
4366
+ TARGET_STRENGTH: "TARGET_STRENGTH";
4367
+ }>;
4368
+ status: z.ZodEnum<{
4369
+ FAILED: "FAILED";
4370
+ NOT_RUN: "NOT_RUN";
4371
+ PASSED: "PASSED";
4372
+ }>;
4373
+ evidenceRunIds: z.ZodArray<z.ZodString>;
4374
+ reasonCodes: z.ZodArray<z.ZodString>;
4375
+ }, z.core.$strict>>;
4376
+ reasonCodes: z.ZodArray<z.ZodString>;
4377
+ }, z.core.$strict>>;
4378
+ observations: z.ZodArray<z.ZodObject<{
4379
+ runId: z.ZodString;
4380
+ candidateId: z.ZodNullable<z.ZodString>;
4381
+ worldId: z.ZodString;
4382
+ attempt: z.ZodInt;
4383
+ outcome: z.ZodEnum<{
4384
+ ASSERTION_FAILURE: "ASSERTION_FAILURE";
4385
+ COLLECTION_FAILURE: "COLLECTION_FAILURE";
4386
+ COMPILE_FAILURE: "COMPILE_FAILURE";
4387
+ INFRA_ERROR: "INFRA_ERROR";
4388
+ NO_TEST_DISCOVERED: "NO_TEST_DISCOVERED";
4389
+ PASS: "PASS";
4390
+ PROCESS_CRASH: "PROCESS_CRASH";
4391
+ TIMEOUT: "TIMEOUT";
4392
+ }>;
4393
+ testsDiscovered: z.ZodInt;
4394
+ candidateTestsDiscovered: z.ZodInt;
4395
+ attributed: z.ZodBoolean;
4396
+ durationMs: z.ZodOptional<z.ZodNumber>;
4397
+ exitCode: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4398
+ stdoutDigest: z.ZodOptional<z.ZodString>;
4399
+ stderrDigest: z.ZodOptional<z.ZodString>;
4400
+ }, z.core.$strict>>;
4401
+ decision: z.ZodObject<{
4402
+ status: z.ZodEnum<{
4403
+ ENGINE_ERROR: "ENGINE_ERROR";
4404
+ INCONCLUSIVE: "INCONCLUSIVE";
4405
+ REJECTED: "REJECTED";
4406
+ VERIFIED: "VERIFIED";
4407
+ }>;
4408
+ selectedCandidateIds: z.ZodArray<z.ZodString>;
4409
+ reasonCodes: z.ZodArray<z.ZodString>;
4410
+ }, z.core.$strict>;
4411
+ decisionDigest: z.ZodString;
4412
+ artifactDigest: z.ZodString;
4413
+ adapter: z.ZodDiscriminatedUnion<[z.ZodObject<{
4414
+ kind: z.ZodLiteral<"node-test">;
4415
+ }, z.core.$strict>, z.ZodObject<{
4416
+ kind: z.ZodLiteral<"testforge-command">;
4417
+ protocolVersion: z.ZodLiteral<"1.0.0">;
4418
+ }, z.core.$strict>], "kind">;
4419
+ isolation: z.ZodObject<{
4420
+ kind: z.ZodLiteral<"trusted-local">;
4421
+ level: z.ZodLiteral<"UNSANDBOXED">;
4422
+ acknowledgedUnsafeExecution: z.ZodLiteral<true>;
4423
+ }, z.core.$strict>;
4424
+ limitations: z.ZodArray<z.ZodString>;
4425
+ }, z.core.$strict>;
4426
+ sourceArtifactDigest: z.ZodString;
4427
+ consumerRequest: z.ZodNullable<z.ZodObject<{
4428
+ reference: z.ZodNullable<z.ZodString>;
4429
+ profileId: z.ZodNullable<z.ZodString>;
4430
+ obligations: z.ZodArray<z.ZodObject<{
4431
+ id: z.ZodString;
4432
+ control: z.ZodString;
4433
+ }, z.core.$strict>>;
4434
+ }, z.core.$strict>>;
4435
+ result: z.ZodObject<{
4436
+ detection: z.ZodEnum<{
4437
+ NOT_ESTABLISHED: "NOT_ESTABLISHED";
4438
+ NOT_OBSERVED: "NOT_OBSERVED";
4439
+ OBSERVED: "OBSERVED";
4440
+ }>;
4441
+ modality: z.ZodEnum<{
4442
+ NONE: "NONE";
4443
+ TEST_OBSERVED: "TEST_OBSERVED";
4444
+ }>;
4445
+ reasonCode: z.ZodEnum<{
4446
+ CANDIDATE_EVIDENCE_INCONCLUSIVE: "CANDIDATE_EVIDENCE_INCONCLUSIVE";
4447
+ CANDIDATE_EVIDENCE_INVALID: "CANDIDATE_EVIDENCE_INVALID";
4448
+ CONTROL_EVIDENCE_INVALID: "CONTROL_EVIDENCE_INVALID";
4449
+ ENGINE_ERROR: "ENGINE_ERROR";
4450
+ OPERATIONAL_OUTCOME_NOT_DETECTION: "OPERATIONAL_OUTCOME_NOT_DETECTION";
4451
+ REGRESSION_ASSERTION_OBSERVED: "REGRESSION_ASSERTION_OBSERVED";
4452
+ TARGET_PASSED_WITHOUT_DETECTION: "TARGET_PASSED_WITHOUT_DETECTION";
4453
+ TARGET_STRENGTH_INSUFFICIENT: "TARGET_STRENGTH_INSUFFICIENT";
4454
+ }>;
4455
+ decision: z.ZodObject<{
4456
+ status: z.ZodEnum<{
4457
+ ENGINE_ERROR: "ENGINE_ERROR";
4458
+ INCONCLUSIVE: "INCONCLUSIVE";
4459
+ REJECTED: "REJECTED";
4460
+ VERIFIED: "VERIFIED";
4461
+ }>;
4462
+ selectedCandidateIds: z.ZodArray<z.ZodString>;
4463
+ reasonCodes: z.ZodArray<z.ZodString>;
4464
+ }, z.core.$strict>;
4465
+ candidates: z.ZodArray<z.ZodObject<{
4466
+ id: z.ZodString;
4467
+ digest: z.ZodString;
4468
+ status: z.ZodEnum<{
4469
+ ELIGIBLE: "ELIGIBLE";
4470
+ INCONCLUSIVE: "INCONCLUSIVE";
4471
+ INVALID: "INVALID";
4472
+ UNSTABLE: "UNSTABLE";
4473
+ WEAK_ORACLE: "WEAK_ORACLE";
4474
+ }>;
4475
+ selected: z.ZodBoolean;
4476
+ reasonCodes: z.ZodArray<z.ZodString>;
4477
+ worlds: z.ZodArray<z.ZodObject<{
4478
+ worldId: z.ZodString;
4479
+ kind: z.ZodEnum<{
4480
+ NEUTRAL: "NEUTRAL";
4481
+ REFERENCE: "REFERENCE";
4482
+ TARGET: "TARGET";
4483
+ }>;
4484
+ required: z.ZodBoolean;
4485
+ weight: z.ZodInt;
4486
+ outcome: z.ZodEnum<{
4487
+ ASSERTION_FAILURE: "ASSERTION_FAILURE";
4488
+ COLLECTION_FAILURE: "COLLECTION_FAILURE";
4489
+ COMPILE_FAILURE: "COMPILE_FAILURE";
4490
+ DIVERGENT: "DIVERGENT";
4491
+ INFRA_ERROR: "INFRA_ERROR";
4492
+ MISSING: "MISSING";
4493
+ NO_TEST_DISCOVERED: "NO_TEST_DISCOVERED";
4494
+ PASS: "PASS";
4495
+ PROCESS_CRASH: "PROCESS_CRASH";
4496
+ TIMEOUT: "TIMEOUT";
4497
+ }>;
4498
+ attempts: z.ZodInt;
4499
+ signal: z.ZodEnum<{
4500
+ GREEN: "GREEN";
4501
+ NONE: "NONE";
4502
+ RED: "RED";
4503
+ }>;
4504
+ detection: z.ZodEnum<{
4505
+ NOT_APPLICABLE: "NOT_APPLICABLE";
4506
+ NOT_ESTABLISHED: "NOT_ESTABLISHED";
4507
+ NOT_OBSERVED: "NOT_OBSERVED";
4508
+ OBSERVED: "OBSERVED";
4509
+ }>;
4510
+ }, z.core.$strict>>;
4511
+ }, z.core.$strict>>;
4512
+ }, z.core.$strict>;
4513
+ integrity: z.ZodObject<{
4514
+ sourceReplay: z.ZodLiteral<"VALID">;
4515
+ verifiedRails: z.ZodTuple<[z.ZodLiteral<"SCHEMA">, z.ZodLiteral<"DECISION_DIGEST">, z.ZodLiteral<"ARTIFACT_DIGEST">, z.ZodLiteral<"DECISION_SEMANTICS">], null>;
4516
+ bindings: z.ZodObject<{
4517
+ artifactDigest: z.ZodString;
4518
+ decisionDigest: z.ZodString;
4519
+ repositoryDigest: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"invalid">]>;
4520
+ policyDigest: z.ZodString;
4521
+ worldDigests: z.ZodArray<z.ZodObject<{
4522
+ worldId: z.ZodString;
4523
+ digest: z.ZodString;
4524
+ }, z.core.$strict>>;
4525
+ }, z.core.$strict>;
4526
+ }, z.core.$strict>;
4527
+ authenticity: z.ZodObject<{
4528
+ status: z.ZodLiteral<"UNAUTHENTICATED">;
4529
+ attestation: z.ZodLiteral<"NONE">;
4530
+ declaredProducer: z.ZodObject<{
4531
+ name: z.ZodString;
4532
+ version: z.ZodString;
4533
+ }, z.core.$strict>;
4534
+ }, z.core.$strict>;
4535
+ environment: z.ZodObject<{
4536
+ isolation: z.ZodObject<{
4537
+ kind: z.ZodLiteral<"trusted-local">;
4538
+ level: z.ZodLiteral<"UNSANDBOXED">;
4539
+ }, z.core.$strict>;
4540
+ environmentAllowlist: z.ZodArray<z.ZodString>;
4541
+ adapter: z.ZodObject<{
4542
+ kind: z.ZodEnum<{
4543
+ "node-test": "node-test";
4544
+ "testforge-command": "testforge-command";
4545
+ }>;
4546
+ name: z.ZodString;
4547
+ version: z.ZodString;
4548
+ framework: z.ZodDiscriminatedUnion<[z.ZodObject<{
4549
+ status: z.ZodLiteral<"RECORDED">;
4550
+ profileId: z.ZodString;
4551
+ profileVersion: z.ZodString;
4552
+ official: z.ZodBoolean;
4553
+ nodeVersion: z.ZodNullable<z.ZodString>;
4554
+ executableDigest: z.ZodNullable<z.ZodString>;
4555
+ }, z.core.$strict>, z.ZodObject<{
4556
+ status: z.ZodLiteral<"UNKNOWN">;
4557
+ }, z.core.$strict>], "status">;
4558
+ }, z.core.$strict>;
4559
+ }, z.core.$strict>;
4560
+ confidence: z.ZodObject<{
4561
+ level: z.ZodLiteral<"REPLAY_CONSISTENT_UNAUTHENTICATED">;
4562
+ established: z.ZodArray<z.ZodEnum<{
4563
+ ARTIFACT_DIGEST_RECOMPUTED: "ARTIFACT_DIGEST_RECOMPUTED";
4564
+ DECISION_DIGEST_RECOMPUTED: "DECISION_DIGEST_RECOMPUTED";
4565
+ DECISION_RECOMPUTED_FROM_RECORDED_OBSERVATIONS: "DECISION_RECOMPUTED_FROM_RECORDED_OBSERVATIONS";
4566
+ SOURCE_SCHEMA_VALID: "SOURCE_SCHEMA_VALID";
4567
+ }>>;
4568
+ notEstablished: z.ZodArray<z.ZodEnum<{
4569
+ EXECUTION_FRESHNESS: "EXECUTION_FRESHNESS";
4570
+ EXECUTION_ISOLATION: "EXECUTION_ISOLATION";
4571
+ OBSERVATION_TRUTHFULNESS: "OBSERVATION_TRUTHFULNESS";
4572
+ PRODUCER_AUTHENTICITY: "PRODUCER_AUTHENTICITY";
4573
+ WORLD_SEMANTIC_RELEVANCE: "WORLD_SEMANTIC_RELEVANCE";
4574
+ }>>;
4575
+ }, z.core.$strict>;
4576
+ scope: z.ZodObject<{
4577
+ requiredAttempts: z.ZodInt;
4578
+ candidates: z.ZodInt;
4579
+ observations: z.ZodInt;
4580
+ gitRevisions: z.ZodEnum<{
4581
+ NOT_RECORDED: "NOT_RECORDED";
4582
+ PARTIAL: "PARTIAL";
4583
+ RECORDED: "RECORDED";
4584
+ }>;
4585
+ worlds: z.ZodArray<z.ZodObject<{
4586
+ id: z.ZodString;
4587
+ kind: z.ZodEnum<{
4588
+ NEUTRAL: "NEUTRAL";
4589
+ REFERENCE: "REFERENCE";
4590
+ TARGET: "TARGET";
4591
+ }>;
4592
+ required: z.ZodBoolean;
4593
+ weight: z.ZodInt;
4594
+ digest: z.ZodString;
4595
+ declaredProvenance: z.ZodString;
4596
+ git: z.ZodNullable<z.ZodObject<{
4597
+ role: z.ZodEnum<{
4598
+ neutral: "neutral";
4599
+ reference: "reference";
4600
+ target: "target";
4601
+ }>;
4602
+ commit: z.ZodString;
4603
+ tree: z.ZodString;
4604
+ objectFormat: z.ZodEnum<{
4605
+ sha1: "sha1";
4606
+ sha256: "sha256";
4607
+ }>;
4608
+ }, z.core.$strict>>;
4609
+ }, z.core.$strict>>;
4610
+ }, z.core.$strict>;
4611
+ controls: z.ZodObject<{
4612
+ executed: z.ZodArray<z.ZodObject<{
4613
+ control: z.ZodEnum<{
4614
+ CONTROL_WITHOUT_CANDIDATE: "CONTROL_WITHOUT_CANDIDATE";
4615
+ NEUTRAL_PASS: "NEUTRAL_PASS";
4616
+ REFERENCE_PASS: "REFERENCE_PASS";
4617
+ REGRESSION_DETECTION: "REGRESSION_DETECTION";
4618
+ STABILITY_REPETITION: "STABILITY_REPETITION";
4619
+ }>;
4620
+ status: z.ZodEnum<{
4621
+ EXECUTED: "EXECUTED";
4622
+ NOT_EXECUTED: "NOT_EXECUTED";
4623
+ }>;
4624
+ observations: z.ZodInt;
4625
+ }, z.core.$strict>>;
4626
+ requested: z.ZodUnion<readonly [z.ZodObject<{
4627
+ status: z.ZodLiteral<"NOT_SUPPLIED">;
4628
+ }, z.core.$strict>, z.ZodObject<{
4629
+ status: z.ZodEnum<{
4630
+ COVERED: "COVERED";
4631
+ NOT_COVERED: "NOT_COVERED";
4632
+ NO_OBLIGATIONS: "NO_OBLIGATIONS";
4633
+ PARTIAL: "PARTIAL";
4634
+ }>;
4635
+ obligations: z.ZodArray<z.ZodObject<{
4636
+ id: z.ZodString;
4637
+ control: z.ZodString;
4638
+ coverage: z.ZodEnum<{
4639
+ EXECUTED: "EXECUTED";
4640
+ NOT_EXECUTED: "NOT_EXECUTED";
4641
+ UNSUPPORTED: "UNSUPPORTED";
4642
+ }>;
4643
+ }, z.core.$strict>>;
4644
+ }, z.core.$strict>]>;
4645
+ omittedGates: z.ZodArray<z.ZodObject<{
4646
+ candidateId: z.ZodString;
4647
+ gate: z.ZodEnum<{
4648
+ COMPLETENESS: "COMPLETENESS";
4649
+ DISCOVERY: "DISCOVERY";
4650
+ NEUTRAL: "NEUTRAL";
4651
+ REFERENCE: "REFERENCE";
4652
+ STABILITY: "STABILITY";
4653
+ TARGET_STRENGTH: "TARGET_STRENGTH";
4654
+ }>;
4655
+ reasonCodes: z.ZodArray<z.ZodString>;
4656
+ }, z.core.$strict>>;
4657
+ }, z.core.$strict>;
4658
+ profile: z.ZodUnion<readonly [z.ZodObject<{
4659
+ status: z.ZodLiteral<"NOT_REQUESTED">;
4660
+ }, z.core.$strict>, z.ZodObject<{
4661
+ status: z.ZodLiteral<"UNKNOWN_PROFILE">;
4662
+ requestedProfileId: z.ZodString;
4663
+ }, z.core.$strict>]>;
4664
+ policy: z.ZodObject<{
4665
+ policyVersion: z.ZodString;
4666
+ digest: z.ZodString;
4667
+ }, z.core.$strict>;
4668
+ cost: z.ZodObject<{
4669
+ estimated: z.ZodObject<{
4670
+ unit: z.ZodLiteral<"PROCESS_EXECUTIONS">;
4671
+ value: z.ZodInt;
4672
+ basis: z.ZodLiteral<"RECORDED_CAMPAIGN_SHAPE">;
4673
+ assumptions: z.ZodArray<z.ZodString>;
4674
+ }, z.core.$strict>;
4675
+ observed: z.ZodObject<{
4676
+ unit: z.ZodLiteral<"PROCESS_EXECUTIONS">;
4677
+ executions: z.ZodInt;
4678
+ recordedWallTimeMs: z.ZodNullable<z.ZodNumber>;
4679
+ wallTimeCoverage: z.ZodEnum<{
4680
+ COMPLETE: "COMPLETE";
4681
+ NOT_RECORDED: "NOT_RECORDED";
4682
+ PARTIAL: "PARTIAL";
4683
+ }>;
4684
+ }, z.core.$strict>;
4685
+ execution: z.ZodObject<{
4686
+ freshness: z.ZodLiteral<"UNKNOWN">;
4687
+ cache: z.ZodLiteral<"NOT_RECORDED">;
4688
+ }, z.core.$strict>;
4689
+ }, z.core.$strict>;
4690
+ limitations: z.ZodArray<z.ZodString>;
4691
+ exportDigest: z.ZodString;
4692
+ }, z.core.$strict>;
4693
+ export declare const EvidenceExportReplayResultSchema: z.ZodObject<{
4694
+ valid: z.ZodBoolean;
4695
+ schemaValid: z.ZodBoolean;
4696
+ sourceManifestValid: z.ZodBoolean;
4697
+ exportDigestValid: z.ZodBoolean;
4698
+ semanticsValid: z.ZodBoolean;
4699
+ }, z.core.$strict>;
3783
4700
  export type ObservationOutcome = z.infer<typeof ObservationOutcomeSchema>;
3784
4701
  export type FileOverlay = z.infer<typeof FileOverlaySchema>;
3785
4702
  export type World = z.infer<typeof WorldSchema>;
3786
4703
  export type Candidate = z.infer<typeof CandidateSchema>;
3787
4704
  export type VerificationRequest = z.infer<typeof VerificationRequestSchema>;
4705
+ export type VerificationRequestV2 = z.infer<typeof VerificationRequestV2Schema>;
4706
+ export type ContainerIsolation = z.infer<typeof ContainerIsolationSchema>;
4707
+ export type ContainerLimits = z.infer<typeof ContainerLimitsSchema>;
3788
4708
  export type NodeTestAdapter = z.infer<typeof NodeTestAdapterSchema>;
3789
4709
  export type StructuredCommandAdapter = z.infer<typeof StructuredCommandAdapterSchema>;
3790
4710
  export type RepositoryAnalysis = z.infer<typeof RepositoryAnalysisSchema>;
@@ -3794,6 +4714,8 @@ export type RepositoryInitLock = z.infer<typeof RepositoryInitLockSchema>;
3794
4714
  export type RepositoryInitResult = z.infer<typeof RepositoryInitResultSchema>;
3795
4715
  export type RepositoryInitDetections = z.infer<typeof RepositoryInitDetectionsSchema>;
3796
4716
  export type EvidenceManifestContract = z.infer<typeof EvidenceManifestSchema>;
4717
+ export type EvidenceManifestV2Contract = z.infer<typeof EvidenceManifestV2Schema>;
4718
+ export type ExecutionBackendRecord = z.infer<typeof ExecutionBackendRecordSchema>;
3797
4719
  export type ReplayResult = z.infer<typeof ReplayResultSchema>;
3798
4720
  export type AgenticProfilePolicy = z.infer<typeof AgenticProfilePolicySchema>;
3799
4721
  export type AgenticProfileRequest = z.infer<typeof AgenticProfileRequestSchema>;
@@ -3829,11 +4751,19 @@ export type AgenticCorpusExperimentReplayRequest = z.infer<typeof AgenticCorpusE
3829
4751
  export type AgenticCorpusExperimentReplayResult = z.infer<typeof AgenticCorpusExperimentReplayResultSchema>;
3830
4752
  export type AgenticCorpusExperimentReceipt = z.infer<typeof AgenticCorpusExperimentReceiptSchema>;
3831
4753
  export type AgenticCorpusExperimentStructuredResult = z.infer<typeof AgenticCorpusExperimentStructuredResultSchema>;
4754
+ export type EvidenceProviderManifest = z.infer<typeof EvidenceProviderManifestSchema>;
4755
+ export type EvidenceExportRequest = z.infer<typeof EvidenceExportRequestSchema>;
4756
+ export type EvidenceExport = z.infer<typeof EvidenceExportSchema>;
4757
+ export type EvidenceExportReplayResult = z.infer<typeof EvidenceExportReplayResultSchema>;
3832
4758
  export declare class ContractError extends Error {
3833
4759
  readonly code: string;
3834
4760
  constructor(code: string, detail?: string);
3835
4761
  }
3836
4762
  export declare function parseVerificationRequest(value: unknown): VerificationRequest;
4763
+ /** Parses either the frozen v1 request or the v2 request that adds container isolation. */
4764
+ export declare function parseVersionedVerificationRequest(value: unknown): VerificationRequest | VerificationRequestV2;
4765
+ /** Parses only the v2 request, which adds container isolation to the frozen v1 request. */
4766
+ export declare function parseVerificationRequestV2(value: unknown): VerificationRequestV2;
3837
4767
  export declare function parseRepositoryAnalysis(value: unknown): RepositoryAnalysis;
3838
4768
  export declare function parseRepositoryAudit(value: unknown): RepositoryAudit;
3839
4769
  export declare function parseRepositoryInitConfig(value: unknown): RepositoryInitConfig;
@@ -3842,6 +4772,9 @@ export declare function repositoryInitLockDigest(lock: Omit<RepositoryInitLock,
3842
4772
  export declare function parseRepositoryInitLock(value: unknown): RepositoryInitLock;
3843
4773
  export declare function parseRepositoryInitResult(value: unknown): RepositoryInitResult;
3844
4774
  export declare function parseEvidenceManifest(value: unknown): EvidenceManifestContract;
4775
+ export declare function parseEvidenceManifestV2(value: unknown): EvidenceManifestV2Contract;
4776
+ /** Parses either a frozen v1 manifest or a v2 manifest with an execution backend record. */
4777
+ export declare function parseVersionedEvidenceManifest(value: unknown): EvidenceManifestContract | EvidenceManifestV2Contract;
3845
4778
  export declare function parseReplayResult(value: unknown): ReplayResult;
3846
4779
  export declare function parseAgenticProfileRequest(value: unknown): AgenticProfileRequest;
3847
4780
  export declare function parseAgenticProfileReport(value: unknown): AgenticProfileReport;
@@ -3871,6 +4804,10 @@ export declare function parseAgenticCorpusExperimentReplayRequest(value: unknown
3871
4804
  export declare function parseAgenticCorpusExperimentReplayResult(value: unknown): AgenticCorpusExperimentReplayResult;
3872
4805
  export declare function parseAgenticCorpusExperimentReceipt(value: unknown): AgenticCorpusExperimentReceipt;
3873
4806
  export declare function parseAgenticCorpusExperimentStructuredResult(value: unknown): AgenticCorpusExperimentStructuredResult;
4807
+ export declare function parseEvidenceProviderManifest(value: unknown): EvidenceProviderManifest;
4808
+ export declare function parseEvidenceExportRequest(value: unknown): EvidenceExportRequest;
4809
+ export declare function parseEvidenceExport(value: unknown): EvidenceExport;
4810
+ export declare function parseEvidenceExportReplayResult(value: unknown): EvidenceExportReplayResult;
3874
4811
  export declare function verificationRequestJsonSchema(): Record<string, unknown>;
3875
4812
  export declare function repositoryAnalysisJsonSchema(): Record<string, unknown>;
3876
4813
  export declare function repositoryAuditJsonSchema(): Record<string, unknown>;
@@ -3878,6 +4815,8 @@ export declare function repositoryInitConfigJsonSchema(): Record<string, unknown
3878
4815
  export declare function repositoryInitLockJsonSchema(): Record<string, unknown>;
3879
4816
  export declare function repositoryInitResultJsonSchema(): Record<string, unknown>;
3880
4817
  export declare function evidenceManifestJsonSchema(): Record<string, unknown>;
4818
+ export declare function verificationRequestV2JsonSchema(): Record<string, unknown>;
4819
+ export declare function evidenceManifestV2JsonSchema(): Record<string, unknown>;
3881
4820
  export declare function replayResultJsonSchema(): Record<string, unknown>;
3882
4821
  export declare function agenticProfileRequestJsonSchema(): Record<string, unknown>;
3883
4822
  export declare function agenticProfileReportJsonSchema(): Record<string, unknown>;
@@ -3905,4 +4844,8 @@ export declare function agenticCorpusExperimentRequestJsonSchema(): Record<strin
3905
4844
  export declare function agenticCorpusExperimentArtifactJsonSchema(): Record<string, unknown>;
3906
4845
  export declare function agenticCorpusExperimentReplayRequestJsonSchema(): Record<string, unknown>;
3907
4846
  export declare function agenticCorpusExperimentReplayResultJsonSchema(): Record<string, unknown>;
4847
+ export declare function evidenceProviderManifestJsonSchema(): Record<string, unknown>;
4848
+ export declare function evidenceExportRequestJsonSchema(): Record<string, unknown>;
4849
+ export declare function evidenceExportJsonSchema(): Record<string, unknown>;
4850
+ export declare function evidenceExportReplayResultJsonSchema(): Record<string, unknown>;
3908
4851
  //# sourceMappingURL=index.d.ts.map