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.
ApprovalPointId
Identifier for an approval point or workflow reference.
BackendId
Identifier for a backend, provider, or adapter.
Budget
Budget limits for execution.
ChainId
Identifier for a convergence chain or run.
ConstraintName
Consumer-owned name for a constraint.
ConstraintValue
Consumer-owned value for a constraint.
ContextState
The shared context for a Converge job.
ConvergeResult
Result of a converged execution.
CorrelationId
Identifier for correlating related events or runs.
Criterion
Success criterion for a frame.
CriterionId
Identifier for a success criterion.
CriterionOutcome
Evaluated outcome for a specific criterion.
Engine
The Converge execution engine.
EngineHitlPolicy
Engine-level HITL policy for gating proposals.
EventId
Identifier for an experience event envelope.
EventQuery
Query for experience events.
ExperienceEventEnvelope
Append-only event envelope.
Fact
A validated, authoritative assertion in the context.
FlowGateContext
Decision-relevant facts projected from the flow state.
FlowGateInput
Canonical input to an authorization decision for a flow gate.
FlowGatePrincipal
Principal facts projected from the flow host or application runtime.
FlowGateResource
Resource facts projected from the current flow state.
GateDecision
Human’s decision on a HITL gate request.
HitlPause
State returned when convergence pauses at a HITL gate.
IntegrityProof
Cryptographic integrity proof for a converged context.
LamportClock
A Lamport logical clock for causal ordering of events.
MerkleRoot
A Merkle tree root hash representing the integrity of a set of facts.
PackId
Identifier for a named pack.
ProposedFact
An unvalidated suggestion from a non-authoritative source.
SuggestorId
Unique identifier for a registered suggestor.
TenantId
Identifier for a tenant scope.
TimeoutPolicy
What happens when the human doesn’t respond in time.
TraceLinkId
Identifier for a stored replay trace link.
TruthId
Identifier for a truth definition.
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§

AuthorityLevel
Authority level granted to a flow-gate principal.
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.
FlowAction
Action being attempted against a converging flow.
FlowGateOutcome
Neutral outcome of a flow gate authorization decision.
FlowPhase
Current phase of a converging flow.
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.
TimeoutAction
Action taken when HITL gate times out.
TypesIntentKind
Kind of intent (what problem class).

Traits§

Context
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).
FlowGateAuthorizer
Deterministic decision provider for consequential flow actions.
Invariant
A runtime invariant that the engine enforces.
StreamingCallback
Callback trait for streaming fact emissions during convergence.
Suggestor
The core suggestor contract.