Interface: CertificateDetail
@kortexya/reasoninglayer / CertificateDetail
Interface: CertificateDetail
Section titled “Interface: CertificateDetail”Defined in: src/types/verification.ts:154
Validity-certificate detail returned by
GET /api/v1/verification/certificates/{id}.
Remarks
Section titled “Remarks”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”.
Properties
Section titled “Properties”certificateId
Section titled “certificateId”certificateId:
string
Defined in: src/types/verification.ts:156
Certificate id, echoing the requested id.
contentSha256Hex
Section titled “contentSha256Hex”contentSha256Hex:
string
Defined in: src/types/verification.ts:162
Hex-encoded SHA-256 of the certificate body.
method?
Section titled “method?”
optionalmethod?:ProofMethod
Defined in: src/types/verification.ts:160
The sound method that proved it; absent for a verdict that is not a proof.
propertyLabel
Section titled “propertyLabel”propertyLabel:
string
Defined in: src/types/verification.ts:158
Human-readable property the certificate attests (e.g. the OSFQL basis).
ruleProgramHash?
Section titled “ruleProgramHash?”
optionalruleProgramHash?:string
Defined in: src/types/verification.ts:174
Hex SHA-256 of the rule program active at issuance, when the issuer pinned one.
ruleRevision?
Section titled “ruleRevision?”
optionalruleRevision?:number
Defined in: src/types/verification.ts:176
In-process rule-program revision ordinal at issuance, when tracked.
verdict
Section titled “verdict”verdict:
VerdictKindTag
Defined in: src/types/verification.ts:164
The verdict’s kind — the variant key of CertificateDetail.verdictDetail.
verdictDetail
Section titled “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.
verdictPartial?
Section titled “verdictPartial?”
optionalverdictPartial?:number
Defined in: src/types/verification.ts:166
Partial confidence carried by a Residuated verdict, when present.