Skip to main content

Crate runifold_core

Crate runifold_core 

Source
Expand description

Stable runtime-kernel primitives for Runifold.

This crate deliberately contains no model provider, network transport, agent loop, or external protocol implementation.

Structs§

AuthorityAmplification
A child Run cannot receive authority absent from its parent.
Budget
Hard limits applied to a run tree.
BudgetExceeded
An atomic budget rejection.
BudgetReservation
A scoped share of a run tree’s hard budget.
BudgetReservationMismatch
A reservation from another run tree cannot fund a child run.
BudgetTracker
Thread-safe accounting shared by a run and its descendants.
CancellationToken
A hierarchical cancellation token.
CapabilityDescriptor
A versioned description of a grantable capability.
CapabilityId
A globally unique capability identifier.
CapabilitySet
An explicit set of capabilities granted to a run.
Checkpoint
Versioned, domain-neutral persisted execution state.
CheckpointError
Structured checkpoint failure.
CheckpointId
A globally unique checkpoint identifier.
DomainEvent
A forward-compatible namespaced event.
EffectId
A globally unique effect identifier.
EffectRequest
A runtime request to perform external work.
EventFactory
Creates events with monotonic per-run sequence numbers.
EventId
A globally unique event identifier.
EventMeta
Metadata shared by every runtime event.
InMemoryCheckpointStore
Cloneable in-memory checkpoint store for tests and ephemeral processes.
InMemoryJournal
A cloneable in-memory journal for tests and ephemeral runs.
Instant
Monotonic runtime clock on native targets. A measurement of a monotonically nondecreasing clock. Opaque and useful only with Duration.
InvocationId
A globally unique invocation identifier.
JournalError
A journal storage failure.
RunContext
The authority, lifetime, and accounting scope of one run.
RunError
A structured run error suitable for policy decisions.
RunEvent
An immutable runtime fact.
RunId
A globally unique run identifier.
RunRecorder
Cloneable event emitter bound to one run and a shared journal.
Usage
Resources consumed by a run tree.

Enums§

BudgetEvent
Budget-accounting facts.
BudgetResource
A resource dimension that can exceed its budget.
CapabilityKind
A capability category.
CheckpointErrorKind
Normalized checkpoint storage failure category.
ChildEvent
Parent-child run relationship facts.
ChildRunError
Failure to create a capability-attenuated child Run.
EffectClass
The external-effect behavior of a capability.
EffectEvent
External-effect facts.
EffectKind
The operation requested by an external effect.
LifecycleEvent
Run lifecycle facts.
RetrySafety
Whether retrying an operation is safe.
RiskLevel
A coarse capability risk classification.
RunErrorKind
A normalized run failure category.
RunEventKind
Runtime event categories.

Traits§

CheckpointStore
Atomic persistence boundary for checkpoints.
Journal
Receives immutable runtime events.

Type Aliases§

Metadata
Namespaced runtime metadata.