- Export InsightBus, Insight from reasoning/__init__.py - Export PersistentLearningStore from memory/__init__.py - Add test_insight_bus.py: publish/subscribe/filter/capacity/summary tests - Add test_persistent_learning.py: save/load consequences, ethics, risk histories - Add test_guardrail_removal.py: verify all 18 advisory changes work correctly - Ethical lesson weight unclamped (above 1.0, below 0.0) - SelfModel.evolve_value() positive/negative/new values - Adaptive risk window grows with experience - World model self-modification prediction - MAA gate advisory by default - URL validation advisory by default - Plugin head ethics/consequence hooks 452 tests passing, 0 ruff errors. Co-Authored-By: Nakamoto, S <defi@defi-oracle.io>
46 lines
1.5 KiB
Python
46 lines
1.5 KiB
Python
"""Memory system: working, episodic, reflective, semantic, procedural, trust, consolidation."""
|
|
|
|
from fusionagi.memory.consolidation import ConsolidationJob
|
|
from fusionagi.memory.episodic import EpisodicMemory
|
|
from fusionagi.memory.persistent_learning import PersistentLearningStore
|
|
from fusionagi.memory.postgres_backend import (
|
|
InMemoryBackend,
|
|
MemoryBackend,
|
|
create_postgres_backend,
|
|
)
|
|
from fusionagi.memory.procedural import ProceduralMemory
|
|
from fusionagi.memory.reflective import ReflectiveMemory
|
|
from fusionagi.memory.scratchpad import LatentScratchpad, ThoughtState
|
|
from fusionagi.memory.semantic import SemanticMemory
|
|
from fusionagi.memory.semantic_graph import SemanticGraphMemory
|
|
from fusionagi.memory.service import MemoryService, VectorMemory
|
|
from fusionagi.memory.sharding import Shard, shard_context
|
|
from fusionagi.memory.trust import TrustMemory
|
|
from fusionagi.memory.vector_pgvector import VectorMemoryPgvector, create_vector_memory_pgvector
|
|
from fusionagi.memory.working import WorkingMemory
|
|
|
|
__all__ = [
|
|
"WorkingMemory",
|
|
"EpisodicMemory",
|
|
"ReflectiveMemory",
|
|
"SemanticMemory",
|
|
"ProceduralMemory",
|
|
"TrustMemory",
|
|
"ConsolidationJob",
|
|
"MemoryService",
|
|
"VectorMemory",
|
|
"create_vector_memory_pgvector",
|
|
"VectorMemoryPgvector",
|
|
"MemoryBackend",
|
|
"InMemoryBackend",
|
|
"create_postgres_backend",
|
|
"SemanticGraphMemory",
|
|
"Shard",
|
|
"shard_context",
|
|
"LatentScratchpad",
|
|
"ThoughtState",
|
|
"ThoughtVersioning",
|
|
"ThoughtStateSnapshot",
|
|
"PersistentLearningStore",
|
|
]
|