superlocalmemory 3.2.3__tar.gz → 3.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {superlocalmemory-3.2.3/src/superlocalmemory.egg-info → superlocalmemory-3.3.0}/PKG-INFO +120 -72
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/README.md +106 -71
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/pyproject.toml +16 -1
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/cli/commands.py +309 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/cli/main.py +44 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/config.py +276 -4
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/consolidation_engine.py +37 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/engine.py +21 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/engine_wiring.py +58 -8
- superlocalmemory-3.3.0/src/superlocalmemory/dynamics/activation_guided_quantization.py +374 -0
- superlocalmemory-3.3.0/src/superlocalmemory/dynamics/eap_scheduler.py +276 -0
- superlocalmemory-3.3.0/src/superlocalmemory/dynamics/ebbinghaus_langevin_coupling.py +171 -0
- superlocalmemory-3.3.0/src/superlocalmemory/encoding/cognitive_consolidator.py +804 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/hooks/auto_invoker.py +46 -8
- superlocalmemory-3.3.0/src/superlocalmemory/hooks/auto_parameterize.py +147 -0
- superlocalmemory-3.3.0/src/superlocalmemory/infra/heartbeat_monitor.py +140 -0
- superlocalmemory-3.3.0/src/superlocalmemory/infra/pid_manager.py +193 -0
- superlocalmemory-3.3.0/src/superlocalmemory/infra/process_reaper.py +572 -0
- superlocalmemory-3.3.0/src/superlocalmemory/learning/consolidation_quantization_worker.py +115 -0
- superlocalmemory-3.3.0/src/superlocalmemory/learning/forgetting_scheduler.py +263 -0
- superlocalmemory-3.3.0/src/superlocalmemory/learning/quantization_scheduler.py +320 -0
- superlocalmemory-3.3.0/src/superlocalmemory/math/ebbinghaus.py +309 -0
- superlocalmemory-3.3.0/src/superlocalmemory/math/fisher_quantized.py +251 -0
- superlocalmemory-3.3.0/src/superlocalmemory/math/hopfield.py +279 -0
- superlocalmemory-3.3.0/src/superlocalmemory/math/polar_quant.py +379 -0
- superlocalmemory-3.3.0/src/superlocalmemory/math/qjl.py +115 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/mcp/server.py +2 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/mcp/tools_v3.py +10 -0
- superlocalmemory-3.3.0/src/superlocalmemory/mcp/tools_v33.py +351 -0
- superlocalmemory-3.3.0/src/superlocalmemory/parameterization/__init__.py +47 -0
- superlocalmemory-3.3.0/src/superlocalmemory/parameterization/pattern_extractor.py +534 -0
- superlocalmemory-3.3.0/src/superlocalmemory/parameterization/pii_filter.py +106 -0
- superlocalmemory-3.3.0/src/superlocalmemory/parameterization/prompt_injector.py +216 -0
- superlocalmemory-3.3.0/src/superlocalmemory/parameterization/prompt_lifecycle.py +275 -0
- superlocalmemory-3.3.0/src/superlocalmemory/parameterization/soft_prompt_generator.py +425 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/engine.py +21 -3
- superlocalmemory-3.3.0/src/superlocalmemory/retrieval/forgetting_filter.py +145 -0
- superlocalmemory-3.3.0/src/superlocalmemory/retrieval/hopfield_channel.py +335 -0
- superlocalmemory-3.3.0/src/superlocalmemory/retrieval/quantization_aware_search.py +133 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/strategy.py +16 -6
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/agents.py +68 -8
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/learning.py +18 -1
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/lifecycle.py +36 -17
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/v3_api.py +503 -1
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/storage/database.py +206 -0
- superlocalmemory-3.3.0/src/superlocalmemory/storage/embedding_migrator.py +178 -0
- superlocalmemory-3.3.0/src/superlocalmemory/storage/migration_v33.py +140 -0
- superlocalmemory-3.3.0/src/superlocalmemory/storage/quantized_store.py +261 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/storage/schema_v32.py +137 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0/src/superlocalmemory.egg-info}/PKG-INFO +120 -72
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory.egg-info/SOURCES.txt +30 -0
- superlocalmemory-3.3.0/tests/test_cli_v33.py +592 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/AUTHORS.md +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/LICENSE +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/NOTICE +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/setup.cfg +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/__init__.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/attribution/__init__.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/attribution/mathematical_dna.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/attribution/signer.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/attribution/watermark.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/cli/__init__.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/cli/json_output.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/cli/migrate_cmd.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/cli/post_install.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/cli/setup_wizard.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/compliance/__init__.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/compliance/abac.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/compliance/audit.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/compliance/eu_ai_act.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/compliance/gdpr.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/compliance/lifecycle.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/compliance/retention.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/compliance/scheduler.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/__init__.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/embedding_worker.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/embeddings.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/graph_analyzer.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/hooks.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/maintenance.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/modes.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/ollama_embedder.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/profiles.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/recall_pipeline.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/recall_worker.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/registry.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/store_pipeline.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/summarizer.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/worker_pool.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/dynamics/__init__.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/dynamics/fisher_langevin_coupling.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/__init__.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/auto_linker.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/consolidator.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/context_generator.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/emotional.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/entity_resolver.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/entropy_gate.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/fact_extractor.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/foresight.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/graph_builder.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/observation_builder.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/scene_builder.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/signal_inference.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/temporal_parser.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/temporal_validator.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/type_router.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/hooks/__init__.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/hooks/auto_capture.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/hooks/auto_recall.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/hooks/claude_code_hooks.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/hooks/ide_connector.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/hooks/rules_engine.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/infra/__init__.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/infra/auth_middleware.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/infra/backup.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/infra/cache_manager.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/infra/event_bus.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/infra/rate_limiter.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/infra/webhook_dispatcher.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/__init__.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/adaptive.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/behavioral.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/behavioral_listener.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/bootstrap.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/consolidation_worker.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/cross_project.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/database.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/engagement.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/features.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/feedback.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/outcomes.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/project_context.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/ranker.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/signals.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/source_quality.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/workflows.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/llm/__init__.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/llm/backbone.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/math/__init__.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/math/fisher.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/math/langevin.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/math/sheaf.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/mcp/__init__.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/mcp/resources.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/mcp/tools.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/mcp/tools_active.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/mcp/tools_core.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/mcp/tools_v28.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/__init__.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/agentic.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/ann_index.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/bm25_channel.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/bridge_discovery.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/channel_registry.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/entity_channel.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/fusion.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/profile_channel.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/reranker.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/semantic_channel.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/spreading_activation.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/temporal_channel.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/vector_store.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/__init__.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/api.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/__init__.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/backup.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/behavioral.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/compliance.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/data_io.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/events.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/helpers.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/memories.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/profiles.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/stats.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/ws.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/security_middleware.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/ui.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/storage/__init__.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/storage/access_control.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/storage/access_log.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/storage/migrations.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/storage/models.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/storage/schema.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/storage/v2_migrator.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/trust/__init__.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/trust/gate.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/trust/provenance.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/trust/scorer.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/trust/signals.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory.egg-info/dependency_links.txt +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory.egg-info/entry_points.txt +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory.egg-info/requires.txt +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory.egg-info/top_level.txt +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_auto_hooks.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_behavioral_full.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_cli.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_cli_json.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_compliance_full.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_config_system.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_engine_hooks.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_event_bus.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_features.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_final_locomo_mini.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_ide_connector.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_infra.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_learning_advanced.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_learning_collectors.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_llm_provider.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_mcp_server.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_migration.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_post_install.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_ranker.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_trust_full.py +0 -0
- {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_v3_api.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: superlocalmemory
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.3.0
|
|
4
4
|
Summary: Information-geometric agent memory with mathematical guarantees
|
|
5
5
|
Author-email: Varun Pratap Bhardwaj <admin@superlocalmemory.com>
|
|
6
6
|
License: MIT
|
|
@@ -9,6 +9,19 @@ Project-URL: Repository, https://github.com/qualixar/superlocalmemory
|
|
|
9
9
|
Project-URL: Documentation, https://github.com/qualixar/superlocalmemory/wiki
|
|
10
10
|
Project-URL: Issues, https://github.com/qualixar/superlocalmemory/issues
|
|
11
11
|
Keywords: ai-memory,mcp-server,local-first,agent-memory,information-geometry,privacy-first,eu-ai-act
|
|
12
|
+
Classifier: Development Status :: 4 - Beta
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
15
|
+
Classifier: Operating System :: OS Independent
|
|
16
|
+
Classifier: Operating System :: MacOS
|
|
17
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
18
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
23
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
24
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
12
25
|
Requires-Python: >=3.11
|
|
13
26
|
Description-Content-Type: text/markdown
|
|
14
27
|
License-File: LICENSE
|
|
@@ -55,7 +68,7 @@ Dynamic: license-file
|
|
|
55
68
|
<img src="https://superlocalmemory.com/assets/logo-mark.png" alt="SuperLocalMemory" width="200"/>
|
|
56
69
|
</p>
|
|
57
70
|
|
|
58
|
-
<h1 align="center">SuperLocalMemory V3.
|
|
71
|
+
<h1 align="center">SuperLocalMemory V3.3</h1>
|
|
59
72
|
<p align="center"><strong>The first local-only AI memory to break 74% retrieval on LoCoMo.<br/>No cloud. No APIs. No data leaves your machine.</strong></p>
|
|
60
73
|
|
|
61
74
|
<p align="center">
|
|
@@ -100,63 +113,109 @@ Mathematical layers contribute **+12.7 percentage points** on average across 6 c
|
|
|
100
113
|
|
|
101
114
|
---
|
|
102
115
|
|
|
103
|
-
## What's New in V3.
|
|
116
|
+
## What's New in V3.3 — The Living Brain Evolves
|
|
104
117
|
|
|
105
|
-
>
|
|
118
|
+
> V3.3 gives your memory a lifecycle. Memories strengthen when used, fade when neglected, compress when idle, and consolidate into reusable patterns — all automatically, all locally. Your agent gets smarter the longer it runs.
|
|
106
119
|
|
|
107
|
-
###
|
|
120
|
+
### Features at a Glance
|
|
108
121
|
|
|
109
|
-
**
|
|
122
|
+
- **Adaptive Memory Lifecycle** — memories naturally strengthen with use and fade when neglected. No manual cleanup, no hardcoded TTLs.
|
|
123
|
+
- **Smart Compression** — embedding precision adapts to memory importance. Low-priority memories compress up to 32x. High-value memories stay full-resolution.
|
|
124
|
+
- **Cognitive Consolidation** — the system automatically extracts patterns from clusters of related memories. One decision referenced 50 times becomes one reusable insight.
|
|
125
|
+
- **Pattern Learning** — auto-learned soft prompts injected into your agent's context at session start. The system teaches itself what matters to you.
|
|
126
|
+
- **Hopfield Retrieval (6th Channel)** — vague or partial queries now complete themselves. Ask half a question, get the whole answer.
|
|
127
|
+
- **Process Health** — orphaned SLM processes detected and cleaned automatically. No more zombie workers eating RAM.
|
|
110
128
|
|
|
111
|
-
|
|
129
|
+
### New CLI Commands
|
|
112
130
|
|
|
113
|
-
|
|
131
|
+
```bash
|
|
132
|
+
# Run a memory lifecycle review — strengthens active memories, archives neglected ones
|
|
133
|
+
slm decay
|
|
134
|
+
|
|
135
|
+
# Run smart compression — adapts embedding precision to memory importance
|
|
136
|
+
slm quantize
|
|
114
137
|
|
|
115
|
-
|
|
138
|
+
# Extract reusable patterns from memory clusters
|
|
139
|
+
slm consolidate --cognitive
|
|
116
140
|
|
|
117
|
-
|
|
141
|
+
# View auto-learned patterns that get injected into agent context
|
|
142
|
+
slm soft-prompts
|
|
118
143
|
|
|
119
|
-
|
|
144
|
+
# Clean up orphaned SLM processes
|
|
145
|
+
slm reap
|
|
146
|
+
```
|
|
120
147
|
|
|
121
|
-
###
|
|
148
|
+
### New MCP Tools
|
|
122
149
|
|
|
123
|
-
|
|
|
150
|
+
| Tool | Description |
|
|
151
|
+
|:-----|:------------|
|
|
152
|
+
| `forget` | Programmatic memory archival via lifecycle rules |
|
|
153
|
+
| `quantize` | Trigger smart compression on demand |
|
|
154
|
+
| `consolidate_cognitive` | Extract and store patterns from memory clusters |
|
|
155
|
+
| `get_soft_prompts` | Retrieve auto-learned patterns for context injection |
|
|
156
|
+
| `reap_processes` | Clean orphaned SLM processes |
|
|
157
|
+
| `get_retention_stats` | Memory lifecycle analytics |
|
|
158
|
+
|
|
159
|
+
### Mode A/B Memory Improvements
|
|
160
|
+
|
|
161
|
+
| Metric | V3.2 | V3.3 | Change |
|
|
124
162
|
|:-------|:----:|:----:|:------:|
|
|
125
|
-
|
|
|
126
|
-
| Retrieval channels |
|
|
127
|
-
| MCP tools |
|
|
128
|
-
| CLI commands |
|
|
129
|
-
| Dashboard tabs |
|
|
130
|
-
| API endpoints |
|
|
131
|
-
|
|
163
|
+
| RAM usage (Mode A/B) | ~4GB | ~40MB | **100x reduction** |
|
|
164
|
+
| Retrieval channels | 5 | 6 | +Hopfield completion |
|
|
165
|
+
| MCP tools | 29 | 35 | +6 new |
|
|
166
|
+
| CLI commands | 21 | 26 | +5 new |
|
|
167
|
+
| Dashboard tabs | 20 | 23 | +3 new |
|
|
168
|
+
| API endpoints | 9 | 16 | +7 new |
|
|
169
|
+
|
|
170
|
+
Embedding migration happens automatically when you switch modes — no manual steps needed.
|
|
171
|
+
|
|
172
|
+
### Dashboard
|
|
173
|
+
|
|
174
|
+
Three new tabs: **Memory Lifecycle** (retention curves, decay stats), **Compression** (storage savings, precision distribution), and **Patterns** (auto-learned soft prompts, consolidation history). Seven new API endpoints power the new views.
|
|
132
175
|
|
|
133
|
-
### Enable V3.
|
|
176
|
+
### Enable V3.3 Features
|
|
134
177
|
|
|
135
178
|
All new features default OFF. Zero breaking changes. Opt in when ready:
|
|
136
179
|
|
|
137
180
|
```bash
|
|
138
|
-
# Turn on
|
|
139
|
-
slm config set
|
|
181
|
+
# Turn on adaptive memory lifecycle
|
|
182
|
+
slm config set lifecycle.enabled true
|
|
140
183
|
|
|
141
|
-
# Turn on
|
|
142
|
-
slm config set
|
|
184
|
+
# Turn on smart compression
|
|
185
|
+
slm config set quantization.enabled true
|
|
143
186
|
|
|
144
|
-
# Turn on
|
|
145
|
-
slm config set
|
|
187
|
+
# Turn on cognitive consolidation
|
|
188
|
+
slm config set consolidation.cognitive.enabled true
|
|
146
189
|
|
|
147
|
-
# Turn on
|
|
148
|
-
slm config set
|
|
149
|
-
```
|
|
190
|
+
# Turn on pattern learning (soft prompts)
|
|
191
|
+
slm config set soft_prompts.enabled true
|
|
150
192
|
|
|
151
|
-
|
|
193
|
+
# Turn on Hopfield retrieval (6th channel)
|
|
194
|
+
slm config set retrieval.hopfield.enabled true
|
|
152
195
|
|
|
153
|
-
|
|
154
|
-
slm config set
|
|
196
|
+
# Or enable everything at once
|
|
197
|
+
slm config set v33_features.all true
|
|
155
198
|
```
|
|
156
199
|
|
|
157
|
-
**Fully backward compatible.** All
|
|
200
|
+
**Fully backward compatible.** All existing MCP tools, CLI commands, and configs work unchanged. New tables are created automatically on first run. No migration needed.
|
|
201
|
+
|
|
202
|
+
---
|
|
203
|
+
|
|
204
|
+
<details>
|
|
205
|
+
<summary><strong>What's New in V3.2 — The Living Brain</strong> (click to expand)</summary>
|
|
206
|
+
|
|
207
|
+
100x faster recall (<10ms at 10K facts), automatic memory surfacing, associative retrieval (5th channel), temporal intelligence with bi-temporal validity, sleep-time consolidation, and core memory blocks. All features default OFF, zero breaking changes.
|
|
208
|
+
|
|
209
|
+
| Metric | V3.0 | V3.2 | Change |
|
|
210
|
+
|:-------|:----:|:----:|:------:|
|
|
211
|
+
| Recall latency (10K facts) | ~500ms | <10ms | **100x faster** |
|
|
212
|
+
| Retrieval channels | 4 | 5 | +spreading activation |
|
|
213
|
+
| MCP tools | 24 | 29 | +5 new |
|
|
214
|
+
| DB tables | 9 | 18 | +9 new |
|
|
215
|
+
|
|
216
|
+
Enable with `slm config set v32_features.all true`. See the [V3.2 Overview](https://github.com/qualixar/superlocalmemory/wiki/V3.2-Overview) wiki page for details.
|
|
158
217
|
|
|
159
|
-
>
|
|
218
|
+
</details>
|
|
160
219
|
|
|
161
220
|
---
|
|
162
221
|
|
|
@@ -198,7 +257,7 @@ slm status
|
|
|
198
257
|
}
|
|
199
258
|
```
|
|
200
259
|
|
|
201
|
-
|
|
260
|
+
35 MCP tools + 7 resources available. Works with Claude Code, Cursor, Windsurf, VS Code Copilot, Continue, Cody, ChatGPT Desktop, Gemini CLI, JetBrains, Zed, and 17+ AI tools. **V3.3: Adaptive lifecycle, smart compression, and pattern learning.**
|
|
202
261
|
|
|
203
262
|
### Dual Interface: MCP + CLI
|
|
204
263
|
|
|
@@ -249,11 +308,13 @@ slm mode c # Cloud LLM
|
|
|
249
308
|
## Architecture
|
|
250
309
|
|
|
251
310
|
```
|
|
252
|
-
Query ──► Strategy Classifier ──►
|
|
311
|
+
Query ──► Strategy Classifier ──► 6 Parallel Channels:
|
|
253
312
|
├── Semantic (Fisher-Rao geodesic distance)
|
|
254
313
|
├── BM25 (keyword matching)
|
|
255
314
|
├── Entity Graph (spreading activation, 3 hops)
|
|
256
|
-
|
|
315
|
+
├── Temporal (date-aware retrieval)
|
|
316
|
+
├── Associative (multi-hop spreading activation)
|
|
317
|
+
└── Hopfield (partial query completion)
|
|
257
318
|
│
|
|
258
319
|
RRF Fusion (k=60)
|
|
259
320
|
│
|
|
@@ -357,58 +418,39 @@ slm dashboard # Opens at http://localhost:8765
|
|
|
357
418
|
</p>
|
|
358
419
|
</details>
|
|
359
420
|
|
|
360
|
-
|
|
421
|
+
23 tabs: Dashboard, Recall Lab, Knowledge Graph, Memories, Trust Scores, Math Health, Compliance, Learning, IDE Connections, Settings, Memory Lifecycle, Compression, Patterns, and more. Runs locally — no data leaves your machine.
|
|
361
422
|
|
|
362
423
|
---
|
|
363
424
|
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
Most AI memory systems are passive databases — you store, you search, you get results. **SuperLocalMemory learns.**
|
|
367
|
-
|
|
368
|
-
Every recall you make generates learning signals. Over time, the system adapts to your patterns:
|
|
425
|
+
<details>
|
|
426
|
+
<summary><strong>Active Memory (V3.1) — Memory That Learns</strong> (click to expand)</summary>
|
|
369
427
|
|
|
370
|
-
|
|
371
|
-
|-------|---------|-------------|
|
|
372
|
-
| **Baseline** | 0-19 | Cross-encoder ranking (default behavior) |
|
|
373
|
-
| **Rule-Based** | 20+ | Heuristic boosts: recency, access count, trust score |
|
|
374
|
-
| **ML Model** | 200+ | LightGBM model trained on YOUR usage patterns |
|
|
428
|
+
Every recall generates learning signals. Over time, the system adapts to your patterns — from baseline (0-19 signals) → rule-based (20+) → ML model (200+, LightGBM trained on YOUR usage). Zero LLM tokens spent. Four mathematical signals computed locally: co-retrieval, confidence lifecycle, channel performance, and entropy gap.
|
|
375
429
|
|
|
376
|
-
|
|
377
|
-
No LLM tokens spent. Four mathematical signals computed locally:
|
|
378
|
-
- **Co-Retrieval** — memories retrieved together strengthen their connections
|
|
379
|
-
- **Confidence Lifecycle** — accessed facts get boosted, unused facts decay
|
|
380
|
-
- **Channel Performance** — tracks which retrieval channel works best for your queries
|
|
381
|
-
- **Entropy Gap** — surprising content gets prioritized for deeper indexing
|
|
430
|
+
Auto-capture hooks: `slm hooks install` + `slm observe` + `slm session-context`. MCP tools: `session_init`, `observe`, `report_feedback`.
|
|
382
431
|
|
|
383
|
-
|
|
384
|
-
```bash
|
|
385
|
-
slm hooks install # Install Claude Code hooks for invisible injection
|
|
386
|
-
slm observe "We decided to use PostgreSQL" # Auto-detects decisions, bugs, preferences
|
|
387
|
-
slm session-context # Get relevant context at session start
|
|
388
|
-
```
|
|
432
|
+
**No competitor learns at zero token cost.**
|
|
389
433
|
|
|
390
|
-
|
|
391
|
-
Three new tools for AI assistants:
|
|
392
|
-
- `session_init` — call at session start, get relevant project context automatically
|
|
393
|
-
- `observe` — send conversation content, auto-captures decisions/bugs/preferences
|
|
394
|
-
- `report_feedback` — explicit feedback for faster learning
|
|
395
|
-
|
|
396
|
-
**No competitor learns at zero token cost.** Mem0, Zep, and Letta all require cloud LLM calls for their learning loops. SLM learns through mathematics.
|
|
434
|
+
</details>
|
|
397
435
|
|
|
398
436
|
---
|
|
399
437
|
|
|
400
438
|
## Features
|
|
401
439
|
|
|
402
440
|
### Retrieval
|
|
403
|
-
-
|
|
441
|
+
- 6-channel hybrid: Semantic (Fisher-Rao) + BM25 + Entity Graph + Temporal + Associative + Hopfield
|
|
404
442
|
- RRF fusion + cross-encoder reranking
|
|
405
443
|
- Agentic sufficiency verification (auto-retry on weak results)
|
|
406
444
|
- Adaptive ranking with LightGBM (learns from usage)
|
|
445
|
+
- Hopfield completion for vague/partial queries
|
|
407
446
|
|
|
408
447
|
### Intelligence
|
|
409
448
|
- 11-step ingestion pipeline (entity resolution, fact extraction, emotional tagging, scene building)
|
|
410
449
|
- Automatic contradiction detection via sheaf cohomology
|
|
411
|
-
-
|
|
450
|
+
- Adaptive memory lifecycle — memories strengthen with use, fade when neglected
|
|
451
|
+
- Smart compression — embedding precision adapts to memory importance (up to 32x savings)
|
|
452
|
+
- Cognitive consolidation — automatic pattern extraction from related memories
|
|
453
|
+
- Auto-learned soft prompts injected into agent context
|
|
412
454
|
- Behavioral pattern detection and outcome tracking
|
|
413
455
|
|
|
414
456
|
### Trust & Security
|
|
@@ -418,12 +460,13 @@ Three new tools for AI assistants:
|
|
|
418
460
|
- Tamper-proof hash-chain audit trail (SHA-256 linked entries)
|
|
419
461
|
|
|
420
462
|
### Infrastructure
|
|
421
|
-
-
|
|
463
|
+
- 23-tab web dashboard with real-time visualization
|
|
422
464
|
- 17+ IDE integrations (Claude, Cursor, Windsurf, VS Code, JetBrains, Zed, etc.)
|
|
423
|
-
-
|
|
465
|
+
- 35 MCP tools + 7 MCP resources
|
|
424
466
|
- Profile isolation (independent memory spaces)
|
|
425
467
|
- 1400+ tests, MIT license, cross-platform (Mac/Linux/Windows)
|
|
426
468
|
- CPU-only — no GPU required
|
|
469
|
+
- Automatic orphaned process cleanup
|
|
427
470
|
|
|
428
471
|
---
|
|
429
472
|
|
|
@@ -447,6 +490,11 @@ Three new tools for AI assistants:
|
|
|
447
490
|
| `slm connect` | Configure IDE integrations |
|
|
448
491
|
| `slm hooks install` | Wire auto-memory into Claude Code hooks |
|
|
449
492
|
| `slm profile list/create/switch` | Profile management |
|
|
493
|
+
| `slm decay` | Run memory lifecycle review |
|
|
494
|
+
| `slm quantize` | Run smart compression cycle |
|
|
495
|
+
| `slm consolidate --cognitive` | Extract patterns from memory clusters |
|
|
496
|
+
| `slm soft-prompts` | View auto-learned patterns |
|
|
497
|
+
| `slm reap` | Clean orphaned SLM processes |
|
|
450
498
|
|
|
451
499
|
---
|
|
452
500
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<img src="https://superlocalmemory.com/assets/logo-mark.png" alt="SuperLocalMemory" width="200"/>
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
|
-
<h1 align="center">SuperLocalMemory V3.
|
|
5
|
+
<h1 align="center">SuperLocalMemory V3.3</h1>
|
|
6
6
|
<p align="center"><strong>The first local-only AI memory to break 74% retrieval on LoCoMo.<br/>No cloud. No APIs. No data leaves your machine.</strong></p>
|
|
7
7
|
|
|
8
8
|
<p align="center">
|
|
@@ -47,63 +47,109 @@ Mathematical layers contribute **+12.7 percentage points** on average across 6 c
|
|
|
47
47
|
|
|
48
48
|
---
|
|
49
49
|
|
|
50
|
-
## What's New in V3.
|
|
50
|
+
## What's New in V3.3 — The Living Brain Evolves
|
|
51
51
|
|
|
52
|
-
>
|
|
52
|
+
> V3.3 gives your memory a lifecycle. Memories strengthen when used, fade when neglected, compress when idle, and consolidate into reusable patterns — all automatically, all locally. Your agent gets smarter the longer it runs.
|
|
53
53
|
|
|
54
|
-
###
|
|
54
|
+
### Features at a Glance
|
|
55
55
|
|
|
56
|
-
**
|
|
56
|
+
- **Adaptive Memory Lifecycle** — memories naturally strengthen with use and fade when neglected. No manual cleanup, no hardcoded TTLs.
|
|
57
|
+
- **Smart Compression** — embedding precision adapts to memory importance. Low-priority memories compress up to 32x. High-value memories stay full-resolution.
|
|
58
|
+
- **Cognitive Consolidation** — the system automatically extracts patterns from clusters of related memories. One decision referenced 50 times becomes one reusable insight.
|
|
59
|
+
- **Pattern Learning** — auto-learned soft prompts injected into your agent's context at session start. The system teaches itself what matters to you.
|
|
60
|
+
- **Hopfield Retrieval (6th Channel)** — vague or partial queries now complete themselves. Ask half a question, get the whole answer.
|
|
61
|
+
- **Process Health** — orphaned SLM processes detected and cleaned automatically. No more zombie workers eating RAM.
|
|
57
62
|
|
|
58
|
-
|
|
63
|
+
### New CLI Commands
|
|
59
64
|
|
|
60
|
-
|
|
65
|
+
```bash
|
|
66
|
+
# Run a memory lifecycle review — strengthens active memories, archives neglected ones
|
|
67
|
+
slm decay
|
|
68
|
+
|
|
69
|
+
# Run smart compression — adapts embedding precision to memory importance
|
|
70
|
+
slm quantize
|
|
61
71
|
|
|
62
|
-
|
|
72
|
+
# Extract reusable patterns from memory clusters
|
|
73
|
+
slm consolidate --cognitive
|
|
63
74
|
|
|
64
|
-
|
|
75
|
+
# View auto-learned patterns that get injected into agent context
|
|
76
|
+
slm soft-prompts
|
|
65
77
|
|
|
66
|
-
|
|
78
|
+
# Clean up orphaned SLM processes
|
|
79
|
+
slm reap
|
|
80
|
+
```
|
|
67
81
|
|
|
68
|
-
###
|
|
82
|
+
### New MCP Tools
|
|
69
83
|
|
|
70
|
-
|
|
|
84
|
+
| Tool | Description |
|
|
85
|
+
|:-----|:------------|
|
|
86
|
+
| `forget` | Programmatic memory archival via lifecycle rules |
|
|
87
|
+
| `quantize` | Trigger smart compression on demand |
|
|
88
|
+
| `consolidate_cognitive` | Extract and store patterns from memory clusters |
|
|
89
|
+
| `get_soft_prompts` | Retrieve auto-learned patterns for context injection |
|
|
90
|
+
| `reap_processes` | Clean orphaned SLM processes |
|
|
91
|
+
| `get_retention_stats` | Memory lifecycle analytics |
|
|
92
|
+
|
|
93
|
+
### Mode A/B Memory Improvements
|
|
94
|
+
|
|
95
|
+
| Metric | V3.2 | V3.3 | Change |
|
|
71
96
|
|:-------|:----:|:----:|:------:|
|
|
72
|
-
|
|
|
73
|
-
| Retrieval channels |
|
|
74
|
-
| MCP tools |
|
|
75
|
-
| CLI commands |
|
|
76
|
-
| Dashboard tabs |
|
|
77
|
-
| API endpoints |
|
|
78
|
-
|
|
97
|
+
| RAM usage (Mode A/B) | ~4GB | ~40MB | **100x reduction** |
|
|
98
|
+
| Retrieval channels | 5 | 6 | +Hopfield completion |
|
|
99
|
+
| MCP tools | 29 | 35 | +6 new |
|
|
100
|
+
| CLI commands | 21 | 26 | +5 new |
|
|
101
|
+
| Dashboard tabs | 20 | 23 | +3 new |
|
|
102
|
+
| API endpoints | 9 | 16 | +7 new |
|
|
103
|
+
|
|
104
|
+
Embedding migration happens automatically when you switch modes — no manual steps needed.
|
|
105
|
+
|
|
106
|
+
### Dashboard
|
|
107
|
+
|
|
108
|
+
Three new tabs: **Memory Lifecycle** (retention curves, decay stats), **Compression** (storage savings, precision distribution), and **Patterns** (auto-learned soft prompts, consolidation history). Seven new API endpoints power the new views.
|
|
79
109
|
|
|
80
|
-
### Enable V3.
|
|
110
|
+
### Enable V3.3 Features
|
|
81
111
|
|
|
82
112
|
All new features default OFF. Zero breaking changes. Opt in when ready:
|
|
83
113
|
|
|
84
114
|
```bash
|
|
85
|
-
# Turn on
|
|
86
|
-
slm config set
|
|
115
|
+
# Turn on adaptive memory lifecycle
|
|
116
|
+
slm config set lifecycle.enabled true
|
|
87
117
|
|
|
88
|
-
# Turn on
|
|
89
|
-
slm config set
|
|
118
|
+
# Turn on smart compression
|
|
119
|
+
slm config set quantization.enabled true
|
|
90
120
|
|
|
91
|
-
# Turn on
|
|
92
|
-
slm config set
|
|
121
|
+
# Turn on cognitive consolidation
|
|
122
|
+
slm config set consolidation.cognitive.enabled true
|
|
93
123
|
|
|
94
|
-
# Turn on
|
|
95
|
-
slm config set
|
|
96
|
-
```
|
|
124
|
+
# Turn on pattern learning (soft prompts)
|
|
125
|
+
slm config set soft_prompts.enabled true
|
|
97
126
|
|
|
98
|
-
|
|
127
|
+
# Turn on Hopfield retrieval (6th channel)
|
|
128
|
+
slm config set retrieval.hopfield.enabled true
|
|
99
129
|
|
|
100
|
-
|
|
101
|
-
slm config set
|
|
130
|
+
# Or enable everything at once
|
|
131
|
+
slm config set v33_features.all true
|
|
102
132
|
```
|
|
103
133
|
|
|
104
|
-
**Fully backward compatible.** All
|
|
134
|
+
**Fully backward compatible.** All existing MCP tools, CLI commands, and configs work unchanged. New tables are created automatically on first run. No migration needed.
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
<details>
|
|
139
|
+
<summary><strong>What's New in V3.2 — The Living Brain</strong> (click to expand)</summary>
|
|
140
|
+
|
|
141
|
+
100x faster recall (<10ms at 10K facts), automatic memory surfacing, associative retrieval (5th channel), temporal intelligence with bi-temporal validity, sleep-time consolidation, and core memory blocks. All features default OFF, zero breaking changes.
|
|
142
|
+
|
|
143
|
+
| Metric | V3.0 | V3.2 | Change |
|
|
144
|
+
|:-------|:----:|:----:|:------:|
|
|
145
|
+
| Recall latency (10K facts) | ~500ms | <10ms | **100x faster** |
|
|
146
|
+
| Retrieval channels | 4 | 5 | +spreading activation |
|
|
147
|
+
| MCP tools | 24 | 29 | +5 new |
|
|
148
|
+
| DB tables | 9 | 18 | +9 new |
|
|
149
|
+
|
|
150
|
+
Enable with `slm config set v32_features.all true`. See the [V3.2 Overview](https://github.com/qualixar/superlocalmemory/wiki/V3.2-Overview) wiki page for details.
|
|
105
151
|
|
|
106
|
-
>
|
|
152
|
+
</details>
|
|
107
153
|
|
|
108
154
|
---
|
|
109
155
|
|
|
@@ -145,7 +191,7 @@ slm status
|
|
|
145
191
|
}
|
|
146
192
|
```
|
|
147
193
|
|
|
148
|
-
|
|
194
|
+
35 MCP tools + 7 resources available. Works with Claude Code, Cursor, Windsurf, VS Code Copilot, Continue, Cody, ChatGPT Desktop, Gemini CLI, JetBrains, Zed, and 17+ AI tools. **V3.3: Adaptive lifecycle, smart compression, and pattern learning.**
|
|
149
195
|
|
|
150
196
|
### Dual Interface: MCP + CLI
|
|
151
197
|
|
|
@@ -196,11 +242,13 @@ slm mode c # Cloud LLM
|
|
|
196
242
|
## Architecture
|
|
197
243
|
|
|
198
244
|
```
|
|
199
|
-
Query ──► Strategy Classifier ──►
|
|
245
|
+
Query ──► Strategy Classifier ──► 6 Parallel Channels:
|
|
200
246
|
├── Semantic (Fisher-Rao geodesic distance)
|
|
201
247
|
├── BM25 (keyword matching)
|
|
202
248
|
├── Entity Graph (spreading activation, 3 hops)
|
|
203
|
-
|
|
249
|
+
├── Temporal (date-aware retrieval)
|
|
250
|
+
├── Associative (multi-hop spreading activation)
|
|
251
|
+
└── Hopfield (partial query completion)
|
|
204
252
|
│
|
|
205
253
|
RRF Fusion (k=60)
|
|
206
254
|
│
|
|
@@ -304,58 +352,39 @@ slm dashboard # Opens at http://localhost:8765
|
|
|
304
352
|
</p>
|
|
305
353
|
</details>
|
|
306
354
|
|
|
307
|
-
|
|
355
|
+
23 tabs: Dashboard, Recall Lab, Knowledge Graph, Memories, Trust Scores, Math Health, Compliance, Learning, IDE Connections, Settings, Memory Lifecycle, Compression, Patterns, and more. Runs locally — no data leaves your machine.
|
|
308
356
|
|
|
309
357
|
---
|
|
310
358
|
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
Most AI memory systems are passive databases — you store, you search, you get results. **SuperLocalMemory learns.**
|
|
314
|
-
|
|
315
|
-
Every recall you make generates learning signals. Over time, the system adapts to your patterns:
|
|
359
|
+
<details>
|
|
360
|
+
<summary><strong>Active Memory (V3.1) — Memory That Learns</strong> (click to expand)</summary>
|
|
316
361
|
|
|
317
|
-
|
|
318
|
-
|-------|---------|-------------|
|
|
319
|
-
| **Baseline** | 0-19 | Cross-encoder ranking (default behavior) |
|
|
320
|
-
| **Rule-Based** | 20+ | Heuristic boosts: recency, access count, trust score |
|
|
321
|
-
| **ML Model** | 200+ | LightGBM model trained on YOUR usage patterns |
|
|
362
|
+
Every recall generates learning signals. Over time, the system adapts to your patterns — from baseline (0-19 signals) → rule-based (20+) → ML model (200+, LightGBM trained on YOUR usage). Zero LLM tokens spent. Four mathematical signals computed locally: co-retrieval, confidence lifecycle, channel performance, and entropy gap.
|
|
322
363
|
|
|
323
|
-
|
|
324
|
-
No LLM tokens spent. Four mathematical signals computed locally:
|
|
325
|
-
- **Co-Retrieval** — memories retrieved together strengthen their connections
|
|
326
|
-
- **Confidence Lifecycle** — accessed facts get boosted, unused facts decay
|
|
327
|
-
- **Channel Performance** — tracks which retrieval channel works best for your queries
|
|
328
|
-
- **Entropy Gap** — surprising content gets prioritized for deeper indexing
|
|
364
|
+
Auto-capture hooks: `slm hooks install` + `slm observe` + `slm session-context`. MCP tools: `session_init`, `observe`, `report_feedback`.
|
|
329
365
|
|
|
330
|
-
|
|
331
|
-
```bash
|
|
332
|
-
slm hooks install # Install Claude Code hooks for invisible injection
|
|
333
|
-
slm observe "We decided to use PostgreSQL" # Auto-detects decisions, bugs, preferences
|
|
334
|
-
slm session-context # Get relevant context at session start
|
|
335
|
-
```
|
|
366
|
+
**No competitor learns at zero token cost.**
|
|
336
367
|
|
|
337
|
-
|
|
338
|
-
Three new tools for AI assistants:
|
|
339
|
-
- `session_init` — call at session start, get relevant project context automatically
|
|
340
|
-
- `observe` — send conversation content, auto-captures decisions/bugs/preferences
|
|
341
|
-
- `report_feedback` — explicit feedback for faster learning
|
|
342
|
-
|
|
343
|
-
**No competitor learns at zero token cost.** Mem0, Zep, and Letta all require cloud LLM calls for their learning loops. SLM learns through mathematics.
|
|
368
|
+
</details>
|
|
344
369
|
|
|
345
370
|
---
|
|
346
371
|
|
|
347
372
|
## Features
|
|
348
373
|
|
|
349
374
|
### Retrieval
|
|
350
|
-
-
|
|
375
|
+
- 6-channel hybrid: Semantic (Fisher-Rao) + BM25 + Entity Graph + Temporal + Associative + Hopfield
|
|
351
376
|
- RRF fusion + cross-encoder reranking
|
|
352
377
|
- Agentic sufficiency verification (auto-retry on weak results)
|
|
353
378
|
- Adaptive ranking with LightGBM (learns from usage)
|
|
379
|
+
- Hopfield completion for vague/partial queries
|
|
354
380
|
|
|
355
381
|
### Intelligence
|
|
356
382
|
- 11-step ingestion pipeline (entity resolution, fact extraction, emotional tagging, scene building)
|
|
357
383
|
- Automatic contradiction detection via sheaf cohomology
|
|
358
|
-
-
|
|
384
|
+
- Adaptive memory lifecycle — memories strengthen with use, fade when neglected
|
|
385
|
+
- Smart compression — embedding precision adapts to memory importance (up to 32x savings)
|
|
386
|
+
- Cognitive consolidation — automatic pattern extraction from related memories
|
|
387
|
+
- Auto-learned soft prompts injected into agent context
|
|
359
388
|
- Behavioral pattern detection and outcome tracking
|
|
360
389
|
|
|
361
390
|
### Trust & Security
|
|
@@ -365,12 +394,13 @@ Three new tools for AI assistants:
|
|
|
365
394
|
- Tamper-proof hash-chain audit trail (SHA-256 linked entries)
|
|
366
395
|
|
|
367
396
|
### Infrastructure
|
|
368
|
-
-
|
|
397
|
+
- 23-tab web dashboard with real-time visualization
|
|
369
398
|
- 17+ IDE integrations (Claude, Cursor, Windsurf, VS Code, JetBrains, Zed, etc.)
|
|
370
|
-
-
|
|
399
|
+
- 35 MCP tools + 7 MCP resources
|
|
371
400
|
- Profile isolation (independent memory spaces)
|
|
372
401
|
- 1400+ tests, MIT license, cross-platform (Mac/Linux/Windows)
|
|
373
402
|
- CPU-only — no GPU required
|
|
403
|
+
- Automatic orphaned process cleanup
|
|
374
404
|
|
|
375
405
|
---
|
|
376
406
|
|
|
@@ -394,6 +424,11 @@ Three new tools for AI assistants:
|
|
|
394
424
|
| `slm connect` | Configure IDE integrations |
|
|
395
425
|
| `slm hooks install` | Wire auto-memory into Claude Code hooks |
|
|
396
426
|
| `slm profile list/create/switch` | Profile management |
|
|
427
|
+
| `slm decay` | Run memory lifecycle review |
|
|
428
|
+
| `slm quantize` | Run smart compression cycle |
|
|
429
|
+
| `slm consolidate --cognitive` | Extract patterns from memory clusters |
|
|
430
|
+
| `slm soft-prompts` | View auto-learned patterns |
|
|
431
|
+
| `slm reap` | Clean orphaned SLM processes |
|
|
397
432
|
|
|
398
433
|
---
|
|
399
434
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "superlocalmemory"
|
|
3
|
-
version = "3.
|
|
3
|
+
version = "3.3.0"
|
|
4
4
|
description = "Information-geometric agent memory with mathematical guarantees"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = {text = "MIT"}
|
|
@@ -12,6 +12,21 @@ keywords = [
|
|
|
12
12
|
"ai-memory", "mcp-server", "local-first", "agent-memory",
|
|
13
13
|
"information-geometry", "privacy-first", "eu-ai-act",
|
|
14
14
|
]
|
|
15
|
+
classifiers = [
|
|
16
|
+
"Development Status :: 4 - Beta",
|
|
17
|
+
"Intended Audience :: Developers",
|
|
18
|
+
"License :: OSI Approved :: MIT License",
|
|
19
|
+
"Operating System :: OS Independent",
|
|
20
|
+
"Operating System :: MacOS",
|
|
21
|
+
"Operating System :: Microsoft :: Windows",
|
|
22
|
+
"Operating System :: POSIX :: Linux",
|
|
23
|
+
"Programming Language :: Python :: 3.11",
|
|
24
|
+
"Programming Language :: Python :: 3.12",
|
|
25
|
+
"Programming Language :: Python :: 3.13",
|
|
26
|
+
"Programming Language :: Python :: 3.14",
|
|
27
|
+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
28
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
29
|
+
]
|
|
15
30
|
|
|
16
31
|
dependencies = [
|
|
17
32
|
"httpx>=0.24.0",
|