Skip to main content

Crate converge_model

Crate converge_model 

Source
Expand description

§Converge Model

This crate is the curated semantic model surface for Converge. It intentionally excludes the execution engine and runtime adapters.

Structs§

Actor
Actor who performed an action.
ApprovalId
Unique identifier for a human approval.
ApprovalPointId
Identifier for an approval point or workflow reference.
ArtifactId
Unique identifier for a derived artifact.
BackendId
Identifier for a backend, provider, or adapter.
CaptureContext
Context of how the observation was captured.
ChainId
Identifier for a convergence chain or run.
ConstraintName
Consumer-owned name for a constraint.
ConstraintValue
Consumer-owned value for a constraint.
Criterion
Success criterion for a frame.
CriterionId
Identifier for a success criterion.
EventId
Identifier for an experience event envelope.
FactContent
Content of a promoted fact.
FactId
Unique identifier for a promoted fact.
Frame
Frame - defines scope and constraints for a phase of reasoning.
FrameConstraint
A constraint on a frame.
FrameId
Unique identifier for a Frame.
GateId
Unique identifier for a promotion gate.
Hypothesis
Hypothesis - exploration phase artifact.
LocalTrace
Local trace link - replay eligible.
Observation
Raw provider output - the evidence ledger.
ObservationId
Unique identifier for a raw observation.
ObservationProvenance
Provenance from the source observation.
PackId
Identifier for a named pack.
PolicyId
Identifier for a policy definition.
PromotionRecord
Record of how a Fact was promoted.
Proposal
A proposal in a specific lifecycle state.
ProposalId
Unique identifier for a proposal.
ProposedFact
An unvalidated suggestion from a non-authoritative source.
TenantId
Identifier for a tenant scope.
Tension
Tension - explicit conflict between two proposals.
TensionId
Unique identifier for a Tension.
TensionResolution
How a tension was resolved.
TensionSide
Reference to a proposal in a tension (by ID, not owned).
Timestamp
ISO-8601 timestamp string.
TraceLinkId
Identifier for a stored replay trace link.
TruthDefinition
Portable truth definition.
TruthId
Identifier for a truth definition.
TypesBudgets
Execution budgets.
TypesContextKey
Key for context entries (simplified from existing ContextKey).
TypesContextSnapshot
Immutable context snapshot.
TypesFact
A promoted, governed truth. Immutable after creation.
TypesIntentConstraint
Constraint on intent execution.
TypesIntentId
Unique identifier for an Intent.
TypesProposedContent
Content of a proposal.
TypesRootIntent
Root Intent using builder pattern.
Validated
Marker type: proposal validated and ready for promotion.
ValidationError
Error when a ProposedFact fails validation.
ValidationSummary
Summary of validation checks that passed during promotion.

Enums§

ActorKind
Kind of actor.
ChosenSide
Which side was chosen in tension resolution.
ConflictType
Type of conflict between proposals.
ConstraintKind
Kind of frame constraint.
ContextKey
Typed keys for the shared context namespace.
EvidenceRef
Typed reference to supporting evidence.
FactContentKind
Kind of fact content.
ObservationError
Errors during observation capture.
ObservationKind
Kind of observation source.
PromotionError
Errors during fact promotion.
RiskPosture
Risk posture for the intent.
StopReason
Why execution stopped. Exhaustive enumeration for audit trails.
TruthKind
What class of truth is being described.
TypeError
Core type system errors.
TypesConstraintSeverity
Severity of a constraint.
TypesIntentKind
Kind of intent (what problem class).
TypesObjective
Objective of the intent.
TypesTraceLink
Trace link for audit and replay.
TypesValidationError
Errors during validation.

Traits§

TruthCatalog
Application-provided truth catalog boundary.