Skip to content

cayu.sessions.TerminalSessionEvidenceBoundary

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

from cayu.sessions import TerminalSessionEvidenceBoundary

Completeness and working-set metadata for a terminal evidence snapshot.

Bases: BaseModel.

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
first_event_sequence StrictInt Field(ge=1, le=MAX_DURABLE_JSON_INTEGER)
terminal_event_sequence StrictInt Field(ge=1, le=MAX_DURABLE_JSON_INTEGER)
transcript_end_index_exclusive StrictInt Field(ge=0, le=MAX_DURABLE_JSON_INTEGER)
run_epoch StrictInt Field(ge=0, le=MAX_DURABLE_JSON_INTEGER)
event_count StrictInt Field(ge=1, le=MAX_DURABLE_JSON_INTEGER)
transcript_count StrictInt Field(ge=0, le=MAX_DURABLE_JSON_INTEGER)
session_bytes StrictInt Field(ge=1, le=MAX_DURABLE_JSON_INTEGER)
event_bytes StrictInt Field(ge=1, le=MAX_DURABLE_JSON_INTEGER)
transcript_bytes StrictInt Field(ge=0, le=MAX_DURABLE_JSON_INTEGER)
terminal_publication_marker_bytes StrictInt Field(ge=0, le=MAX_DURABLE_JSON_INTEGER)
largest_record_bytes StrictInt Field(ge=1, le=MAX_DURABLE_JSON_INTEGER)
total_bytes StrictInt Field(ge=1, le=MAX_DURABLE_JSON_INTEGER)
lifecycle_event_sequences tuple[StrictInt, ...] ()

validate_lifecycle_event_sequences (method)

Section titled “validate_lifecycle_event_sequences (method)”
TerminalSessionEvidenceBoundary.validate_lifecycle_event_sequences(value) -> tuple[int, ...]

Release source · Runtime guarantees · Capability guides