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§
- Artifact
Ref - Content-addressed artifact identity. Content remains in the authorized artifact store; this value is safe to carry through projections.
- Capability
Stamp - Exact capability publication admitted for an operation.
- Core
Event Identity - Canonical digest-only identity for one runtime event.
- Core
Identity - Identity shared by one operation’s Agent/evaluation/research projections.
- Evidence
Cursor - Cursor into the evidence stream for one operation.
- Manual
Logical Clock - Operation
Id - Stable operation identity shared by all projections of one execution.
- Source
Revision - 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.
- System
Logical Clock
Enums§
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§
- Logical
Clock - Injectable logical time source for event adapters and deterministic tests.