Skip to main content

Crate cordance_cortex

Crate cordance_cortex 

Source
Expand description

Cortex adapter. Emits cordance-cortex-receipt-v1-candidate JSON only.

ADR 0005: Cordance never writes to the cortex repo or runtime. It produces a receipt; the operator hands the receipt to Cortex via Cortex’s own acceptance flow.

Modules§

builder
Receipt builder — produces a cordance-cortex-receipt-v1-candidate from a compiled CordancePack.
validator
Structural validator for CortexReceiptV1Candidate.

Enums§

CortexError

Functions§

build_receipt
Build a candidate receipt from a compiled pack.
safe_boundary
Quick check: a fresh AuthorityBoundary::candidate_only() is always safe.