cayu.work_context
Public Cayu API. Definitions are grouped by their public source module, and definitions from private implementation modules appear on their package’s page; adding a symbol does not move existing links. The import shown at each entry is a supported public namespace. Read the Python API overview and install the required extra.
AGENT_RECALL_CHECKPOINT_SCHEMA_VERSION
Section titled “AGENT_RECALL_CHECKPOINT_SCHEMA_VERSION”from cayu import AGENT_RECALL_CHECKPOINT_SCHEMA_VERSIONAGENT_RECALL_CHECKPOINT_SCHEMA_VERSION = 'cayu.agent_recall_checkpoint.v2'Release source · Runtime guarantees · Capability guides
AGENT_RECALL_DELIVERY_ACKNOWLEDGEMENT_SCHEMA_VERSION
Section titled “AGENT_RECALL_DELIVERY_ACKNOWLEDGEMENT_SCHEMA_VERSION”from cayu import AGENT_RECALL_DELIVERY_ACKNOWLEDGEMENT_SCHEMA_VERSIONAGENT_RECALL_DELIVERY_ACKNOWLEDGEMENT_SCHEMA_VERSION = 'cayu.agent_recall_delivery_acknowledgement.v1'Release source · Runtime guarantees · Capability guides
AGENT_RECALL_DELIVERY_CLAIM_SCHEMA_VERSION
Section titled “AGENT_RECALL_DELIVERY_CLAIM_SCHEMA_VERSION”from cayu import AGENT_RECALL_DELIVERY_CLAIM_SCHEMA_VERSIONAGENT_RECALL_DELIVERY_CLAIM_SCHEMA_VERSION = 'cayu.agent_recall_delivery_claim.v1'Release source · Runtime guarantees · Capability guides
AGENT_RECALL_DELIVERY_RECORD_SCHEMA_VERSION
Section titled “AGENT_RECALL_DELIVERY_RECORD_SCHEMA_VERSION”from cayu import AGENT_RECALL_DELIVERY_RECORD_SCHEMA_VERSIONAGENT_RECALL_DELIVERY_RECORD_SCHEMA_VERSION = 'cayu.agent_recall_delivery_record.v1'Release source · Runtime guarantees · Capability guides
AGENT_RECALL_DELIVERY_RELEASE_SCHEMA_VERSION
Section titled “AGENT_RECALL_DELIVERY_RELEASE_SCHEMA_VERSION”from cayu import AGENT_RECALL_DELIVERY_RELEASE_SCHEMA_VERSIONAGENT_RECALL_DELIVERY_RELEASE_SCHEMA_VERSION = 'cayu.agent_recall_delivery_release.v1'Release source · Runtime guarantees · Capability guides
AGENT_RECALL_DELIVERY_SCHEMA_VERSION
Section titled “AGENT_RECALL_DELIVERY_SCHEMA_VERSION”from cayu import AGENT_RECALL_DELIVERY_SCHEMA_VERSIONAGENT_RECALL_DELIVERY_SCHEMA_VERSION = 'cayu.agent_recall_delivery.v1'Release source · Runtime guarantees · Capability guides
agent_recall_facet_aspect
Section titled “agent_recall_facet_aspect”from cayu import agent_recall_facet_aspectEncode one typed work-context facet as an exact knowledge aspect.
agent_recall_facet_aspect(field_name: str, value: str) -> strRelease source · Runtime guarantees · Capability guides
AGENT_RECALL_SUBSCRIPTION_CLAIM_SCHEMA_VERSION
Section titled “AGENT_RECALL_SUBSCRIPTION_CLAIM_SCHEMA_VERSION”from cayu import AGENT_RECALL_SUBSCRIPTION_CLAIM_SCHEMA_VERSIONAGENT_RECALL_SUBSCRIPTION_CLAIM_SCHEMA_VERSION = 'cayu.agent_recall_subscription_claim.v1'Release source · Runtime guarantees · Capability guides
AGENT_RECALL_SUBSCRIPTION_EVALUATION_SCHEMA_VERSION
Section titled “AGENT_RECALL_SUBSCRIPTION_EVALUATION_SCHEMA_VERSION”from cayu import AGENT_RECALL_SUBSCRIPTION_EVALUATION_SCHEMA_VERSIONAGENT_RECALL_SUBSCRIPTION_EVALUATION_SCHEMA_VERSION = 'cayu.agent_recall_subscription_evaluation.v1'Release source · Runtime guarantees · Capability guides
AGENT_RECALL_SUBSCRIPTION_PUBLICATION_SCHEMA_VERSION
Section titled “AGENT_RECALL_SUBSCRIPTION_PUBLICATION_SCHEMA_VERSION”from cayu import AGENT_RECALL_SUBSCRIPTION_PUBLICATION_SCHEMA_VERSIONAGENT_RECALL_SUBSCRIPTION_PUBLICATION_SCHEMA_VERSION = 'cayu.agent_recall_subscription_publication_receipt.v1'Release source · Runtime guarantees · Capability guides
AGENT_RECALL_SUBSCRIPTION_RECORD_SCHEMA_VERSION
Section titled “AGENT_RECALL_SUBSCRIPTION_RECORD_SCHEMA_VERSION”from cayu import AGENT_RECALL_SUBSCRIPTION_RECORD_SCHEMA_VERSIONAGENT_RECALL_SUBSCRIPTION_RECORD_SCHEMA_VERSION = 'cayu.agent_recall_subscription_record.v1'Release source · Runtime guarantees · Capability guides
AGENT_RECALL_SUBSCRIPTION_RELEASE_SCHEMA_VERSION
Section titled “AGENT_RECALL_SUBSCRIPTION_RELEASE_SCHEMA_VERSION”from cayu import AGENT_RECALL_SUBSCRIPTION_RELEASE_SCHEMA_VERSIONAGENT_RECALL_SUBSCRIPTION_RELEASE_SCHEMA_VERSION = 'cayu.agent_recall_subscription_release.v1'Release source · Runtime guarantees · Capability guides
AGENT_RECALL_SUBSCRIPTION_SCHEMA_VERSION
Section titled “AGENT_RECALL_SUBSCRIPTION_SCHEMA_VERSION”from cayu import AGENT_RECALL_SUBSCRIPTION_SCHEMA_VERSIONAGENT_RECALL_SUBSCRIPTION_SCHEMA_VERSION = 'cayu.agent_recall_subscription.v1'Release source · Runtime guarantees · Capability guides
AGENT_RECALL_SUBSCRIPTION_WAKE_ACKNOWLEDGEMENT_SCHEMA_VERSION
Section titled “AGENT_RECALL_SUBSCRIPTION_WAKE_ACKNOWLEDGEMENT_SCHEMA_VERSION”from cayu import AGENT_RECALL_SUBSCRIPTION_WAKE_ACKNOWLEDGEMENT_SCHEMA_VERSIONAGENT_RECALL_SUBSCRIPTION_WAKE_ACKNOWLEDGEMENT_SCHEMA_VERSION = 'cayu.agent_recall_subscription_wake_acknowledgement.v1'Release source · Runtime guarantees · Capability guides
AGENT_RECALL_SUBSCRIPTION_WAKE_CLAIM_SCHEMA_VERSION
Section titled “AGENT_RECALL_SUBSCRIPTION_WAKE_CLAIM_SCHEMA_VERSION”from cayu import AGENT_RECALL_SUBSCRIPTION_WAKE_CLAIM_SCHEMA_VERSIONAGENT_RECALL_SUBSCRIPTION_WAKE_CLAIM_SCHEMA_VERSION = 'cayu.agent_recall_subscription_wake_claim.v1'Release source · Runtime guarantees · Capability guides
AGENT_RECALL_SUBSCRIPTION_WAKE_RELEASE_SCHEMA_VERSION
Section titled “AGENT_RECALL_SUBSCRIPTION_WAKE_RELEASE_SCHEMA_VERSION”from cayu import AGENT_RECALL_SUBSCRIPTION_WAKE_RELEASE_SCHEMA_VERSIONAGENT_RECALL_SUBSCRIPTION_WAKE_RELEASE_SCHEMA_VERSION = 'cayu.agent_recall_subscription_wake_release.v1'Release source · Runtime guarantees · Capability guides
AGENT_RECALL_SUBSCRIPTION_WAKE_SCHEMA_VERSION
Section titled “AGENT_RECALL_SUBSCRIPTION_WAKE_SCHEMA_VERSION”from cayu import AGENT_RECALL_SUBSCRIPTION_WAKE_SCHEMA_VERSIONAGENT_RECALL_SUBSCRIPTION_WAKE_SCHEMA_VERSION = 'cayu.agent_recall_subscription_wake.v1'Release source · Runtime guarantees · Capability guides
AGENT_WORK_CONTEXT_PUBLICATION_SCHEMA_VERSION
Section titled “AGENT_WORK_CONTEXT_PUBLICATION_SCHEMA_VERSION”from cayu import AGENT_WORK_CONTEXT_PUBLICATION_SCHEMA_VERSIONAGENT_WORK_CONTEXT_PUBLICATION_SCHEMA_VERSION = 'cayu.agent_work_context_publication_receipt.v1'Release source · Runtime guarantees · Capability guides
AGENT_WORK_CONTEXT_SCHEMA_VERSION
Section titled “AGENT_WORK_CONTEXT_SCHEMA_VERSION”from cayu import AGENT_WORK_CONTEXT_SCHEMA_VERSIONAGENT_WORK_CONTEXT_SCHEMA_VERSION = 'cayu.agent_work_context.v1'Release source · Runtime guarantees · Capability guides
AgentRecallCheckpoint
Section titled “AgentRecallCheckpoint”from cayu import AgentRecallCheckpointProcessed freshness frontier for one exact agent/task/access view.
Bases: _WorkContextModel.
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 |
|---|---|---|
schema_version |
Literal['cayu.agent_recall_checkpoint.v2'] |
AGENT_RECALL_CHECKPOINT_SCHEMA_VERSION |
agent_id |
str |
required |
task_id |
str |
required |
knowledge_namespace |
str |
required |
access_policy_sha256 |
str |
required |
checkpoint_stream_id |
str |
DEFAULT_AGENT_RECALL_CHECKPOINT_STREAM_ID |
revision |
int |
required |
work_context_revision |
int |
required |
work_context_sha256 |
str |
required |
knowledge_sequence |
int |
required |
index_readiness_sequence |
int |
required |
knowledge_high_water_sequence |
int |
required |
index_readiness_high_water_sequence |
int |
required |
processing_mode |
AgentRecallCheckpointMode |
required |
processing_id |
str |
required |
operation_id |
str |
required |
updated_by |
str |
required |
updated_at |
datetime |
required |
model_copy (method)
Section titled “model_copy (method)”AgentRecallCheckpoint.model_copy(*, update: Mapping[str, Any] | None=None, deep: bool=False) -> Selfvalidate_key_identity (method)
Section titled “validate_key_identity (method)”AgentRecallCheckpoint.validate_key_identity(value: str, info) -> strvalidate_processing_identity (method)
Section titled “validate_processing_identity (method)”AgentRecallCheckpoint.validate_processing_identity(value: str, info) -> strvalidate_digest (method)
Section titled “validate_digest (method)”AgentRecallCheckpoint.validate_digest(value: str, info) -> strvalidate_positive_revision (method)
Section titled “validate_positive_revision (method)”AgentRecallCheckpoint.validate_positive_revision(value: int, info) -> intvalidate_sequence (method)
Section titled “validate_sequence (method)”AgentRecallCheckpoint.validate_sequence(value: int, info) -> intvalidate_processing_mode (method)
Section titled “validate_processing_mode (method)”AgentRecallCheckpoint.validate_processing_mode(value: object) -> AgentRecallCheckpointModevalidate_updated_at (method)
Section titled “validate_updated_at (method)”AgentRecallCheckpoint.validate_updated_at(value: datetime) -> datetimevalidate_captured_frontiers (method)
Section titled “validate_captured_frontiers (method)”AgentRecallCheckpoint.validate_captured_frontiers() -> AgentRecallCheckpointkey (method)
Section titled “key (method)”AgentRecallCheckpoint.key() -> AgentRecallCheckpointKeyfingerprint (method)
Section titled “fingerprint (method)”AgentRecallCheckpoint.fingerprint() -> strRelease source · Runtime guarantees · Capability guides
AgentRecallCheckpointKey
Section titled “AgentRecallCheckpointKey”from cayu import AgentRecallCheckpointKeyBases: _WorkContextModel.
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 |
|---|---|---|
agent_id |
str |
required |
task_id |
str |
required |
knowledge_namespace |
str |
required |
access_policy_sha256 |
str |
required |
checkpoint_stream_id |
str |
DEFAULT_AGENT_RECALL_CHECKPOINT_STREAM_ID |
model_copy (method)
Section titled “model_copy (method)”AgentRecallCheckpointKey.model_copy(*, update: Mapping[str, Any] | None=None, deep: bool=False) -> Selfvalidate_identity (method)
Section titled “validate_identity (method)”AgentRecallCheckpointKey.validate_identity(value: str, info) -> strvalidate_access_policy_sha256 (method)
Section titled “validate_access_policy_sha256 (method)”AgentRecallCheckpointKey.validate_access_policy_sha256(value: str) -> strsort_key (method)
Section titled “sort_key (method)”AgentRecallCheckpointKey.sort_key() -> tuple[str, str, str, str, str]authority_sort_key (method)
Section titled “authority_sort_key (method)”AgentRecallCheckpointKey.authority_sort_key() -> tuple[str, str, str, str]Return the selector shared by all checkpoint streams for this authority.
fingerprint (method)
Section titled “fingerprint (method)”AgentRecallCheckpointKey.fingerprint() -> strRelease source · Runtime guarantees · Capability guides
AgentRecallCheckpointMode
Section titled “AgentRecallCheckpointMode”from cayu import AgentRecallCheckpointModeBases: StrEnum.
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 |
|---|---|---|
FULL_INDEX |
class attribute |
'full_index' |
DELTA |
class attribute |
'delta' |
Release source · Runtime guarantees · Capability guides
AgentRecallDelivery
Section titled “AgentRecallDelivery”from cayu import AgentRecallDeliveryImmutable materialized recall staged beside its committed checkpoint.
Bases: _WorkContextModel.
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 |
|---|---|---|
schema_version |
Literal['cayu.agent_recall_delivery.v1'] |
AGENT_RECALL_DELIVERY_SCHEMA_VERSION |
delivery_id |
str |
required |
agent_id |
str |
required |
task_id |
str |
required |
knowledge_namespace |
str |
required |
access_policy_sha256 |
str |
required |
work_context_revision |
int |
required |
work_context_sha256 |
str |
required |
processing_id |
str |
required |
operation_id |
str |
required |
processing_result_sha256 |
str |
required |
processing_result |
Mapping[str, Any] |
required |
checkpoint |
AgentRecallCheckpoint |
required |
checkpoint_sha256 |
str |
required |
processing_mode |
AgentRecallCheckpointMode |
required |
expected_checkpoint_revision |
int | None |
required |
staged_by |
str |
required |
staged_at |
datetime |
required |
model_copy (method)
Section titled “model_copy (method)”AgentRecallDelivery.model_copy(*, update: Mapping[str, Any] | None=None, deep: bool=False) -> Selfvalidate_identity (method)
Section titled “validate_identity (method)”AgentRecallDelivery.validate_identity(value: str, info) -> strvalidate_digest (method)
Section titled “validate_digest (method)”AgentRecallDelivery.validate_digest(value: str, info) -> strvalidate_work_context_revision (method)
Section titled “validate_work_context_revision (method)”AgentRecallDelivery.validate_work_context_revision(value: int) -> intvalidate_expected_checkpoint_revision (method)
Section titled “validate_expected_checkpoint_revision (method)”AgentRecallDelivery.validate_expected_checkpoint_revision(value: int | None) -> int | Nonecopy_processing_result (method)
Section titled “copy_processing_result (method)”AgentRecallDelivery.copy_processing_result(value: object) -> dict[str, Any]freeze_processing_result (method)
Section titled “freeze_processing_result (method)”AgentRecallDelivery.freeze_processing_result(value: Mapping[str, Any]) -> Mapping[str, Any]serialize_processing_result (method)
Section titled “serialize_processing_result (method)”AgentRecallDelivery.serialize_processing_result(value: Mapping[str, Any]) -> dict[str, Any]copy_checkpoint (method)
Section titled “copy_checkpoint (method)”AgentRecallDelivery.copy_checkpoint(value: object, info) -> AgentRecallCheckpointvalidate_processing_mode (method)
Section titled “validate_processing_mode (method)”AgentRecallDelivery.validate_processing_mode(value: object) -> AgentRecallCheckpointModevalidate_staged_at (method)
Section titled “validate_staged_at (method)”AgentRecallDelivery.validate_staged_at(value: datetime) -> datetimevalidate_processing_authority (method)
Section titled “validate_processing_authority (method)”AgentRecallDelivery.validate_processing_authority() -> AgentRecallDeliveryfrom_processing_result (method)
Section titled “from_processing_result (method)”AgentRecallDelivery.from_processing_result(result: AgentRecallProcessingResult, *, delivery_id: str, expected_checkpoint_revision: int | None, staged_by: str, staged_at: datetime) -> AgentRecallDeliverymaterialized_result (method)
Section titled “materialized_result (method)”AgentRecallDelivery.materialized_result() -> AgentRecallProcessingResultkey (method)
Section titled “key (method)”AgentRecallDelivery.key() -> AgentRecallCheckpointKeyfingerprint (method)
Section titled “fingerprint (method)”AgentRecallDelivery.fingerprint() -> strRelease source · Runtime guarantees · Capability guides
AgentRecallDeliveryAcknowledgement
Section titled “AgentRecallDeliveryAcknowledgement”from cayu import AgentRecallDeliveryAcknowledgementDurable downstream handoff evidence; not provider-exposure evidence.
Bases: _WorkContextModel.
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 |
|---|---|---|
schema_version |
Literal['cayu.agent_recall_delivery_acknowledgement.v1'] |
AGENT_RECALL_DELIVERY_ACKNOWLEDGEMENT_SCHEMA_VERSION |
acknowledgement_id |
str |
required |
delivery_id |
str |
required |
processing_result_sha256 |
str |
required |
claim_id |
str |
required |
worker_id |
str |
required |
attempt |
int |
required |
evidence_kind |
AgentRecallDeliveryEvidenceKind |
required |
evidence_ref |
str |
required |
acknowledged_at |
datetime |
required |
model_copy (method)
Section titled “model_copy (method)”AgentRecallDeliveryAcknowledgement.model_copy(*, update: Mapping[str, Any] | None=None, deep: bool=False) -> Selfvalidate_identity (method)
Section titled “validate_identity (method)”AgentRecallDeliveryAcknowledgement.validate_identity(value: str, info) -> strvalidate_result_digest (method)
Section titled “validate_result_digest (method)”AgentRecallDeliveryAcknowledgement.validate_result_digest(value: str) -> strvalidate_evidence_kind (method)
Section titled “validate_evidence_kind (method)”AgentRecallDeliveryAcknowledgement.validate_evidence_kind(value: object) -> AgentRecallDeliveryEvidenceKindvalidate_attempt (method)
Section titled “validate_attempt (method)”AgentRecallDeliveryAcknowledgement.validate_attempt(value: int) -> intvalidate_acknowledged_at (method)
Section titled “validate_acknowledged_at (method)”AgentRecallDeliveryAcknowledgement.validate_acknowledged_at(value: datetime) -> datetimeRelease source · Runtime guarantees · Capability guides
AgentRecallDeliveryClaim
Section titled “AgentRecallDeliveryClaim”from cayu import AgentRecallDeliveryClaimLease-fenced authority over one staged delivery.
Bases: _WorkContextModel.
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 |
|---|---|---|
schema_version |
Literal['cayu.agent_recall_delivery_claim.v1'] |
AGENT_RECALL_DELIVERY_CLAIM_SCHEMA_VERSION |
delivery_id |
str |
required |
processing_result_sha256 |
str |
required |
claim_id |
str |
required |
worker_id |
str |
required |
attempt |
int |
required |
state_revision |
int |
required |
claimed_at |
datetime |
required |
lease_expires_at |
datetime |
required |
model_copy (method)
Section titled “model_copy (method)”AgentRecallDeliveryClaim.model_copy(*, update: Mapping[str, Any] | None=None, deep: bool=False) -> Selfvalidate_identity (method)
Section titled “validate_identity (method)”AgentRecallDeliveryClaim.validate_identity(value: str, info) -> strvalidate_result_digest (method)
Section titled “validate_result_digest (method)”AgentRecallDeliveryClaim.validate_result_digest(value: str) -> strvalidate_attempt (method)
Section titled “validate_attempt (method)”AgentRecallDeliveryClaim.validate_attempt(value: int) -> intvalidate_state_revision (method)
Section titled “validate_state_revision (method)”AgentRecallDeliveryClaim.validate_state_revision(value: int) -> intvalidate_time (method)
Section titled “validate_time (method)”AgentRecallDeliveryClaim.validate_time(value: datetime, info) -> datetimevalidate_lease (method)
Section titled “validate_lease (method)”AgentRecallDeliveryClaim.validate_lease() -> AgentRecallDeliveryClaimRelease source · Runtime guarantees · Capability guides
AgentRecallDeliveryConflict
Section titled “AgentRecallDeliveryConflict”from cayu import AgentRecallDeliveryConflictA staged-delivery operation lost or reused exact transition authority.
Bases: RuntimeError.
init (method)
Section titled “init (method)”AgentRecallDeliveryConflict.__init__(code: str) -> NoneRelease source · Runtime guarantees · Capability guides
AgentRecallDeliveryEvidenceKind
Section titled “AgentRecallDeliveryEvidenceKind”from cayu import AgentRecallDeliveryEvidenceKindKind of durable downstream evidence that accepted a staged result.
Bases: StrEnum.
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 |
|---|---|---|
RECALL_RECEIPT |
class attribute |
'recall_receipt' |
CONTEXT_EXPOSURE |
class attribute |
'context_exposure' |
APPLICATION_HANDOFF |
class attribute |
'application_handoff' |
Release source · Runtime guarantees · Capability guides
AgentRecallDeliveryRecord
Section titled “AgentRecallDeliveryRecord”from cayu import AgentRecallDeliveryRecordCurrent delivery state plus its immutable staged payload and acknowledgement.
Bases: _WorkContextModel.
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 |
|---|---|---|
schema_version |
Literal['cayu.agent_recall_delivery_record.v1'] |
AGENT_RECALL_DELIVERY_RECORD_SCHEMA_VERSION |
delivery |
AgentRecallDelivery |
required |
state |
AgentRecallDeliveryState |
AgentRecallDeliveryState.PENDING |
state_revision |
int |
0 |
attempt |
int |
0 |
claim |
AgentRecallDeliveryClaim | None |
None |
release |
AgentRecallDeliveryRelease | None |
None |
acknowledgement |
AgentRecallDeliveryAcknowledgement | None |
None |
updated_at |
datetime |
required |
model_copy (method)
Section titled “model_copy (method)”AgentRecallDeliveryRecord.model_copy(*, update: Mapping[str, Any] | None=None, deep: bool=False) -> Selfcopy_delivery (method)
Section titled “copy_delivery (method)”AgentRecallDeliveryRecord.copy_delivery(value: object, info) -> AgentRecallDeliveryvalidate_state (method)
Section titled “validate_state (method)”AgentRecallDeliveryRecord.validate_state(value: object) -> AgentRecallDeliveryStatevalidate_nonnegative_counter (method)
Section titled “validate_nonnegative_counter (method)”AgentRecallDeliveryRecord.validate_nonnegative_counter(value: int, info) -> intcopy_claim (method)
Section titled “copy_claim (method)”AgentRecallDeliveryRecord.copy_claim(value: object, info) -> AgentRecallDeliveryClaim | Nonecopy_release (method)
Section titled “copy_release (method)”AgentRecallDeliveryRecord.copy_release(value: object, info) -> AgentRecallDeliveryRelease | Nonecopy_acknowledgement (method)
Section titled “copy_acknowledgement (method)”AgentRecallDeliveryRecord.copy_acknowledgement(value: object, info) -> AgentRecallDeliveryAcknowledgement | Nonevalidate_updated_at (method)
Section titled “validate_updated_at (method)”AgentRecallDeliveryRecord.validate_updated_at(value: datetime) -> datetimevalidate_lifecycle (method)
Section titled “validate_lifecycle (method)”AgentRecallDeliveryRecord.validate_lifecycle() -> AgentRecallDeliveryRecordRelease source · Runtime guarantees · Capability guides
AgentRecallDeliveryRelease
Section titled “AgentRecallDeliveryRelease”from cayu import AgentRecallDeliveryReleaseImmutable evidence that one claim returned its stage for retry.
Bases: _WorkContextModel.
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 |
|---|---|---|
schema_version |
Literal['cayu.agent_recall_delivery_release.v1'] |
AGENT_RECALL_DELIVERY_RELEASE_SCHEMA_VERSION |
release_id |
str |
required |
delivery_id |
str |
required |
processing_result_sha256 |
str |
required |
claim_id |
str |
required |
worker_id |
str |
required |
attempt |
int |
required |
claim_state_revision |
int |
required |
reason |
str |
required |
released_at |
datetime |
required |
model_copy (method)
Section titled “model_copy (method)”AgentRecallDeliveryRelease.model_copy(*, update: Mapping[str, Any] | None=None, deep: bool=False) -> Selfvalidate_identity (method)
Section titled “validate_identity (method)”AgentRecallDeliveryRelease.validate_identity(value: str, info) -> strvalidate_result_digest (method)
Section titled “validate_result_digest (method)”AgentRecallDeliveryRelease.validate_result_digest(value: str) -> strvalidate_positive_counter (method)
Section titled “validate_positive_counter (method)”AgentRecallDeliveryRelease.validate_positive_counter(value: int, info) -> intvalidate_reason (method)
Section titled “validate_reason (method)”AgentRecallDeliveryRelease.validate_reason(value: str) -> strvalidate_released_at (method)
Section titled “validate_released_at (method)”AgentRecallDeliveryRelease.validate_released_at(value: datetime) -> datetimefingerprint (method)
Section titled “fingerprint (method)”AgentRecallDeliveryRelease.fingerprint() -> strRelease source · Runtime guarantees · Capability guides
AgentRecallDeliveryState
Section titled “AgentRecallDeliveryState”from cayu import AgentRecallDeliveryStateDurable handoff state; acknowledgement is not provider exposure.
Bases: StrEnum.
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 |
|---|---|---|
PENDING |
class attribute |
'pending' |
CLAIMED |
class attribute |
'claimed' |
ACKNOWLEDGED |
class attribute |
'acknowledged' |
Release source · Runtime guarantees · Capability guides
AgentRecallSubscription
Section titled “AgentRecallSubscription”from cayu import AgentRecallSubscriptionOne immutable revision of an idle-task recall subscription.
Bases: _WorkContextModel.
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 |
|---|---|---|
schema_version |
Literal['cayu.agent_recall_subscription.v1'] |
AGENT_RECALL_SUBSCRIPTION_SCHEMA_VERSION |
subscription_id |
str |
required |
agent_id |
str |
required |
task_id |
str |
required |
knowledge_namespace |
str |
required |
access_policy_sha256 |
str |
required |
work_context_revision |
int |
required |
work_context_sha256 |
str |
required |
query |
str | None |
None |
scope_ids |
tuple[str, ...] |
() |
entity_ids |
tuple[str, ...] |
() |
artifact_ids |
tuple[str, ...] |
() |
repository_paths |
tuple[str, ...] |
() |
code_symbols |
tuple[str, ...] |
() |
planned_action_ids |
tuple[str, ...] |
() |
admission_policy |
Mapping[str, Any] |
required |
admission_policy_sha256 |
str |
required |
priority |
int |
0 |
minimum_interval_seconds |
float |
required |
expires_at |
datetime |
required |
status |
AgentRecallSubscriptionStatus |
required |
revision |
int |
required |
operation_id |
str |
required |
published_by |
str |
required |
published_at |
datetime |
required |
model_copy (method)
Section titled “model_copy (method)”AgentRecallSubscription.model_copy(*, update: Mapping[str, Any] | None=None, deep: bool=False) -> Selfvalidate_identity (method)
Section titled “validate_identity (method)”AgentRecallSubscription.validate_identity(value: str, info) -> strvalidate_digest (method)
Section titled “validate_digest (method)”AgentRecallSubscription.validate_digest(value: str, info) -> strvalidate_revision (method)
Section titled “validate_revision (method)”AgentRecallSubscription.validate_revision(value: int, info) -> intvalidate_query (method)
Section titled “validate_query (method)”AgentRecallSubscription.validate_query(value: str | None) -> str | Nonevalidate_filter_collections (method)
Section titled “validate_filter_collections (method)”AgentRecallSubscription.validate_filter_collections(value: object, info) -> tuple[str, ...]validate_priority (method)
Section titled “validate_priority (method)”AgentRecallSubscription.validate_priority(value: int) -> intcopy_admission_policy (method)
Section titled “copy_admission_policy (method)”AgentRecallSubscription.copy_admission_policy(value: object) -> dict[str, Any]freeze_admission_policy (method)
Section titled “freeze_admission_policy (method)”AgentRecallSubscription.freeze_admission_policy(value: Mapping[str, Any]) -> Mapping[str, Any]serialize_admission_policy (method)
Section titled “serialize_admission_policy (method)”AgentRecallSubscription.serialize_admission_policy(value: Mapping[str, Any]) -> dict[str, Any]validate_minimum_interval (method)
Section titled “validate_minimum_interval (method)”AgentRecallSubscription.validate_minimum_interval(value: float) -> floatvalidate_datetime (method)
Section titled “validate_datetime (method)”AgentRecallSubscription.validate_datetime(value: datetime, info) -> datetimevalidate_status (method)
Section titled “validate_status (method)”AgentRecallSubscription.validate_status(value: object) -> AgentRecallSubscriptionStatusvalidate_authority (method)
Section titled “validate_authority (method)”AgentRecallSubscription.validate_authority() -> AgentRecallSubscriptioncreate (method)
Section titled “create (method)”AgentRecallSubscription.create(*, subscription_id: str, agent_id: str, work_context: AgentWorkContext, knowledge_namespace: str, access_policy_sha256: str, admission_policy: Any, minimum_interval_seconds: float, expires_at: datetime, revision: int, operation_id: str, published_by: str, published_at: datetime, query: str | None=None, scope_ids: Sequence[str]=(), entity_ids: Sequence[str]=(), artifact_ids: Sequence[str]=(), repository_paths: Sequence[str]=(), code_symbols: Sequence[str]=(), planned_action_ids: Sequence[str]=(), priority: int=0, status: AgentRecallSubscriptionStatus=AgentRecallSubscriptionStatus.ACTIVE) -> AgentRecallSubscriptioncheckpoint_key (method)
Section titled “checkpoint_key (method)”AgentRecallSubscription.checkpoint_key() -> AgentRecallCheckpointKeycheckpoint_stream_id (method)
Section titled “checkpoint_stream_id (method)”AgentRecallSubscription.checkpoint_stream_id() -> strReturn the cursor identity for this subscription’s retrieval definition.
policy (method)
Section titled “policy (method)”AgentRecallSubscription.policy()retrieval_query (method)
Section titled “retrieval_query (method)”AgentRecallSubscription.retrieval_query() -> strfacet_aspect_groups (method)
Section titled “facet_aspect_groups (method)”AgentRecallSubscription.facet_aspect_groups() -> tuple[tuple[str, ...], ...]Return OR-within/AND-across indexed aspect groups for this subscription.
recall_situation (method)
Section titled “recall_situation (method)”AgentRecallSubscription.recall_situation(access_scope: Any, *, current_time: datetime)Build the exact recurring processor input for this subscription.
situation_sha256 (method)
Section titled “situation_sha256 (method)”AgentRecallSubscription.situation_sha256() -> strfingerprint (method)
Section titled “fingerprint (method)”AgentRecallSubscription.fingerprint() -> strRelease source · Runtime guarantees · Capability guides
AgentRecallSubscriptionClaim
Section titled “AgentRecallSubscriptionClaim”from cayu import AgentRecallSubscriptionClaimOne store-clock lease over a due subscription revision.
Bases: _WorkContextModel.
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 |
|---|---|---|
schema_version |
Literal['cayu.agent_recall_subscription_claim.v1'] |
AGENT_RECALL_SUBSCRIPTION_CLAIM_SCHEMA_VERSION |
subscription_id |
str |
required |
subscription_revision |
int |
required |
subscription_sha256 |
str |
required |
claim_id |
str |
required |
runner_id |
str |
required |
attempt |
int |
required |
state_revision |
int |
required |
claimed_at |
datetime |
required |
lease_expires_at |
datetime |
required |
model_copy (method)
Section titled “model_copy (method)”AgentRecallSubscriptionClaim.model_copy(*, update: Mapping[str, Any] | None=None, deep: bool=False) -> Selfvalidate_identity (method)
Section titled “validate_identity (method)”AgentRecallSubscriptionClaim.validate_identity(value: str, info) -> strvalidate_revision (method)
Section titled “validate_revision (method)”AgentRecallSubscriptionClaim.validate_revision(value: int, info) -> intvalidate_sha256 (method)
Section titled “validate_sha256 (method)”AgentRecallSubscriptionClaim.validate_sha256(value: str) -> strvalidate_datetime (method)
Section titled “validate_datetime (method)”AgentRecallSubscriptionClaim.validate_datetime(value: datetime, info) -> datetimevalidate_lease (method)
Section titled “validate_lease (method)”AgentRecallSubscriptionClaim.validate_lease() -> AgentRecallSubscriptionClaimRelease source · Runtime guarantees · Capability guides
AgentRecallSubscriptionConflict
Section titled “AgentRecallSubscriptionConflict”from cayu import AgentRecallSubscriptionConflictA subscription operation lost or reused exact transition authority.
Bases: RuntimeError.
init (method)
Section titled “init (method)”AgentRecallSubscriptionConflict.__init__(code: str) -> NoneRelease source · Runtime guarantees · Capability guides
AgentRecallSubscriptionEvaluation
Section titled “AgentRecallSubscriptionEvaluation”from cayu import AgentRecallSubscriptionEvaluationImmutable evidence for one atomic subscription evaluation commit.
Bases: _WorkContextModel.
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 |
|---|---|---|
schema_version |
Literal['cayu.agent_recall_subscription_evaluation.v1'] |
AGENT_RECALL_SUBSCRIPTION_EVALUATION_SCHEMA_VERSION |
evaluation_id |
str |
required |
request_sha256 |
str |
required |
subscription_id |
str |
required |
subscription_revision |
int |
required |
subscription_sha256 |
str |
required |
claim_id |
str |
required |
runner_id |
str |
required |
attempt |
int |
required |
claim_state_revision |
int |
required |
processing_id |
str |
required |
processing_operation_id |
str |
required |
processing_result_sha256 |
str |
required |
contribution_sha256 |
str | None |
required |
outcome |
AgentRecallSubscriptionEvaluationOutcome |
required |
checkpoint_sha256 |
str | None |
None |
checkpoint_revision |
int | None |
None |
delivery_id |
str | None |
None |
committed_at |
datetime |
required |
next_evaluation_at |
datetime |
required |
model_copy (method)
Section titled “model_copy (method)”AgentRecallSubscriptionEvaluation.model_copy(*, update: Mapping[str, Any] | None=None, deep: bool=False) -> Selfvalidate_identity (method)
Section titled “validate_identity (method)”AgentRecallSubscriptionEvaluation.validate_identity(value: str | None, info) -> str | Nonevalidate_digest (method)
Section titled “validate_digest (method)”AgentRecallSubscriptionEvaluation.validate_digest(value: str | None, info) -> str | Nonevalidate_positive (method)
Section titled “validate_positive (method)”AgentRecallSubscriptionEvaluation.validate_positive(value: int, info) -> intvalidate_optional_revision (method)
Section titled “validate_optional_revision (method)”AgentRecallSubscriptionEvaluation.validate_optional_revision(value: int | None) -> int | Nonevalidate_outcome (method)
Section titled “validate_outcome (method)”AgentRecallSubscriptionEvaluation.validate_outcome(value: object) -> AgentRecallSubscriptionEvaluationOutcomevalidate_datetime (method)
Section titled “validate_datetime (method)”AgentRecallSubscriptionEvaluation.validate_datetime(value: datetime, info) -> datetimevalidate_outcome_evidence (method)
Section titled “validate_outcome_evidence (method)”AgentRecallSubscriptionEvaluation.validate_outcome_evidence() -> AgentRecallSubscriptionEvaluationRelease source · Runtime guarantees · Capability guides
AgentRecallSubscriptionEvaluationOutcome
Section titled “AgentRecallSubscriptionEvaluationOutcome”from cayu import AgentRecallSubscriptionEvaluationOutcomeDurable result of one bounded subscription evaluation.
Bases: StrEnum.
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 |
|---|---|---|
NO_WORK |
class attribute |
'no_work' |
SILENT |
class attribute |
'silent' |
WAKE |
class attribute |
'wake' |
Release source · Runtime guarantees · Capability guides
AgentRecallSubscriptionPublicationReceipt
Section titled “AgentRecallSubscriptionPublicationReceipt”from cayu import AgentRecallSubscriptionPublicationReceiptImmutable idempotency evidence for one subscription revision.
Bases: _WorkContextModel.
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 |
|---|---|---|
schema_version |
Literal['cayu.agent_recall_subscription_publication_receipt.v1'] |
AGENT_RECALL_SUBSCRIPTION_PUBLICATION_SCHEMA_VERSION |
operation_id |
str |
required |
request_sha256 |
str |
required |
expected_revision |
int | None |
required |
subscription |
AgentRecallSubscription |
required |
committed_at |
datetime |
required |
model_copy (method)
Section titled “model_copy (method)”AgentRecallSubscriptionPublicationReceipt.model_copy(*, update: Mapping[str, Any] | None=None, deep: bool=False) -> Selfvalidate_operation_id (method)
Section titled “validate_operation_id (method)”AgentRecallSubscriptionPublicationReceipt.validate_operation_id(value: str) -> strvalidate_request_sha256 (method)
Section titled “validate_request_sha256 (method)”AgentRecallSubscriptionPublicationReceipt.validate_request_sha256(value: str) -> strvalidate_expected_revision (method)
Section titled “validate_expected_revision (method)”AgentRecallSubscriptionPublicationReceipt.validate_expected_revision(value: int | None) -> int | Nonecopy_subscription (method)
Section titled “copy_subscription (method)”AgentRecallSubscriptionPublicationReceipt.copy_subscription(value: object, info) -> AgentRecallSubscriptionvalidate_committed_at (method)
Section titled “validate_committed_at (method)”AgentRecallSubscriptionPublicationReceipt.validate_committed_at(value: datetime) -> datetimevalidate_publication (method)
Section titled “validate_publication (method)”AgentRecallSubscriptionPublicationReceipt.validate_publication() -> AgentRecallSubscriptionPublicationReceiptRelease source · Runtime guarantees · Capability guides
AgentRecallSubscriptionRecord
Section titled “AgentRecallSubscriptionRecord”from cayu import AgentRecallSubscriptionRecordCurrent scheduling state for one immutable subscription head.
Bases: _WorkContextModel.
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 |
|---|---|---|
schema_version |
Literal['cayu.agent_recall_subscription_record.v1'] |
AGENT_RECALL_SUBSCRIPTION_RECORD_SCHEMA_VERSION |
subscription |
AgentRecallSubscription |
required |
run_state |
AgentRecallSubscriptionRunState |
AgentRecallSubscriptionRunState.DUE |
state_revision |
int |
0 |
attempt |
int |
0 |
claim |
AgentRecallSubscriptionClaim | None |
None |
release |
AgentRecallSubscriptionRelease | None |
None |
next_evaluation_at |
datetime |
required |
last_evaluation_id |
str | None |
None |
updated_at |
datetime |
required |
model_copy (method)
Section titled “model_copy (method)”AgentRecallSubscriptionRecord.model_copy(*, update: Mapping[str, Any] | None=None, deep: bool=False) -> Selfcopy_subscription (method)
Section titled “copy_subscription (method)”AgentRecallSubscriptionRecord.copy_subscription(value: object, info) -> AgentRecallSubscriptionvalidate_run_state (method)
Section titled “validate_run_state (method)”AgentRecallSubscriptionRecord.validate_run_state(value: object) -> AgentRecallSubscriptionRunStatevalidate_counter (method)
Section titled “validate_counter (method)”AgentRecallSubscriptionRecord.validate_counter(value: int, info) -> intcopy_claim (method)
Section titled “copy_claim (method)”AgentRecallSubscriptionRecord.copy_claim(value: object, info) -> AgentRecallSubscriptionClaim | Nonecopy_release (method)
Section titled “copy_release (method)”AgentRecallSubscriptionRecord.copy_release(value: object, info) -> AgentRecallSubscriptionRelease | Nonevalidate_datetime (method)
Section titled “validate_datetime (method)”AgentRecallSubscriptionRecord.validate_datetime(value: datetime, info) -> datetimevalidate_optional_identity (method)
Section titled “validate_optional_identity (method)”AgentRecallSubscriptionRecord.validate_optional_identity(value: str | None) -> str | Nonevalidate_lifecycle (method)
Section titled “validate_lifecycle (method)”AgentRecallSubscriptionRecord.validate_lifecycle() -> AgentRecallSubscriptionRecordRelease source · Runtime guarantees · Capability guides
AgentRecallSubscriptionRelease
Section titled “AgentRecallSubscriptionRelease”from cayu import AgentRecallSubscriptionReleaseImmutable evidence returning an evaluation claim for retry.
Bases: _WorkContextModel.
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 |
|---|---|---|
schema_version |
Literal['cayu.agent_recall_subscription_release.v1'] |
AGENT_RECALL_SUBSCRIPTION_RELEASE_SCHEMA_VERSION |
release_id |
str |
required |
subscription_id |
str |
required |
subscription_revision |
int |
required |
subscription_sha256 |
str |
required |
claim_id |
str |
required |
runner_id |
str |
required |
attempt |
int |
required |
claim_state_revision |
int |
required |
reason |
str |
required |
released_at |
datetime |
required |
model_copy (method)
Section titled “model_copy (method)”AgentRecallSubscriptionRelease.model_copy(*, update: Mapping[str, Any] | None=None, deep: bool=False) -> Selfvalidate_identity (method)
Section titled “validate_identity (method)”AgentRecallSubscriptionRelease.validate_identity(value: str, info) -> strvalidate_revision (method)
Section titled “validate_revision (method)”AgentRecallSubscriptionRelease.validate_revision(value: int, info) -> intvalidate_sha256 (method)
Section titled “validate_sha256 (method)”AgentRecallSubscriptionRelease.validate_sha256(value: str) -> strvalidate_reason (method)
Section titled “validate_reason (method)”AgentRecallSubscriptionRelease.validate_reason(value: str) -> strvalidate_released_at (method)
Section titled “validate_released_at (method)”AgentRecallSubscriptionRelease.validate_released_at(value: datetime) -> datetimefingerprint (method)
Section titled “fingerprint (method)”AgentRecallSubscriptionRelease.fingerprint() -> strRelease source · Runtime guarantees · Capability guides
AgentRecallSubscriptionRunState
Section titled “AgentRecallSubscriptionRunState”from cayu import AgentRecallSubscriptionRunStateWhether one active subscription is available or runner-claimed.
Bases: StrEnum.
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 |
|---|---|---|
DUE |
class attribute |
'due' |
CLAIMED |
class attribute |
'claimed' |
Release source · Runtime guarantees · Capability guides
AgentRecallSubscriptionStatus
Section titled “AgentRecallSubscriptionStatus”from cayu import AgentRecallSubscriptionStatusApplication-owned subscription lifecycle.
Bases: StrEnum.
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 |
|---|---|---|
ACTIVE |
class attribute |
'active' |
PAUSED |
class attribute |
'paused' |
CANCELLED |
class attribute |
'cancelled' |
Release source · Runtime guarantees · Capability guides
AgentRecallSubscriptionWake
Section titled “AgentRecallSubscriptionWake”from cayu import AgentRecallSubscriptionWakeIndependent scheduler handoff state beside one exact staged delivery.
Bases: _WorkContextModel.
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 |
|---|---|---|
schema_version |
Literal['cayu.agent_recall_subscription_wake.v1'] |
AGENT_RECALL_SUBSCRIPTION_WAKE_SCHEMA_VERSION |
wake_id |
str |
required |
subscription |
AgentRecallSubscription |
required |
evaluation |
AgentRecallSubscriptionEvaluation |
required |
delivery |
AgentRecallDelivery |
required |
state |
AgentRecallSubscriptionWakeState |
AgentRecallSubscriptionWakeState.PENDING |
state_revision |
int |
0 |
attempt |
int |
0 |
claim |
AgentRecallSubscriptionWakeClaim | None |
None |
release |
AgentRecallSubscriptionWakeRelease | None |
None |
acknowledgement |
AgentRecallSubscriptionWakeAcknowledgement | None |
None |
updated_at |
datetime |
required |
model_copy (method)
Section titled “model_copy (method)”AgentRecallSubscriptionWake.model_copy(*, update: Mapping[str, Any] | None=None, deep: bool=False) -> Selfvalidate_wake_id (method)
Section titled “validate_wake_id (method)”AgentRecallSubscriptionWake.validate_wake_id(value: str) -> strvalidate_state (method)
Section titled “validate_state (method)”AgentRecallSubscriptionWake.validate_state(value: object) -> AgentRecallSubscriptionWakeStatevalidate_counter (method)
Section titled “validate_counter (method)”AgentRecallSubscriptionWake.validate_counter(value: int, info) -> intvalidate_updated_at (method)
Section titled “validate_updated_at (method)”AgentRecallSubscriptionWake.validate_updated_at(value: datetime) -> datetimevalidate_linkage_and_lifecycle (method)
Section titled “validate_linkage_and_lifecycle (method)”AgentRecallSubscriptionWake.validate_linkage_and_lifecycle() -> AgentRecallSubscriptionWakeRelease source · Runtime guarantees · Capability guides
AgentRecallSubscriptionWakeAcknowledgement
Section titled “AgentRecallSubscriptionWakeAcknowledgement”from cayu import AgentRecallSubscriptionWakeAcknowledgementEvidence that an application scheduler accepted one wake request.
Bases: _WorkContextModel.
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 |
|---|---|---|
schema_version |
Literal['cayu.agent_recall_subscription_wake_acknowledgement.v1'] |
AGENT_RECALL_SUBSCRIPTION_WAKE_ACKNOWLEDGEMENT_SCHEMA_VERSION |
acknowledgement_id |
str |
required |
wake_id |
str |
required |
delivery_id |
str |
required |
claim_id |
str |
required |
runner_id |
str |
required |
attempt |
int |
required |
acknowledged_at |
datetime |
required |
model_copy (method)
Section titled “model_copy (method)”AgentRecallSubscriptionWakeAcknowledgement.model_copy(*, update: Mapping[str, Any] | None=None, deep: bool=False) -> Selfvalidate_identity (method)
Section titled “validate_identity (method)”AgentRecallSubscriptionWakeAcknowledgement.validate_identity(value: str, info) -> strvalidate_attempt (method)
Section titled “validate_attempt (method)”AgentRecallSubscriptionWakeAcknowledgement.validate_attempt(value: int) -> intvalidate_acknowledged_at (method)
Section titled “validate_acknowledged_at (method)”AgentRecallSubscriptionWakeAcknowledgement.validate_acknowledged_at(value: datetime) -> datetimeRelease source · Runtime guarantees · Capability guides
AgentRecallSubscriptionWakeClaim
Section titled “AgentRecallSubscriptionWakeClaim”from cayu import AgentRecallSubscriptionWakeClaimStore-clock lease over one pending task-scheduler wake signal.
Bases: _WorkContextModel.
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 |
|---|---|---|
schema_version |
Literal['cayu.agent_recall_subscription_wake_claim.v1'] |
AGENT_RECALL_SUBSCRIPTION_WAKE_CLAIM_SCHEMA_VERSION |
wake_id |
str |
required |
delivery_id |
str |
required |
claim_id |
str |
required |
runner_id |
str |
required |
attempt |
int |
required |
state_revision |
int |
required |
claimed_at |
datetime |
required |
lease_expires_at |
datetime |
required |
model_copy (method)
Section titled “model_copy (method)”AgentRecallSubscriptionWakeClaim.model_copy(*, update: Mapping[str, Any] | None=None, deep: bool=False) -> Selfvalidate_identity (method)
Section titled “validate_identity (method)”AgentRecallSubscriptionWakeClaim.validate_identity(value: str, info) -> strvalidate_revision (method)
Section titled “validate_revision (method)”AgentRecallSubscriptionWakeClaim.validate_revision(value: int, info) -> intvalidate_datetime (method)
Section titled “validate_datetime (method)”AgentRecallSubscriptionWakeClaim.validate_datetime(value: datetime, info) -> datetimevalidate_lease (method)
Section titled “validate_lease (method)”AgentRecallSubscriptionWakeClaim.validate_lease() -> AgentRecallSubscriptionWakeClaimRelease source · Runtime guarantees · Capability guides
AgentRecallSubscriptionWakeRelease
Section titled “AgentRecallSubscriptionWakeRelease”from cayu import AgentRecallSubscriptionWakeReleaseImmutable evidence returning one scheduler wake for retry.
Bases: _WorkContextModel.
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 |
|---|---|---|
schema_version |
Literal['cayu.agent_recall_subscription_wake_release.v1'] |
AGENT_RECALL_SUBSCRIPTION_WAKE_RELEASE_SCHEMA_VERSION |
release_id |
str |
required |
wake_id |
str |
required |
delivery_id |
str |
required |
claim_id |
str |
required |
runner_id |
str |
required |
attempt |
int |
required |
claim_state_revision |
int |
required |
reason |
str |
required |
released_at |
datetime |
required |
model_copy (method)
Section titled “model_copy (method)”AgentRecallSubscriptionWakeRelease.model_copy(*, update: Mapping[str, Any] | None=None, deep: bool=False) -> Selfvalidate_identity (method)
Section titled “validate_identity (method)”AgentRecallSubscriptionWakeRelease.validate_identity(value: str, info) -> strvalidate_revision (method)
Section titled “validate_revision (method)”AgentRecallSubscriptionWakeRelease.validate_revision(value: int, info) -> intvalidate_reason (method)
Section titled “validate_reason (method)”AgentRecallSubscriptionWakeRelease.validate_reason(value: str) -> strvalidate_released_at (method)
Section titled “validate_released_at (method)”AgentRecallSubscriptionWakeRelease.validate_released_at(value: datetime) -> datetimefingerprint (method)
Section titled “fingerprint (method)”AgentRecallSubscriptionWakeRelease.fingerprint() -> strRelease source · Runtime guarantees · Capability guides
AgentRecallSubscriptionWakeState
Section titled “AgentRecallSubscriptionWakeState”from cayu import AgentRecallSubscriptionWakeStateIndependent task-scheduler handoff state for one admitted wake.
Bases: StrEnum.
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 |
|---|---|---|
PENDING |
class attribute |
'pending' |
CLAIMED |
class attribute |
'claimed' |
ACKNOWLEDGED |
class attribute |
'acknowledged' |
Release source · Runtime guarantees · Capability guides
AgentWorkContext
Section titled “AgentWorkContext”from cayu import AgentWorkContextOne immutable numbered revision of application-owned task state.
Bases: _AgentWorkContextContent.
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 |
|---|---|---|
task_id |
str |
required |
goal |
str |
required |
scope_ids |
tuple[str, ...] |
() |
workflow_id |
str | None |
None |
workflow_phase |
str | None |
None |
workflow_iteration |
int | None |
None |
entity_ids |
tuple[str, ...] |
() |
artifact_ids |
tuple[str, ...] |
() |
repository_paths |
tuple[str, ...] |
() |
code_symbols |
tuple[str, ...] |
() |
planned_action_ids |
tuple[str, ...] |
() |
schema_version |
Literal['cayu.agent_work_context.v1'] |
AGENT_WORK_CONTEXT_SCHEMA_VERSION |
revision |
int |
required |
content_sha256 |
str |
required |
operation_id |
str |
required |
published_by |
str |
required |
published_at |
datetime |
required |
model_copy (method)
Section titled “model_copy (method)”AgentWorkContext.model_copy(*, update: Mapping[str, Any] | None=None, deep: bool=False) -> Selfvalidate_task_id (method)
Section titled “validate_task_id (method)”AgentWorkContext.validate_task_id(value: str) -> strvalidate_goal (method)
Section titled “validate_goal (method)”AgentWorkContext.validate_goal(value: str) -> strvalidate_collections (method)
Section titled “validate_collections (method)”AgentWorkContext.validate_collections(value: object, info) -> tuple[str, ...]validate_optional_value (method)
Section titled “validate_optional_value (method)”AgentWorkContext.validate_optional_value(value: str | None, info) -> str | Nonevalidate_workflow_iteration (method)
Section titled “validate_workflow_iteration (method)”AgentWorkContext.validate_workflow_iteration(value: int | None) -> int | Nonevalidate_workflow_fields (method)
Section titled “validate_workflow_fields (method)”AgentWorkContext.validate_workflow_fields() -> _AgentWorkContextContentcontent_fingerprint (method)
Section titled “content_fingerprint (method)”AgentWorkContext.content_fingerprint() -> strvalidate_revision (method)
Section titled “validate_revision (method)”AgentWorkContext.validate_revision(value: int) -> intvalidate_content_sha256 (method)
Section titled “validate_content_sha256 (method)”AgentWorkContext.validate_content_sha256(value: str) -> strvalidate_publication_identity (method)
Section titled “validate_publication_identity (method)”AgentWorkContext.validate_publication_identity(value: str, info) -> strvalidate_published_at (method)
Section titled “validate_published_at (method)”AgentWorkContext.validate_published_at(value: datetime) -> datetimevalidate_content_identity (method)
Section titled “validate_content_identity (method)”AgentWorkContext.validate_content_identity() -> AgentWorkContextcreate (method)
Section titled “create (method)”AgentWorkContext.create(*, task_id: str, goal: str, revision: int, operation_id: str, published_by: str, published_at: datetime, scope_ids: Sequence[str]=(), workflow_id: str | None=None, workflow_phase: str | None=None, workflow_iteration: int | None=None, entity_ids: Sequence[str]=(), artifact_ids: Sequence[str]=(), repository_paths: Sequence[str]=(), code_symbols: Sequence[str]=(), planned_action_ids: Sequence[str]=()) -> AgentWorkContextfingerprint (method)
Section titled “fingerprint (method)”AgentWorkContext.fingerprint() -> strRelease source · Runtime guarantees · Capability guides
AgentWorkContextConflict
Section titled “AgentWorkContextConflict”from cayu import AgentWorkContextConflictA publication or checkpoint could not satisfy its exact authority tuple.
Bases: RuntimeError.
init (method)
Section titled “init (method)”AgentWorkContextConflict.__init__(code: str) -> NoneRelease source · Runtime guarantees · Capability guides
AgentWorkContextPublicationReceipt
Section titled “AgentWorkContextPublicationReceipt”from cayu import AgentWorkContextPublicationReceiptImmutable evidence for one changed or semantic no-change publication.
Bases: _WorkContextModel.
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 |
|---|---|---|
schema_version |
Literal['cayu.agent_work_context_publication_receipt.v1'] |
AGENT_WORK_CONTEXT_PUBLICATION_SCHEMA_VERSION |
operation_id |
str |
required |
request_sha256 |
str |
required |
expected_revision |
int | None |
required |
requested_content_sha256 |
str |
required |
changed |
bool |
required |
context |
AgentWorkContext |
required |
committed_at |
datetime |
required |
model_copy (method)
Section titled “model_copy (method)”AgentWorkContextPublicationReceipt.model_copy(*, update: Mapping[str, Any] | None=None, deep: bool=False) -> Selfvalidate_operation_id (method)
Section titled “validate_operation_id (method)”AgentWorkContextPublicationReceipt.validate_operation_id(value: str) -> strvalidate_sha256 (method)
Section titled “validate_sha256 (method)”AgentWorkContextPublicationReceipt.validate_sha256(value: str, info) -> strvalidate_expected_revision (method)
Section titled “validate_expected_revision (method)”AgentWorkContextPublicationReceipt.validate_expected_revision(value: int | None) -> int | Nonevalidate_changed (method)
Section titled “validate_changed (method)”AgentWorkContextPublicationReceipt.validate_changed(value: object) -> boolvalidate_committed_at (method)
Section titled “validate_committed_at (method)”AgentWorkContextPublicationReceipt.validate_committed_at(value: datetime) -> datetimevalidate_result (method)
Section titled “validate_result (method)”AgentWorkContextPublicationReceipt.validate_result() -> AgentWorkContextPublicationReceiptfingerprint (method)
Section titled “fingerprint (method)”AgentWorkContextPublicationReceipt.fingerprint() -> strRelease source · Runtime guarantees · Capability guides
AgentWorkContextStore
Section titled “AgentWorkContextStore”from cayu import AgentWorkContextStoreNarrow durable store for work contexts and freshness checkpoints.
Bases: ABC.
publish_work_context (method)
Section titled “publish_work_context (method)”async AgentWorkContextStore.publish_work_context(context: AgentWorkContext, *, expected_revision: int | None) -> AgentWorkContextPublicationReceiptCreate, append, or record an idempotent semantic no-change.
load_work_context (method)
Section titled “load_work_context (method)”async AgentWorkContextStore.load_work_context(task_id: str, *, revision: int | None=None) -> AgentWorkContext | NoneLoad the current or one exact immutable task-context revision.
load_work_context_publication (method)
Section titled “load_work_context_publication (method)”async AgentWorkContextStore.load_work_context_publication(operation_id: str) -> AgentWorkContextPublicationReceipt | NoneLoad immutable idempotency evidence for a context publication.
advance_recall_checkpoint (method)
Section titled “advance_recall_checkpoint (method)”async AgentWorkContextStore.advance_recall_checkpoint(checkpoint: AgentRecallCheckpoint, *, expected_revision: int | None) -> AgentRecallCheckpointAdvance one exact processing frontier through compare-and-swap.
load_recall_checkpoint (method)
Section titled “load_recall_checkpoint (method)”async AgentWorkContextStore.load_recall_checkpoint(key: AgentRecallCheckpointKey, *, revision: int | None=None) -> AgentRecallCheckpoint | NoneLoad the current or one exact immutable checkpoint revision.
stage_recall_delivery (method)
Section titled “stage_recall_delivery (method)”async AgentWorkContextStore.stage_recall_delivery(delivery: AgentRecallDelivery) -> AgentRecallDeliveryRecordAtomically stage exact materialized recall and advance its checkpoint.
load_recall_delivery (method)
Section titled “load_recall_delivery (method)”async AgentWorkContextStore.load_recall_delivery(delivery_id: str) -> AgentRecallDeliveryRecord | NoneLoad one exact staged delivery and its current handoff state.
claim_recall_delivery (method)
Section titled “claim_recall_delivery (method)”async AgentWorkContextStore.claim_recall_delivery(key: AgentRecallCheckpointKey, *, claim_id: str, worker_id: str, lease_seconds: float) -> AgentRecallDeliveryRecord | NoneClaim the oldest unacknowledged delivery for one exact checkpoint key.
renew_recall_delivery (method)
Section titled “renew_recall_delivery (method)”async AgentWorkContextStore.renew_recall_delivery(claim: AgentRecallDeliveryClaim, *, lease_seconds: float) -> AgentRecallDeliveryRecordRenew one exact live delivery claim.
release_recall_delivery (method)
Section titled “release_recall_delivery (method)”async AgentWorkContextStore.release_recall_delivery(claim: AgentRecallDeliveryClaim, *, release_id: str, reason: str, released_at: datetime) -> AgentRecallDeliveryRecordRelease one exact delivery claim for deterministic retry.
acknowledge_recall_delivery (method)
Section titled “acknowledge_recall_delivery (method)”async AgentWorkContextStore.acknowledge_recall_delivery(claim: AgentRecallDeliveryClaim, *, acknowledgement_id: str, evidence_kind: AgentRecallDeliveryEvidenceKind, evidence_ref: str, acknowledged_at: datetime) -> AgentRecallDeliveryRecordAcknowledge durable downstream acceptance without claiming exposure.
publish_recall_subscription (method)
Section titled “publish_recall_subscription (method)”async AgentWorkContextStore.publish_recall_subscription(subscription: AgentRecallSubscription, *, expected_revision: int | None) -> AgentRecallSubscriptionPublicationReceiptCreate or replace one exact idle-task subscription revision.
load_recall_subscription (method)
Section titled “load_recall_subscription (method)”async AgentWorkContextStore.load_recall_subscription(subscription_id: str, *, revision: int | None=None) -> AgentRecallSubscription | NoneLoad the current or one exact immutable subscription revision.
claim_due_recall_subscription (method)
Section titled “claim_due_recall_subscription (method)”async AgentWorkContextStore.claim_due_recall_subscription(key: AgentRecallCheckpointKey, *, claim_id: str, runner_id: str, lease_seconds: float) -> AgentRecallSubscriptionRecord | NoneClaim the oldest due subscription in one authorized checkpoint scope.
renew_recall_subscription (method)
Section titled “renew_recall_subscription (method)”async AgentWorkContextStore.renew_recall_subscription(claim: AgentRecallSubscriptionClaim, *, lease_seconds: float) -> AgentRecallSubscriptionRecordRenew one exact live subscription-evaluation claim.
release_recall_subscription (method)
Section titled “release_recall_subscription (method)”async AgentWorkContextStore.release_recall_subscription(claim: AgentRecallSubscriptionClaim, *, release_id: str, reason: str, released_at: datetime) -> AgentRecallSubscriptionRecordRelease one exact evaluation claim without advancing recall progress.
commit_recall_subscription_evaluation (method)
Section titled “commit_recall_subscription_evaluation (method)”async AgentWorkContextStore.commit_recall_subscription_evaluation(claim: AgentRecallSubscriptionClaim, result: AgentRecallProcessingResult, *, evaluation_id: str, delivery_id: str | None, staged_by: str, evaluated_at: datetime) -> AgentRecallSubscriptionEvaluationAtomically commit silent progress or progress plus one staged wake.
load_recall_subscription_evaluation (method)
Section titled “load_recall_subscription_evaluation (method)”async AgentWorkContextStore.load_recall_subscription_evaluation(evaluation_id: str) -> AgentRecallSubscriptionEvaluation | NoneLoad immutable subscription evaluation evidence.
claim_recall_subscription_wake (method)
Section titled “claim_recall_subscription_wake (method)”async AgentWorkContextStore.claim_recall_subscription_wake(key: AgentRecallCheckpointKey, *, claim_id: str, runner_id: str, lease_seconds: float) -> AgentRecallSubscriptionWake | NoneClaim the oldest pending task-scheduler wake created by a subscription.
load_recall_subscription_wake (method)
Section titled “load_recall_subscription_wake (method)”async AgentWorkContextStore.load_recall_subscription_wake(wake_id: str) -> AgentRecallSubscriptionWake | NoneLoad one scheduler wake without claiming its staged delivery.
renew_recall_subscription_wake (method)
Section titled “renew_recall_subscription_wake (method)”async AgentWorkContextStore.renew_recall_subscription_wake(claim: AgentRecallSubscriptionWakeClaim, *, lease_seconds: float) -> AgentRecallSubscriptionWakeRenew one exact live scheduler-wake claim.
release_recall_subscription_wake (method)
Section titled “release_recall_subscription_wake (method)”async AgentWorkContextStore.release_recall_subscription_wake(claim: AgentRecallSubscriptionWakeClaim, *, release_id: str, reason: str, released_at: datetime) -> AgentRecallSubscriptionWakeRelease a scheduler wake for retry without changing its delivery.
acknowledge_recall_subscription_wake (method)
Section titled “acknowledge_recall_subscription_wake (method)”async AgentWorkContextStore.acknowledge_recall_subscription_wake(claim: AgentRecallSubscriptionWakeClaim, *, acknowledgement_id: str, acknowledged_at: datetime) -> AgentRecallSubscriptionWakeRecord scheduler acceptance and make the staged delivery claimable.
close (method)
Section titled “close (method)”async AgentWorkContextStore.close() -> NoneRelease store-owned resources, if any.
Release source · Runtime guarantees · Capability guides
DEFAULT_AGENT_RECALL_CHECKPOINT_STREAM_ID
Section titled “DEFAULT_AGENT_RECALL_CHECKPOINT_STREAM_ID”from cayu import DEFAULT_AGENT_RECALL_CHECKPOINT_STREAM_IDDEFAULT_AGENT_RECALL_CHECKPOINT_STREAM_ID = 'cayu.agent_recall.inline.v1'Release source · Runtime guarantees · Capability guides
InMemoryAgentWorkContextStore
Section titled “InMemoryAgentWorkContextStore”from cayu import InMemoryAgentWorkContextStoreCopy-safe reference implementation of the durable contract.
Bases: AgentWorkContextStore.
publish_work_context (method)
Section titled “publish_work_context (method)”async InMemoryAgentWorkContextStore.publish_work_context(context: AgentWorkContext, *, expected_revision: int | None) -> AgentWorkContextPublicationReceiptload_work_context (method)
Section titled “load_work_context (method)”async InMemoryAgentWorkContextStore.load_work_context(task_id: str, *, revision: int | None=None) -> AgentWorkContext | Noneload_work_context_publication (method)
Section titled “load_work_context_publication (method)”async InMemoryAgentWorkContextStore.load_work_context_publication(operation_id: str) -> AgentWorkContextPublicationReceipt | Noneadvance_recall_checkpoint (method)
Section titled “advance_recall_checkpoint (method)”async InMemoryAgentWorkContextStore.advance_recall_checkpoint(checkpoint: AgentRecallCheckpoint, *, expected_revision: int | None) -> AgentRecallCheckpointload_recall_checkpoint (method)
Section titled “load_recall_checkpoint (method)”async InMemoryAgentWorkContextStore.load_recall_checkpoint(key: AgentRecallCheckpointKey, *, revision: int | None=None) -> AgentRecallCheckpoint | Nonestage_recall_delivery (method)
Section titled “stage_recall_delivery (method)”async InMemoryAgentWorkContextStore.stage_recall_delivery(delivery: AgentRecallDelivery) -> AgentRecallDeliveryRecordload_recall_delivery (method)
Section titled “load_recall_delivery (method)”async InMemoryAgentWorkContextStore.load_recall_delivery(delivery_id: str) -> AgentRecallDeliveryRecord | Noneclaim_recall_delivery (method)
Section titled “claim_recall_delivery (method)”async InMemoryAgentWorkContextStore.claim_recall_delivery(key: AgentRecallCheckpointKey, *, claim_id: str, worker_id: str, lease_seconds: float) -> AgentRecallDeliveryRecord | Nonerenew_recall_delivery (method)
Section titled “renew_recall_delivery (method)”async InMemoryAgentWorkContextStore.renew_recall_delivery(claim: AgentRecallDeliveryClaim, *, lease_seconds: float) -> AgentRecallDeliveryRecordrelease_recall_delivery (method)
Section titled “release_recall_delivery (method)”async InMemoryAgentWorkContextStore.release_recall_delivery(claim: AgentRecallDeliveryClaim, *, release_id: str, reason: str, released_at: datetime) -> AgentRecallDeliveryRecordacknowledge_recall_delivery (method)
Section titled “acknowledge_recall_delivery (method)”async InMemoryAgentWorkContextStore.acknowledge_recall_delivery(claim: AgentRecallDeliveryClaim, *, acknowledgement_id: str, evidence_kind: AgentRecallDeliveryEvidenceKind, evidence_ref: str, acknowledged_at: datetime) -> AgentRecallDeliveryRecordpublish_recall_subscription (method)
Section titled “publish_recall_subscription (method)”async InMemoryAgentWorkContextStore.publish_recall_subscription(subscription: AgentRecallSubscription, *, expected_revision: int | None) -> AgentRecallSubscriptionPublicationReceiptload_recall_subscription (method)
Section titled “load_recall_subscription (method)”async InMemoryAgentWorkContextStore.load_recall_subscription(subscription_id: str, *, revision: int | None=None) -> AgentRecallSubscription | Noneclaim_due_recall_subscription (method)
Section titled “claim_due_recall_subscription (method)”async InMemoryAgentWorkContextStore.claim_due_recall_subscription(key: AgentRecallCheckpointKey, *, claim_id: str, runner_id: str, lease_seconds: float) -> AgentRecallSubscriptionRecord | Nonerenew_recall_subscription (method)
Section titled “renew_recall_subscription (method)”async InMemoryAgentWorkContextStore.renew_recall_subscription(claim: AgentRecallSubscriptionClaim, *, lease_seconds: float) -> AgentRecallSubscriptionRecordrelease_recall_subscription (method)
Section titled “release_recall_subscription (method)”async InMemoryAgentWorkContextStore.release_recall_subscription(claim: AgentRecallSubscriptionClaim, *, release_id: str, reason: str, released_at: datetime) -> AgentRecallSubscriptionRecordcommit_recall_subscription_evaluation (method)
Section titled “commit_recall_subscription_evaluation (method)”async InMemoryAgentWorkContextStore.commit_recall_subscription_evaluation(claim: AgentRecallSubscriptionClaim, result: AgentRecallProcessingResult, *, evaluation_id: str, delivery_id: str | None, staged_by: str, evaluated_at: datetime) -> AgentRecallSubscriptionEvaluationload_recall_subscription_evaluation (method)
Section titled “load_recall_subscription_evaluation (method)”async InMemoryAgentWorkContextStore.load_recall_subscription_evaluation(evaluation_id: str) -> AgentRecallSubscriptionEvaluation | Noneclaim_recall_subscription_wake (method)
Section titled “claim_recall_subscription_wake (method)”async InMemoryAgentWorkContextStore.claim_recall_subscription_wake(key: AgentRecallCheckpointKey, *, claim_id: str, runner_id: str, lease_seconds: float) -> AgentRecallSubscriptionWake | Noneload_recall_subscription_wake (method)
Section titled “load_recall_subscription_wake (method)”async InMemoryAgentWorkContextStore.load_recall_subscription_wake(wake_id: str) -> AgentRecallSubscriptionWake | Nonerenew_recall_subscription_wake (method)
Section titled “renew_recall_subscription_wake (method)”async InMemoryAgentWorkContextStore.renew_recall_subscription_wake(claim: AgentRecallSubscriptionWakeClaim, *, lease_seconds: float) -> AgentRecallSubscriptionWakerelease_recall_subscription_wake (method)
Section titled “release_recall_subscription_wake (method)”async InMemoryAgentWorkContextStore.release_recall_subscription_wake(claim: AgentRecallSubscriptionWakeClaim, *, release_id: str, reason: str, released_at: datetime) -> AgentRecallSubscriptionWakeacknowledge_recall_subscription_wake (method)
Section titled “acknowledge_recall_subscription_wake (method)”async InMemoryAgentWorkContextStore.acknowledge_recall_subscription_wake(claim: AgentRecallSubscriptionWakeClaim, *, acknowledgement_id: str, acknowledged_at: datetime) -> AgentRecallSubscriptionWakeclose (method)
Section titled “close (method)”async InMemoryAgentWorkContextStore.close() -> NoneRelease store-owned resources, if any.
init (method)
Section titled “init (method)”InMemoryAgentWorkContextStore.__init__(*, clock=None) -> NoneRelease source · Runtime guarantees · Capability guides
MAX_AGENT_RECALL_DELIVERY_BYTES
Section titled “MAX_AGENT_RECALL_DELIVERY_BYTES”from cayu import MAX_AGENT_RECALL_DELIVERY_BYTESMAX_AGENT_RECALL_DELIVERY_BYTES = 2000000Release source · Runtime guarantees · Capability guides
MAX_AGENT_RECALL_DELIVERY_LEASE_SECONDS
Section titled “MAX_AGENT_RECALL_DELIVERY_LEASE_SECONDS”from cayu import MAX_AGENT_RECALL_DELIVERY_LEASE_SECONDSMAX_AGENT_RECALL_DELIVERY_LEASE_SECONDS = 86400.0Release source · Runtime guarantees · Capability guides
MAX_AGENT_RECALL_SUBSCRIPTION_BYTES
Section titled “MAX_AGENT_RECALL_SUBSCRIPTION_BYTES”from cayu import MAX_AGENT_RECALL_SUBSCRIPTION_BYTESMAX_AGENT_RECALL_SUBSCRIPTION_BYTES = 512000Release source · Runtime guarantees · Capability guides
MAX_AGENT_RECALL_SUBSCRIPTION_INTERVAL_SECONDS
Section titled “MAX_AGENT_RECALL_SUBSCRIPTION_INTERVAL_SECONDS”from cayu import MAX_AGENT_RECALL_SUBSCRIPTION_INTERVAL_SECONDSMAX_AGENT_RECALL_SUBSCRIPTION_INTERVAL_SECONDS = 604800.0Release source · Runtime guarantees · Capability guides
MAX_AGENT_RECALL_SUBSCRIPTION_PRIORITY
Section titled “MAX_AGENT_RECALL_SUBSCRIPTION_PRIORITY”from cayu import MAX_AGENT_RECALL_SUBSCRIPTION_PRIORITYMAX_AGENT_RECALL_SUBSCRIPTION_PRIORITY = 1000Release source · Runtime guarantees · Capability guides
MAX_AGENT_RECALL_SUBSCRIPTION_QUERY_BYTES
Section titled “MAX_AGENT_RECALL_SUBSCRIPTION_QUERY_BYTES”from cayu import MAX_AGENT_RECALL_SUBSCRIPTION_QUERY_BYTESMAX_AGENT_RECALL_SUBSCRIPTION_QUERY_BYTES = 8192Release source · Runtime guarantees · Capability guides
MAX_AGENT_WORK_CONTEXT_BYTES
Section titled “MAX_AGENT_WORK_CONTEXT_BYTES”from cayu import MAX_AGENT_WORK_CONTEXT_BYTESMAX_AGENT_WORK_CONTEXT_BYTES = 256000Release source · Runtime guarantees · Capability guides
MAX_AGENT_WORK_CONTEXT_GOAL_BYTES
Section titled “MAX_AGENT_WORK_CONTEXT_GOAL_BYTES”from cayu import MAX_AGENT_WORK_CONTEXT_GOAL_BYTESMAX_AGENT_WORK_CONTEXT_GOAL_BYTES = 32000Release source · Runtime guarantees · Capability guides
MAX_AGENT_WORK_CONTEXT_ID_BYTES
Section titled “MAX_AGENT_WORK_CONTEXT_ID_BYTES”from cayu import MAX_AGENT_WORK_CONTEXT_ID_BYTESMAX_AGENT_WORK_CONTEXT_ID_BYTES = 512Release source · Runtime guarantees · Capability guides
MAX_AGENT_WORK_CONTEXT_REVISION
Section titled “MAX_AGENT_WORK_CONTEXT_REVISION”from cayu import MAX_AGENT_WORK_CONTEXT_REVISIONMAX_AGENT_WORK_CONTEXT_REVISION = 2147483647Release source · Runtime guarantees · Capability guides
MAX_AGENT_WORK_CONTEXT_VALUE_BYTES
Section titled “MAX_AGENT_WORK_CONTEXT_VALUE_BYTES”from cayu import MAX_AGENT_WORK_CONTEXT_VALUE_BYTESMAX_AGENT_WORK_CONTEXT_VALUE_BYTES = 4096Release source · Runtime guarantees · Capability guides
MAX_AGENT_WORK_CONTEXT_VALUES
Section titled “MAX_AGENT_WORK_CONTEXT_VALUES”from cayu import MAX_AGENT_WORK_CONTEXT_VALUESMAX_AGENT_WORK_CONTEXT_VALUES = 128