Skip to content

Interface: CertificateDetail

@kortexya/reasoninglayer


@kortexya/reasoninglayer / CertificateDetail

Defined in: src/types/verification.ts:154

Validity-certificate detail returned by GET /api/v1/verification/certificates/{id}.

When the conversation pipeline grounds an answer it persists an OSFQL-soundness certificate into the verification certificate store, keyed by the answer’s validityCertificateId. Fetching it back yields the durable soundness seal for that specific answer — its verdict, content hash, proof method and the rule-program version that served the proof — distinct from the tenant-wide audit-ledger hash chain that “../resources/compliance”.ComplianceClient.verify re-walks. A certificate stored by verification.runVerification is fetched the same way.

Not every answer’s validityCertificateId is fetchable here: the conversation route falls back to a prose-provenance certificate id (not persisted in this store) when no OSFQL-soundness certificate was minted, so a 404 is expected for those — handle it as “no per-answer certificate available”.

certificateId: string

Defined in: src/types/verification.ts:156

Certificate id, echoing the requested id.


contentSha256Hex: string

Defined in: src/types/verification.ts:162

Hex-encoded SHA-256 of the certificate body.


optional method?: ProofMethod

Defined in: src/types/verification.ts:160

The sound method that proved it; absent for a verdict that is not a proof.


propertyLabel: string

Defined in: src/types/verification.ts:158

Human-readable property the certificate attests (e.g. the OSFQL basis).


optional ruleProgramHash?: string

Defined in: src/types/verification.ts:174

Hex SHA-256 of the rule program active at issuance, when the issuer pinned one.


optional ruleRevision?: number

Defined in: src/types/verification.ts:176

In-process rule-program revision ordinal at issuance, when tracked.


verdict: VerdictKindTag

Defined in: src/types/verification.ts:164

The verdict’s kind — the variant key of CertificateDetail.verdictDetail.


verdictDetail: VerdictKind

Defined in: src/types/verification.ts:172

The whole verdict, with its payload: the falsification witness, the empirical confidence and sample count, the residuation wake triggers, or the proof.


optional verdictPartial?: number

Defined in: src/types/verification.ts:166

Partial confidence carried by a Residuated verdict, when present.