@colophon-claims/verify 0.1.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -9
- package/dist/admission/contracts.d.ts +483 -0
- package/dist/admission/contracts.js +285 -0
- package/dist/admission/index.d.ts +2 -0
- package/dist/admission/index.js +2 -0
- package/dist/admission/prompted-commitment.d.ts +19 -0
- package/dist/admission/prompted-commitment.js +52 -0
- package/dist/admission/prompted-selection.d.ts +24 -0
- package/dist/admission/prompted-selection.js +85 -0
- package/dist/admission/verification.d.ts +17 -3
- package/dist/admission/verification.js +230 -49
- package/dist/assets.d.ts +21 -1
- package/dist/assets.js +60 -3
- package/dist/binding/beacon-binding.d.ts +230 -0
- package/dist/binding/beacon-binding.js +325 -0
- package/dist/binding/report-face.d.ts +45 -0
- package/dist/binding/report-face.js +153 -0
- package/dist/cli.js +74 -12
- package/dist/index.d.ts +14 -3
- package/dist/index.js +16 -3
- package/dist/manifest.d.ts +30 -4
- package/dist/manifest.js +30 -0
- package/dist/materialize.d.ts +7 -0
- package/dist/materialize.js +7 -0
- package/dist/outcome.d.ts +31 -0
- package/dist/outcome.js +45 -0
- package/dist/profile/binary-qualification.js +6 -0
- package/dist/profile/claim-consistency.d.ts +8 -1
- package/dist/profile/claim-consistency.js +4 -4
- package/dist/profile/claim.d.ts +203 -1
- package/dist/profile/claim.js +192 -43
- package/dist/profile/disclosure.d.ts +273 -0
- package/dist/profile/disclosure.js +240 -0
- package/dist/profile/pinning-evidence.d.ts +1 -1
- package/dist/profile/run-results.d.ts +8 -2
- package/dist/profile/run-results.js +9 -3
- package/dist/profile/task-selection.d.ts +69 -0
- package/dist/profile/task-selection.js +140 -0
- package/dist/reader-instructions.d.ts +38 -1
- package/dist/reader-instructions.js +42 -2
- package/dist/schema.d.ts +13 -2
- package/dist/schema.js +39 -8
- package/dist/signers.d.ts +48 -0
- package/dist/signers.js +77 -0
- package/dist/verify.d.ts +20 -6
- package/dist/verify.js +156 -31
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -3,19 +3,33 @@
|
|
|
3
3
|
Verify a public Colophon claim bundle without the Colophon app or any execution runtime:
|
|
4
4
|
|
|
5
5
|
```sh
|
|
6
|
-
npx @colophon-claims/verify@0.
|
|
6
|
+
npx @colophon-claims/verify@0.2 ./bundle
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
Use `--json` for machine-readable output. The reader runs the checks declared by the
|
|
10
10
|
bundle format, covering its manifest, evidence closure, calculations, report, and claim
|
|
11
|
-
consistency. Exit status is `0` when
|
|
12
|
-
`2` for usage or operational failures.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
11
|
+
consistency. Exit status is `0` when the bundle is valid for the format and profile it
|
|
12
|
+
declares, `1` for an invalid bundle, and `2` for usage or operational failures. A check a
|
|
13
|
+
profile defers is reported as deferred, never as passed, and never as a failure.
|
|
14
|
+
|
|
15
|
+
This 0.2 reader supports public bundle formats v2, v4, v5, v6, v7, and v8. It
|
|
16
|
+
intentionally rejects the unrelated accounting bundle v3. Formats v2 and v4 run six
|
|
17
|
+
checks; the evidence-native v5 and the two anchored formats, v6 and v7, run seven; the
|
|
18
|
+
disclosed v8 runs eight. The v7 format is the anchored binary-qualification closure —
|
|
19
|
+
v4's members plus v6's anchors — and v8 is v7 plus a sealed six-variable
|
|
20
|
+
disclosure-specification record and the `disclosure-specification` check. Both exist
|
|
21
|
+
only from this 0.2.1 release, so their bundles pin `@0.2.1` rather than the `@0.1` line
|
|
22
|
+
every earlier closure stamps.
|
|
23
|
+
The evidence-native v5 has two declared profiles, full-evidence and metadata-first;
|
|
24
|
+
this reader supports both. A metadata-first bundle carries the artifact digests without
|
|
25
|
+
the artifact bodies, so `artifact-integrity` reports `not fetched` rather than passing,
|
|
26
|
+
and the verdict line counts it out of the passed total. Every other check is complete.
|
|
27
|
+
Existing claim bundles retain their recorded verifier pins. Use this 0.2 reader
|
|
28
|
+
for prompted-screening v2 support and the compatible `@0.2` line for this
|
|
29
|
+
release.
|
|
30
|
+
For this release, `@jinn-network/*` is pinned to the exact
|
|
31
|
+
`0.1.0-canary.sha.0533a224cf99f06d7facf0c23455f2781a5b9e62` receipt.
|
|
32
|
+
It is not a floating `@canary` dependency and is not a stable stack release.
|
|
19
33
|
|
|
20
34
|
Verification opens no network connection, reads no account or API credential, and uploads
|
|
21
35
|
nothing. It checks the bundle's integrity, evidence closure, calculations, report, and claim
|
|
@@ -8,6 +8,13 @@ export declare const HUMAN_REVIEW_REPLACEMENT_LEDGER_PROTOCOL: "https://spec.jin
|
|
|
8
8
|
export declare const HUMAN_REVIEW_OPERATOR_ASSERTION_PROTOCOL: "https://spec.jinn.network/binary-judgment/operator-truth-assertion/v1";
|
|
9
9
|
export declare const BINARY_JUDGMENT_ADMISSION_MANIFEST_PROTOCOL: "https://spec.jinn.network/binary-judgment/admission-manifest/v1";
|
|
10
10
|
export declare const SCREENING_TABLE_PROTOCOL: "https://spec.jinn.network/binary-judgment/screening-table/v1";
|
|
11
|
+
export declare const PROMPTED_SCREENING_PROCEDURE_PROTOCOL: "https://spec.jinn.network/binary-judgment/prompted-screening-procedure/v1";
|
|
12
|
+
export declare const SCREENING_POOL_PROTOCOL: "https://spec.jinn.network/binary-judgment/screening-pool/v1";
|
|
13
|
+
export declare const SCREENING_POOL_V2_PROTOCOL: "https://spec.jinn.network/binary-judgment/screening-pool/v2";
|
|
14
|
+
export declare const SCREENING_POOL_V2_RESERVE_SELECTION_PROTOCOL: "shared-slice-first-admissible/1";
|
|
15
|
+
export declare const SCREENING_SAMPLE_COMMITMENT_PROTOCOL: "https://spec.jinn.network/binary-judgment/screening-sample-commitment/v1";
|
|
16
|
+
export declare const REGISTERED_SCREENING_SAMPLE_COMMITMENT_V1_SCHEMA: "https://colophon-claims.github.io/locomo-judge-report/sampling-commitment/v1";
|
|
17
|
+
export declare const SCREENING_TABLE_V2_PROTOCOL: "https://spec.jinn.network/binary-judgment/screening-table/v2";
|
|
11
18
|
export declare const SCREENING_REVEAL_RECEIPT_PROTOCOL: "https://spec.jinn.network/binary-judgment/screening-reveal-receipt/v1";
|
|
12
19
|
export declare const HUMAN_REVIEW_PACKET_MEDIA_TYPE: "application/vnd.jinn.binary-judgment.human-review-packet.v1+json";
|
|
13
20
|
export declare const HUMAN_REVIEW_RESPONSE_MEDIA_TYPE: "application/vnd.jinn.binary-judgment.human-review-response.v1+json";
|
|
@@ -16,6 +23,7 @@ export declare const HUMAN_REVIEW_ROSTER_MEDIA_TYPE: "application/vnd.jinn.binar
|
|
|
16
23
|
export declare const HUMAN_REVIEW_REVEAL_RECEIPT_MEDIA_TYPE: "application/vnd.jinn.binary-judgment.reveal-receipt.v1+json";
|
|
17
24
|
export declare const HUMAN_REVIEW_OPERATOR_ASSERTION_MEDIA_TYPE: "application/vnd.jinn.binary-judgment.operator-truth-assertion.v1+json";
|
|
18
25
|
export declare const SCREENING_TABLE_MEDIA_TYPE: "application/vnd.jinn.binary-judgment.screening-table.v1+json";
|
|
26
|
+
export declare const SCREENING_TABLE_V2_MEDIA_TYPE: "application/vnd.jinn.binary-judgment.screening-table.v2+json";
|
|
19
27
|
export declare const SCREENING_REVEAL_RECEIPT_MEDIA_TYPE: "application/vnd.jinn.binary-judgment.screening-reveal-receipt.v1+json";
|
|
20
28
|
export declare const HUMAN_REVIEW_OMITTED_FIELDS: readonly ["instrumentIdentity", "candidateClass", "stratum", "otherReview", "postRunOutcomes"];
|
|
21
29
|
export declare const HumanReviewPacketSchema: z.ZodObject<{
|
|
@@ -186,6 +194,479 @@ export declare const ScreeningTableSchema: z.ZodObject<{
|
|
|
186
194
|
sealedAt: z.ZodString;
|
|
187
195
|
}, z.core.$strict>;
|
|
188
196
|
export type ScreeningTable = z.infer<typeof ScreeningTableSchema>;
|
|
197
|
+
export declare const PROMPTED_SCREENING_PROFILE: "prompted-codex-screening/v1";
|
|
198
|
+
export declare const PROMPTED_SCREENING_LIMITATIONS: readonly ["prompt-compliance-not-machine-verified", "provider-execution-not-machine-verified", "transcript-provenance-not-machine-verified", "mutable-model-alias-weights-not-machine-verified"];
|
|
199
|
+
/** Closed, machine-checkable orchestration metadata. Prompt and transcript bytes stay opaque. */
|
|
200
|
+
export declare const PromptedScreeningProcedureV1Schema: z.ZodObject<{
|
|
201
|
+
protocol: z.ZodLiteral<"https://spec.jinn.network/binary-judgment/prompted-screening-procedure/v1">;
|
|
202
|
+
procedureId: z.ZodLiteral<"prompted-codex-screening/v1">;
|
|
203
|
+
coordinatorPromptSha256: z.ZodString;
|
|
204
|
+
coordinator: z.ZodObject<{
|
|
205
|
+
alias: z.ZodLiteral<"Sol">;
|
|
206
|
+
model: z.ZodLiteral<"gpt-5.6-sol">;
|
|
207
|
+
reasoningEffort: z.ZodLiteral<"high">;
|
|
208
|
+
mayOrchestrate: z.ZodLiteral<true>;
|
|
209
|
+
}, z.core.$strict>;
|
|
210
|
+
judgmentAgents: z.ZodTuple<[z.ZodObject<{
|
|
211
|
+
alias: z.ZodLiteral<"Luna">;
|
|
212
|
+
model: z.ZodLiteral<"gpt-5.6-luna">;
|
|
213
|
+
reasoningEffort: z.ZodLiteral<"medium" | "high">;
|
|
214
|
+
maxBatchSize: z.ZodLiteral<32>;
|
|
215
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
216
|
+
alias: z.ZodLiteral<"Terra">;
|
|
217
|
+
model: z.ZodLiteral<"gpt-5.6-terra">;
|
|
218
|
+
reasoningEffort: z.ZodLiteral<"medium" | "high">;
|
|
219
|
+
maxBatchSize: z.ZodLiteral<16>;
|
|
220
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
221
|
+
alias: z.ZodLiteral<"Sol">;
|
|
222
|
+
model: z.ZodLiteral<"gpt-5.6-sol">;
|
|
223
|
+
reasoningEffort: z.ZodLiteral<"medium" | "high">;
|
|
224
|
+
maxBatchSize: z.ZodLiteral<8>;
|
|
225
|
+
}, z.core.$strict>], null>;
|
|
226
|
+
toolPolicy: z.ZodObject<{
|
|
227
|
+
coordinator: z.ZodLiteral<"orchestration-only">;
|
|
228
|
+
judgmentAgents: z.ZodObject<{
|
|
229
|
+
web: z.ZodLiteral<false>;
|
|
230
|
+
shell: z.ZodLiteral<false>;
|
|
231
|
+
repository: z.ZodLiteral<false>;
|
|
232
|
+
search: z.ZodLiteral<false>;
|
|
233
|
+
}, z.core.$strict>;
|
|
234
|
+
}, z.core.$strict>;
|
|
235
|
+
output: z.ZodObject<{
|
|
236
|
+
alphabet: z.ZodTuple<[z.ZodLiteral<"CORRECT">, z.ZodLiteral<"WRONG">, z.ZodLiteral<"UNSURE">], null>;
|
|
237
|
+
invalidOutputDecision: z.ZodLiteral<"UNSURE">;
|
|
238
|
+
}, z.core.$strict>;
|
|
239
|
+
retry: z.ZodObject<{
|
|
240
|
+
maxRetries: z.ZodLiteral<1>;
|
|
241
|
+
onlyWhen: z.ZodLiteral<"infrastructure-failure-with-no-model-output">;
|
|
242
|
+
prompt: z.ZodLiteral<"identical">;
|
|
243
|
+
}, z.core.$strict>;
|
|
244
|
+
transcriptSha256: z.ZodString;
|
|
245
|
+
sealedAt: z.ZodString;
|
|
246
|
+
}, z.core.$strict>;
|
|
247
|
+
export type PromptedScreeningProcedureV1 = z.infer<typeof PromptedScreeningProcedureV1Schema>;
|
|
248
|
+
export declare const SCREENING_POOL_CANDIDATE_CLASSES: readonly ["correct", "specific-wrong", "vague-topical-wrong"];
|
|
249
|
+
export declare const SCREENING_POOL_STRATA: readonly ["category-1", "category-2", "category-3", "category-4"];
|
|
250
|
+
export declare const ScreeningPoolItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
251
|
+
itemSha256: z.ZodString;
|
|
252
|
+
intendedLabel: z.ZodEnum<{
|
|
253
|
+
CORRECT: "CORRECT";
|
|
254
|
+
WRONG: "WRONG";
|
|
255
|
+
}>;
|
|
256
|
+
candidateClass: z.ZodEnum<{
|
|
257
|
+
correct: "correct";
|
|
258
|
+
"specific-wrong": "specific-wrong";
|
|
259
|
+
"vague-topical-wrong": "vague-topical-wrong";
|
|
260
|
+
}>;
|
|
261
|
+
stratum: z.ZodEnum<{
|
|
262
|
+
"category-1": "category-1";
|
|
263
|
+
"category-2": "category-2";
|
|
264
|
+
"category-3": "category-3";
|
|
265
|
+
"category-4": "category-4";
|
|
266
|
+
}>;
|
|
267
|
+
poolPosition: z.ZodNumber;
|
|
268
|
+
slotId: z.ZodString;
|
|
269
|
+
poolKind: z.ZodLiteral<"main">;
|
|
270
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
271
|
+
itemSha256: z.ZodString;
|
|
272
|
+
intendedLabel: z.ZodEnum<{
|
|
273
|
+
CORRECT: "CORRECT";
|
|
274
|
+
WRONG: "WRONG";
|
|
275
|
+
}>;
|
|
276
|
+
candidateClass: z.ZodEnum<{
|
|
277
|
+
correct: "correct";
|
|
278
|
+
"specific-wrong": "specific-wrong";
|
|
279
|
+
"vague-topical-wrong": "vague-topical-wrong";
|
|
280
|
+
}>;
|
|
281
|
+
stratum: z.ZodEnum<{
|
|
282
|
+
"category-1": "category-1";
|
|
283
|
+
"category-2": "category-2";
|
|
284
|
+
"category-3": "category-3";
|
|
285
|
+
"category-4": "category-4";
|
|
286
|
+
}>;
|
|
287
|
+
poolPosition: z.ZodNumber;
|
|
288
|
+
slotId: z.ZodString;
|
|
289
|
+
poolKind: z.ZodLiteral<"reserve">;
|
|
290
|
+
reserveOrder: z.ZodNumber;
|
|
291
|
+
}, z.core.$strict>], "poolKind">;
|
|
292
|
+
export type ScreeningPoolItem = z.infer<typeof ScreeningPoolItemSchema>;
|
|
293
|
+
/** The complete, ordered 240-main plus 424-reserve candidate universe. */
|
|
294
|
+
export declare const ScreeningPoolV1Schema: z.ZodObject<{
|
|
295
|
+
protocol: z.ZodLiteral<"https://spec.jinn.network/binary-judgment/screening-pool/v1">;
|
|
296
|
+
draftId: z.ZodString;
|
|
297
|
+
identityCommitmentSha256: z.ZodString;
|
|
298
|
+
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
299
|
+
itemSha256: z.ZodString;
|
|
300
|
+
intendedLabel: z.ZodEnum<{
|
|
301
|
+
CORRECT: "CORRECT";
|
|
302
|
+
WRONG: "WRONG";
|
|
303
|
+
}>;
|
|
304
|
+
candidateClass: z.ZodEnum<{
|
|
305
|
+
correct: "correct";
|
|
306
|
+
"specific-wrong": "specific-wrong";
|
|
307
|
+
"vague-topical-wrong": "vague-topical-wrong";
|
|
308
|
+
}>;
|
|
309
|
+
stratum: z.ZodEnum<{
|
|
310
|
+
"category-1": "category-1";
|
|
311
|
+
"category-2": "category-2";
|
|
312
|
+
"category-3": "category-3";
|
|
313
|
+
"category-4": "category-4";
|
|
314
|
+
}>;
|
|
315
|
+
poolPosition: z.ZodNumber;
|
|
316
|
+
slotId: z.ZodString;
|
|
317
|
+
poolKind: z.ZodLiteral<"main">;
|
|
318
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
319
|
+
itemSha256: z.ZodString;
|
|
320
|
+
intendedLabel: z.ZodEnum<{
|
|
321
|
+
CORRECT: "CORRECT";
|
|
322
|
+
WRONG: "WRONG";
|
|
323
|
+
}>;
|
|
324
|
+
candidateClass: z.ZodEnum<{
|
|
325
|
+
correct: "correct";
|
|
326
|
+
"specific-wrong": "specific-wrong";
|
|
327
|
+
"vague-topical-wrong": "vague-topical-wrong";
|
|
328
|
+
}>;
|
|
329
|
+
stratum: z.ZodEnum<{
|
|
330
|
+
"category-1": "category-1";
|
|
331
|
+
"category-2": "category-2";
|
|
332
|
+
"category-3": "category-3";
|
|
333
|
+
"category-4": "category-4";
|
|
334
|
+
}>;
|
|
335
|
+
poolPosition: z.ZodNumber;
|
|
336
|
+
slotId: z.ZodString;
|
|
337
|
+
poolKind: z.ZodLiteral<"reserve">;
|
|
338
|
+
reserveOrder: z.ZodNumber;
|
|
339
|
+
}, z.core.$strict>], "poolKind">>;
|
|
340
|
+
sealedAt: z.ZodString;
|
|
341
|
+
}, z.core.$strict>;
|
|
342
|
+
export type ScreeningPoolV1 = z.infer<typeof ScreeningPoolV1Schema>;
|
|
343
|
+
export declare const ScreeningPoolV2ItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
344
|
+
screeningIdentitySha256: z.ZodString;
|
|
345
|
+
itemSha256: z.ZodString;
|
|
346
|
+
intendedLabel: z.ZodEnum<{
|
|
347
|
+
CORRECT: "CORRECT";
|
|
348
|
+
WRONG: "WRONG";
|
|
349
|
+
}>;
|
|
350
|
+
candidateClass: z.ZodEnum<{
|
|
351
|
+
correct: "correct";
|
|
352
|
+
"specific-wrong": "specific-wrong";
|
|
353
|
+
"vague-topical-wrong": "vague-topical-wrong";
|
|
354
|
+
}>;
|
|
355
|
+
stratum: z.ZodEnum<{
|
|
356
|
+
"category-1": "category-1";
|
|
357
|
+
"category-2": "category-2";
|
|
358
|
+
"category-3": "category-3";
|
|
359
|
+
"category-4": "category-4";
|
|
360
|
+
}>;
|
|
361
|
+
poolPosition: z.ZodNumber;
|
|
362
|
+
sourceQuestionLineageId: z.ZodString;
|
|
363
|
+
poolKind: z.ZodLiteral<"main">;
|
|
364
|
+
slotId: z.ZodString;
|
|
365
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
366
|
+
screeningIdentitySha256: z.ZodString;
|
|
367
|
+
itemSha256: z.ZodString;
|
|
368
|
+
intendedLabel: z.ZodEnum<{
|
|
369
|
+
CORRECT: "CORRECT";
|
|
370
|
+
WRONG: "WRONG";
|
|
371
|
+
}>;
|
|
372
|
+
candidateClass: z.ZodEnum<{
|
|
373
|
+
correct: "correct";
|
|
374
|
+
"specific-wrong": "specific-wrong";
|
|
375
|
+
"vague-topical-wrong": "vague-topical-wrong";
|
|
376
|
+
}>;
|
|
377
|
+
stratum: z.ZodEnum<{
|
|
378
|
+
"category-1": "category-1";
|
|
379
|
+
"category-2": "category-2";
|
|
380
|
+
"category-3": "category-3";
|
|
381
|
+
"category-4": "category-4";
|
|
382
|
+
}>;
|
|
383
|
+
poolPosition: z.ZodNumber;
|
|
384
|
+
sourceQuestionLineageId: z.ZodString;
|
|
385
|
+
poolKind: z.ZodLiteral<"reserve">;
|
|
386
|
+
reserveOrder: z.ZodNumber;
|
|
387
|
+
}, z.core.$strict>], "poolKind">;
|
|
388
|
+
export type ScreeningPoolV2Item = z.infer<typeof ScreeningPoolV2ItemSchema>;
|
|
389
|
+
/** A 240-main pool whose reserves are ordered shared slices within each class/stratum cell. */
|
|
390
|
+
export declare const ScreeningPoolV2Schema: z.ZodObject<{
|
|
391
|
+
protocol: z.ZodLiteral<"https://spec.jinn.network/binary-judgment/screening-pool/v2">;
|
|
392
|
+
reserveSelectionProtocol: z.ZodLiteral<"shared-slice-first-admissible/1">;
|
|
393
|
+
draftId: z.ZodString;
|
|
394
|
+
identityCommitmentSha256: z.ZodString;
|
|
395
|
+
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
396
|
+
screeningIdentitySha256: z.ZodString;
|
|
397
|
+
itemSha256: z.ZodString;
|
|
398
|
+
intendedLabel: z.ZodEnum<{
|
|
399
|
+
CORRECT: "CORRECT";
|
|
400
|
+
WRONG: "WRONG";
|
|
401
|
+
}>;
|
|
402
|
+
candidateClass: z.ZodEnum<{
|
|
403
|
+
correct: "correct";
|
|
404
|
+
"specific-wrong": "specific-wrong";
|
|
405
|
+
"vague-topical-wrong": "vague-topical-wrong";
|
|
406
|
+
}>;
|
|
407
|
+
stratum: z.ZodEnum<{
|
|
408
|
+
"category-1": "category-1";
|
|
409
|
+
"category-2": "category-2";
|
|
410
|
+
"category-3": "category-3";
|
|
411
|
+
"category-4": "category-4";
|
|
412
|
+
}>;
|
|
413
|
+
poolPosition: z.ZodNumber;
|
|
414
|
+
sourceQuestionLineageId: z.ZodString;
|
|
415
|
+
poolKind: z.ZodLiteral<"main">;
|
|
416
|
+
slotId: z.ZodString;
|
|
417
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
418
|
+
screeningIdentitySha256: z.ZodString;
|
|
419
|
+
itemSha256: z.ZodString;
|
|
420
|
+
intendedLabel: z.ZodEnum<{
|
|
421
|
+
CORRECT: "CORRECT";
|
|
422
|
+
WRONG: "WRONG";
|
|
423
|
+
}>;
|
|
424
|
+
candidateClass: z.ZodEnum<{
|
|
425
|
+
correct: "correct";
|
|
426
|
+
"specific-wrong": "specific-wrong";
|
|
427
|
+
"vague-topical-wrong": "vague-topical-wrong";
|
|
428
|
+
}>;
|
|
429
|
+
stratum: z.ZodEnum<{
|
|
430
|
+
"category-1": "category-1";
|
|
431
|
+
"category-2": "category-2";
|
|
432
|
+
"category-3": "category-3";
|
|
433
|
+
"category-4": "category-4";
|
|
434
|
+
}>;
|
|
435
|
+
poolPosition: z.ZodNumber;
|
|
436
|
+
sourceQuestionLineageId: z.ZodString;
|
|
437
|
+
poolKind: z.ZodLiteral<"reserve">;
|
|
438
|
+
reserveOrder: z.ZodNumber;
|
|
439
|
+
}, z.core.$strict>], "poolKind">>;
|
|
440
|
+
sealedAt: z.ZodString;
|
|
441
|
+
}, z.core.$strict>;
|
|
442
|
+
export type ScreeningPoolV2 = z.infer<typeof ScreeningPoolV2Schema>;
|
|
443
|
+
export declare const ScreeningPoolSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
444
|
+
protocol: z.ZodLiteral<"https://spec.jinn.network/binary-judgment/screening-pool/v1">;
|
|
445
|
+
draftId: z.ZodString;
|
|
446
|
+
identityCommitmentSha256: z.ZodString;
|
|
447
|
+
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
448
|
+
itemSha256: z.ZodString;
|
|
449
|
+
intendedLabel: z.ZodEnum<{
|
|
450
|
+
CORRECT: "CORRECT";
|
|
451
|
+
WRONG: "WRONG";
|
|
452
|
+
}>;
|
|
453
|
+
candidateClass: z.ZodEnum<{
|
|
454
|
+
correct: "correct";
|
|
455
|
+
"specific-wrong": "specific-wrong";
|
|
456
|
+
"vague-topical-wrong": "vague-topical-wrong";
|
|
457
|
+
}>;
|
|
458
|
+
stratum: z.ZodEnum<{
|
|
459
|
+
"category-1": "category-1";
|
|
460
|
+
"category-2": "category-2";
|
|
461
|
+
"category-3": "category-3";
|
|
462
|
+
"category-4": "category-4";
|
|
463
|
+
}>;
|
|
464
|
+
poolPosition: z.ZodNumber;
|
|
465
|
+
slotId: z.ZodString;
|
|
466
|
+
poolKind: z.ZodLiteral<"main">;
|
|
467
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
468
|
+
itemSha256: z.ZodString;
|
|
469
|
+
intendedLabel: z.ZodEnum<{
|
|
470
|
+
CORRECT: "CORRECT";
|
|
471
|
+
WRONG: "WRONG";
|
|
472
|
+
}>;
|
|
473
|
+
candidateClass: z.ZodEnum<{
|
|
474
|
+
correct: "correct";
|
|
475
|
+
"specific-wrong": "specific-wrong";
|
|
476
|
+
"vague-topical-wrong": "vague-topical-wrong";
|
|
477
|
+
}>;
|
|
478
|
+
stratum: z.ZodEnum<{
|
|
479
|
+
"category-1": "category-1";
|
|
480
|
+
"category-2": "category-2";
|
|
481
|
+
"category-3": "category-3";
|
|
482
|
+
"category-4": "category-4";
|
|
483
|
+
}>;
|
|
484
|
+
poolPosition: z.ZodNumber;
|
|
485
|
+
slotId: z.ZodString;
|
|
486
|
+
poolKind: z.ZodLiteral<"reserve">;
|
|
487
|
+
reserveOrder: z.ZodNumber;
|
|
488
|
+
}, z.core.$strict>], "poolKind">>;
|
|
489
|
+
sealedAt: z.ZodString;
|
|
490
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
491
|
+
protocol: z.ZodLiteral<"https://spec.jinn.network/binary-judgment/screening-pool/v2">;
|
|
492
|
+
reserveSelectionProtocol: z.ZodLiteral<"shared-slice-first-admissible/1">;
|
|
493
|
+
draftId: z.ZodString;
|
|
494
|
+
identityCommitmentSha256: z.ZodString;
|
|
495
|
+
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
496
|
+
screeningIdentitySha256: z.ZodString;
|
|
497
|
+
itemSha256: z.ZodString;
|
|
498
|
+
intendedLabel: z.ZodEnum<{
|
|
499
|
+
CORRECT: "CORRECT";
|
|
500
|
+
WRONG: "WRONG";
|
|
501
|
+
}>;
|
|
502
|
+
candidateClass: z.ZodEnum<{
|
|
503
|
+
correct: "correct";
|
|
504
|
+
"specific-wrong": "specific-wrong";
|
|
505
|
+
"vague-topical-wrong": "vague-topical-wrong";
|
|
506
|
+
}>;
|
|
507
|
+
stratum: z.ZodEnum<{
|
|
508
|
+
"category-1": "category-1";
|
|
509
|
+
"category-2": "category-2";
|
|
510
|
+
"category-3": "category-3";
|
|
511
|
+
"category-4": "category-4";
|
|
512
|
+
}>;
|
|
513
|
+
poolPosition: z.ZodNumber;
|
|
514
|
+
sourceQuestionLineageId: z.ZodString;
|
|
515
|
+
poolKind: z.ZodLiteral<"main">;
|
|
516
|
+
slotId: z.ZodString;
|
|
517
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
518
|
+
screeningIdentitySha256: z.ZodString;
|
|
519
|
+
itemSha256: z.ZodString;
|
|
520
|
+
intendedLabel: z.ZodEnum<{
|
|
521
|
+
CORRECT: "CORRECT";
|
|
522
|
+
WRONG: "WRONG";
|
|
523
|
+
}>;
|
|
524
|
+
candidateClass: z.ZodEnum<{
|
|
525
|
+
correct: "correct";
|
|
526
|
+
"specific-wrong": "specific-wrong";
|
|
527
|
+
"vague-topical-wrong": "vague-topical-wrong";
|
|
528
|
+
}>;
|
|
529
|
+
stratum: z.ZodEnum<{
|
|
530
|
+
"category-1": "category-1";
|
|
531
|
+
"category-2": "category-2";
|
|
532
|
+
"category-3": "category-3";
|
|
533
|
+
"category-4": "category-4";
|
|
534
|
+
}>;
|
|
535
|
+
poolPosition: z.ZodNumber;
|
|
536
|
+
sourceQuestionLineageId: z.ZodString;
|
|
537
|
+
poolKind: z.ZodLiteral<"reserve">;
|
|
538
|
+
reserveOrder: z.ZodNumber;
|
|
539
|
+
}, z.core.$strict>], "poolKind">>;
|
|
540
|
+
sealedAt: z.ZodString;
|
|
541
|
+
}, z.core.$strict>], "protocol">;
|
|
542
|
+
export type ScreeningPool = z.infer<typeof ScreeningPoolSchema>;
|
|
543
|
+
export declare const ScreeningSampleCommitmentV1Schema: z.ZodObject<{
|
|
544
|
+
protocol: z.ZodLiteral<"https://spec.jinn.network/binary-judgment/screening-sample-commitment/v1">;
|
|
545
|
+
draftId: z.ZodString;
|
|
546
|
+
poolSha256: z.ZodString;
|
|
547
|
+
poolIdentityCommitmentSha256: z.ZodString;
|
|
548
|
+
samplingProcedure: z.ZodLiteral<"screening-sample/1">;
|
|
549
|
+
sampleSeed: z.ZodString;
|
|
550
|
+
sampleSize: z.ZodLiteral<72>;
|
|
551
|
+
sampleItemSha256s: z.ZodArray<z.ZodString>;
|
|
552
|
+
committedAt: z.ZodString;
|
|
553
|
+
}, z.core.$strict>;
|
|
554
|
+
export type ScreeningSampleCommitmentV1 = z.infer<typeof ScreeningSampleCommitmentV1Schema>;
|
|
555
|
+
/**
|
|
556
|
+
* Exact public identity-only commitments made by an external registration repository. Unlike the
|
|
557
|
+
* internal v1 envelope, this record deliberately does not claim that the later label-bearing pool
|
|
558
|
+
* bridge existed at registration time. Its sorted identities, product-defined pool digest, seed,
|
|
559
|
+
* sample size, script digest, and timestamp are sufficient to replay the committed sample.
|
|
560
|
+
*/
|
|
561
|
+
export declare const RegisteredScreeningSampleCommitmentV1Schema: z.ZodObject<{
|
|
562
|
+
schema: z.ZodLiteral<"https://colophon-claims.github.io/locomo-judge-report/sampling-commitment/v1">;
|
|
563
|
+
candidateItemDigests: z.ZodArray<z.ZodString>;
|
|
564
|
+
committedAt: z.ZodString;
|
|
565
|
+
poolDigest: z.ZodString;
|
|
566
|
+
sampleSeed: z.ZodString;
|
|
567
|
+
sampleSize: z.ZodLiteral<72>;
|
|
568
|
+
samplingScriptSha256: z.ZodString;
|
|
569
|
+
}, z.core.$strict>;
|
|
570
|
+
export type RegisteredScreeningSampleCommitmentV1 = z.infer<typeof RegisteredScreeningSampleCommitmentV1Schema>;
|
|
571
|
+
export declare const ScreeningSampleCommitmentSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
572
|
+
protocol: z.ZodLiteral<"https://spec.jinn.network/binary-judgment/screening-sample-commitment/v1">;
|
|
573
|
+
draftId: z.ZodString;
|
|
574
|
+
poolSha256: z.ZodString;
|
|
575
|
+
poolIdentityCommitmentSha256: z.ZodString;
|
|
576
|
+
samplingProcedure: z.ZodLiteral<"screening-sample/1">;
|
|
577
|
+
sampleSeed: z.ZodString;
|
|
578
|
+
sampleSize: z.ZodLiteral<72>;
|
|
579
|
+
sampleItemSha256s: z.ZodArray<z.ZodString>;
|
|
580
|
+
committedAt: z.ZodString;
|
|
581
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
582
|
+
schema: z.ZodLiteral<"https://colophon-claims.github.io/locomo-judge-report/sampling-commitment/v1">;
|
|
583
|
+
candidateItemDigests: z.ZodArray<z.ZodString>;
|
|
584
|
+
committedAt: z.ZodString;
|
|
585
|
+
poolDigest: z.ZodString;
|
|
586
|
+
sampleSeed: z.ZodString;
|
|
587
|
+
sampleSize: z.ZodLiteral<72>;
|
|
588
|
+
samplingScriptSha256: z.ZodString;
|
|
589
|
+
}, z.core.$strict>]>;
|
|
590
|
+
export type ScreeningSampleCommitment = z.infer<typeof ScreeningSampleCommitmentSchema>;
|
|
591
|
+
export declare const PromptedScreeningRowV2Schema: z.ZodObject<{
|
|
592
|
+
itemSha256: z.ZodString;
|
|
593
|
+
intendedLabel: z.ZodEnum<{
|
|
594
|
+
CORRECT: "CORRECT";
|
|
595
|
+
WRONG: "WRONG";
|
|
596
|
+
}>;
|
|
597
|
+
screeningVerdict: z.ZodEnum<{
|
|
598
|
+
CORRECT: "CORRECT";
|
|
599
|
+
WRONG: "WRONG";
|
|
600
|
+
UNSURE: "UNSURE";
|
|
601
|
+
}>;
|
|
602
|
+
terraReviewVerdict: z.ZodOptional<z.ZodEnum<{
|
|
603
|
+
CORRECT: "CORRECT";
|
|
604
|
+
WRONG: "WRONG";
|
|
605
|
+
UNSURE: "UNSURE";
|
|
606
|
+
}>>;
|
|
607
|
+
solReviewVerdict: z.ZodOptional<z.ZodEnum<{
|
|
608
|
+
CORRECT: "CORRECT";
|
|
609
|
+
WRONG: "WRONG";
|
|
610
|
+
UNSURE: "UNSURE";
|
|
611
|
+
}>>;
|
|
612
|
+
ritsuDecision: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
613
|
+
checked: z.ZodLiteral<false>;
|
|
614
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
615
|
+
checked: z.ZodLiteral<true>;
|
|
616
|
+
verdict: z.ZodEnum<{
|
|
617
|
+
confirm: "confirm";
|
|
618
|
+
exclude: "exclude";
|
|
619
|
+
}>;
|
|
620
|
+
decidedAt: z.ZodString;
|
|
621
|
+
}, z.core.$strict>], "checked">;
|
|
622
|
+
}, z.core.$strict>;
|
|
623
|
+
export type PromptedScreeningRowV2 = z.infer<typeof PromptedScreeningRowV2Schema>;
|
|
624
|
+
/** Signed authority decision table for the prompted Codex procedure. */
|
|
625
|
+
export declare const ScreeningTableV2Schema: z.ZodObject<{
|
|
626
|
+
protocol: z.ZodLiteral<"https://spec.jinn.network/binary-judgment/screening-table/v2">;
|
|
627
|
+
draftId: z.ZodString;
|
|
628
|
+
procedureSha256: z.ZodString;
|
|
629
|
+
coordinatorPromptSha256: z.ZodString;
|
|
630
|
+
poolSha256: z.ZodString;
|
|
631
|
+
sampleCommitmentSha256: z.ZodString;
|
|
632
|
+
samplingScriptSha256: z.ZodString;
|
|
633
|
+
transcriptSha256: z.ZodString;
|
|
634
|
+
operator: z.ZodLiteral<"Ritsu">;
|
|
635
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
636
|
+
itemSha256: z.ZodString;
|
|
637
|
+
intendedLabel: z.ZodEnum<{
|
|
638
|
+
CORRECT: "CORRECT";
|
|
639
|
+
WRONG: "WRONG";
|
|
640
|
+
}>;
|
|
641
|
+
screeningVerdict: z.ZodEnum<{
|
|
642
|
+
CORRECT: "CORRECT";
|
|
643
|
+
WRONG: "WRONG";
|
|
644
|
+
UNSURE: "UNSURE";
|
|
645
|
+
}>;
|
|
646
|
+
terraReviewVerdict: z.ZodOptional<z.ZodEnum<{
|
|
647
|
+
CORRECT: "CORRECT";
|
|
648
|
+
WRONG: "WRONG";
|
|
649
|
+
UNSURE: "UNSURE";
|
|
650
|
+
}>>;
|
|
651
|
+
solReviewVerdict: z.ZodOptional<z.ZodEnum<{
|
|
652
|
+
CORRECT: "CORRECT";
|
|
653
|
+
WRONG: "WRONG";
|
|
654
|
+
UNSURE: "UNSURE";
|
|
655
|
+
}>>;
|
|
656
|
+
ritsuDecision: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
657
|
+
checked: z.ZodLiteral<false>;
|
|
658
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
659
|
+
checked: z.ZodLiteral<true>;
|
|
660
|
+
verdict: z.ZodEnum<{
|
|
661
|
+
confirm: "confirm";
|
|
662
|
+
exclude: "exclude";
|
|
663
|
+
}>;
|
|
664
|
+
decidedAt: z.ZodString;
|
|
665
|
+
}, z.core.$strict>], "checked">;
|
|
666
|
+
}, z.core.$strict>>;
|
|
667
|
+
sealedAt: z.ZodString;
|
|
668
|
+
}, z.core.$strict>;
|
|
669
|
+
export type ScreeningTableV2 = z.infer<typeof ScreeningTableV2Schema>;
|
|
189
670
|
export declare const HumanReviewReplacementLedgerEntrySchema: z.ZodObject<{
|
|
190
671
|
excludedItemSha256: z.ZodString;
|
|
191
672
|
replacementItemSha256: z.ZodString;
|
|
@@ -201,6 +682,7 @@ export declare const HumanReviewReplacementLedgerEntrySchema: z.ZodObject<{
|
|
|
201
682
|
"screening-indeterminate": "screening-indeterminate";
|
|
202
683
|
"screening-hand-excluded": "screening-hand-excluded";
|
|
203
684
|
}>;
|
|
685
|
+
receivingSlotId: z.ZodOptional<z.ZodString>;
|
|
204
686
|
reviewVerdictSha256s: z.ZodOptional<z.ZodTuple<[z.ZodString, z.ZodString], null>>;
|
|
205
687
|
visibilityReceiptSha256s: z.ZodOptional<z.ZodTuple<[z.ZodString, z.ZodString], null>>;
|
|
206
688
|
reviewerRosterSha256: z.ZodOptional<z.ZodString>;
|
|
@@ -224,6 +706,7 @@ export declare const HumanReviewReplacementLedgerSchema: z.ZodObject<{
|
|
|
224
706
|
"screening-indeterminate": "screening-indeterminate";
|
|
225
707
|
"screening-hand-excluded": "screening-hand-excluded";
|
|
226
708
|
}>;
|
|
709
|
+
receivingSlotId: z.ZodOptional<z.ZodString>;
|
|
227
710
|
reviewVerdictSha256s: z.ZodOptional<z.ZodTuple<[z.ZodString, z.ZodString], null>>;
|
|
228
711
|
visibilityReceiptSha256s: z.ZodOptional<z.ZodTuple<[z.ZodString, z.ZodString], null>>;
|
|
229
712
|
reviewerRosterSha256: z.ZodOptional<z.ZodString>;
|