Skip to content

cayu.sessions.ForkSourceSnapshot

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

from cayu.sessions import ForkSourceSnapshot

Exact, caller-visible authority for one safe session-fork source.

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
source_session_id str required
source_instance_fingerprint str required
status SessionStatus required
run_epoch StrictInt Field(ge=0, le=MAX_DURABLE_JSON_INTEGER)
transcript_cursor StrictInt Field(ge=0, le=MAX_DURABLE_JSON_INTEGER)
transcript_sha256 str required
checkpoint_sha256 str required
execution_profile_fingerprint str required
causal_budget_id str required
ForkSourceSnapshot.validate_identity(value: str, info) -> str
ForkSourceSnapshot.validate_digest(value: str, info) -> str
ForkSourceSnapshot.validate_status(value: SessionStatus) -> SessionStatus

Release source · Runtime guarantees · Capability guides