superlocalmemory 3.3.22 → 3.3.24

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 (272) hide show
  1. package/ATTRIBUTION.md +1 -1
  2. package/CHANGELOG.md +1 -1
  3. package/LICENSE +100 -30
  4. package/README.md +5 -5
  5. package/docs/ARCHITECTURE.md +1 -1
  6. package/docs/api-reference.md +1 -1
  7. package/docs/auto-memory.md +1 -1
  8. package/docs/cli-reference.md +1 -1
  9. package/docs/compliance.md +1 -1
  10. package/docs/configuration.md +1 -1
  11. package/docs/getting-started.md +1 -1
  12. package/docs/ide-setup.md +1 -1
  13. package/docs/mcp-tools.md +1 -1
  14. package/docs/migration-from-v2.md +1 -1
  15. package/docs/profiles.md +1 -1
  16. package/docs/troubleshooting.md +1 -1
  17. package/docs/v2-archive/ACCESSIBILITY.md +1 -1
  18. package/docs/v2-archive/FRAMEWORK-INTEGRATIONS.md +1 -1
  19. package/docs/v2-archive/MCP-MANUAL-SETUP.md +1 -1
  20. package/docs/v2-archive/SEARCH-ENGINE-V2.2.0.md +2 -2
  21. package/docs/v2-archive/SEARCH-INTEGRATION-GUIDE.md +1 -1
  22. package/docs/v2-archive/UNIVERSAL-INTEGRATION.md +1 -1
  23. package/docs/v2-archive/V2.2.0-OPTIONAL-SEARCH.md +1 -1
  24. package/docs/v2-archive/WINDOWS-INSTALL-README.txt +1 -1
  25. package/docs/v2-archive/example_graph_usage.py +1 -1
  26. package/ide/configs/codex-mcp.toml +1 -1
  27. package/ide/hooks/context-hook.js +1 -1
  28. package/ide/hooks/post-recall-hook.js +1 -1
  29. package/ide/integrations/langchain/README.md +1 -1
  30. package/ide/integrations/langchain/langchain_superlocalmemory/__init__.py +1 -1
  31. package/ide/integrations/langchain/langchain_superlocalmemory/chat_message_history.py +1 -1
  32. package/ide/integrations/langchain/pyproject.toml +2 -2
  33. package/ide/integrations/langchain/tests/__init__.py +1 -1
  34. package/ide/integrations/langchain/tests/test_chat_message_history.py +1 -1
  35. package/ide/integrations/langchain/tests/test_security.py +1 -1
  36. package/ide/integrations/llamaindex/llama_index/storage/chat_store/superlocalmemory/__init__.py +1 -1
  37. package/ide/integrations/llamaindex/llama_index/storage/chat_store/superlocalmemory/base.py +1 -1
  38. package/ide/integrations/llamaindex/pyproject.toml +2 -2
  39. package/ide/integrations/llamaindex/tests/__init__.py +1 -1
  40. package/ide/integrations/llamaindex/tests/test_chat_store.py +1 -1
  41. package/ide/integrations/llamaindex/tests/test_security.py +1 -1
  42. package/ide/skills/slm-build-graph/SKILL.md +3 -3
  43. package/ide/skills/slm-list-recent/SKILL.md +3 -3
  44. package/ide/skills/slm-recall/SKILL.md +3 -3
  45. package/ide/skills/slm-remember/SKILL.md +3 -3
  46. package/ide/skills/slm-show-patterns/SKILL.md +3 -3
  47. package/ide/skills/slm-status/SKILL.md +3 -3
  48. package/ide/skills/slm-switch-profile/SKILL.md +3 -3
  49. package/package.json +2 -2
  50. package/pyproject.toml +3 -3
  51. package/scripts/generate-thumbnails.py +1 -1
  52. package/scripts/postinstall.js +1 -1
  53. package/scripts/preuninstall.js +1 -1
  54. package/src/superlocalmemory/attribution/mathematical_dna.py +2 -2
  55. package/src/superlocalmemory/attribution/signer.py +2 -2
  56. package/src/superlocalmemory/attribution/watermark.py +2 -2
  57. package/src/superlocalmemory/cli/__init__.py +1 -1
  58. package/src/superlocalmemory/cli/commands.py +1 -1
  59. package/src/superlocalmemory/cli/daemon.py +2 -2
  60. package/src/superlocalmemory/cli/json_output.py +1 -1
  61. package/src/superlocalmemory/cli/main.py +1 -1
  62. package/src/superlocalmemory/cli/migrate_cmd.py +1 -1
  63. package/src/superlocalmemory/cli/pending_store.py +2 -2
  64. package/src/superlocalmemory/cli/post_install.py +1 -1
  65. package/src/superlocalmemory/cli/setup_wizard.py +1 -1
  66. package/src/superlocalmemory/code_graph/__init__.py +1 -1
  67. package/src/superlocalmemory/code_graph/blast_radius.py +1 -1
  68. package/src/superlocalmemory/code_graph/bridge/__init__.py +1 -1
  69. package/src/superlocalmemory/code_graph/bridge/entity_resolver.py +1 -1
  70. package/src/superlocalmemory/code_graph/bridge/event_listeners.py +1 -1
  71. package/src/superlocalmemory/code_graph/bridge/fact_enricher.py +1 -1
  72. package/src/superlocalmemory/code_graph/bridge/hebbian_linker.py +1 -1
  73. package/src/superlocalmemory/code_graph/bridge/temporal_checker.py +1 -1
  74. package/src/superlocalmemory/code_graph/changes.py +1 -1
  75. package/src/superlocalmemory/code_graph/communities.py +1 -1
  76. package/src/superlocalmemory/code_graph/config.py +1 -1
  77. package/src/superlocalmemory/code_graph/database.py +1 -1
  78. package/src/superlocalmemory/code_graph/extractors/__init__.py +1 -1
  79. package/src/superlocalmemory/code_graph/extractors/python.py +1 -1
  80. package/src/superlocalmemory/code_graph/extractors/typescript.py +1 -1
  81. package/src/superlocalmemory/code_graph/flows.py +1 -1
  82. package/src/superlocalmemory/code_graph/git_hooks.py +1 -1
  83. package/src/superlocalmemory/code_graph/graph_engine.py +1 -1
  84. package/src/superlocalmemory/code_graph/graph_store.py +1 -1
  85. package/src/superlocalmemory/code_graph/incremental.py +1 -1
  86. package/src/superlocalmemory/code_graph/models.py +1 -1
  87. package/src/superlocalmemory/code_graph/parser.py +1 -1
  88. package/src/superlocalmemory/code_graph/resolver.py +1 -1
  89. package/src/superlocalmemory/code_graph/search.py +1 -1
  90. package/src/superlocalmemory/code_graph/service.py +1 -1
  91. package/src/superlocalmemory/code_graph/watcher.py +1 -1
  92. package/src/superlocalmemory/compliance/abac.py +1 -1
  93. package/src/superlocalmemory/compliance/audit.py +1 -1
  94. package/src/superlocalmemory/compliance/eu_ai_act.py +1 -1
  95. package/src/superlocalmemory/compliance/gdpr.py +1 -1
  96. package/src/superlocalmemory/compliance/lifecycle.py +1 -1
  97. package/src/superlocalmemory/compliance/retention.py +1 -1
  98. package/src/superlocalmemory/compliance/scheduler.py +1 -1
  99. package/src/superlocalmemory/core/config.py +1 -1
  100. package/src/superlocalmemory/core/consolidation_engine.py +1 -1
  101. package/src/superlocalmemory/core/embedding_worker.py +1 -1
  102. package/src/superlocalmemory/core/embeddings.py +1 -1
  103. package/src/superlocalmemory/core/engine.py +1 -1
  104. package/src/superlocalmemory/core/engine_wiring.py +1 -1
  105. package/src/superlocalmemory/core/graph_analyzer.py +2 -2
  106. package/src/superlocalmemory/core/hooks.py +1 -1
  107. package/src/superlocalmemory/core/maintenance.py +2 -2
  108. package/src/superlocalmemory/core/maintenance_scheduler.py +2 -2
  109. package/src/superlocalmemory/core/modes.py +1 -1
  110. package/src/superlocalmemory/core/ollama_embedder.py +1 -1
  111. package/src/superlocalmemory/core/profiles.py +1 -1
  112. package/src/superlocalmemory/core/recall_pipeline.py +1 -1
  113. package/src/superlocalmemory/core/recall_worker.py +1 -1
  114. package/src/superlocalmemory/core/registry.py +2 -2
  115. package/src/superlocalmemory/core/reranker_worker.py +1 -1
  116. package/src/superlocalmemory/core/store_pipeline.py +1 -1
  117. package/src/superlocalmemory/core/summarizer.py +1 -1
  118. package/src/superlocalmemory/core/worker_pool.py +1 -1
  119. package/src/superlocalmemory/dynamics/activation_guided_quantization.py +2 -2
  120. package/src/superlocalmemory/dynamics/eap_scheduler.py +2 -2
  121. package/src/superlocalmemory/dynamics/ebbinghaus_langevin_coupling.py +2 -2
  122. package/src/superlocalmemory/dynamics/fisher_langevin_coupling.py +2 -2
  123. package/src/superlocalmemory/encoding/auto_linker.py +2 -2
  124. package/src/superlocalmemory/encoding/cognitive_consolidator.py +2 -2
  125. package/src/superlocalmemory/encoding/consolidator.py +2 -2
  126. package/src/superlocalmemory/encoding/context_generator.py +1 -1
  127. package/src/superlocalmemory/encoding/emotional.py +1 -1
  128. package/src/superlocalmemory/encoding/entity_resolver.py +2 -2
  129. package/src/superlocalmemory/encoding/entropy_gate.py +1 -1
  130. package/src/superlocalmemory/encoding/fact_extractor.py +2 -2
  131. package/src/superlocalmemory/encoding/foresight.py +1 -1
  132. package/src/superlocalmemory/encoding/graph_builder.py +2 -2
  133. package/src/superlocalmemory/encoding/observation_builder.py +1 -1
  134. package/src/superlocalmemory/encoding/scene_builder.py +1 -1
  135. package/src/superlocalmemory/encoding/signal_inference.py +1 -1
  136. package/src/superlocalmemory/encoding/temporal_parser.py +1 -1
  137. package/src/superlocalmemory/encoding/temporal_validator.py +1 -1
  138. package/src/superlocalmemory/encoding/type_router.py +1 -1
  139. package/src/superlocalmemory/hooks/__init__.py +1 -1
  140. package/src/superlocalmemory/hooks/auto_capture.py +1 -1
  141. package/src/superlocalmemory/hooks/auto_invoker.py +1 -1
  142. package/src/superlocalmemory/hooks/auto_parameterize.py +1 -1
  143. package/src/superlocalmemory/hooks/auto_recall.py +1 -1
  144. package/src/superlocalmemory/hooks/claude_code_hooks.py +1 -1
  145. package/src/superlocalmemory/hooks/hook_handlers.py +1 -1
  146. package/src/superlocalmemory/hooks/ide_connector.py +1 -1
  147. package/src/superlocalmemory/hooks/rules_engine.py +1 -1
  148. package/src/superlocalmemory/infra/__init__.py +1 -1
  149. package/src/superlocalmemory/infra/auth_middleware.py +1 -1
  150. package/src/superlocalmemory/infra/backup.py +1 -1
  151. package/src/superlocalmemory/infra/cache_manager.py +1 -1
  152. package/src/superlocalmemory/infra/event_bus.py +1 -1
  153. package/src/superlocalmemory/infra/heartbeat_monitor.py +1 -1
  154. package/src/superlocalmemory/infra/pid_manager.py +1 -1
  155. package/src/superlocalmemory/infra/process_reaper.py +1 -1
  156. package/src/superlocalmemory/infra/rate_limiter.py +1 -1
  157. package/src/superlocalmemory/infra/webhook_dispatcher.py +1 -1
  158. package/src/superlocalmemory/learning/adaptive.py +1 -1
  159. package/src/superlocalmemory/learning/behavioral.py +1 -1
  160. package/src/superlocalmemory/learning/behavioral_listener.py +1 -1
  161. package/src/superlocalmemory/learning/bootstrap.py +1 -1
  162. package/src/superlocalmemory/learning/consolidation_quantization_worker.py +2 -2
  163. package/src/superlocalmemory/learning/consolidation_worker.py +1 -1
  164. package/src/superlocalmemory/learning/cross_project.py +1 -1
  165. package/src/superlocalmemory/learning/database.py +1 -1
  166. package/src/superlocalmemory/learning/engagement.py +1 -1
  167. package/src/superlocalmemory/learning/features.py +1 -1
  168. package/src/superlocalmemory/learning/feedback.py +1 -1
  169. package/src/superlocalmemory/learning/forgetting_scheduler.py +2 -2
  170. package/src/superlocalmemory/learning/outcomes.py +1 -1
  171. package/src/superlocalmemory/learning/project_context.py +1 -1
  172. package/src/superlocalmemory/learning/quantization_scheduler.py +2 -2
  173. package/src/superlocalmemory/learning/ranker.py +1 -1
  174. package/src/superlocalmemory/learning/signals.py +1 -1
  175. package/src/superlocalmemory/learning/source_quality.py +1 -1
  176. package/src/superlocalmemory/learning/workflows.py +1 -1
  177. package/src/superlocalmemory/llm/backbone.py +2 -2
  178. package/src/superlocalmemory/math/ebbinghaus.py +2 -2
  179. package/src/superlocalmemory/math/fisher.py +2 -2
  180. package/src/superlocalmemory/math/fisher_quantized.py +2 -2
  181. package/src/superlocalmemory/math/hopfield.py +2 -2
  182. package/src/superlocalmemory/math/langevin.py +2 -2
  183. package/src/superlocalmemory/math/polar_quant.py +2 -2
  184. package/src/superlocalmemory/math/qjl.py +2 -2
  185. package/src/superlocalmemory/math/sheaf.py +2 -2
  186. package/src/superlocalmemory/math/turbo_quant.py +2 -2
  187. package/src/superlocalmemory/mcp/resources.py +1 -1
  188. package/src/superlocalmemory/mcp/server.py +1 -1
  189. package/src/superlocalmemory/mcp/shared.py +1 -1
  190. package/src/superlocalmemory/mcp/tools.py +1 -1
  191. package/src/superlocalmemory/mcp/tools_active.py +1 -1
  192. package/src/superlocalmemory/mcp/tools_code_graph.py +1 -1
  193. package/src/superlocalmemory/mcp/tools_core.py +2 -2
  194. package/src/superlocalmemory/mcp/tools_v28.py +1 -1
  195. package/src/superlocalmemory/mcp/tools_v3.py +1 -1
  196. package/src/superlocalmemory/mcp/tools_v33.py +1 -1
  197. package/src/superlocalmemory/parameterization/__init__.py +1 -1
  198. package/src/superlocalmemory/parameterization/pattern_extractor.py +1 -1
  199. package/src/superlocalmemory/parameterization/pii_filter.py +1 -1
  200. package/src/superlocalmemory/parameterization/prompt_injector.py +1 -1
  201. package/src/superlocalmemory/parameterization/prompt_lifecycle.py +1 -1
  202. package/src/superlocalmemory/parameterization/soft_prompt_generator.py +1 -1
  203. package/src/superlocalmemory/retrieval/agentic.py +2 -2
  204. package/src/superlocalmemory/retrieval/ann_index.py +2 -2
  205. package/src/superlocalmemory/retrieval/bm25_channel.py +2 -2
  206. package/src/superlocalmemory/retrieval/bridge_discovery.py +2 -2
  207. package/src/superlocalmemory/retrieval/channel_registry.py +1 -1
  208. package/src/superlocalmemory/retrieval/engine.py +2 -2
  209. package/src/superlocalmemory/retrieval/entity_channel.py +2 -2
  210. package/src/superlocalmemory/retrieval/forgetting_filter.py +2 -2
  211. package/src/superlocalmemory/retrieval/fusion.py +2 -2
  212. package/src/superlocalmemory/retrieval/hopfield_channel.py +2 -2
  213. package/src/superlocalmemory/retrieval/profile_channel.py +2 -2
  214. package/src/superlocalmemory/retrieval/quantization_aware_search.py +2 -2
  215. package/src/superlocalmemory/retrieval/reranker.py +2 -2
  216. package/src/superlocalmemory/retrieval/semantic_channel.py +2 -2
  217. package/src/superlocalmemory/retrieval/spreading_activation.py +2 -2
  218. package/src/superlocalmemory/retrieval/strategy.py +2 -2
  219. package/src/superlocalmemory/retrieval/temporal_channel.py +2 -2
  220. package/src/superlocalmemory/retrieval/vector_store.py +2 -2
  221. package/src/superlocalmemory/server/api.py +1 -1
  222. package/src/superlocalmemory/server/routes/__init__.py +1 -1
  223. package/src/superlocalmemory/server/routes/agents.py +2 -2
  224. package/src/superlocalmemory/server/routes/backup.py +2 -2
  225. package/src/superlocalmemory/server/routes/behavioral.py +2 -2
  226. package/src/superlocalmemory/server/routes/compliance.py +2 -2
  227. package/src/superlocalmemory/server/routes/data_io.py +2 -2
  228. package/src/superlocalmemory/server/routes/events.py +2 -2
  229. package/src/superlocalmemory/server/routes/helpers.py +2 -2
  230. package/src/superlocalmemory/server/routes/learning.py +2 -2
  231. package/src/superlocalmemory/server/routes/lifecycle.py +2 -2
  232. package/src/superlocalmemory/server/routes/memories.py +2 -2
  233. package/src/superlocalmemory/server/routes/profiles.py +2 -2
  234. package/src/superlocalmemory/server/routes/stats.py +2 -2
  235. package/src/superlocalmemory/server/routes/v3_api.py +1 -1
  236. package/src/superlocalmemory/server/routes/ws.py +2 -2
  237. package/src/superlocalmemory/server/security_middleware.py +1 -1
  238. package/src/superlocalmemory/server/ui.py +1 -1
  239. package/src/superlocalmemory/storage/access_control.py +1 -1
  240. package/src/superlocalmemory/storage/access_log.py +2 -2
  241. package/src/superlocalmemory/storage/database.py +1 -1
  242. package/src/superlocalmemory/storage/embedding_migrator.py +1 -1
  243. package/src/superlocalmemory/storage/migration_v33.py +2 -2
  244. package/src/superlocalmemory/storage/migrations.py +1 -1
  245. package/src/superlocalmemory/storage/models.py +1 -1
  246. package/src/superlocalmemory/storage/quantized_store.py +2 -2
  247. package/src/superlocalmemory/storage/schema.py +1 -1
  248. package/src/superlocalmemory/storage/schema_code_graph.py +1 -1
  249. package/src/superlocalmemory/storage/schema_v32.py +1 -1
  250. package/src/superlocalmemory/storage/v2_migrator.py +1 -1
  251. package/src/superlocalmemory/trust/gate.py +1 -1
  252. package/src/superlocalmemory/trust/provenance.py +1 -1
  253. package/src/superlocalmemory/trust/scorer.py +1 -1
  254. package/src/superlocalmemory/trust/signals.py +1 -1
  255. package/src/superlocalmemory/ui/js/behavioral.js +1 -1
  256. package/src/superlocalmemory/ui/js/compliance.js +1 -1
  257. package/src/superlocalmemory/ui/js/feedback.js +1 -1
  258. package/src/superlocalmemory/ui/js/graph-core.js +1 -1
  259. package/src/superlocalmemory/ui/js/graph-filters.js +1 -1
  260. package/src/superlocalmemory/ui/js/graph-interactions.js +1 -1
  261. package/src/superlocalmemory/ui/js/graph-ui.js +1 -1
  262. package/src/superlocalmemory/ui/js/learning.js +1 -1
  263. package/src/superlocalmemory/ui/js/lifecycle.js +1 -1
  264. package/ui/js/behavioral.js +1 -1
  265. package/ui/js/compliance.js +1 -1
  266. package/ui/js/feedback.js +1 -1
  267. package/ui/js/graph-core.js +1 -1
  268. package/ui/js/graph-filters.js +1 -1
  269. package/ui/js/graph-interactions.js +1 -1
  270. package/ui/js/graph-ui.js +1 -1
  271. package/ui/js/learning.js +1 -1
  272. package/ui/js/lifecycle.js +1 -1
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
 
5
5
  """SuperLocalMemory V3 — Query-Adaptive Strategy.
@@ -8,7 +8,7 @@ Classifies query type and returns per-type channel weights.
8
8
  V1 had this code (strategy_learner.py) but never wired it in.
9
9
 
10
10
  Part of Qualixar | Author: Varun Pratap Bhardwaj
11
- License: MIT
11
+ License: Elastic-2.0
12
12
  """
13
13
  from __future__ import annotations
14
14
 
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
 
5
5
  """SuperLocalMemory V3 — Temporal Retrieval Channel (3-Date Model).
@@ -8,7 +8,7 @@ Searches by referenced_date (NOT just created_at like V1).
8
8
  Returns empty when query has no temporal signal (no recency noise).
9
9
 
10
10
  Part of Qualixar | Author: Varun Pratap Bhardwaj
11
- License: MIT
11
+ License: Elastic-2.0
12
12
  """
13
13
  from __future__ import annotations
14
14
 
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3
4
4
 
5
5
  """VectorStore -- sqlite-vec backed KNN search with profile isolation.
@@ -9,7 +9,7 @@ Falls back to ANNIndex if sqlite-vec is unavailable (Rule 03).
9
9
  Implements ANNSearchable protocol for GraphBuilder compatibility (Rule 07).
10
10
 
11
11
  Part of Qualixar | Author: Varun Pratap Bhardwaj
12
- License: MIT
12
+ License: Elastic-2.0
13
13
  """
14
14
 
15
15
  from __future__ import annotations
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env python3
2
2
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
3
- # Licensed under the MIT License - see LICENSE file
3
+ # Licensed under the Elastic License 2.0 - see LICENSE file
4
4
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
5
5
  """
6
6
  SuperLocalMemory V3 - FastAPI API Server
@@ -1,4 +1,4 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
  # SuperLocalMemory V3 - API Routes Package
@@ -1,8 +1,8 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
  """SuperLocalMemory V3 - Agent Registry + Trust Routes
5
- - MIT License
5
+ - Elastic License 2.0
6
6
 
7
7
  Routes: /api/agents, /api/agents/stats, /api/trust/stats, /api/trust/signals/{agent_id}
8
8
  Uses V3 TrustScorer and core.registry.
@@ -1,8 +1,8 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
  """SuperLocalMemory V3 - Backup Routes
5
- - MIT License
5
+ - Elastic License 2.0
6
6
 
7
7
  Routes: /api/backup/status, /api/backup/create, /api/backup/configure, /api/backup/list
8
8
  Uses V3 infra.backup.BackupManager.
@@ -1,8 +1,8 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
  """SuperLocalMemory V3 - Behavioral Routes
5
- - MIT License
5
+ - Elastic License 2.0
6
6
 
7
7
  Routes: /api/behavioral/status, /api/behavioral/report-outcome
8
8
  Uses V3 learning.behavioral.BehavioralPatternStore and learning.outcomes.OutcomeTracker.
@@ -1,8 +1,8 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
  """SuperLocalMemory V3 - Compliance Routes
5
- - MIT License
5
+ - Elastic License 2.0
6
6
 
7
7
  Routes: /api/compliance/status, /api/compliance/audit,
8
8
  /api/compliance/retention-policy
@@ -1,8 +1,8 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
  """SuperLocalMemory V3 - Import/Export Routes
5
- - MIT License
5
+ - Elastic License 2.0
6
6
 
7
7
  Routes: /api/export, /api/import
8
8
  """
@@ -1,8 +1,8 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
  """SuperLocalMemory V3 - Event Bus Routes
5
- - MIT License
5
+ - Elastic License 2.0
6
6
 
7
7
  Routes: /events/stream (SSE), /api/events, /api/events/stats
8
8
  Uses V3 infra.event_bus.EventBus.
@@ -1,8 +1,8 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
  """SuperLocalMemory V3 - Route Helpers
5
- - MIT License
5
+ - Elastic License 2.0
6
6
 
7
7
  Shared utilities for all route modules: DB connection, dict factory,
8
8
  profile helper, validation, Pydantic models, config paths.
@@ -1,8 +1,8 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
  """SuperLocalMemory V3 - Learning Routes
5
- - MIT License
5
+ - Elastic License 2.0
6
6
 
7
7
  Routes: /api/learning/status, /api/feedback, /api/feedback/dwell,
8
8
  /api/feedback/stats, /api/learning/backup, /api/learning/reset,
@@ -1,8 +1,8 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
  """SuperLocalMemory V3 - Lifecycle Routes
5
- - MIT License
5
+ - Elastic License 2.0
6
6
 
7
7
  Routes: /api/lifecycle/status, /api/lifecycle/compact
8
8
  Uses V3 compliance.lifecycle.LifecycleManager.
@@ -1,7 +1,7 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
- """SuperLocalMemory V3 - Memory Routes (MIT License).
4
+ """SuperLocalMemory V3 - Memory Routes (Elastic License 2.0).
5
5
  Routes: /api/memories, /api/graph, /api/search, /api/clusters, /api/clusters/{id}
6
6
  Uses V3 MemoryEngine for store/recall. Falls back to direct DB for list/graph.
7
7
  """
@@ -1,8 +1,8 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
  """SuperLocalMemory V3 - Profile Routes
5
- - MIT License
5
+ - Elastic License 2.0
6
6
 
7
7
  Routes: /api/profiles, /api/profiles/{name}/switch,
8
8
  /api/profiles/create, DELETE /api/profiles/{name}
@@ -1,8 +1,8 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
  """SuperLocalMemory V3 - Stats Routes
5
- - MIT License
5
+ - Elastic License 2.0
6
6
 
7
7
  Routes: /api/stats, /api/timeline, /api/patterns
8
8
  """
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
 
5
5
  """V3 API endpoints for the SuperLocalMemory dashboard."""
@@ -1,8 +1,8 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
  """SuperLocalMemory V3 - WebSocket Routes
5
- - MIT License
5
+ - Elastic License 2.0
6
6
 
7
7
  Routes: /ws/updates
8
8
  """
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env python3
2
- # SPDX-License-Identifier: MIT
2
+ # SPDX-License-Identifier: Elastic-2.0
3
3
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
4
4
  # Part of Qualixar | Author: Varun Pratap Bhardwaj (qualixar.com | varunpratap.com)
5
5
  """Security headers middleware for FastAPI servers.
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env python3
2
2
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
3
- # Licensed under the MIT License - see LICENSE file
3
+ # Licensed under the Elastic License 2.0 - see LICENSE file
4
4
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
5
5
  """
6
6
  SuperLocalMemory V3 - FastAPI UI Server
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
 
5
5
  """SuperLocalMemory V3 — Attribute-Based Access Control (ABAC).
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3
4
4
 
5
5
  """Access log for fact retrieval events.
@@ -9,7 +9,7 @@ Used by Phase 2 auto-invoke for recency scoring (H1 fix).
9
9
  All SQL parameterized (Rule 11). Silent errors (Rule 19).
10
10
 
11
11
  Part of Qualixar | Author: Varun Pratap Bhardwaj
12
- License: MIT
12
+ License: Elastic-2.0
13
13
  """
14
14
 
15
15
  from __future__ import annotations
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
 
5
5
  """SuperLocalMemory V3 — Database Manager.
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
 
5
5
  """Embedding migration on mode/model switch.
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
 
5
5
  """SLM 3.2.3 -> 3.3 migration: idempotent schema upgrade.
@@ -21,7 +21,7 @@ by create_all_tables(). This migration module detects their absence
21
21
  and creates them for databases that were created before SLM 3.3.
22
22
 
23
23
  Part of Qualixar | Author: Varun Pratap Bhardwaj
24
- License: MIT
24
+ License: Elastic-2.0
25
25
  """
26
26
 
27
27
  from __future__ import annotations
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
 
5
5
  """SuperLocalMemory V3 — Database Migrations.
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
 
5
5
  """SuperLocalMemory V3 — Data Models.
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3
4
4
 
5
5
  """Quantized embedding storage and retrieval.
@@ -12,7 +12,7 @@ HR-06: BLOB columns use Python bytes, not base64.
12
12
  HR-07: QJL is optional -- system works without it.
13
13
 
14
14
  Part of Qualixar | Author: Varun Pratap Bhardwaj
15
- License: MIT
15
+ License: Elastic-2.0
16
16
  """
17
17
 
18
18
  from __future__ import annotations
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
 
5
5
  """SuperLocalMemory V3 — Database Schema.
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory v3.4 — CodeGraph Module
4
4
 
5
5
  """DDL for the code_graph.db database.
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3
4
4
 
5
5
  """SuperLocalMemory V3.2 -- Schema Extensions (Associative Memory).
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
 
5
5
  """V2 to V3 database migration.
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
 
5
5
  """SuperLocalMemory V3 — Trust Gate (Pre-Operation Checks).
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
 
5
5
  """SuperLocalMemory V3 — Provenance Tracking.
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
 
5
5
  """SuperLocalMemory V3 — Bayesian Trust Scorer (Beta Distribution).
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2026 Varun Pratap Bhardwaj / Qualixar
2
- # Licensed under the MIT License - see LICENSE file
2
+ # Licensed under the Elastic License 2.0 - see LICENSE file
3
3
  # Part of SuperLocalMemory V3 | https://qualixar.com | https://varunpratap.com
4
4
 
5
5
  """SuperLocalMemory V3 — Trust Signal Recorder with Burst Detection.
@@ -1,4 +1,4 @@
1
- // SPDX-License-Identifier: MIT
1
+ // SPDX-License-Identifier: Elastic-2.0
2
2
  // Copyright (c) 2026 SuperLocalMemory (superlocalmemory.com)
3
3
  // Behavioral Learning tab — outcomes, patterns, cross-project transfers (v2.8)
4
4
  // NOTE: All dynamic values use textContent or escapeHtml() from core.js before DOM insertion.
@@ -1,4 +1,4 @@
1
- // SPDX-License-Identifier: MIT
1
+ // SPDX-License-Identifier: Elastic-2.0
2
2
  // Copyright (c) 2026 SuperLocalMemory (superlocalmemory.com)
3
3
  // Compliance tab — audit trail, retention policies, ABAC (v2.8)
4
4
  // NOTE: All dynamic values use textContent or escapeHtml() from core.js before DOM insertion.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * SuperLocalMemory V2 - Feedback Module (v2.7.4)
3
3
  * Copyright (c) 2026 Varun Pratap Bhardwaj
4
- * Licensed under MIT License
4
+ * Licensed under Elastic License 2.0
5
5
  *
6
6
  * Collects implicit and explicit feedback signals from dashboard
7
7
  * interactions. All data stays 100% local.
@@ -1,5 +1,5 @@
1
1
  // SuperLocalMemory V2.6.5 - Interactive Knowledge Graph - Core Rendering Module
2
- // Copyright (c) 2026 Varun Pratap Bhardwaj — MIT License
2
+ // Copyright (c) 2026 Varun Pratap Bhardwaj — Elastic License 2.0
3
3
  // Part of modular graph visualization system (split from monolithic graph-cytoscape.js)
4
4
 
5
5
  // ============================================================================
@@ -1,5 +1,5 @@
1
1
  // SuperLocalMemory V2.6.5 - Interactive Knowledge Graph - Filtering Module
2
- // Copyright (c) 2026 Varun Pratap Bhardwaj — MIT License
2
+ // Copyright (c) 2026 Varun Pratap Bhardwaj — Elastic License 2.0
3
3
  // Part of modular graph visualization system (split from monolithic graph-cytoscape.js)
4
4
 
5
5
  // ============================================================================
@@ -1,5 +1,5 @@
1
1
  // SuperLocalMemory V2.6.5 - Interactive Knowledge Graph - Interactions Module
2
- // Copyright (c) 2026 Varun Pratap Bhardwaj — MIT License
2
+ // Copyright (c) 2026 Varun Pratap Bhardwaj — Elastic License 2.0
3
3
  // Part of modular graph visualization system (split from monolithic graph-cytoscape.js)
4
4
 
5
5
  // ============================================================================
@@ -1,5 +1,5 @@
1
1
  // SuperLocalMemory V2.6.5 - Interactive Knowledge Graph - UI Elements Module
2
- // Copyright (c) 2026 Varun Pratap Bhardwaj — MIT License
2
+ // Copyright (c) 2026 Varun Pratap Bhardwaj — Elastic License 2.0
3
3
  // Part of modular graph visualization system (split from monolithic graph-cytoscape.js)
4
4
 
5
5
  // ============================================================================
@@ -1,5 +1,5 @@
1
1
  // SuperLocalMemory V2 - Learning System Dashboard (v2.7)
2
- // Copyright (c) 2026 Varun Pratap Bhardwaj - MIT License
2
+ // Copyright (c) 2026 Varun Pratap Bhardwaj - Elastic License 2.0
3
3
  // NOTE: All dynamic values pass through escapeHtml() from core.js before DOM insertion.
4
4
 
5
5
  var _learningData = null;
@@ -1,4 +1,4 @@
1
- // SPDX-License-Identifier: MIT
1
+ // SPDX-License-Identifier: Elastic-2.0
2
2
  // Copyright (c) 2026 SuperLocalMemory (superlocalmemory.com)
3
3
  // Lifecycle tab — state distribution, compaction, transitions (v2.8)
4
4
  // NOTE: All dynamic values pass through escapeHtml() or textContent for DOM insertion.
@@ -1,4 +1,4 @@
1
- // SPDX-License-Identifier: MIT
1
+ // SPDX-License-Identifier: Elastic-2.0
2
2
  // Copyright (c) 2026 SuperLocalMemory (superlocalmemory.com)
3
3
  // Behavioral Learning tab — outcomes, patterns, cross-project transfers (v2.8)
4
4
  // NOTE: All dynamic values use textContent or escapeHtml() from core.js before DOM insertion.
@@ -1,4 +1,4 @@
1
- // SPDX-License-Identifier: MIT
1
+ // SPDX-License-Identifier: Elastic-2.0
2
2
  // Copyright (c) 2026 SuperLocalMemory (superlocalmemory.com)
3
3
  // Compliance tab — audit trail, retention policies, ABAC (v2.8)
4
4
  // NOTE: All dynamic values use textContent or escapeHtml() from core.js before DOM insertion.
package/ui/js/feedback.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * SuperLocalMemory V2 - Feedback Module (v2.7.4)
3
3
  * Copyright (c) 2026 Varun Pratap Bhardwaj
4
- * Licensed under MIT License
4
+ * Licensed under Elastic License 2.0
5
5
  *
6
6
  * Collects implicit and explicit feedback signals from dashboard
7
7
  * interactions. All data stays 100% local.
@@ -1,5 +1,5 @@
1
1
  // SuperLocalMemory V2.6.5 - Interactive Knowledge Graph - Core Rendering Module
2
- // Copyright (c) 2026 Varun Pratap Bhardwaj — MIT License
2
+ // Copyright (c) 2026 Varun Pratap Bhardwaj — Elastic License 2.0
3
3
  // Part of modular graph visualization system (split from monolithic graph-cytoscape.js)
4
4
 
5
5
  // ============================================================================
@@ -1,5 +1,5 @@
1
1
  // SuperLocalMemory V2.6.5 - Interactive Knowledge Graph - Filtering Module
2
- // Copyright (c) 2026 Varun Pratap Bhardwaj — MIT License
2
+ // Copyright (c) 2026 Varun Pratap Bhardwaj — Elastic License 2.0
3
3
  // Part of modular graph visualization system (split from monolithic graph-cytoscape.js)
4
4
 
5
5
  // ============================================================================
@@ -1,5 +1,5 @@
1
1
  // SuperLocalMemory V2.6.5 - Interactive Knowledge Graph - Interactions Module
2
- // Copyright (c) 2026 Varun Pratap Bhardwaj — MIT License
2
+ // Copyright (c) 2026 Varun Pratap Bhardwaj — Elastic License 2.0
3
3
  // Part of modular graph visualization system (split from monolithic graph-cytoscape.js)
4
4
 
5
5
  // ============================================================================
package/ui/js/graph-ui.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // SuperLocalMemory V2.6.5 - Interactive Knowledge Graph - UI Elements Module
2
- // Copyright (c) 2026 Varun Pratap Bhardwaj — MIT License
2
+ // Copyright (c) 2026 Varun Pratap Bhardwaj — Elastic License 2.0
3
3
  // Part of modular graph visualization system (split from monolithic graph-cytoscape.js)
4
4
 
5
5
  // ============================================================================
package/ui/js/learning.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // SuperLocalMemory V2 - Learning System Dashboard (v2.7)
2
- // Copyright (c) 2026 Varun Pratap Bhardwaj - MIT License
2
+ // Copyright (c) 2026 Varun Pratap Bhardwaj - Elastic License 2.0
3
3
  // NOTE: All dynamic values pass through escapeHtml() from core.js before DOM insertion.
4
4
 
5
5
  var _learningData = null;
@@ -1,4 +1,4 @@
1
- // SPDX-License-Identifier: MIT
1
+ // SPDX-License-Identifier: Elastic-2.0
2
2
  // Copyright (c) 2026 SuperLocalMemory (superlocalmemory.com)
3
3
  // Lifecycle tab — state distribution, compaction, transitions (v2.8)
4
4
  // NOTE: All dynamic values pass through escapeHtml() or textContent for DOM insertion.