Skip to content

cayu.sessions.RunnerObservedEventIdentity

Part of cayu.sessions.base. Read the Python API overview and install the required extra.

from cayu.sessions import RunnerObservedEventIdentity

Lightweight identity for one event drained by a runner-owned execution.

Sequence and type are the stable public/durable identity boundary; public streams intentionally replace private durable event IDs with authority-safe aliases. The eval runner retains this projection instead of full payloads while streaming a fresh run, then the store compares it with the complete append-only event log inside the bounded snapshot used for evidence.

Decorators: @dataclass(frozen=True, slots=True).

Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.

Name Type Default
session_id str required
sequence int | None required
event_type EventType | str required

Release source · Runtime guarantees · Capability guides