Skip to main content

Crate vela_protocol

Crate vela_protocol 

Source

Modules§

access_tier
v0.51: Access tiers — the dual-use deposition channel.
agent_attestation
v0.195: Agent Attestation Envelope (vaa_*).
agent_bench
VelaBench v0.26 — agent state-update scoring
aggregate
v0.35: Consensus aggregation — the inference layer.
ancestor_closure
Ancestor-closure primitive for federated event sets.
artifact_audit
Artifact proof-readiness checks for frontier-owned files and pointers.
artifact_to_state
Import agent-produced artifact packets as reviewable frontier state.
benchmark
Benchmark extraction quality against a gold standard.
bridge
Bridge detection — find cross-domain hypotheses from multiple frontiers.
bundle
Content-addressed finding bundles: the atomic object of the Vela protocol.
calibration
v0.34: Calibration scoring over resolved predictions.
canonical
Canonical JSON serialization for content-addressed Vela primitives.
carina_validate
v0.75: Carina-primitive JSON Schema validation.
causal_graph
v0.44: Pearl level 2 — causal graph + do-calculus over the frontier’s claim-to-claim link graph.
causal_reasoning
v0.40: Causal reasoning over the schema landed in v0.38.
checkpoint
v0.147: signed registry checkpoints.
citation
v0.156: citation export. Render a Vela frontier or finding as BibTeX, RIS, or CSL-JSON. The output is downstream-tooling- ready: BibTeX feeds into LaTeX bibliography lists; RIS into Zotero / EndNote / Mendeley; CSL-JSON into Pandoc + most reference managers.
cli
cli_style
CLI output discipline for Vela.
confidence
Citation-grounded frontier confidence calibration.
conformance
Conformance test runner — validates an implementation against test vectors.
counterfactual
v0.45: Pearl level 3 — counterfactual queries over the claim graph.
credit
v0.157: CRediT-style contributor ledger.
crossref
v0.162: Crossref deposit manifest. Generate a deposit-ready manifest for a Vela frontier release that an operator can hand off to Crossref (or any equivalent DOI registrar) to mint a DOI against. The substrate does not call Crossref’s API itself; minting a DOI requires a Crossref member account, member id, and depositor credentials that live outside the substrate.
decision
Validated frontier-owned decision projections.
diff
vela diff — structural comparison of two frontiers.
diff_pack_promote
v0.205: promotion path from .vela/pending_verdicts/ to canonical diff_pack.reviewed events.
diff_pack_release
v0.221: backfill diff_pack.released events for packs that exist on disk under .vela/diff_packs/<vsd_id>.json but have no matching event in .vela/events/.
diff_pack_review
v0.203: Diff Pack workbench-side review surface.
discord
Discord assignment and frontier support.
discord_compute
Compute discord assignments against live Project state.
doc_render
v0.110: static HTML site generator for a frontier.
entity_resolve
v0.19: bundled entity resolution.
evaluation_record
v0.200: Evaluation Record (ver_*).
events
Canonical replayable frontier events.
export
Export frontier findings in proof-first formats: CSV, JSON-LD, BibTeX, Markdown, Frontier JSON, and Packet.
federation
v0.39: Hub federation — peer registry + conflict detection.
frontier_release
v0.158: versioned frontier releases. Each release is a content-addressed snapshot pin: vfrr_* over (frontier_id, snapshot_hash, event_log_hash, owner_epoch, name, notes). Immutable: once written, releases are never edited. New releases produce new vfrr_* ids and link to the previous via previous_release.
frontier_repo
Canonical frontier repository layout helpers.
governance
v0.144: Registry governance policy. Per-frontier policy object declaring who can authorize owner rotation, what threshold of distinct attestations is required, and (during bootstrap only) whether the current registry owner alone can satisfy quorum.
hub_spec
v0.167: federated-hub spec primitive. A vhs_* record documents a federated hub’s declared identity: a stable hub-id (operator-chosen), display name, base URL, the hub operator’s pubkey, and the substrate version the hub serves.
impact
Read-only dependency impact reports.
ingest
PDF text extraction utility used by the modern Scout agent.
lean_anchors
v0.164: Lean theorem anchors. Pin each substrate theorem in lean/Vela/*.lean to its content-addressed source bytes, declaration name, and substrate role. The anchor is a derived view that any consumer can re-compute over the same source tree.
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.
link
Stage 4: LINK — infer typed relationships between findings.
lint
Statistical validation linter — catches common methodological red flags in findings.
normalize
Stage 3: NORMALIZE — deduplicate entities, constrain types to schema.
observer
Observer policies — named lenses over the frontier.
packet
Packet inspection and validation utilities.
permission
Permission metadata for the public frontier tool registry.
preprint
v0.163: preprint export. Render a frontier as a Markdown preprint with abstract, contributors (CRediT block), findings as evidence sections, and a citation block (BibTeX). Pure derivation from the substrate state.
project
Stage 5: ASSEMBLE — build the project with stats and metadata.
proof_verification
v0.151: signed verification records for Carina Proof artifacts.
propagate
Correction propagation through the frontier link graph.
proposals
Proposal-first frontier writes and proof freshness tracking.
provenance_compute
Compute provenance polynomials and Belnap status from an event log.
provenance_poly
Provenance polynomials in the semiring N[X].
queue
Phase R (v0.5): a local queue of unsigned draft actions.
reducer
Pure separable reducer over canonical events.
registry
Phase S (v0.5): registry primitive — verifiable distribution.
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.
resolver
v0.163: persistent-identifier resolver. Given a handle that references something inside or adjacent to the substrate, resolve it to a structured ResolvedRef: the kind of object (frontier, release, finding, etc.), a canonical site URL, and a short label.
retry
Retry with exponential backoff for transient network failures.
review
Review import compatibility for frontier proof packets and legacy review bundles.
review_thread
v0.168: review-comment-thread primitive. A vrt_* thread is an ordered, append-only chain of signed vrm_* messages attached to a substrate target (a proposal vpr_* or a finding vf_*). Each message is content-addressed over its body + signer + parent message + timestamp; threading is enforced by parent_message_id.
review_thread_storage
v0.174: storage helpers for review threads (vrt_*).
runtime_adapters
External runtime adapters that normalize upstream artifacts into Carina packets.
schema_registry
Content-addressed schema/reducer artifacts.
scientific_diff
v0.193: Scientific Diff Pack (vsd_*).
search
Full-text search across findings in a frontier or VelaRepo.
serve
Read-only MCP/HTTP frontier server.
sign
Cryptographic signing for finding bundles — the trust infrastructure layer.
signals
Derived frontier signals.
source_adapters
Source adapter runs that turn live source records into artifact packets.
sources
Source registry and evidence atom projections.
state
Non-interactive frontier state transitions.
state_integrity
Structural integrity checks for accepted frontier state.
status_provenance
Belnap contextual status derived from support/refute provenance.
tensions
Unresolved contradiction analysis — “Where does science disagree with itself?”
tool_descriptor
v0.199: Tool Descriptor (vtd_*).
tool_registry
Tool registry — tools defined as data, separate from execution. Borrowed from Codex (MIT) tool-as-data pattern.
validate
Schema validation for finding bundles in a frontier or VelaRepo.
vela_agent_mcp
v0.206: MCP adapter for the vela_agent SDK surface.
verdict_conflict
v0.217: Verdict Conflict Resolution (vdc_*).
workbench
v0.48: local workbench — axum web app rendering the substrate against the cwd’s .vela/ repo.