Skip to main content

Crate converge_kernel

Crate converge_kernel 

Source
Expand description

§Converge Kernel

This crate is the curated in-process execution API for Converge. Consumers embed the kernel here; they author packs in converge-pack and use converge-model for shared semantic types.

Structs§

AgentEffect
The output of a suggestor’s execute() call.
Budget
Budget limits for execution.
Context
The shared context for a Converge job.
ConvergeResult
Result of a converged execution.
Criterion
Success criterion for a frame.
CriterionOutcome
Evaluated outcome for a specific criterion.
Engine
The Converge execution engine.
EngineHitlPolicy
Engine-level HITL policy for gating proposals.
EventQuery
Query for experience events.
ExperienceEventEnvelope
Append-only event envelope.
Fact
A validated, authoritative assertion in the context.
HitlPause
State returned when convergence pauses at a HITL gate.
ProposedFact
An unvalidated suggestion from a non-authoritative source.
SuggestorId
Unique identifier for a registered suggestor.
TypesBudgets
Execution budgets.
TypesIntentId
Unique identifier for an Intent.
TypesRootIntent
Root Intent using builder pattern.
TypesRunHooks
Per-run hooks for typed intent execution.
ValidationError
Error when a ProposedFact fails validation.

Enums§

ContextKey
Typed keys for the shared context namespace.
ConvergeError
Top-level error type for Converge operations.
CriterionResult
Machine-evaluable outcome for a single criterion.
DecisionStep
A step in the multi-phase reasoning process.
ExperienceEvent
Append-only experience event payloads.
ExperienceEventKind
High-level event kinds for query filtering.
InvariantClass
The class of an invariant determines when it’s checked and how violations are handled.
InvariantResult
The result of checking an invariant.
RunResult
Result of running the engine — either converged or paused at HITL gate.
TypesIntentKind
Kind of intent (what problem class).

Traits§

ContextView
Read-only view of the shared context.
CriterionEvaluator
Application-provided boundary for evaluating success criteria.
ExperienceEventObserver
Run-scoped observer for experience events emitted during convergence.
ExperienceStore
Experience store trait (append-only ledger boundary).
Invariant
A runtime invariant that the engine enforces.
StreamingCallback
Callback trait for streaming fact emissions during convergence.
Suggestor
The core suggestor contract.