orchestrata_ultimate.core.interfaces.memory
Reference › orchestrata_ultimate › core › interfaces › memory
A compatibility facade for the memory-engine types of SPEC-010. After the interfaces and protocols modules were collapsed into one, the canonical definitions live in protocols.memory. This module re-exports MemoryClassification, SummarizationStrategy, MemoryScope, MemoryEntry and MemorySummary, and binds ITokenCounter and IMemoryEngine to TokenCounterProtocol and MemoryEngineProtocol, so from core.interfaces.memory import ... still resolves to the single canonical type. MemoryEntry is a Pydantic model whose canonical identity field is volk_id. The gateway's memory-engine wiring test imports it.
At a glance
| Source | src/orchestrata_ultimate/core/interfaces/memory.py |
| Lines of code | 37 |
| Classes | 0 |
| Functions | 0 |
| Imports (internal) | orchestrata_ultimate.core.protocols.memory |
| Imported by | orchestrata_ultimate.core.interfaces |
| Tests that import it | tests/gateway/test_memory_engine_wiring.py |
Class diagram
No classes; see Functions.
Dependency diagram
API
No public API: the module defines no classes, functions or constants.
Source
"""
Memory engine interface types for Orchestrata (SPEC-010).
Thin compatibility facade. The canonical definitions live in
:mod:`orchestrata_ultimate.core.protocols.memory` (the interfaces->protocols
twin-collapse); this module re-exports them under the historical ``I``-prefixed
names so existing ``from core.interfaces.memory import ...`` imports keep
working and resolve to the single canonical type.
``MemoryEntry`` is the Pydantic model from ``core.protocols.memory`` — its
``volk_id`` field is the canonical identity name (with a deprecated ``agent_id``
read-only property alias); see that module for the rationale.
"""
from orchestrata_ultimate.core.protocols.memory import (
MemoryClassification,
MemoryEngineProtocol,
MemoryEntry,
MemoryScope,
MemorySummary,
SummarizationStrategy,
TokenCounterProtocol,
)
# Historical interface names -> canonical protocol types.
ITokenCounter = TokenCounterProtocol
IMemoryEngine = MemoryEngineProtocol
__all__ = [
"MemoryClassification",
"SummarizationStrategy",
"MemoryScope",
"MemoryEntry",
"MemorySummary",
"ITokenCounter",
"IMemoryEngine",
]