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, StopReason,
14};
15pub use converge_core::{
16    ApprovalPointId, BackendId, Budget, BudgetResource, ChainId, ConstraintName, ConstraintValue,
17    ContextState, ConvergeError, ConvergeResult, CorrelationId, Criterion, CriterionEvaluator,
18    CriterionId, CriterionOutcome, CriterionResult, DecisionStep, Engine, EngineHitlPolicy,
19    EventId, EventQuery, ExperienceEvent, ExperienceEventEnvelope, ExperienceEventKind,
20    ExperienceEventObserver, ExperienceStore, HitlPause, IntegrityProof, Invariant, InvariantClass,
21    InvariantResult, LamportClock, MerkleRoot, PackId, RunResult, StreamingCallback, SuggestorId,
22    TenantId, TraceLinkId, TruthId, TypesBudgets, TypesIntentId, TypesIntentKind, TypesRootIntent,
23    TypesRunHooks,
24};
25pub use converge_pack::{
26    AgentEffect, Context, ContextKey, Fact, ProposedFact, Suggestor, ValidationError,
27};