cayu.snapshots.MemoryStateRef
Part of cayu.snapshots.base. Read the Python API overview and install the required extra.
from cayu.snapshots import MemoryStateRefTyped identity of Cayu knowledge and memory at one bounded frontier.
Bases: _SnapshotModel.
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[1] |
1 |
fingerprint |
StrictStr |
required |
knowledge |
AgentSnapshotLogicalRef | None |
None |
transcript_evidence |
AgentSnapshotLogicalRef | None |
None |
artifact_evidence |
AgentSnapshotLogicalRef | None |
None |
work_context |
AgentSnapshotLogicalRef | None |
None |
recall_policy |
AgentSnapshotLogicalRef | None |
None |
admission_policy |
AgentSnapshotLogicalRef | None |
None |
context_projection_policy |
AgentSnapshotLogicalRef | None |
None |
interaction_focus |
AgentSnapshotLogicalRef | None |
None |
recall_receipts |
AgentSnapshotLogicalRef | None |
None |
context_exposures |
AgentSnapshotLogicalRef | None |
None |
index_readiness |
AgentSnapshotLogicalRef | None |
None |
learning_disposition |
AgentSnapshotLearningDisposition |
required |
limitations |
tuple[StrictStr, ...] |
() |
validate_fingerprint (method)
Section titled “validate_fingerprint (method)”MemoryStateRef.validate_fingerprint(value: str, info) -> strvalidate_limitations (method)
Section titled “validate_limitations (method)”MemoryStateRef.validate_limitations(value: object) -> tuple[str, ...]validate_fingerprint_matches (method)
Section titled “validate_fingerprint_matches (method)”MemoryStateRef.validate_fingerprint_matches() -> MemoryStateRefmerkle_material (method)
Section titled “merkle_material (method)”MemoryStateRef.merkle_material() -> dict[str, object]Return the typed memory/knowledge content without authorization scope.
create (method)
Section titled “create (method)”MemoryStateRef.create(*, knowledge: AgentSnapshotLogicalRef | None=None, transcript_evidence: AgentSnapshotLogicalRef | None=None, artifact_evidence: AgentSnapshotLogicalRef | None=None, work_context: AgentSnapshotLogicalRef | None=None, recall_policy: AgentSnapshotLogicalRef | None=None, admission_policy: AgentSnapshotLogicalRef | None=None, context_projection_policy: AgentSnapshotLogicalRef | None=None, interaction_focus: AgentSnapshotLogicalRef | None=None, recall_receipts: AgentSnapshotLogicalRef | None=None, context_exposures: AgentSnapshotLogicalRef | None=None, index_readiness: AgentSnapshotLogicalRef | None=None, learning_disposition: AgentSnapshotLearningDisposition, limitations: tuple[str, ...]=()) -> MemoryStateRef