cayu.sessions.ForkSourceSnapshot
Part of cayu.sessions.base. Read the Python API overview and install the required extra.
from cayu.sessions import ForkSourceSnapshotExact, caller-visible authority for one safe session-fork source.
Bases: BaseModel.
Fields and attributes
Section titled “Fields and attributes”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 |
validate_identity (method)
Section titled “validate_identity (method)”ForkSourceSnapshot.validate_identity(value: str, info) -> strvalidate_digest (method)
Section titled “validate_digest (method)”ForkSourceSnapshot.validate_digest(value: str, info) -> strvalidate_status (method)
Section titled “validate_status (method)”ForkSourceSnapshot.validate_status(value: SessionStatus) -> SessionStatus