Skip to content

Interface: CertificateDetail

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Verification / CertificateDetail

Interface: CertificateDetail

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

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

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.

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

certificateId

certificateId: string

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

Certificate id, echoing the requested id.


contentSha256Hex

contentSha256Hex: string

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

Hex-encoded SHA-256 of the certificate body.


method?

optional method: string

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

Proof method recorded by the issuer (e.g. “DeterministicTrace”), if any.


propertyLabel

propertyLabel: string

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

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


ruleProgramHash?

optional ruleProgramHash: string

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

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


ruleRevision?

optional ruleRevision: number

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

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


verdict

verdict: string

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

Verdict kind — one of “ProvenSafe” | “Falsified” | “EmpiricallySafe” | “Residuated”. The wire carries an externally-tagged union; this is its tag.


verdictPartial?

optional verdictPartial: number

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

Partial confidence carried by a Residuated verdict, when present.