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.
Files changed (215) hide show
  1. {superlocalmemory-3.2.3/src/superlocalmemory.egg-info → superlocalmemory-3.3.0}/PKG-INFO +120 -72
  2. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/README.md +106 -71
  3. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/pyproject.toml +16 -1
  4. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/cli/commands.py +309 -0
  5. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/cli/main.py +44 -0
  6. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/config.py +276 -4
  7. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/consolidation_engine.py +37 -0
  8. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/engine.py +21 -0
  9. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/engine_wiring.py +58 -8
  10. superlocalmemory-3.3.0/src/superlocalmemory/dynamics/activation_guided_quantization.py +374 -0
  11. superlocalmemory-3.3.0/src/superlocalmemory/dynamics/eap_scheduler.py +276 -0
  12. superlocalmemory-3.3.0/src/superlocalmemory/dynamics/ebbinghaus_langevin_coupling.py +171 -0
  13. superlocalmemory-3.3.0/src/superlocalmemory/encoding/cognitive_consolidator.py +804 -0
  14. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/hooks/auto_invoker.py +46 -8
  15. superlocalmemory-3.3.0/src/superlocalmemory/hooks/auto_parameterize.py +147 -0
  16. superlocalmemory-3.3.0/src/superlocalmemory/infra/heartbeat_monitor.py +140 -0
  17. superlocalmemory-3.3.0/src/superlocalmemory/infra/pid_manager.py +193 -0
  18. superlocalmemory-3.3.0/src/superlocalmemory/infra/process_reaper.py +572 -0
  19. superlocalmemory-3.3.0/src/superlocalmemory/learning/consolidation_quantization_worker.py +115 -0
  20. superlocalmemory-3.3.0/src/superlocalmemory/learning/forgetting_scheduler.py +263 -0
  21. superlocalmemory-3.3.0/src/superlocalmemory/learning/quantization_scheduler.py +320 -0
  22. superlocalmemory-3.3.0/src/superlocalmemory/math/ebbinghaus.py +309 -0
  23. superlocalmemory-3.3.0/src/superlocalmemory/math/fisher_quantized.py +251 -0
  24. superlocalmemory-3.3.0/src/superlocalmemory/math/hopfield.py +279 -0
  25. superlocalmemory-3.3.0/src/superlocalmemory/math/polar_quant.py +379 -0
  26. superlocalmemory-3.3.0/src/superlocalmemory/math/qjl.py +115 -0
  27. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/mcp/server.py +2 -0
  28. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/mcp/tools_v3.py +10 -0
  29. superlocalmemory-3.3.0/src/superlocalmemory/mcp/tools_v33.py +351 -0
  30. superlocalmemory-3.3.0/src/superlocalmemory/parameterization/__init__.py +47 -0
  31. superlocalmemory-3.3.0/src/superlocalmemory/parameterization/pattern_extractor.py +534 -0
  32. superlocalmemory-3.3.0/src/superlocalmemory/parameterization/pii_filter.py +106 -0
  33. superlocalmemory-3.3.0/src/superlocalmemory/parameterization/prompt_injector.py +216 -0
  34. superlocalmemory-3.3.0/src/superlocalmemory/parameterization/prompt_lifecycle.py +275 -0
  35. superlocalmemory-3.3.0/src/superlocalmemory/parameterization/soft_prompt_generator.py +425 -0
  36. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/engine.py +21 -3
  37. superlocalmemory-3.3.0/src/superlocalmemory/retrieval/forgetting_filter.py +145 -0
  38. superlocalmemory-3.3.0/src/superlocalmemory/retrieval/hopfield_channel.py +335 -0
  39. superlocalmemory-3.3.0/src/superlocalmemory/retrieval/quantization_aware_search.py +133 -0
  40. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/strategy.py +16 -6
  41. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/agents.py +68 -8
  42. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/learning.py +18 -1
  43. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/lifecycle.py +36 -17
  44. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/v3_api.py +503 -1
  45. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/storage/database.py +206 -0
  46. superlocalmemory-3.3.0/src/superlocalmemory/storage/embedding_migrator.py +178 -0
  47. superlocalmemory-3.3.0/src/superlocalmemory/storage/migration_v33.py +140 -0
  48. superlocalmemory-3.3.0/src/superlocalmemory/storage/quantized_store.py +261 -0
  49. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/storage/schema_v32.py +137 -0
  50. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0/src/superlocalmemory.egg-info}/PKG-INFO +120 -72
  51. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory.egg-info/SOURCES.txt +30 -0
  52. superlocalmemory-3.3.0/tests/test_cli_v33.py +592 -0
  53. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/AUTHORS.md +0 -0
  54. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/LICENSE +0 -0
  55. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/NOTICE +0 -0
  56. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/setup.cfg +0 -0
  57. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/__init__.py +0 -0
  58. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/attribution/__init__.py +0 -0
  59. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/attribution/mathematical_dna.py +0 -0
  60. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/attribution/signer.py +0 -0
  61. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/attribution/watermark.py +0 -0
  62. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/cli/__init__.py +0 -0
  63. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/cli/json_output.py +0 -0
  64. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/cli/migrate_cmd.py +0 -0
  65. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/cli/post_install.py +0 -0
  66. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/cli/setup_wizard.py +0 -0
  67. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/compliance/__init__.py +0 -0
  68. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/compliance/abac.py +0 -0
  69. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/compliance/audit.py +0 -0
  70. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/compliance/eu_ai_act.py +0 -0
  71. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/compliance/gdpr.py +0 -0
  72. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/compliance/lifecycle.py +0 -0
  73. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/compliance/retention.py +0 -0
  74. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/compliance/scheduler.py +0 -0
  75. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/__init__.py +0 -0
  76. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/embedding_worker.py +0 -0
  77. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/embeddings.py +0 -0
  78. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/graph_analyzer.py +0 -0
  79. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/hooks.py +0 -0
  80. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/maintenance.py +0 -0
  81. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/modes.py +0 -0
  82. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/ollama_embedder.py +0 -0
  83. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/profiles.py +0 -0
  84. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/recall_pipeline.py +0 -0
  85. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/recall_worker.py +0 -0
  86. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/registry.py +0 -0
  87. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/store_pipeline.py +0 -0
  88. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/summarizer.py +0 -0
  89. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/core/worker_pool.py +0 -0
  90. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/dynamics/__init__.py +0 -0
  91. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/dynamics/fisher_langevin_coupling.py +0 -0
  92. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/__init__.py +0 -0
  93. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/auto_linker.py +0 -0
  94. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/consolidator.py +0 -0
  95. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/context_generator.py +0 -0
  96. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/emotional.py +0 -0
  97. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/entity_resolver.py +0 -0
  98. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/entropy_gate.py +0 -0
  99. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/fact_extractor.py +0 -0
  100. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/foresight.py +0 -0
  101. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/graph_builder.py +0 -0
  102. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/observation_builder.py +0 -0
  103. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/scene_builder.py +0 -0
  104. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/signal_inference.py +0 -0
  105. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/temporal_parser.py +0 -0
  106. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/temporal_validator.py +0 -0
  107. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/encoding/type_router.py +0 -0
  108. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/hooks/__init__.py +0 -0
  109. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/hooks/auto_capture.py +0 -0
  110. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/hooks/auto_recall.py +0 -0
  111. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/hooks/claude_code_hooks.py +0 -0
  112. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/hooks/ide_connector.py +0 -0
  113. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/hooks/rules_engine.py +0 -0
  114. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/infra/__init__.py +0 -0
  115. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/infra/auth_middleware.py +0 -0
  116. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/infra/backup.py +0 -0
  117. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/infra/cache_manager.py +0 -0
  118. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/infra/event_bus.py +0 -0
  119. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/infra/rate_limiter.py +0 -0
  120. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/infra/webhook_dispatcher.py +0 -0
  121. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/__init__.py +0 -0
  122. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/adaptive.py +0 -0
  123. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/behavioral.py +0 -0
  124. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/behavioral_listener.py +0 -0
  125. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/bootstrap.py +0 -0
  126. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/consolidation_worker.py +0 -0
  127. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/cross_project.py +0 -0
  128. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/database.py +0 -0
  129. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/engagement.py +0 -0
  130. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/features.py +0 -0
  131. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/feedback.py +0 -0
  132. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/outcomes.py +0 -0
  133. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/project_context.py +0 -0
  134. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/ranker.py +0 -0
  135. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/signals.py +0 -0
  136. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/source_quality.py +0 -0
  137. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/learning/workflows.py +0 -0
  138. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/llm/__init__.py +0 -0
  139. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/llm/backbone.py +0 -0
  140. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/math/__init__.py +0 -0
  141. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/math/fisher.py +0 -0
  142. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/math/langevin.py +0 -0
  143. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/math/sheaf.py +0 -0
  144. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/mcp/__init__.py +0 -0
  145. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/mcp/resources.py +0 -0
  146. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/mcp/tools.py +0 -0
  147. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/mcp/tools_active.py +0 -0
  148. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/mcp/tools_core.py +0 -0
  149. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/mcp/tools_v28.py +0 -0
  150. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/__init__.py +0 -0
  151. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/agentic.py +0 -0
  152. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/ann_index.py +0 -0
  153. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/bm25_channel.py +0 -0
  154. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/bridge_discovery.py +0 -0
  155. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/channel_registry.py +0 -0
  156. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/entity_channel.py +0 -0
  157. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/fusion.py +0 -0
  158. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/profile_channel.py +0 -0
  159. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/reranker.py +0 -0
  160. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/semantic_channel.py +0 -0
  161. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/spreading_activation.py +0 -0
  162. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/temporal_channel.py +0 -0
  163. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/retrieval/vector_store.py +0 -0
  164. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/__init__.py +0 -0
  165. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/api.py +0 -0
  166. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/__init__.py +0 -0
  167. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/backup.py +0 -0
  168. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/behavioral.py +0 -0
  169. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/compliance.py +0 -0
  170. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/data_io.py +0 -0
  171. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/events.py +0 -0
  172. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/helpers.py +0 -0
  173. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/memories.py +0 -0
  174. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/profiles.py +0 -0
  175. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/stats.py +0 -0
  176. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/routes/ws.py +0 -0
  177. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/security_middleware.py +0 -0
  178. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/server/ui.py +0 -0
  179. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/storage/__init__.py +0 -0
  180. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/storage/access_control.py +0 -0
  181. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/storage/access_log.py +0 -0
  182. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/storage/migrations.py +0 -0
  183. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/storage/models.py +0 -0
  184. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/storage/schema.py +0 -0
  185. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/storage/v2_migrator.py +0 -0
  186. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/trust/__init__.py +0 -0
  187. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/trust/gate.py +0 -0
  188. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/trust/provenance.py +0 -0
  189. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/trust/scorer.py +0 -0
  190. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory/trust/signals.py +0 -0
  191. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory.egg-info/dependency_links.txt +0 -0
  192. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory.egg-info/entry_points.txt +0 -0
  193. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory.egg-info/requires.txt +0 -0
  194. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/src/superlocalmemory.egg-info/top_level.txt +0 -0
  195. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_auto_hooks.py +0 -0
  196. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_behavioral_full.py +0 -0
  197. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_cli.py +0 -0
  198. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_cli_json.py +0 -0
  199. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_compliance_full.py +0 -0
  200. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_config_system.py +0 -0
  201. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_engine_hooks.py +0 -0
  202. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_event_bus.py +0 -0
  203. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_features.py +0 -0
  204. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_final_locomo_mini.py +0 -0
  205. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_ide_connector.py +0 -0
  206. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_infra.py +0 -0
  207. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_learning_advanced.py +0 -0
  208. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_learning_collectors.py +0 -0
  209. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_llm_provider.py +0 -0
  210. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_mcp_server.py +0 -0
  211. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_migration.py +0 -0
  212. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_post_install.py +0 -0
  213. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_ranker.py +0 -0
  214. {superlocalmemory-3.2.3 → superlocalmemory-3.3.0}/tests/test_trust_full.py +0 -0
  215. {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.2.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.2</h1>
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.2 — The Living Brain
116
+ ## What's New in V3.3 — The Living Brain Evolves
104
117
 
105
- > Your AI agent now remembers the way humans do: associatively, temporally, and with consolidation during idle time. V3.2 transforms SLM from a retrieval engine into a living memory system that surfaces what you need before you ask for it.
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
- ### Headline Features
120
+ ### Features at a Glance
108
121
 
109
- **100x Faster Recall** — Retrieval latency drops from ~500ms to <10ms at 10K facts. Vector KNN search replaces full-table scan. You feel the difference on the first query.
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
- **Automatic Memory Surfacing** — Memories now come to you. A multi-signal scoring engine (similarity + recency + frequency + trust) proactively injects relevant context at session start and during conversations. No more "I forgot we decided that last week."
129
+ ### New CLI Commands
112
130
 
113
- **Associative Retrieval (5th Channel)** — V3 had 4 retrieval channels. V3.2 adds a 5th: multi-hop spreading activation across your knowledge graph. Ask about "deployment" and it surfaces the related database migration decision three hops away.
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
- **Temporal Intelligence** Facts now carry time-awareness. Bi-temporal validity tracks when something was true vs. when it was recorded. Contradictions are detected automatically: "We use Postgres" + "We migrated to MySQL" triggers a conflict resolution flow.
138
+ # Extract reusable patterns from memory clusters
139
+ slm consolidate --cognitive
116
140
 
117
- **Sleep-Time Consolidation** During idle periods, SLM compresses, deduplicates, and reorganizes your memory store. Redundant facts merge. Clusters tighten. Important memories get promoted to Core Memory blocks that stay permanently in context (inspired by Letta's core memory, but fully local).
141
+ # View auto-learned patterns that get injected into agent context
142
+ slm soft-prompts
118
143
 
119
- **Core Memory Blocks** Pin your most critical context (architecture decisions, team conventions, project constraints) into always-available working memory. These blocks are injected into every session automatically — your agent never starts cold.
144
+ # Clean up orphaned SLM processes
145
+ slm reap
146
+ ```
120
147
 
121
- ### By the Numbers
148
+ ### New MCP Tools
122
149
 
123
- | Metric | V3.0 | V3.2 | Change |
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
- | Recall latency (10K facts) | ~500ms | <10ms | **100x faster** |
126
- | Retrieval channels | 4 | 5 | +spreading activation |
127
- | MCP tools | 24 | 29 | +5 new |
128
- | CLI commands | 16 | 21 | +5 new |
129
- | Dashboard tabs | 17 | 20 | +3 new |
130
- | API endpoints | | 9 new | configuration & status |
131
- | DB tables | 9 | 18 | +9 for temporal, consolidation, core memory |
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.2 Features
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 automatic memory surfacing
139
- slm config set auto_invoke.enabled true
181
+ # Turn on adaptive memory lifecycle
182
+ slm config set lifecycle.enabled true
140
183
 
141
- # Turn on sleep-time consolidation
142
- slm config set consolidation.enabled true
184
+ # Turn on smart compression
185
+ slm config set quantization.enabled true
143
186
 
144
- # Turn on temporal intelligence
145
- slm config set temporal.enabled true
187
+ # Turn on cognitive consolidation
188
+ slm config set consolidation.cognitive.enabled true
146
189
 
147
- # Turn on associative retrieval (5th channel)
148
- slm config set retrieval.synapse.enabled true
149
- ```
190
+ # Turn on pattern learning (soft prompts)
191
+ slm config set soft_prompts.enabled true
150
192
 
151
- Or enable everything at once:
193
+ # Turn on Hopfield retrieval (6th channel)
194
+ slm config set retrieval.hopfield.enabled true
152
195
 
153
- ```bash
154
- slm config set v32_features.all true
196
+ # Or enable everything at once
197
+ slm config set v33_features.all true
155
198
  ```
156
199
 
157
- **Fully backward compatible.** All 29 MCP tools, 21 CLI commands work the same. Existing data untouched. New features activate only when you flip the switch.
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
- > **V3.2 Paper** — Technical details, formal guarantees, and benchmark results in the upcoming companion paper. Watch the [arXiv page](https://arxiv.org/abs/2603.14588) for updates.
218
+ </details>
160
219
 
161
220
  ---
162
221
 
@@ -198,7 +257,7 @@ slm status
198
257
  }
199
258
  ```
200
259
 
201
- 27 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.1: Active Memory tools auto-learn your patterns.**
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 ──► 4 Parallel Channels:
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
- └── Temporal (date-aware retrieval)
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
- 17 tabs: Dashboard, Recall Lab, Knowledge Graph, Memories, Trust Scores, Math Health, Compliance, Learning, IDE Connections, Settings, and more. Runs locally — no data leaves your machine.
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
- ## Active Memory (V3.1) — Memory That Learns
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
- | Phase | Signals | What Happens |
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
- ### Zero-Cost Learning Signals
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
- ### Auto-Capture & Auto-Recall
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
- ### MCP Active Memory Tools
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
- - 4-channel hybrid: Semantic (Fisher-Rao) + BM25 + Entity Graph + Temporal
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
- - Self-organizing memory lifecycle (no hardcoded thresholds)
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
- - 17-tab web dashboard with real-time visualization
463
+ - 23-tab web dashboard with real-time visualization
422
464
  - 17+ IDE integrations (Claude, Cursor, Windsurf, VS Code, JetBrains, Zed, etc.)
423
- - 24 MCP tools + 6 MCP resources
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.2</h1>
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.2 — The Living Brain
50
+ ## What's New in V3.3 — The Living Brain Evolves
51
51
 
52
- > Your AI agent now remembers the way humans do: associatively, temporally, and with consolidation during idle time. V3.2 transforms SLM from a retrieval engine into a living memory system that surfaces what you need before you ask for it.
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
- ### Headline Features
54
+ ### Features at a Glance
55
55
 
56
- **100x Faster Recall** — Retrieval latency drops from ~500ms to <10ms at 10K facts. Vector KNN search replaces full-table scan. You feel the difference on the first query.
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
- **Automatic Memory Surfacing** — Memories now come to you. A multi-signal scoring engine (similarity + recency + frequency + trust) proactively injects relevant context at session start and during conversations. No more "I forgot we decided that last week."
63
+ ### New CLI Commands
59
64
 
60
- **Associative Retrieval (5th Channel)** — V3 had 4 retrieval channels. V3.2 adds a 5th: multi-hop spreading activation across your knowledge graph. Ask about "deployment" and it surfaces the related database migration decision three hops away.
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
- **Temporal Intelligence** Facts now carry time-awareness. Bi-temporal validity tracks when something was true vs. when it was recorded. Contradictions are detected automatically: "We use Postgres" + "We migrated to MySQL" triggers a conflict resolution flow.
72
+ # Extract reusable patterns from memory clusters
73
+ slm consolidate --cognitive
63
74
 
64
- **Sleep-Time Consolidation** During idle periods, SLM compresses, deduplicates, and reorganizes your memory store. Redundant facts merge. Clusters tighten. Important memories get promoted to Core Memory blocks that stay permanently in context (inspired by Letta's core memory, but fully local).
75
+ # View auto-learned patterns that get injected into agent context
76
+ slm soft-prompts
65
77
 
66
- **Core Memory Blocks** Pin your most critical context (architecture decisions, team conventions, project constraints) into always-available working memory. These blocks are injected into every session automatically — your agent never starts cold.
78
+ # Clean up orphaned SLM processes
79
+ slm reap
80
+ ```
67
81
 
68
- ### By the Numbers
82
+ ### New MCP Tools
69
83
 
70
- | Metric | V3.0 | V3.2 | Change |
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
- | Recall latency (10K facts) | ~500ms | <10ms | **100x faster** |
73
- | Retrieval channels | 4 | 5 | +spreading activation |
74
- | MCP tools | 24 | 29 | +5 new |
75
- | CLI commands | 16 | 21 | +5 new |
76
- | Dashboard tabs | 17 | 20 | +3 new |
77
- | API endpoints | | 9 new | configuration & status |
78
- | DB tables | 9 | 18 | +9 for temporal, consolidation, core memory |
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.2 Features
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 automatic memory surfacing
86
- slm config set auto_invoke.enabled true
115
+ # Turn on adaptive memory lifecycle
116
+ slm config set lifecycle.enabled true
87
117
 
88
- # Turn on sleep-time consolidation
89
- slm config set consolidation.enabled true
118
+ # Turn on smart compression
119
+ slm config set quantization.enabled true
90
120
 
91
- # Turn on temporal intelligence
92
- slm config set temporal.enabled true
121
+ # Turn on cognitive consolidation
122
+ slm config set consolidation.cognitive.enabled true
93
123
 
94
- # Turn on associative retrieval (5th channel)
95
- slm config set retrieval.synapse.enabled true
96
- ```
124
+ # Turn on pattern learning (soft prompts)
125
+ slm config set soft_prompts.enabled true
97
126
 
98
- Or enable everything at once:
127
+ # Turn on Hopfield retrieval (6th channel)
128
+ slm config set retrieval.hopfield.enabled true
99
129
 
100
- ```bash
101
- slm config set v32_features.all true
130
+ # Or enable everything at once
131
+ slm config set v33_features.all true
102
132
  ```
103
133
 
104
- **Fully backward compatible.** All 29 MCP tools, 21 CLI commands work the same. Existing data untouched. New features activate only when you flip the switch.
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
- > **V3.2 Paper** — Technical details, formal guarantees, and benchmark results in the upcoming companion paper. Watch the [arXiv page](https://arxiv.org/abs/2603.14588) for updates.
152
+ </details>
107
153
 
108
154
  ---
109
155
 
@@ -145,7 +191,7 @@ slm status
145
191
  }
146
192
  ```
147
193
 
148
- 27 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.1: Active Memory tools auto-learn your patterns.**
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 ──► 4 Parallel Channels:
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
- └── Temporal (date-aware retrieval)
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
- 17 tabs: Dashboard, Recall Lab, Knowledge Graph, Memories, Trust Scores, Math Health, Compliance, Learning, IDE Connections, Settings, and more. Runs locally — no data leaves your machine.
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
- ## Active Memory (V3.1) — Memory That Learns
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
- | Phase | Signals | What Happens |
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
- ### Zero-Cost Learning Signals
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
- ### Auto-Capture & Auto-Recall
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
- ### MCP Active Memory Tools
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
- - 4-channel hybrid: Semantic (Fisher-Rao) + BM25 + Entity Graph + Temporal
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
- - Self-organizing memory lifecycle (no hardcoded thresholds)
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
- - 17-tab web dashboard with real-time visualization
397
+ - 23-tab web dashboard with real-time visualization
369
398
  - 17+ IDE integrations (Claude, Cursor, Windsurf, VS Code, JetBrains, Zed, etc.)
370
- - 24 MCP tools + 6 MCP resources
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.2.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",