New packages: - packages/lewooogo-brain: AI reasoning & decision engine - IProposalEngine interface (ABC) - IIncidentProcessor interface (ABC) - Pydantic models: Proposal, Guardrails, Incident, Signal - packages/lewooogo-data: Memory provider abstraction - IMemoryProvider interface (ABC) - IDualMemoryProvider for Working + Episodic memory - Generic type support for flexible data models Documentation: - ADR-008: Python modular packages architecture decision - ARCHITECTURE_MEMORY.md: Module map index for AI developers - LOGBOOK.md: Updated milestones and Phase 6.4 status Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
25 lines
579 B
Python
25 lines
579 B
Python
"""
|
|
leWOOOgo Data - Memory Provider Abstraction Layer
|
|
==================================================
|
|
|
|
AWOOOI 2.0 的資料抽象層積木
|
|
|
|
模組結構:
|
|
- interfaces/ ABC 定義 (IMemoryProvider)
|
|
- providers/ 具體實作 (RedisMemory, PgMemory)
|
|
|
|
使用方式:
|
|
from lewooogo_data.providers import RedisMemory
|
|
from lewooogo_data.interfaces import IMemoryProvider
|
|
|
|
統帥鐵律:
|
|
- 所有 Provider 必須實作 IMemoryProvider
|
|
- Working Memory (Redis): TTL 7 天
|
|
- Episodic Memory (PG/SQLite): 永久保存
|
|
"""
|
|
|
|
__version__ = "0.1.0"
|
|
__all__ = [
|
|
"__version__",
|
|
]
|