Skip to main content

Module mutation

Module mutation 

Source
Expand description

Engine-facing mutation boundary contracts.

This module defines the command-semantic boundary between engine intent and storage durability authority.

Policy: callers propose typed mutation commands through MutationAuthority::submit_command, while storage-owned implementations own WAL mapping, append discipline, durability sync, and projection apply.

Structs§

ActorDeregisterCommand
Semantic command for remote actor deregistration.
ActorHeartbeatCommand
Semantic command for an actor heartbeat update.
ActorRegisterCommand
Semantic command for remote actor registration.
AttemptFinishCommand
Semantic command for attempt-finish lifecycle mutation.
AttemptOutcome
Semantic grouping of attempt result kind, optional error detail, and optional opaque handler output.
AttemptStartCommand
Semantic command for attempt-start lifecycle mutation.
BudgetAllocateCommand
Semantic command for budget allocation mutation.
BudgetConsumeCommand
Semantic command for budget consumption mutation.
BudgetReplenishCommand
Semantic command for budget replenishment mutation.
CapabilityGrantCommand
Semantic command for capability grant.
CapabilityRevokeCommand
Semantic command for capability revocation.
DependencyDeclareCommand
Semantic command for declaring task dependency relationships.
EnginePauseCommand
Semantic command for engine-pause control mutation.
EngineResumeCommand
Semantic command for engine-resume control mutation.
LeaseAcquireCommand
Semantic command for lease-acquire lifecycle mutation.
LeaseExpireCommand
Semantic command for lease-expire lifecycle mutation.
LeaseHeartbeatCommand
Semantic command for lease-heartbeat lifecycle mutation.
LeaseReleaseCommand
Semantic command for lease-release lifecycle mutation.
LedgerAppendCommand
Semantic command for ledger entry append.
MutationOutcome
Successful mutation command outcome metadata.
RoleAssignCommand
Semantic command for role assignment.
RunCreateCommand
Semantic command for run creation.
RunResumeCommand
Semantic command for run resumption mutation.
RunStateTransitionCommand
Semantic command for run lifecycle state transition mutation.
RunSuspendCommand
Semantic command for run suspension mutation.
SubscriptionCancelCommand
Semantic command for subscription cancellation mutation.
SubscriptionCreateCommand
Semantic command for subscription creation mutation.
SubscriptionTriggerCommand
Semantic command for subscription trigger mutation.
TaskCancelCommand
Semantic command for task cancellation mutation.
TaskCreateCommand
Semantic command for task creation.
TenantCreateCommand
Semantic command for tenant creation.

Enums§

AppliedMutation
Applied semantic mutation metadata.
AttemptOutcomeError
Typed validation error for AttemptOutcome reconstruction from raw parts.
AttemptResultKind
Canonical durable attempt outcome taxonomy.
DurabilityPolicy
Durability behavior requested for a submitted mutation command.
MutationCommand
Semantic mutation command proposed by an engine-facing caller.

Traits§

MutationAuthority
Engine-facing command submission contract.