Expand description
Content-addressed finding bundles: the atomic object of the Vela protocol.
Structs§
- Annotation
- A lightweight annotation on a finding — like a comment on a line of code.
- Artifact
- Assertion
- Attachment
- A file attached to a finding (dataset, figure, supplementary material).
- Author
- Code
Artifact - v0.33: CodeArtifact as a first-class kernel object.
- Conditions
- Confidence
- Confidence
Update - A confidence update is a mutable interpretation layer event. The finding’s evidence is immutable; the confidence assessment can evolve.
- Contribution
- One attribution record at claim granularity: which actor contributed which
unit of a finding, and in what role. Descriptive provenance only — the
reducer never reads it as state, the gate never reads it as evidence, and it
is outside the
vf_id preimage (adding it does not change the finding id). - Dataset
- v0.33: Dataset as a first-class kernel object.
- Entity
- Evidence
- Extraction
- Finding
Bundle - Flags
- Link
- Provenance
- Provenance
Ref - Phase β (v0.6): structured provenance reference attached to an
annotation (or any future note-shaped object). At least one
identifying field (
doi,pmid,title) must be set when the provenance is present; an all-emptyProvenanceRefis rejected byvalidate_event_payload. - Resolved
Id - A resolved identifier from a scientific database.
- Review
- Review
Event - A review event is a content-addressed record of human judgment on a finding. Like a Git commit, it records who, when, what changed, and why.
- Review
Evidence
Enums§
- Agent
Kind - The kind of actor behind a contribution. A
modelholds no key and can never be accountable; only ahumancan carry a signature. - Artifact
Availability - Artifact
Disclosure - Generic content-addressed artifact.
- Causal
Claim - v0.38: Pearlian causal typing for an assertion. The kernel’s
pre-v0.38 record carried only
direction: Some("positive" | "negative")— enough to know that “X covaries with Y” but not whether the speaker meant correlation, mediation, or intervention. In real review work those are different epistemic claims with different evidence requirements; conflating them produced silent over-claiming. - Causal
Evidence Grade - v0.38: study-design grade backing a causal claim. The grade is what makes the difference between “the data is consistent with X causing Y” (Observational) and “X causes Y” (Rct). The kernel carries the design label so reviewers can re-grade without re-extracting.
- Confidence
Kind - Semantic category of the confidence score stored on the frontier.
- Confidence
Method - Confidence method: how the score was determined.
- Contribution
Role - The kind of contribution. Only
vouchedcarries trust weight, and it maps to a human signature — amodeloragentcan never bevouched. - Contribution
Unit Type - What sub-part of a finding a contribution applies to.
- Link
Parse Error - LinkRef
- v0.8: typed reference resolved from
Link.target. - Locator
Integrity - Mechanism
- v0.45: structural causal mechanism on a directed edge.
- Mechanism
Sign - v0.45: causal direction on a
Mechanism. - Resolution
Method - How an entity was resolved to its canonical form (v0.2.0 schema).
- Review
Action - The action taken in a review event.
- Review
State - Typed review state. Replaces the v0.2
flags.contested: boolcollapse of three semantically distinct review judgments. Doctrine line 6: “scientific disagreement should remain live state.”
Constants§
- VALID_
ARTIFACT_ KINDS - Valid artifact kinds for the generic
Artifactkernel object. - VALID_
ASSERTION_ TYPES - Valid assertion types per schema.
- VALID_
CAUSAL_ CLAIMS - Valid string forms for serialized
CausalClaim. The kernel validates against this on load. - VALID_
CAUSAL_ EVIDENCE_ GRADES - Valid string forms for serialized
CausalEvidenceGrade. - VALID_
EVIDENCE_ TYPES - Valid evidence types per schema.
- VALID_
LINK_ TYPES - Valid link types per protocol §5.
- VALID_
PROVENANCE_ SOURCE_ TYPES - Valid provenance source types per schema.
Functions§
- bare_
finding_ id - The local finding id of a link target, stripping any cross-frontier
@vfr_…suffix. Avf_X@vfr_Ytarget resolves tovf_X; a plainvf_Xis returned unchanged. Single source of truth for the resolution the graph builders and read tools all rely on. - valid_
artifact_ kind