superlocalmemory 4.0.3 → 4.0.5
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.
- package/CHANGELOG.md +55 -0
- package/README.md +19 -13
- package/ide/configs/codex-mcp.toml +2 -2
- package/package.json +1 -1
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/.mcp.json +1 -0
- package/plugin/CLAUDE.md +3 -3
- package/plugin/agents/slm-governance-advisor.md +1 -1
- package/plugin/agents/slm-loop-runner.md +1 -1
- package/plugin/agents/slm-memory-advisor.md +1 -1
- package/plugin/agents/slm-optimize-advisor.md +1 -1
- package/plugin/requirements.txt +1 -1
- package/plugin/skills/slm-cache/SKILL.md +1 -1
- package/plugin/skills/slm-compress/SKILL.md +1 -1
- package/plugin/skills/slm-governance/SKILL.md +1 -1
- package/plugin/skills/slm-graph/SKILL.md +3 -2
- package/plugin/skills/slm-loop/SKILL.md +1 -1
- package/plugin/skills/slm-mesh/SKILL.md +1 -1
- package/plugin/skills/slm-profile/SKILL.md +5 -4
- package/plugin/skills/slm-recall/SKILL.md +1 -1
- package/plugin/skills/slm-remember/SKILL.md +1 -1
- package/plugin/skills/slm-scope/SKILL.md +1 -1
- package/plugin/skills/slm-session/SKILL.md +1 -1
- package/plugin/skills/slm-status/SKILL.md +1 -1
- package/plugin-src/rules/AGENTS.md +7 -6
- package/plugin-src/skills/slm-cache/SKILL.md +1 -1
- package/plugin-src/skills/slm-compress/SKILL.md +1 -1
- package/plugin-src/skills/slm-governance/SKILL.md +1 -1
- package/plugin-src/skills/slm-graph/SKILL.md +3 -2
- package/plugin-src/skills/slm-loop/SKILL.md +1 -1
- package/plugin-src/skills/slm-mesh/SKILL.md +1 -1
- package/plugin-src/skills/slm-profile/SKILL.md +5 -4
- package/plugin-src/skills/slm-recall/SKILL.md +1 -1
- package/plugin-src/skills/slm-remember/SKILL.md +1 -1
- package/plugin-src/skills/slm-scope/SKILL.md +1 -1
- package/plugin-src/skills/slm-session/SKILL.md +1 -1
- package/plugin-src/skills/slm-status/SKILL.md +1 -1
- package/pyproject.toml +1 -1
- package/src/superlocalmemory/__init__.py +1 -1
- package/src/superlocalmemory/brain/__init__.py +5 -0
- package/src/superlocalmemory/brain/truth.py +348 -0
- package/src/superlocalmemory/cli/commands.py +82 -25
- package/src/superlocalmemory/cli/main.py +12 -0
- package/src/superlocalmemory/core/context_cache.py +58 -1
- package/src/superlocalmemory/core/mutations.py +155 -25
- package/src/superlocalmemory/core/recall_pipeline.py +6 -10
- package/src/superlocalmemory/core/remember_runtime.py +271 -2
- package/src/superlocalmemory/core/store_pipeline.py +100 -38
- package/src/superlocalmemory/encoding/consolidator.py +17 -47
- package/src/superlocalmemory/encoding/temporal_validator.py +14 -18
- package/src/superlocalmemory/hooks/user_prompt_hook.py +1 -1
- package/src/superlocalmemory/integrations/bounded_loops_mcp.py +185 -0
- package/src/superlocalmemory/learning/database.py +2 -1
- package/src/superlocalmemory/mcp/profiles.py +25 -7
- package/src/superlocalmemory/mcp/server.py +7 -2
- package/src/superlocalmemory/mcp/tools_brain.py +138 -9
- package/src/superlocalmemory/mcp/tools_core.py +88 -3
- package/src/superlocalmemory/retrieval/engine.py +7 -10
- package/src/superlocalmemory/retrieval/temporal_validity_filter.py +119 -19
- package/src/superlocalmemory/server/routes/brain.py +21 -1
- package/src/superlocalmemory/server/routes/memories.py +129 -3
- package/src/superlocalmemory/storage/_migration_internals.py +8 -0
- package/src/superlocalmemory/storage/_schema_version.py +2 -2
- package/src/superlocalmemory/storage/agent_experience.py +26 -4
- package/src/superlocalmemory/storage/correction_cases.py +670 -0
- package/src/superlocalmemory/storage/database.py +194 -24
- package/src/superlocalmemory/storage/external_evidence.py +359 -0
- package/src/superlocalmemory/storage/migration_runner.py +12 -0
- package/src/superlocalmemory/storage/migrations/M041_external_evidence_receipts.py +189 -0
- package/src/superlocalmemory/storage/migrations/M042_correction_case_ledger.py +245 -0
- package/src/superlocalmemory/storage/migrations/__init__.py +4 -0
- package/src/superlocalmemory/storage/write_coordinator.py +4 -0
- package/src/superlocalmemory/ui/js/brain.js +43 -7
- package/src/superlocalmemory/ui/js/od-brain.js +44 -19
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,61 @@ All notable changes to SuperLocalMemory will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [4.0.5] - 2026-08-16 — Reviewed time-aware corrections
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- M042 adds a profile-scoped, append-only correction ledger in `memory.db`.
|
|
12
|
+
CLI, MCP, and authenticated HTTP expose a propose/list/review lifecycle with
|
|
13
|
+
compare-and-swap versions; no correction stores raw fact text in its ledger.
|
|
14
|
+
- `BrainTruth v1` is now shared by `slm brain`, MCP, HTTP, and the Living Brain
|
|
15
|
+
dashboard. It reports memory activity, feedback, receipt claims, external
|
|
16
|
+
evidence, and correction quality independently and marks unavailable sources
|
|
17
|
+
instead of fabricating zeroes.
|
|
18
|
+
- A generated isolated performance/liveness gate records 50 warm recalls, 50
|
|
19
|
+
canonical remember acknowledgements, current-truth admission overhead, and
|
|
20
|
+
a 60-second 10-reader/2-writer run without opening user memory data.
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
- Direct memory edits create immutable review-required successors. `apply`
|
|
24
|
+
makes the successor current and transaction-expires the predecessor;
|
|
25
|
+
`reject` preserves current truth; `rollback` restores the predecessor's
|
|
26
|
+
temporal state.
|
|
27
|
+
- Current truth admission covers channel results, profile shortcuts, bridge and
|
|
28
|
+
scene expansion, pins, and cache hits. Admission failures abstain rather
|
|
29
|
+
than returning potentially stale facts. The hot path uses one bounded
|
|
30
|
+
lifecycle read per recall and rechecks only newly expanded candidates.
|
|
31
|
+
- Default ranking remains `off` unless an operator explicitly configures a
|
|
32
|
+
ranking mode. M040/M041 observations and correction cases do not become
|
|
33
|
+
ranking or model-routing inputs.
|
|
34
|
+
|
|
35
|
+
### Safety
|
|
36
|
+
- Correction history prevents an ordinary forget from producing an opaque
|
|
37
|
+
writer failure; it returns an explicit conflict for any correction-linked
|
|
38
|
+
fact. A dedicated erasure workflow remains responsible for privacy deletion
|
|
39
|
+
across both fact and ledger.
|
|
40
|
+
|
|
41
|
+
## [4.0.4] - 2026-08-15 — Optional Bounded Loops evidence bridge
|
|
42
|
+
|
|
43
|
+
### Added
|
|
44
|
+
- An optional MCP 2 bridge discovers the separately installed
|
|
45
|
+
`bounded-loops-mcp` producer at call time and negotiates the public
|
|
46
|
+
`bounded-loops.dev/slm-bridge/v1` capability rather than pinning a producer
|
|
47
|
+
package version.
|
|
48
|
+
- `observe_bounded_loop_evidence(workspace)` explicitly imports sanitized
|
|
49
|
+
terminal graph evidence using the producer's `run_ref` address. It is
|
|
50
|
+
available in the default, `code`, `full`, and `power` MCP surfaces.
|
|
51
|
+
- M041 stores typed, profile-scoped external evidence in `learning.db`; Living
|
|
52
|
+
Brain displays honest Bounded Loop observation totals and documentation
|
|
53
|
+
explains the independent-product contract.
|
|
54
|
+
|
|
55
|
+
### Safety
|
|
56
|
+
- The bridge accepts no caller-supplied executable or shell arguments, has a
|
|
57
|
+
five-second producer timeout, validates the exact v1 evidence shape, and
|
|
58
|
+
preserves `eligible_for_learning: false`.
|
|
59
|
+
- External receipts never enter recall, ranking, routing, reward, or automatic
|
|
60
|
+
learning. Profile erasure removes them and a durable tombstone blocks stale
|
|
61
|
+
processes from recreating them.
|
|
62
|
+
|
|
8
63
|
## [4.0.3] - 2026-08-15 — Consented host integration upgrades
|
|
9
64
|
|
|
10
65
|
### Added
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
</picture>
|
|
6
6
|
</p>
|
|
7
7
|
|
|
8
|
-
<h1 align="center">SuperLocalMemory V4.0.
|
|
8
|
+
<h1 align="center">SuperLocalMemory V4.0.5</h1>
|
|
9
9
|
|
|
10
10
|
<h2 align="center">Rent the LLM. Own the memory.</h2>
|
|
11
11
|
|
|
@@ -27,12 +27,12 @@ guarantee here is stated as a falsifiable invariant, tested under an adversarial
|
|
|
27
27
|
negative control, and shipped with the harness that regenerates the evidence:
|
|
28
28
|
<code>python benchmark/run_all.py --trials 200 --output-dir results/</code>. What each experiment
|
|
29
29
|
does <em>not</em> exercise is stated too.</p>
|
|
30
|
-
<p align="center"><code>v4.0.
|
|
30
|
+
<p align="center"><code>v4.0.5</code> — one control plane: <strong>SLM-Mesh</strong> peer coordination · multi-scope memory (personal / shared / global) · profiles · Cache · Compress · 7-layer retrieval · code graph · Entity Explorer · skill evolution · Modes A/B/C · GDPR retention & audit chain · bounded loops — across CLI, MCP, dashboard, the <strong>Claude plugin</strong>, the <strong>Codex add-on</strong>, and documented IDE integrations.<br/>
|
|
31
31
|
Proxy: <code>slm wrap claude</code> · MCP: add <code>slm_compress</code> to your config · Skill: zero-config</p>
|
|
32
32
|
<p align="center"><strong>Four public arXiv preprints</strong> · V4: <a href="https://arxiv.org/abs/2608.08253">arXiv:2608.08253</a> · companion archive: <a href="https://zenodo.org/records/21853302">Zenodo 21853302</a> (<a href="https://doi.org/10.5281/zenodo.21853302">DOI 10.5281/zenodo.21853302</a>) · prior preprints: <a href="https://arxiv.org/abs/2603.02240">2603.02240</a> · <a href="https://arxiv.org/abs/2603.14588">2603.14588</a> · <a href="https://arxiv.org/abs/2604.04514">2604.04514</a>.</p>
|
|
33
33
|
|
|
34
34
|
<p align="center">
|
|
35
|
-
<a href="CHANGELOG.md"><img src="https://img.shields.io/badge/v4.0.
|
|
35
|
+
<a href="CHANGELOG.md"><img src="https://img.shields.io/badge/v4.0.5-Current_Release-2ea44f?style=for-the-badge&logo=checkmarx&logoColor=white" alt="v4.0.5 — Current Release"/></a>
|
|
36
36
|
<a href="https://arxiv.org/abs/2608.08253"><img src="https://img.shields.io/badge/arXiv-2608.08253-b31b1b?style=for-the-badge&logo=arxiv&logoColor=white" alt="SuperLocalMemory 4.0 paper on arXiv:2608.08253"/></a>
|
|
37
37
|
<a href="https://zenodo.org/records/21853302"><img src="https://img.shields.io/badge/Zenodo-10.5281%2Fzenodo.21853302-1682D4?style=for-the-badge&logo=zenodo&logoColor=white" alt="V4 paper on Zenodo: 10.5281/zenodo.21853302"/></a>
|
|
38
38
|
<a href="https://arxiv.org/abs/2603.14588"><img src="https://img.shields.io/badge/arXiv-2603.14588-b31b1b?style=for-the-badge&logo=arxiv&logoColor=white" alt="arXiv Paper"/></a>
|
|
@@ -62,7 +62,12 @@ SuperLocalMemory V4 combines conventional dense and lexical retrieval with graph
|
|
|
62
62
|
|
|
63
63
|
**Memory with a sense of time.** SLM does not only store *what* an agent learned — it records *when*. Every fact carries ingestion timing and provenance; recall runs a dedicated temporal candidate channel alongside semantic, lexical, and associative retrieval; scenes and entity timelines reconstruct sequence; and the lifecycle lets neglected memory decay and self-archive instead of growing without bound. Time is a first-class ranking and lifecycle signal rather than a timestamp column an agent never reads — which is what lets a long-lived agent reason about how its context changed, not only what it currently holds.
|
|
64
64
|
|
|
65
|
-
**What V4.0.
|
|
65
|
+
**What V4.0.5 ships.** A correction is now a review-gated lifecycle, not an in-place edit: SLM creates an immutable successor, keeps it out of current recall until an authenticated reviewer applies it, and preserves the predecessor for time-aware history. Every candidate path, including cached context, pins, bridge expansion, and scene expansion, uses hard current-truth admission and abstains if that truth cannot be read. `slm brain`, MCP, HTTP, and the Living Brain share one observation-only BrainTruth snapshot; feedback, external Bounded Loops evidence, and receipt claims are shown honestly but do not silently alter recall, ranking, or model routing. The optional Bounded Loops bridge remains capability-negotiated and independent. See [reviewed corrections](docs/reviewed-corrections.md) for the lifecycle and [MCP tools](docs/mcp-tools.md) for host-facing commands.
|
|
66
|
+
|
|
67
|
+
**Adaptive-ranking migration.** V4.0.5 leaves the optional adaptive ranker off
|
|
68
|
+
unless an operator sets `SLM_RANKING` (`v1`, `v2`, or `v2-ensemble`). This does
|
|
69
|
+
not disable the normal retrieval channels; it prevents feedback and
|
|
70
|
+
observation data from changing ranking without an explicit operator decision.
|
|
66
71
|
|
|
67
72
|
- **[SLM-Mesh](#slm-mesh-cross-session--cross-machine-coordination)** — authenticated cross-session and cross-machine peer coordination (messages, locks, shared state, inbox/outbox, optional discovery). Coordination only — not automatic replicated memory.
|
|
68
73
|
- **Multi-scope memory & profiles** — workspaces (profiles) plus `personal` / `shared` / `global` scopes; cross-profile recall is default-deny.
|
|
@@ -71,7 +76,7 @@ SuperLocalMemory V4 combines conventional dense and lexical retrieval with graph
|
|
|
71
76
|
- **Modes A / B / C** — local-only (A), on-device LLM enrichment (B), provider-assisted (C). An operating mode records technical locality facts; it does **not** determine EU AI Act legal compliance (that is deployment-context assessment — see [Privacy controls](#privacy-controls-and-operating-modes)).
|
|
72
77
|
- **GDPR posture, retention & audit chain** — export, fail-closed cross-store erasure, retention policies, and a hash-chained audit trail. Engineering controls for compliance programs, not a legal certification.
|
|
73
78
|
- **7-layer retrieval/recall stack & code graph** — multi-channel candidates (semantic, BM25, temporal, Hopfield, spreading activation) plus optional code-graph tools for blast radius and review context.
|
|
74
|
-
- **MCP profiles** — `code` exposes **
|
|
79
|
+
- **MCP profiles** — `code` exposes **31** tools for installed coding agents; `full` **49**; `power` **61**; `whole` **94** (all registered). Also `core` (16), `mesh` (8), and the unrestricted default surface (49 with mesh enabled).
|
|
75
80
|
- **Governed write path & verifiable transactions** — admission + policy control, a per-owner obligation ledger, and a hash-sealed completion manifest with a reconciler that redrives unmet obligations.
|
|
76
81
|
- **Self-healing lifecycle & admin remediation** — stale locks cleared on restart; list/resolve stuck operations from CLI, MCP, or the dashboard.
|
|
77
82
|
|
|
@@ -382,7 +387,7 @@ Full docs: [docs/multi-machine.md](docs/multi-machine.md) · [docs/distributed-d
|
|
|
382
387
|
| **Python CLI + SDK** (primary) | Activate a Python virtual environment, then `python -m pip install superlocalmemory` | Python 3.11+; the `slm` CLI and importable SDK stay inside that environment |
|
|
383
388
|
| **Repository clone — macOS/Linux** | `./scripts/install.sh install` | Research/contributor path; delegates to an existing uv or pipx installation |
|
|
384
389
|
| **Repository clone — Windows** | `.\scripts\install.ps1 -Action Install` | Research/contributor path; delegates to an existing uv or pipx installation |
|
|
385
|
-
| **Claude Code Plugin** (WP-06) | `/plugin marketplace add qualixar/superlocalmemory` then `/plugin install superlocalmemory@qualixar` | Self-bootstraps venv, isolated SLM_DATA_DIR, additive —
|
|
390
|
+
| **Claude Code Plugin** (WP-06) | `/plugin marketplace add qualixar/superlocalmemory` then `/plugin install superlocalmemory@qualixar` | Self-bootstraps venv, isolated SLM_DATA_DIR, additive — 16-tool core. Ships the skills/agents/hooks/commands |
|
|
386
391
|
| **Portable / IDE connect** (WP-08) | `slm connect <ide> [--here]` | Wire any IDE without reinstalling; `slm connect claude-code` → plugin pointer |
|
|
387
392
|
|
|
388
393
|
After any install path: `slm setup` → `slm doctor` → `slm warmup` (optional, pre-downloads ~500MB embedding model).
|
|
@@ -435,12 +440,12 @@ Control tool surface via `SLM_MCP_PROFILE`:
|
|
|
435
440
|
|
|
436
441
|
| Profile | Tools | Use case |
|
|
437
442
|
|:--------|:-----:|:---------|
|
|
438
|
-
| `core` |
|
|
439
|
-
| `code` |
|
|
443
|
+
| `core` | 16 | Memory, session, optimize, and correction review |
|
|
444
|
+
| `code` | 31 | Core + portable Brain evidence + code-graph tools + profile switching + bounded loops |
|
|
440
445
|
| `mesh` | 8 | SLM-Mesh only — multi-session / multi-machine coordination |
|
|
441
|
-
| `full` |
|
|
442
|
-
| `power` |
|
|
443
|
-
| `whole` |
|
|
446
|
+
| `full` | 49 | Memory + portable Brain evidence + optimize + evolution + mesh + bounded loops |
|
|
447
|
+
| `power` | 61 | Full + administration, lifecycle, and diagnostics |
|
|
448
|
+
| `whole` | 94 | Every registered MCP tool |
|
|
444
449
|
|
|
445
450
|
**Precedence:** `ALL` > `TOOLS` > `PROFILE` > `default`
|
|
446
451
|
|
|
@@ -451,7 +456,7 @@ slm mcp
|
|
|
451
456
|
|
|
452
457
|
For a predictable small surface, set `core` explicitly. Leaving the variable
|
|
453
458
|
unset retains the compatibility default, whose mesh tools follow the local
|
|
454
|
-
mesh setting. Count-suffixed aliases remain for backward compatibility and emit a migration warning: `core14`, `code20`, `code21`, `code24`, `code28`, `mesh8`, `full38`, `full39`, `full42`, `full46`, `power50`, `power51`, `power54`, `power58`, `whole81`, `whole84`, `whole91`. Unknown names stop startup instead of silently selecting another tool set.
|
|
459
|
+
mesh setting. Count-suffixed aliases remain for backward compatibility and emit a migration warning: `core14`, `core16`, `code20`, `code21`, `code24`, `code28`, `code29`, `code31`, `mesh8`, `full38`, `full39`, `full42`, `full46`, `full47`, `full49`, `power50`, `power51`, `power54`, `power58`, `power59`, `power61`, `whole81`, `whole84`, `whole91`, `whole92`, `whole94`. Unknown names stop startup instead of silently selecting another tool set.
|
|
455
460
|
|
|
456
461
|
Per-IDE configs available for Claude Code, Cursor, Windsurf, VS Code Copilot, Continue, Gemini CLI, JetBrains, Zed, and more (15 configs in `ide/configs/`). See [docs/ide-setup.md](docs/ide-setup.md).
|
|
457
462
|
|
|
@@ -473,7 +478,7 @@ then install:
|
|
|
473
478
|
```
|
|
474
479
|
|
|
475
480
|
- Self-bootstraps a Python venv, installs all deps in an isolated `SLM_DATA_DIR`
|
|
476
|
-
- Registers the
|
|
481
|
+
- Registers the 16-tool core MCP surface (`core16` profile by default; `core14` remains a compatibility alias)
|
|
477
482
|
- Ships the SLM skills / agents / hooks / commands / rules
|
|
478
483
|
- Additive — does not replace an existing SLM install
|
|
479
484
|
- `slm connect claude-code` detects an existing plugin install and links them
|
|
@@ -684,6 +689,7 @@ interface.
|
|
|
684
689
|
| Published benchmark evidence | [docs/benchmarks.md](docs/benchmarks.md) |
|
|
685
690
|
| CLI reference | [docs/cli-reference.md](docs/cli-reference.md) |
|
|
686
691
|
| MCP tools reference | [docs/mcp-tools.md](docs/mcp-tools.md) |
|
|
692
|
+
| Optional Bounded Loops bridge | [docs/bounded-loops-bridge.md](docs/bounded-loops-bridge.md) |
|
|
687
693
|
| Getting started | [docs/getting-started.md](docs/getting-started.md) |
|
|
688
694
|
| IDE setup (15 configs) | [docs/ide-setup.md](docs/ide-setup.md) |
|
|
689
695
|
| Teams, users, and RBAC | [docs/rbac-teams.md](docs/rbac-teams.md) |
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# SuperLocalMemory
|
|
1
|
+
# SuperLocalMemory V4.0.5 - Codex CLI MCP Configuration
|
|
2
2
|
# Copyright (c) 2026 Varun Pratap Bhardwaj
|
|
3
3
|
# Licensed under AGPL-3.0-or-later
|
|
4
4
|
#
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
[mcp_servers.superlocalmemory]
|
|
9
9
|
command = "slm"
|
|
10
10
|
args = ["mcp"]
|
|
11
|
-
|
|
11
|
+
env = { SLM_MCP_PROFILE = "code", SLM_AGENT_ID = "codex" }
|
package/package.json
CHANGED
package/plugin/.mcp.json
CHANGED
package/plugin/CLAUDE.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- BEGIN SuperLocalMemory v4.0.
|
|
1
|
+
<!-- BEGIN SuperLocalMemory v4.0.5 -->
|
|
2
2
|
|
|
3
3
|
## SuperLocalMemory (SLM) — Agent Rules
|
|
4
4
|
|
|
@@ -39,6 +39,6 @@ slm-recall · slm-remember · slm-session · slm-status · slm-cache · slm-comp
|
|
|
39
39
|
### Subagents
|
|
40
40
|
slm-memory-advisor (memory decisions, session hygiene, scope/profile guidance) · slm-optimize-advisor (context compression + KV cache) · slm-governance-advisor (scope/roles/compliance/GDPR)
|
|
41
41
|
|
|
42
|
-
<!-- END SuperLocalMemory v4.0.
|
|
42
|
+
<!-- END SuperLocalMemory v4.0.5 -->
|
|
43
43
|
|
|
44
|
-
SuperLocalMemory v4.0.
|
|
44
|
+
SuperLocalMemory v4.0.5 · Qualixar · AGPL-3.0-or-later
|
|
@@ -77,4 +77,4 @@ slm-scope · slm-governance · slm-profile · slm-remember · slm-recall
|
|
|
77
77
|
# What NOT to do
|
|
78
78
|
Never session_init twice; never forget without dry-run preview; never store secrets; never bypass role checks; never claim an erasure succeeded without verifying via recall.
|
|
79
79
|
|
|
80
|
-
SuperLocalMemory v4.0.
|
|
80
|
+
SuperLocalMemory v4.0.5 · Qualixar · AGPL-3.0-or-later
|
|
@@ -46,4 +46,4 @@ slm-recall · slm-remember · slm-session · slm-scope · slm-profile · slm-gov
|
|
|
46
46
|
# What NOT to do
|
|
47
47
|
Never session_init twice; never forget dry_run=False without reporting preview; never dump a whole file into remember; never invent a memory; never claim "saved" without success:true / clean CLI exit; never bypass scope or governance restrictions.
|
|
48
48
|
|
|
49
|
-
SuperLocalMemory v4.0.
|
|
49
|
+
SuperLocalMemory v4.0.5 · Qualixar · AGPL-3.0-or-later
|
|
@@ -41,4 +41,4 @@ slm-compress · slm-cache · slm-status · slm-profile
|
|
|
41
41
|
# What NOT to do
|
|
42
42
|
Never compress code-for-edit/JSON-to-parse/<500 chars; never store secrets/ccr_ids; never let optimize failure block/alter the task; never claim a specific savings %; never carry ccr_ids across profile switches.
|
|
43
43
|
|
|
44
|
-
SuperLocalMemory v4.0.
|
|
44
|
+
SuperLocalMemory v4.0.5 · Qualixar · AGPL-3.0-or-later
|
package/plugin/requirements.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
superlocalmemory==4.0.
|
|
1
|
+
superlocalmemory==4.0.5
|
|
@@ -290,7 +290,8 @@ This skill uses graph tools that are only active under the `code` MCP profile
|
|
|
290
290
|
|
|
291
291
|
```json
|
|
292
292
|
"env": {
|
|
293
|
-
"SLM_MCP_PROFILE": "code"
|
|
293
|
+
"SLM_MCP_PROFILE": "code",
|
|
294
|
+
"SLM_AGENT_ID": "claude_code"
|
|
294
295
|
}
|
|
295
296
|
```
|
|
296
297
|
|
|
@@ -311,4 +312,4 @@ profile. See `slm-profile` for the full profile switching workflow.
|
|
|
311
312
|
|
|
312
313
|
---
|
|
313
314
|
|
|
314
|
-
SuperLocalMemory v4.0.
|
|
315
|
+
SuperLocalMemory v4.0.5 · Qualixar · AGPL-3.0-or-later
|
|
@@ -31,9 +31,9 @@ project, a client engagement, a production vs staging environment.
|
|
|
31
31
|
| Profile | Tools | When to use |
|
|
32
32
|
|---------|-------|-------------|
|
|
33
33
|
| `core` | 14 tools — remember, recall, search, session, optimize | Minimal footprint, no code tools |
|
|
34
|
-
| `code` |
|
|
35
|
-
| `full` |
|
|
36
|
-
| `power` |
|
|
34
|
+
| `code` | 29 tools — core + portable Brain evidence + code graph + profile switching + bounded loops | Default for IDE/coding agents |
|
|
35
|
+
| `full` | 47 tools — code + all memory ops + mesh + bounded loops | Multi-session, team workflows |
|
|
36
|
+
| `power` | 59 tools — full + governance + behavioral tools | Enterprise, admin, audit use cases |
|
|
37
37
|
| `mesh` | 8 tools — mesh coordination only | Lightweight cross-session signalling |
|
|
38
38
|
|
|
39
39
|
The profile is set at MCP server startup via `SLM_MCP_PROFILE` in the MCP config.
|
|
@@ -104,6 +104,7 @@ In your `.mcp.json` (Claude Code) or `.codex/config.toml` (Codex):
|
|
|
104
104
|
```json
|
|
105
105
|
"env": {
|
|
106
106
|
"SLM_MCP_PROFILE": "code",
|
|
107
|
+
"SLM_AGENT_ID": "claude_code",
|
|
107
108
|
"SLM_DATA_DIR": "~/.superlocalmemory"
|
|
108
109
|
}
|
|
109
110
|
```
|
|
@@ -145,4 +146,4 @@ Name them differently in your MCP config (e.g. `superlocalmemory-personal` and
|
|
|
145
146
|
|
|
146
147
|
---
|
|
147
148
|
|
|
148
|
-
*SuperLocalMemory v4.0.
|
|
149
|
+
*SuperLocalMemory v4.0.5 · Qualixar · AGPL-3.0-or-later*
|
|
@@ -80,12 +80,13 @@ When the SLM MCP server is unavailable, use these CLI equivalents:
|
|
|
80
80
|
|
|
81
81
|
---
|
|
82
82
|
|
|
83
|
-
## Tool reference (core profile —
|
|
83
|
+
## Tool reference (core profile — 16 tools)
|
|
84
84
|
|
|
85
|
-
> The MCP config ships `SLM_MCP_PROFILE=code` (
|
|
86
|
-
> **plus** 6 code-graph tools
|
|
87
|
-
> `
|
|
88
|
-
>
|
|
85
|
+
> The MCP config ships `SLM_MCP_PROFILE=code` and `SLM_AGENT_ID=claude_code` (31 tools):
|
|
86
|
+
> the 16 core memory and correction-review tools below **plus** 6 code-graph tools
|
|
87
|
+
> (`build_code_graph`, `get_blast_radius`, `query_graph`, `semantic_search_code`,
|
|
88
|
+
> `get_review_context`, `detect_changes`) and `switch_profile`.
|
|
89
|
+
> Use `full` (49 tools) to add mesh coordination. Use `power` (61 tools) for governance
|
|
89
90
|
> and audit tools. See slm-profile for profile switching.
|
|
90
91
|
|
|
91
92
|
| Tool | Signature (key params) | Notes |
|
|
@@ -128,4 +129,4 @@ When the SLM MCP server is unavailable, use these CLI equivalents:
|
|
|
128
129
|
- **slm-optimize-advisor** — context compression and KV cache
|
|
129
130
|
- **slm-governance-advisor** — scope/role compliance, retention policies, GDPR
|
|
130
131
|
|
|
131
|
-
SuperLocalMemory v4.0.
|
|
132
|
+
SuperLocalMemory v4.0.4 · Qualixar · AGPL-3.0-or-later
|
|
@@ -290,7 +290,8 @@ This skill uses graph tools that are only active under the `code` MCP profile
|
|
|
290
290
|
|
|
291
291
|
```json
|
|
292
292
|
"env": {
|
|
293
|
-
"SLM_MCP_PROFILE": "code"
|
|
293
|
+
"SLM_MCP_PROFILE": "code",
|
|
294
|
+
"SLM_AGENT_ID": "claude_code"
|
|
294
295
|
}
|
|
295
296
|
```
|
|
296
297
|
|
|
@@ -311,4 +312,4 @@ profile. See `slm-profile` for the full profile switching workflow.
|
|
|
311
312
|
|
|
312
313
|
---
|
|
313
314
|
|
|
314
|
-
SuperLocalMemory v4.0.
|
|
315
|
+
SuperLocalMemory v4.0.4 · Qualixar · AGPL-3.0-or-later
|
|
@@ -31,9 +31,9 @@ project, a client engagement, a production vs staging environment.
|
|
|
31
31
|
| Profile | Tools | When to use |
|
|
32
32
|
|---------|-------|-------------|
|
|
33
33
|
| `core` | 14 tools — remember, recall, search, session, optimize | Minimal footprint, no code tools |
|
|
34
|
-
| `code` |
|
|
35
|
-
| `full` |
|
|
36
|
-
| `power` |
|
|
34
|
+
| `code` | 29 tools — core + portable Brain evidence + code graph + profile switching + bounded loops | Default for IDE/coding agents |
|
|
35
|
+
| `full` | 47 tools — code + all memory ops + mesh + bounded loops | Multi-session, team workflows |
|
|
36
|
+
| `power` | 59 tools — full + governance + behavioral tools | Enterprise, admin, audit use cases |
|
|
37
37
|
| `mesh` | 8 tools — mesh coordination only | Lightweight cross-session signalling |
|
|
38
38
|
|
|
39
39
|
The profile is set at MCP server startup via `SLM_MCP_PROFILE` in the MCP config.
|
|
@@ -104,6 +104,7 @@ In your `.mcp.json` (Claude Code) or `.codex/config.toml` (Codex):
|
|
|
104
104
|
```json
|
|
105
105
|
"env": {
|
|
106
106
|
"SLM_MCP_PROFILE": "code",
|
|
107
|
+
"SLM_AGENT_ID": "claude_code",
|
|
107
108
|
"SLM_DATA_DIR": "~/.superlocalmemory"
|
|
108
109
|
}
|
|
109
110
|
```
|
|
@@ -145,4 +146,4 @@ Name them differently in your MCP config (e.g. `superlocalmemory-personal` and
|
|
|
145
146
|
|
|
146
147
|
---
|
|
147
148
|
|
|
148
|
-
*SuperLocalMemory v4.0.
|
|
149
|
+
*SuperLocalMemory v4.0.4 · Qualixar · AGPL-3.0-or-later*
|
package/pyproject.toml
CHANGED
|
@@ -32,7 +32,7 @@ if "OMP_NUM_THREADS" not in os.environ:
|
|
|
32
32
|
os.environ["OMP_NUM_THREADS"] = "2"
|
|
33
33
|
# ---------------------------------------------------------------------------
|
|
34
34
|
|
|
35
|
-
__version__ = "4.0.
|
|
35
|
+
__version__ = "4.0.5"
|
|
36
36
|
|
|
37
37
|
_REQUIRED_VERSIONS = {
|
|
38
38
|
"sentence_transformers": "5.3.0",
|