proofborne-core 0.1.0-alpha.1

Versioned contracts, events, provider types, and proof graph for Proofborne
Documentation
//! Stable, serializable primitives shared by every Proofborne surface.
//!
//! The JSON shapes in this crate form the v0.1 compatibility boundary. Internal
//! orchestration APIs may change while the project is pre-1.0.

mod canonical;
mod contract;
mod event;
mod provider;
mod tool;

pub use canonical::{canonical_json_bytes, hash_bytes, hash_json};
pub use contract::{
    ArtifactRef, AssuranceLevel, ClaimScope, Criterion, CriterionEvaluation, CriterionState,
    Evidence, EvidenceFreshness, EvidenceKind, EvidenceLink, EvidenceRequirement, ProofError,
    ProofEvaluation, ProofGraph, ProofTermination, RunOutcome, TaskContract, Waiver,
};
pub use event::{EventEnvelope, EventError, SCHEMA_VERSION, verify_event_chain};
pub use provider::{
    ConversationItem, ProviderCapabilities, ProviderError, ProviderRequest, ProviderStreamEvent,
    ProviderTurn, StopReason, TokenUsage,
};
pub use tool::{ActionClass, ToolCall, ToolDefinition, ToolResult};