Skip to main content

Crate vela_protocol

Crate vela_protocol 

Source
Expand description

The Vela protocol kernel: the typed, content-addressed substrate that turns scientific activity into signed, replayable state.

Layering (a module’s tier, not its file location):

  • kernel — the trust-critical core: events (canonical event types), reducer (the deterministic frontier state machine), sign (Ed25519), bundle (proof packets), canonical (canonical bytes/ids), repo (I/O).
  • state — computed views over the log: state, registry, frontier_repo.
  • analysis — derived, non-authoritative projections: atlas, transfer, verifier_attachment, status_provenance, frontier_graph, boundary, contradiction, evidence_diff.
  • policy — governance: acceptance_policy, frontier_policy, tcb_policy, access_tier.
  • domains — domain profiles: sidon_profile, lean_verification.

Id prefixes (content-addressed unless noted): vf_ finding, vev_ signed event, vfr_ frontier, vpr_ proposal, val_ signed anchor, vtr_ signed transfer, vva_ verifier attachment, vsa_ statement attestation. Authority is key custody: an agent may draft, only a key-holding human signs an accept.

Modules§

acceptance_policy
Policy-bound acceptance (the human-governance redesign, vela_human_governance_memo).
access_tier
v0.51: Access tiers — the dual-use deposition channel.
activity
The activity plane: non-authoritative records of what agents, tools, and producers DID, kept strictly separate from accepted scientific state.
actor_registration
Temporal actor-registration boundary.
anchor
Anchor links (val_): a signed, retractable assertion that a claim (vf_) carries a specific external-catalogue anchor (OEIS A309370, Erdős #707, a mathlib declaration, an arXiv id, an MSC class).
atlas
The cross-frontier Math Atlas projection (spec docs/research/MATH_ATLAS.md, build step 3). It unions per-frontier claim cells into AtlasCells: equivalence classes of findings joined by HardIdentity anchors, context- indexed (the frontier-calculus context wall, §20 — a shared anchor across different contexts does NOT merge; that is a transfer edge, handled later).
attempt
Typed, signed, content-addressed Attempt (vat_) + ResolutionEvent (vre_).
boundary
The dark-matter boundary query (memo §3, §7.3): the productive edges of a frontier — the work that is one step from done, the results that rest on thin ground, the places the record disagrees, and the open findings with no scaffolding yet.
bundle
Content-addressed finding bundles: the atomic object of the Vela protocol.
canonical
Canonical JSON serialization for content-addressed Vela primitives.
cli_style
CLI output discipline for Vela.
contradiction
T7: the first-class Contradiction object (vcx_).
credit
Derived credit view (CRediT-style): a pure projection over the event log plus finding provenance. It answers “who is accountable, and who produced what” from data that already exists — signatures, contributions[], extraction, and the drafting actor. Never signed, never authoritative, always recomputable, and it never invents an author.
detached
Detached artifact signatures: one schema for “a human signed these exact bytes” (vela.detached-signature.v0.1), superseding the per-script shapes that grew around the fixtures manifest and the policy ceremony. The subject is signed as raw bytes on disk — no canonicalization step to drift — and the record is self-describing (it carries the subject’s sha256 so a verifier can name WHICH bytes it expected when they’ve changed).
diff
vela diff — structural comparison of two frontiers.
diff_pack_review
v0.203: Diff Pack workbench-side review surface.
endorsement
Significance as an honest slot: a signed, attributed, non-repudiable endorsement (ven_) — stored, never aggregated.
events
Canonical replayable frontier events.
evidence_ci
Evidence CI.
evidence_diff
Evidence Diff: the before/after lens over a claim’s state.
evidence_polarity
Evidence polarity: which way a proposed operation pushes the record.
frontier_bound
Typed frontier bounds — the “current best / value-to-beat” of an open problem as a FIRST-CLASS object rather than prose buried in assertion_text.
frontier_graph
T7: the typed claim-level edge layer — the FrontierGraph substrate.
frontier_identification
Frontier identification: rank OPEN findings by accumulating structural support — the graded, evaluable generalization of crate::boundary’s binary one_premise_away. It is Vela’s answer to “what should I work on next?”, and a deliberate adaptation of Prashant Garg’s Frontier Graph method (“What Should Economics Ask Next?”, 2026) to a verifier-gated substrate.
frontier_policy
Frontier-owned policy files.
frontier_repo
Canonical frontier repository layout helpers.
identity
Producer identity binding (vib_): a self-signed proof that a key controls an actor id, plus authoritative revocation.
independence
Independence as a DERIVED predicate — never a stored or asserted flag.
inspect_adapter
Inspect-AI eval log → verifier attachment (vva_).
lean_verification
v0.170: Lean theorem verification records. A vlv_* record is an Ed25519-signed attestation that a specific Lean module built cleanly under a specific toolchain, tying back to the v0.164 vla_* anchor that pins the source bytes.
merkle
RFC 6962-style Merkle hash tree over the event log — the P2 transparency-log core. A leaf is an event’s content-address preimage (crate::events::event_content_preimage_bytes), so a log leaf is exactly the event’s vev_ content address: immune to legitimate re-signing (signature/id are excluded from the preimage) and reproducible byte-for-byte by any independent implementation.
nanopub
Nanopublication export.
pathfind
The golden-thread engine (memo §11.7): the shortest support/reduction path between two findings over the typed FrontierGraph.
project
Stage 5: ASSEMBLE — build the project with stats and metadata.
proof_verification
v0.151: signed verification records for Vela proof artifacts.
propagate
Correction propagation through the frontier link graph.
proposals
Proposal-first frontier writes and proof freshness tracking.
provenance
Co-authorship provenance, shaped on W3C PROV (entity / activity / agent).
receipt_v1
Lossless Receipt v1 parsing and typed read-only views.
record
Activity records (v0): the portable claim packet — vela record.
reducer
Pure separable reducer over canonical events.
released_diff_pack
v0.213: ReleasedDiffPackRecord — first-class replay state for the v0.201 diff_pack.released and v0.205 diff_pack.reviewed event arms.
repo
Git-native VelaRepo abstraction — load/save projects from either monolithic JSON or a .vela/ directory of individual finding files.
scientific_diff
v0.193: Scientific Diff Pack (vsd_*).
sidon_profile
The Vela Sidon Producer Profile v1 — the production realization of the finite, positive, ranked Scientific State Kernel for one live frontier: lower bounds for OEIS A309370 (Sidon sets in the binary cube).
sign
Ed25519 signing for the event log — the trust infrastructure layer.
signing_input
The one signing rule.
sources
Source registry and evidence atom projections.
state
Read-only frontier state projections plus the Receipt v1 finding-proposal builder and the explicitly chartered draft artifact-retirement exception.
statement_attestation
Statement-faithfulness attestation (vsa_): a key-holding human’s signed judgment that a FORMAL statement faithfully encodes an INFORMAL problem.
status_provenance
Belnap contextual status derived from support/refute provenance.
tcb_policy
Trusted Computing Base policy (vtcb_) for proof-assistant verification.
transfer
Typed, signed, content-addressed cross-domain Transfer (vtr_).
transfer_registry
The transfer registry: a derived, lane-organized index over the accepted cross-domain transfers (vtr_).
verdict_conflict
v0.217: Verdict Conflict Resolution (vdc_*).
verification_policy
vpol_: a content-addressed verification policy.
verification_summary
vsum_: a Vela Verification Summary.
verifier_attachment
Verifier attachments (vva_) and the derived verification gate.