Skip to main content

Crate canwu_sim

Crate canwu_sim 

Source
Expand description

Deterministic runtime, validated commands, scheduling, plugins, and snapshots.

Structs§

ActorKnowledge
ArchivedEvidenceLocator
ArchivedEvidenceReceipt
ArchivedSegmentHeader
ArmyKnowledge
ArtifactManifest
Stable identity for a scenario, ruleset, content pack, run policy, localization contract, or source ledger.
BoundaryChange
BoundaryContext
BoundaryEmission
BoundaryIngressGeneration
BoundaryKnowledgeChange
BoundaryProposal
BoundaryReceipt
BoundaryRecord
BoundaryRequest
BoundarySystemContract
CanwuError
CheckpointJournal
Portable full-save bundle built from a current-state checkpoint and journal segments.
CommandAttemptRecord
CommandAuthority
CommandContext
CommandEnvelope
CommandReceipt
CommandRecord
CommandRejection
CommandRequest
CommitmentRoots
Canonical roots for independent authoritative state and evidence domains.
CompactedSimulation
A live simulation whose sealed evidence prefixes are owned by the caller.
DecisionAttemptRecord
DecisionContext
DecisionController
DecisionControllerBinding
DecisionError
DecisionExternalEvidence
DecisionFactorContribution
DecisionIngressRequest
DecisionOption
DecisionOptionEvaluation
DecisionPolicyIdentity
DecisionState
DecisionTicket
DecisionTicketDraft
DecisionTrace
DemoIds
DomainRecord
DomainRecordChange
DomainRecordDraft
DomainRecordSchema
DomainRecordVersionRef
Exact historical identity for an application-defined record version.
DomainReference
DomainReferenceSchema
EstimateRange
EvidenceArchiveIndex
EvidenceCursor
Monotonic cuts through every append-only evidence journal.
EvidenceDependency
EvidenceIndexEntry
EvidenceItemLocator
EvidenceJournalRoots
EvidenceJournalSegment
One contiguous append-only evidence range for incremental archival.
EvidenceSealToken
ExternalDecisionOption
ExternalDecisionRequest
ExternalDecisionResponse
HolderKnowledgeRecordId
HumanDecisionResponse
IngressReceipt
IngressRecord
KeyedDrawReservation
KnowledgeCursor
KnowledgeLimitsV1
KnowledgeOrigin
KnowledgeQuery
KnowledgeReadCut
KnowledgeRecord
KnowledgeRecordDraft
KnowledgeRecordId
KnowledgeRecordKind
Stable namespace and kind for a holder-relative knowledge record.
KnowledgeRecordView
KnowledgeSchemaId
Exact version of one registered knowledge schema.
KnowledgeSnapshot
KnowledgeSubject
KnowledgeSubjectSchema
KnowledgeWriteGrant
LlmModelIdentity
OrderedRulePolicy
PayloadProperty
PayloadRequiredEvidenceContinuationV1
Authoritative pending-continuation contract for rules that must inspect old payload bytes.
PluginActionDescriptor
PluginComponentRecord
PluginDescriptor
PluginIngressDescriptor
PluginIngressRequest
PluginIngressTarget
PluginKnowledgeSchema
PluginRegistrar
PluginRegistry
PolicyDecision
PreparedDecisionIngress
PreparedEvidenceSeal
QueuedExternalPolicy
QueuedHumanPolicy
QueuedLlmPolicy
RandomDrawRecord
RandomOperationAddressV1
Version-one stable entropy address for a future keyed random draw.
RandomStreamKey
RandomStreamState
ReplayJournal
Complete recorded environment and input journal for exact replay.
ReservationAllocation
ReservationOffer
ReservationOfferRecord
ReservationPoolKey
ReservationRef
ReservationRequest
ReservationRequestRecord
RunConfiguration
Scenario
SeatBinding
SimEvent
Simulation
SimulationCheckpoint
Current authoritative state plus the journal cut required to validate it.
SimulationSnapshot
SimulationView
StateKey
SystemContract
UtilityProfile
WeightedUtilityEvaluator
WeightedUtilityPolicy

Enums§

ArchiveStoreOutcome
BoundaryDirective
BoundaryEmissionKind
BoundaryPhase
CauseRef
Command
CommandAttemptOutcome
CommandIngress
CommandOutcome
CommandPolicyContext
Command-relevant policy deliberately omits run purpose, observation, and trace so authoritative handlers cannot branch on presentation-only inputs.
ControllerDecision
ControllerPolicy
DecisionAction
DecisionAttemptErrorCode
DecisionAttemptOutcome
DecisionAuthority
DecisionErrorCode
DecisionEvaluation
DecisionMutation
DecisionOrigin
DecisionOutcome
DecisionPolicyKind
DecisionTicketState
DomainRecordClass
DomainRecordLifecycle
DomainRecordMutation
DomainRecordMutationPolicy
DomainRecordOperation
DomainRecordVersionSource
Persisted identity of the operation that established one domain-record version. Version zero is reserved and rejected by runtime validation.
DomainReferenceTarget
DomainReferenceTargetKind
ErrorCode
EventAudience
Declarative audience for a persisted event projection.
EventKind
EvidenceJournalKind
EvidenceNestedLocator
EvidenceRef
Shared persisted-evidence identity used by knowledge, decisions, random operations, replay, and compact archive receipts.
EvidenceRequirement
IngressClass
IngressPayload
InteractionPolicy
Issuer
KnowledgeHistoryView
KnowledgeHolderPolicy
Whether a domain entity schema may receive holder-relative knowledge.
KnowledgeHolderRef
Stable holder identity shared by people and eligible institutional entities.
KnowledgeSource
KnowledgeSubjectTarget
KnowledgeSubjectTargetKind
ObservationPolicy
PayloadSchema
PayloadValueType
RandomAlgorithm
RandomDrawAddress
Persisted address of a random draw.
RandomDrawOutcome
RandomDrawProducer
RandomOperationTarget
Stable application target for an operation-addressed random draw.
ReservationDisposition
RuleChoice
RunConfigurationSnapshot
RunManifest
The exact non-executable environment bound to a simulation run.
RunPurpose
SeatPolicy
StateVisibility
SystemCadence
SystemDirective
TracePolicy

Constants§

ADMISSION_CURSOR_FORMAT_VERSION
Version of persisted monotonic boundary-admission cursors.
CHECKPOINT_JOURNAL_FORMAT_VERSION
Version of current-state checkpoints plus append-only evidence segments.
COMMITMENT_FORMAT_VERSION
Version of the domain-separated checkpoint commitment contract.
ENGINE_VERSION
MAX_SYNCHRONOUS_REACTION_DEPTH
Maximum nested depth of the compatibility synchronous event-reactor path.
PAYLOAD_REQUIRED_EVIDENCE_CONTINUATION_FIELD
Reserved domain-record payload field declaring a payload-reading continuation.
PAYLOAD_REQUIRED_EVIDENCE_CONTINUATION_FORMAT_VERSION
Current wire version of PayloadRequiredEvidenceContinuationV1.
RUN_CONFIGURATION_FORMAT_VERSION
RUN_MANIFEST_FORMAT_VERSION
SNAPSHOT_FORMAT_VERSION
STATE_REVISION_FORMAT_VERSION
Version of the independently migrated authoritative revision commitment.

Traits§

ArchiveProvider
ArchiveStore
DecisionPolicy
DecisionRule
ExternalPolicy
HumanPolicy
LlmPolicy
RulePolicy
SimulationPlugin
A stateless executable package whose persisted identity must change whenever its authoritative behavior changes.
UtilityEvaluator
UtilityPolicy

Functions§

canonical_byte_hash
Computes a domain-separated BLAKE3 commitment over an already canonical byte payload.
canonical_hash
Computes the engine’s canonical JSON commitment for plugin-owned data.
demo_scenario
payload_required_evidence_continuation_property_v1
Returns the reserved property a domain-record schema must declare to authoritatively produce PayloadRequired dependencies.

Type Aliases§

BoundarySystemHandler
PluginCommandHandler
SimulationSystemHandler
Compatibility-only synchronous event reactor.