Skip to main content

converge_kernel/
lib.rs

1// Copyright 2024-2026 Reflective Labs
2// SPDX-License-Identifier: MIT
3
4//! # Converge Kernel
5//!
6//! This crate is the curated in-process execution API for Converge.
7//! Consumers embed the kernel here; they author packs in `converge-pack`
8//! and use `converge-model` for shared semantic types.
9
10pub use converge_core::gates::hitl::{GateDecision, TimeoutAction, TimeoutPolicy};
11pub use converge_core::gates::{
12    AuthorityLevel, FlowAction, FlowGateAuthorizer, FlowGateContext, FlowGateInput,
13    FlowGateOutcome, FlowGatePrincipal, FlowGateResource, FlowPhase,
14};
15pub use converge_core::{
16    ApprovalPointId, BackendId, Budget, ChainId, ConstraintName, ConstraintValue, ContextState,
17    ConvergeError, ConvergeResult, CorrelationId, Criterion, CriterionEvaluator, CriterionId,
18    CriterionOutcome, CriterionResult, DecisionStep, Engine, EngineHitlPolicy, EventId, EventQuery,
19    ExperienceEvent, ExperienceEventEnvelope, ExperienceEventKind, ExperienceEventObserver,
20    ExperienceStore, HitlPause, IntegrityProof, Invariant, InvariantClass, InvariantResult,
21    LamportClock, MerkleRoot, PackId, RunResult, StreamingCallback, SuggestorId, TenantId,
22    TraceLinkId, TruthId, TypesBudgets, TypesIntentId, TypesIntentKind, TypesRootIntent,
23    TypesRunHooks,
24};
25pub use converge_pack::{
26    AgentEffect, Context, ContextKey, Fact, ProposedFact, Suggestor, ValidationError,
27};