Skip to main content

Module core_identity

Module core_identity 

Source
Expand description

Typed identity primitives shared by Code runtime projections.

This module is deliberately an identity and adaptation layer, not another event store. The existing run/evaluation journal remains the append-only authority; these values let Agent, evaluation, research, and SDK adapters refer to the same operation, source, capability, and evidence identity.

Structs§

ArtifactRef
Content-addressed artifact identity. Content remains in the authorized artifact store; this value is safe to carry through projections.
CapabilityStamp
Exact capability publication admitted for an operation.
CoreEventIdentity
Canonical digest-only identity for one runtime event.
CoreIdentity
Identity shared by one operation’s Agent/evaluation/research projections.
EvidenceCursor
Cursor into the evidence stream for one operation.
ManualLogicalClock
OperationId
Stable operation identity shared by all projections of one execution.
SourceRevision
Monotonic source revision used to prevent derived data crossing a source snapshot boundary. Zero means that the caller has not supplied a source revision yet; it is retained for backwards-compatible adapters.
SystemLogicalClock

Enums§

CoreIdentityError

Constants§

CORE_EVENT_IDENTITY_DIGEST_DOMAIN_V1
CORE_EVENT_IDENTITY_SCHEMA_V1
CORE_EVENT_PAYLOAD_DIGEST_DOMAIN_V1
CORE_IDENTITY_MAX_ARTIFACT_BYTES
CORE_IDENTITY_MAX_EVENT_TYPE_BYTES
CORE_IDENTITY_MAX_ID_BYTES
CORE_IDENTITY_MAX_MEDIA_TYPE_BYTES
CORE_IDENTITY_MAX_PAYLOAD_BYTES
CORE_IDENTITY_SCHEMA_V1

Traits§

LogicalClock
Injectable logical time source for event adapters and deterministic tests.