superlocalmemory 4.2.2 → 4.2.3

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 (144) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/CHANGELOG.md +39 -0
  3. package/README.md +13 -5
  4. package/antigravity-plugin/_GENERATED.md +1 -1
  5. package/antigravity-plugin/agents/slm-governance-advisor.md +1 -1
  6. package/antigravity-plugin/agents/slm-loop-runner.md +1 -1
  7. package/antigravity-plugin/agents/slm-memory-advisor.md +1 -1
  8. package/antigravity-plugin/agents/slm-optimize-advisor.md +1 -1
  9. package/antigravity-plugin/plugin.json +1 -1
  10. package/antigravity-plugin/skills/slm-bot-memory/SKILL.md +1 -1
  11. package/antigravity-plugin/skills/slm-cache/SKILL.md +1 -1
  12. package/antigravity-plugin/skills/slm-compress/SKILL.md +1 -1
  13. package/antigravity-plugin/skills/slm-getting-started-bot/SKILL.md +1 -1
  14. package/antigravity-plugin/skills/slm-governance/SKILL.md +1 -1
  15. package/antigravity-plugin/skills/slm-graph/SKILL.md +1 -1
  16. package/antigravity-plugin/skills/slm-loop/SKILL.md +4 -3
  17. package/antigravity-plugin/skills/slm-media/SKILL.md +1 -1
  18. package/antigravity-plugin/skills/slm-mesh/SKILL.md +1 -1
  19. package/antigravity-plugin/skills/slm-profile/SKILL.md +1 -1
  20. package/antigravity-plugin/skills/slm-recall/SKILL.md +1 -1
  21. package/antigravity-plugin/skills/slm-remember/SKILL.md +1 -1
  22. package/antigravity-plugin/skills/slm-scope/SKILL.md +1 -1
  23. package/antigravity-plugin/skills/slm-session/SKILL.md +1 -1
  24. package/antigravity-plugin/skills/slm-status/SKILL.md +1 -1
  25. package/codex-plugin/.claude-plugin/plugin.json +1 -1
  26. package/codex-plugin/.codex-plugin/plugin.json +1 -1
  27. package/codex-plugin/AGENTS.md +1 -1
  28. package/codex-plugin/README.md +2 -2
  29. package/codex-plugin/_GENERATED.md +1 -1
  30. package/codex-plugin/agents/slm-governance-advisor.md +1 -1
  31. package/codex-plugin/agents/slm-loop-runner.md +1 -1
  32. package/codex-plugin/agents/slm-memory-advisor.md +1 -1
  33. package/codex-plugin/agents/slm-optimize-advisor.md +1 -1
  34. package/codex-plugin/skills/slm-bot-memory/SKILL.md +1 -1
  35. package/codex-plugin/skills/slm-cache/SKILL.md +1 -1
  36. package/codex-plugin/skills/slm-compress/SKILL.md +1 -1
  37. package/codex-plugin/skills/slm-getting-started-bot/SKILL.md +1 -1
  38. package/codex-plugin/skills/slm-governance/SKILL.md +1 -1
  39. package/codex-plugin/skills/slm-graph/SKILL.md +1 -1
  40. package/codex-plugin/skills/slm-loop/SKILL.md +4 -3
  41. package/codex-plugin/skills/slm-media/SKILL.md +1 -1
  42. package/codex-plugin/skills/slm-mesh/SKILL.md +1 -1
  43. package/codex-plugin/skills/slm-profile/SKILL.md +1 -1
  44. package/codex-plugin/skills/slm-recall/SKILL.md +1 -1
  45. package/codex-plugin/skills/slm-remember/SKILL.md +1 -1
  46. package/codex-plugin/skills/slm-scope/SKILL.md +1 -1
  47. package/codex-plugin/skills/slm-session/SKILL.md +1 -1
  48. package/codex-plugin/skills/slm-status/SKILL.md +1 -1
  49. package/copilot-plugin/.github/agents/slm-governance-advisor.agent.md +2 -2
  50. package/copilot-plugin/.github/agents/slm-loop-runner.agent.md +2 -2
  51. package/copilot-plugin/.github/agents/slm-memory-advisor.agent.md +2 -2
  52. package/copilot-plugin/.github/agents/slm-optimize-advisor.agent.md +2 -2
  53. package/copilot-plugin/.github/copilot-instructions.md +4 -4
  54. package/copilot-plugin/.github/prompts/slm-bot-memory.prompt.md +2 -2
  55. package/copilot-plugin/.github/prompts/slm-cache.prompt.md +2 -2
  56. package/copilot-plugin/.github/prompts/slm-compress.prompt.md +2 -2
  57. package/copilot-plugin/.github/prompts/slm-getting-started-bot.prompt.md +2 -2
  58. package/copilot-plugin/.github/prompts/slm-governance.prompt.md +2 -2
  59. package/copilot-plugin/.github/prompts/slm-graph.prompt.md +2 -2
  60. package/copilot-plugin/.github/prompts/slm-loop.prompt.md +5 -4
  61. package/copilot-plugin/.github/prompts/slm-media.prompt.md +2 -2
  62. package/copilot-plugin/.github/prompts/slm-mesh.prompt.md +2 -2
  63. package/copilot-plugin/.github/prompts/slm-profile.prompt.md +2 -2
  64. package/copilot-plugin/.github/prompts/slm-recall.prompt.md +2 -2
  65. package/copilot-plugin/.github/prompts/slm-remember.prompt.md +2 -2
  66. package/copilot-plugin/.github/prompts/slm-scope.prompt.md +2 -2
  67. package/copilot-plugin/.github/prompts/slm-session.prompt.md +2 -2
  68. package/copilot-plugin/.github/prompts/slm-status.prompt.md +2 -2
  69. package/copilot-plugin/.github/prompts/slm-web-access.prompt.md +1 -1
  70. package/copilot-plugin/README.md +2 -2
  71. package/copilot-plugin/_GENERATED.md +1 -1
  72. package/hermes-plugin/__init__.py +5 -2
  73. package/hermes-plugin/agents/slm-governance-advisor.md +1 -1
  74. package/hermes-plugin/agents/slm-loop-runner.md +1 -1
  75. package/hermes-plugin/agents/slm-memory-advisor.md +1 -1
  76. package/hermes-plugin/agents/slm-optimize-advisor.md +1 -1
  77. package/hermes-plugin/plugin.yaml +1 -1
  78. package/hermes-plugin/skills/slm-bot-memory/SKILL.md +1 -1
  79. package/hermes-plugin/skills/slm-cache/SKILL.md +1 -1
  80. package/hermes-plugin/skills/slm-compress/SKILL.md +1 -1
  81. package/hermes-plugin/skills/slm-getting-started-bot/SKILL.md +1 -1
  82. package/hermes-plugin/skills/slm-governance/SKILL.md +1 -1
  83. package/hermes-plugin/skills/slm-graph/SKILL.md +1 -1
  84. package/hermes-plugin/skills/slm-loop/SKILL.md +4 -3
  85. package/hermes-plugin/skills/slm-media/SKILL.md +1 -1
  86. package/hermes-plugin/skills/slm-mesh/SKILL.md +1 -1
  87. package/hermes-plugin/skills/slm-profile/SKILL.md +1 -1
  88. package/hermes-plugin/skills/slm-recall/SKILL.md +1 -1
  89. package/hermes-plugin/skills/slm-remember/SKILL.md +1 -1
  90. package/hermes-plugin/skills/slm-scope/SKILL.md +1 -1
  91. package/hermes-plugin/skills/slm-session/SKILL.md +1 -1
  92. package/hermes-plugin/skills/slm-status/SKILL.md +1 -1
  93. package/package.json +1 -1
  94. package/plugin/.claude-plugin/plugin.json +1 -1
  95. package/plugin/.cursor-plugin/plugin.json +1 -1
  96. package/plugin/CLAUDE.md +3 -3
  97. package/plugin/agents/slm-governance-advisor.md +1 -1
  98. package/plugin/agents/slm-loop-runner.md +1 -1
  99. package/plugin/agents/slm-memory-advisor.md +1 -1
  100. package/plugin/agents/slm-optimize-advisor.md +1 -1
  101. package/plugin/cursor-skills/slm-bot-memory/SKILL.md +1 -1
  102. package/plugin/cursor-skills/slm-getting-started-bot/SKILL.md +1 -1
  103. package/plugin/cursor-skills/slm-recall/SKILL.md +1 -1
  104. package/plugin/cursor-skills/slm-remember/SKILL.md +1 -1
  105. package/plugin/cursor-skills/slm-scope/SKILL.md +1 -1
  106. package/plugin/cursor-skills/slm-session/SKILL.md +1 -1
  107. package/plugin/mcp.cursor.json +1 -1
  108. package/plugin/requirements.txt +1 -1
  109. package/plugin/skills/slm-bot-memory/SKILL.md +1 -1
  110. package/plugin/skills/slm-cache/SKILL.md +1 -1
  111. package/plugin/skills/slm-compress/SKILL.md +1 -1
  112. package/plugin/skills/slm-getting-started-bot/SKILL.md +1 -1
  113. package/plugin/skills/slm-governance/SKILL.md +1 -1
  114. package/plugin/skills/slm-graph/SKILL.md +1 -1
  115. package/plugin/skills/slm-loop/SKILL.md +4 -3
  116. package/plugin/skills/slm-media/SKILL.md +1 -1
  117. package/plugin/skills/slm-mesh/SKILL.md +1 -1
  118. package/plugin/skills/slm-profile/SKILL.md +1 -1
  119. package/plugin/skills/slm-recall/SKILL.md +1 -1
  120. package/plugin/skills/slm-remember/SKILL.md +1 -1
  121. package/plugin/skills/slm-scope/SKILL.md +1 -1
  122. package/plugin/skills/slm-session/SKILL.md +1 -1
  123. package/plugin/skills/slm-status/SKILL.md +1 -1
  124. package/plugin-src/agents/slm-governance-advisor.md +1 -1
  125. package/plugin-src/agents/slm-loop-runner.md +1 -1
  126. package/plugin-src/agents/slm-memory-advisor.md +1 -1
  127. package/plugin-src/agents/slm-optimize-advisor.md +1 -1
  128. package/plugin-src/rules/AGENTS.md +1 -1
  129. package/plugin-src/rules/CLAUDE.md.fragment +3 -3
  130. package/plugin-src/skills/slm-bot-memory/SKILL.md +1 -1
  131. package/plugin-src/skills/slm-cache/SKILL.md +1 -1
  132. package/plugin-src/skills/slm-compress/SKILL.md +1 -1
  133. package/plugin-src/skills/slm-getting-started-bot/SKILL.md +1 -1
  134. package/plugin-src/skills/slm-governance/SKILL.md +1 -1
  135. package/plugin-src/skills/slm-graph/SKILL.md +1 -1
  136. package/plugin-src/skills/slm-loop/SKILL.md +4 -3
  137. package/plugin-src/skills/slm-media/SKILL.md +1 -1
  138. package/plugin-src/skills/slm-mesh/SKILL.md +1 -1
  139. package/plugin-src/skills/slm-profile/SKILL.md +1 -1
  140. package/plugin-src/skills/slm-recall/SKILL.md +1 -1
  141. package/plugin-src/skills/slm-remember/SKILL.md +1 -1
  142. package/plugin-src/skills/slm-scope/SKILL.md +1 -1
  143. package/plugin-src/skills/slm-session/SKILL.md +1 -1
  144. package/plugin-src/skills/slm-status/SKILL.md +1 -1
@@ -21,7 +21,7 @@
21
21
  "license": "AGPL-3.0-or-later",
22
22
  "name": "superlocalmemory",
23
23
  "source": "./plugin",
24
- "version": "4.2.2"
24
+ "version": "4.2.3"
25
25
  },
26
26
  {
27
27
  "author": {
@@ -39,7 +39,7 @@
39
39
  "license": "AGPL-3.0-or-later",
40
40
  "name": "superlocalmemory-codex",
41
41
  "source": "./codex-plugin",
42
- "version": "4.2.2"
42
+ "version": "4.2.3"
43
43
  }
44
44
  ]
45
45
  }
package/CHANGELOG.md CHANGED
@@ -5,6 +5,45 @@ 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.2.3] — Recall answers on large memories from every agent, hook and harness
9
+
10
+ A fix release. Nothing is moved or deleted, and no setting changes.
11
+
12
+ ### Fixes
13
+
14
+ - **A quick look at memory came back empty on large stores.** An agent's
15
+ `recall` at `depth=0` (the cheap one-line glance the tool suggests starting
16
+ with) was treated like the prompt hook and given its three-second limit. On a
17
+ store where full recall takes about 2.5 seconds (27,000 memories), it timed
18
+ out and returned nothing, with every search channel marked "timeout". A
19
+ glance is now a question like any other and waits for the full answer.
20
+ - **`session_init` lost its search on large stores.** The first call every
21
+ agent makes loaded only pinned rules: its search ran under the same short
22
+ limit and timed out. It now gets the full time. It is still never judged by
23
+ the answer check.
24
+ - **When the prompt hook ran out of time it injected nothing.** The keyword
25
+ backup only started after the full search was given up, with about 0.2
26
+ seconds left, so it never finished. Now, when a hook's search is still running
27
+ a second before its limit, the keyword backup starts beside it, and whichever
28
+ is ready first answers. The hook still never holds up a prompt longer than
29
+ before. This is the same for every harness (Claude Code, Codex, Cursor,
30
+ Copilot, Antigravity, Hermes).
31
+ - **Hermes prefetch gave up before recall answered.** Hermes waits 3 seconds
32
+ for the memory it adds to each turn, but asked for a full recall. It now sends
33
+ its time budget (`budget_s`, a new optional `recall` parameter), and recall
34
+ answers inside it.
35
+ - **`prestage_context` always said `recall_error`.** It recalled inside the
36
+ MCP process, which may not; it now recalls through the memory service, as
37
+ `session_init` does.
38
+ - **Smaller tool fixes found by an end-to-end run of every MCP tool:**
39
+ `skill_lineage` reports an empty history instead of an error on a store where
40
+ no skill has evolved; `correct_pattern` refuses a pattern that does not exist
41
+ instead of reporting success; `review_correction` no longer tells an agent to
42
+ retry a review the memory service refused (an unknown or settled case).
43
+ - **Docs:** the `slm-loop` skill and the MCP tool reference now say what
44
+ `slm_loop_run` needs to finish: an operator-registered check
45
+ (`gate_contract`). A matching memory alone never ends a loop.
46
+
8
47
  ## [4.2.2] — Recall never refuses answers it has after a model change, and "What am I working on?" answers from your work
9
48
 
10
49
  A fix release. Upgrading never moves or deletes memory. Text stays on the model it uses today.
package/README.md CHANGED
@@ -32,9 +32,7 @@ In Mode A, core remember and recall make no model-provider call: no API key, no
32
32
 
33
33
  ## Install
34
34
 
35
- Three ways in. All three end in the same setup: your text memory on this machine, and, if you say yes, your pictures and documents too.
36
-
37
- **1. Ask your agent.** Copy this into Claude Code, Codex, Cursor or any agent that can run commands:
35
+ > **The easiest way: let your AI agent install it.** Copy the block below into Claude Code, Codex, Cursor or any agent that can run commands. It reads the setup guide, asks you one question, sets everything up and tells you what works. No terminal commands for you to learn.
38
36
 
39
37
  ```
40
38
  Install SuperLocalMemory on this computer for me. Follow
@@ -45,7 +43,17 @@ screenshots and PDFs by describing them. Connect SuperLocalMemory to the agent
45
43
  I am using. When you finish, run slm doctor and tell me in plain words what works.
46
44
  ```
47
45
 
48
- **2. npm**, the primary route (Node 18+). It installs SLM into a package-owned virtual environment:
46
+ **No AI agent? One line in Terminal** (macOS and Linux). It brings its own Python, sets everything up, connects the AI tools it finds and opens the dashboard; no Python or npm needed beforehand:
47
+
48
+ ```bash
49
+ curl -fsSLo get-slm.sh https://raw.githubusercontent.com/qualixar/superlocalmemory/main/scripts/get-slm.sh && sh get-slm.sh
50
+ ```
51
+
52
+ Add pictures and documents from the start with `sh get-slm.sh --media` at the end. It downloads the script first, so you can read it before it runs. Windows: use the agent prompt above, or npm or pip below.
53
+
54
+ **Prefer the terminal?** Both routes end in the same setup: your text memory on this machine, and, if you say yes, your pictures and documents too.
55
+
56
+ **npm**, the primary route (Node 18+). It installs SLM into a package-owned virtual environment:
49
57
 
50
58
  ```bash
51
59
  npm install -g superlocalmemory # add --media to also turn on pictures and documents
@@ -53,7 +61,7 @@ slm setup # pick Mode A to keep everything on this machi
53
61
  slm connect claude-code # or codex, cursor, windsurf, zed, claude-desktop, jetbrains, opencode ...
54
62
  ```
55
63
 
56
- **3. pip**, the other primary route (Python 3.12 to 3.14), in a Python virtual environment you activate:
64
+ **pip**, the other primary route (Python 3.12 to 3.14), in a Python virtual environment you activate:
57
65
 
58
66
  ```bash
59
67
  python3 -m venv .venv
@@ -2,7 +2,7 @@
2
2
 
3
3
  Built by `scripts/build-antigravity-plugin.mjs` from `plugin-src/`. Version stamped from `plugin-src/manifest.json`.
4
4
 
5
- Version: **4.2.2**
5
+ Version: **4.2.3**
6
6
 
7
7
  Do not edit by hand — regenerate instead.
8
8
 
@@ -81,4 +81,4 @@ slm-scope · slm-governance · slm-profile · slm-remember · slm-recall · slm-
81
81
  # What NOT to do
82
82
  Never session_init twice; never forget without dry-run preview; never run `slm gdpr erase --yes` unasked; never store secrets; never bypass role checks; never claim an erasure succeeded without verifying via recall.
83
83
 
84
- SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later
84
+ SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later
@@ -79,4 +79,4 @@ assessment. The gate is the authority.
79
79
 
80
80
  ---
81
81
 
82
- SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later
82
+ SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later
@@ -51,4 +51,4 @@ slm-recall · slm-remember · slm-session · slm-scope · slm-profile · slm-gov
51
51
  # What NOT to do
52
52
  Never session_init twice; never forget dry_run=False without reporting preview; never switch the active profile unasked; 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.
53
53
 
54
- SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later
54
+ SuperLocalMemory v4.2.3 · 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 hand a ccr_id to another agent.
43
43
 
44
- SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later
44
+ SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "superlocalmemory",
3
- "version": "4.2.2",
3
+ "version": "4.2.3",
4
4
  "description": "Local-first agent memory with auditable hybrid retrieval. Remember decisions and recall them by asking, entirely on your machine.",
5
5
  "author": {
6
6
  "name": "Qualixar",
@@ -178,4 +178,4 @@ store every local bot on that computer can reach.
178
178
 
179
179
  ---
180
180
 
181
- *SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later*
181
+ *SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later*
@@ -144,4 +144,4 @@ These subcommands control daemon-level cache settings and bulk removal. They do
144
144
 
145
145
  ---
146
146
 
147
- SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later
147
+ SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later
@@ -147,4 +147,4 @@ Content over 1 MB (1 000 000 bytes UTF-8) is processed but `reversible` is force
147
147
 
148
148
  ---
149
149
 
150
- SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later
150
+ SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later
@@ -194,4 +194,4 @@ quality on a shared box.
194
194
 
195
195
  ---
196
196
 
197
- *SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later*
197
+ *SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later*
@@ -274,4 +274,4 @@ Before running any destructive or state-changing operation (`forget`,
274
274
 
275
275
  ---
276
276
 
277
- *SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later*
277
+ *SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later*
@@ -324,4 +324,4 @@ All are host-only: a remote caller cannot use them.
324
324
 
325
325
  ---
326
326
 
327
- SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later
327
+ SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: slm-loop
3
- description: Gate-verified bounded loops with SuperLocalMemory as the durable ledger. Use when a task has a checkable acceptance condition and you must iterate until an INDEPENDENT gate passes — never stopping because the agent believes it is done. `slm_loop_run` (MCP) waits, under hard bounds, for a recall gate to pass; `slm loop demo` shows the control flow keyless; `slm loop history` and `slm loop show <run_id>` (or `slm_loop_history` / `slm_loop_show`) inspect past runs, whose every lap is stored as queryable SLM memory (tag `loop:<name>`). Terminal statuses are DONE / HALT / PAUSE / KILLED / ERROR — report them exactly, never converting HALT/PAUSE/ERROR into success.
3
+ description: Gate-verified bounded loops with SuperLocalMemory as the durable ledger. Use when a task has a checkable acceptance condition and you must iterate until an INDEPENDENT gate passes — never stopping because the agent believes it is done. `slm_loop_run` (MCP) waits, under hard bounds, for an independently executed check registered by the operator to pass; `slm loop demo` shows the control flow keyless; `slm loop history` and `slm loop show <run_id>` (or `slm_loop_history` / `slm_loop_show`) inspect past runs, whose every lap is stored as queryable SLM memory (tag `loop:<name>`). Terminal statuses are DONE / HALT / PAUSE / KILLED / ERROR — report them exactly, never converting HALT/PAUSE/ERROR into success.
4
4
  when_to_use: "run a bounded loop, gate-verified task, iterate until tests pass, verify against an independent gate, don't trust the agent's own done claim, slm loop, convergence loop, loop until green, loop ledger, wait for another agent's result"
5
5
  allowed-tools: slm_loop_run, slm_loop_history, slm_loop_show, recall, report_outcome, get_soft_prompts, skill_health, skill_lineage, evolve_skill, observe_bounded_loop_evidence, Bash
6
6
  ---
@@ -26,7 +26,7 @@ subprocess or sandbox machinery. What each surface gives you:
26
26
 
27
27
  | Surface | What it does |
28
28
  |---|---|
29
- | `slm_loop_run` (MCP) | A *watcher*: each lap is a recall of `gate_query`; the loop ends when a confident match appears, or a bound trips. Use it to wait for a verification or coordination memory another agent will write (for example "build passed"). |
29
+ | `slm_loop_run` (MCP) | A *watcher* for a registered check. DONE needs `gate_contract={"job_id": ...}`: a job the operator registered with `superlocalmemory.loops.receipt_jobs.register_job` and executed with `run_registered_check`. Each lap's recall of `gate_query` only locates context; a matching memory alone never passes. Without a registered job the run ends HALT ("operator-registered job_id required"), which is the correct, honest outcome. |
30
30
  | `slm loop demo` (CLI) | A keyless convergence demo: a stub proposer, a deterministic gate that passes on lap 3, every lap recorded. Proves the engine and ledger work end to end. |
31
31
  | `slm loop history`, `slm loop show` / `slm_loop_history`, `slm_loop_show` | Read the ledger of past runs. |
32
32
  | `superlocalmemory.loops.run_bounded_loop` (Python) | The engine itself, for code that supplies its own runner and gate callables. |
@@ -62,6 +62,7 @@ slm_loop_run(
62
62
  max_tokens: int = 0, # optional token budget; 0 disables
63
63
  no_progress_window: int = 0, # halt after N no-change laps; leave 0 for a watcher
64
64
  require_support: bool = False,# pass only if the answer check ran and judged it sufficient
65
+ gate_contract: dict | None = None, # {"job_id": <operator registration>}; required for DONE
65
66
  )
66
67
  ```
67
68
 
@@ -170,4 +171,4 @@ Guides: `docs/skill-evolution.md`, `docs/bounded-loops-bridge.md`.
170
171
 
171
172
  ---
172
173
 
173
- SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later
174
+ SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later
@@ -337,4 +337,4 @@ minutes (previous vectors are kept) and let them decide.
337
337
 
338
338
  ---
339
339
 
340
- *SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later*
340
+ *SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later*
@@ -386,4 +386,4 @@ mesh availability.
386
386
 
387
387
  ---
388
388
 
389
- *SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later*
389
+ *SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later*
@@ -161,4 +161,4 @@ anything but `core` or `mesh`.
161
161
 
162
162
  ---
163
163
 
164
- *SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later*
164
+ *SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later*
@@ -515,4 +515,4 @@ See `slm-profile`.
515
515
 
516
516
  ---
517
517
 
518
- *SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later*
518
+ *SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later*
@@ -372,4 +372,4 @@ sessions on this machine, so use it only when the user asks to move. See
372
372
 
373
373
  ---
374
374
 
375
- *SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later*
375
+ *SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later*
@@ -180,4 +180,4 @@ to review the impact. See `slm-remember` for the full deletion discipline.
180
180
 
181
181
  ---
182
182
 
183
- *SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later*
183
+ *SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later*
@@ -288,4 +288,4 @@ answered. To also surface shared or global facts, call `recall` with
288
288
 
289
289
  ---
290
290
 
291
- *SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later*
291
+ *SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later*
@@ -228,4 +228,4 @@ the memory-engine upgrade is pending.
228
228
 
229
229
  ---
230
230
 
231
- SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later
231
+ SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later
@@ -15,5 +15,5 @@
15
15
  "mcpServers": "./.mcp.json",
16
16
  "name": "superlocalmemory-codex",
17
17
  "repository": "https://github.com/qualixar/superlocalmemory",
18
- "version": "4.2.2"
18
+ "version": "4.2.3"
19
19
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "superlocalmemory-codex",
3
- "version": "4.2.2",
3
+ "version": "4.2.3",
4
4
  "description": "Local-first agent memory with auditable hybrid retrieval. Remember decisions and recall them by asking, entirely on your machine.",
5
5
  "author": {
6
6
  "name": "Qualixar",
@@ -187,4 +187,4 @@ Using this memory from a web assistant or another computer: see the slm-web-acce
187
187
  - **slm-governance-advisor** — scope/role compliance, retention and lifecycle, GDPR
188
188
  - **slm-loop-runner** — bounded, gate-verified loops (the `/slm-loop` command delegates to it)
189
189
 
190
- SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later
190
+ SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later
@@ -2,7 +2,7 @@
2
2
 
3
3
  Local-first agent memory + reversible context compression for OpenAI Codex CLI.
4
4
 
5
- SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later
5
+ SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later
6
6
 
7
7
  ---
8
8
 
@@ -204,4 +204,4 @@ root (not inside a subdirectory), then restart Codex.
204
204
 
205
205
  ---
206
206
 
207
- SuperLocalMemory v4.2.2 · Qualixar · https://github.com/qualixar/superlocalmemory
207
+ SuperLocalMemory v4.2.3 · Qualixar · https://github.com/qualixar/superlocalmemory
@@ -2,7 +2,7 @@
2
2
 
3
3
  Built by `scripts/build-codex-plugin.mjs` from the single source in `plugin-src/`. Version stamped from `plugin-src/manifest.json`.
4
4
 
5
- Version: **4.2.2**
5
+ Version: **4.2.3**
6
6
 
7
7
  ## Derived — do not edit by hand
8
8
 
@@ -81,4 +81,4 @@ slm-scope · slm-governance · slm-profile · slm-remember · slm-recall · slm-
81
81
  # What NOT to do
82
82
  Never session_init twice; never forget without dry-run preview; never run `slm gdpr erase --yes` unasked; never store secrets; never bypass role checks; never claim an erasure succeeded without verifying via recall.
83
83
 
84
- SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later
84
+ SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later
@@ -79,4 +79,4 @@ assessment. The gate is the authority.
79
79
 
80
80
  ---
81
81
 
82
- SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later
82
+ SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later
@@ -51,4 +51,4 @@ slm-recall · slm-remember · slm-session · slm-scope · slm-profile · slm-gov
51
51
  # What NOT to do
52
52
  Never session_init twice; never forget dry_run=False without reporting preview; never switch the active profile unasked; 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.
53
53
 
54
- SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later
54
+ SuperLocalMemory v4.2.3 · 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 hand a ccr_id to another agent.
43
43
 
44
- SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later
44
+ SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later
@@ -178,4 +178,4 @@ store every local bot on that computer can reach.
178
178
 
179
179
  ---
180
180
 
181
- *SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later*
181
+ *SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later*
@@ -144,4 +144,4 @@ These subcommands control daemon-level cache settings and bulk removal. They do
144
144
 
145
145
  ---
146
146
 
147
- SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later
147
+ SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later
@@ -147,4 +147,4 @@ Content over 1 MB (1 000 000 bytes UTF-8) is processed but `reversible` is force
147
147
 
148
148
  ---
149
149
 
150
- SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later
150
+ SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later
@@ -194,4 +194,4 @@ quality on a shared box.
194
194
 
195
195
  ---
196
196
 
197
- *SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later*
197
+ *SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later*
@@ -274,4 +274,4 @@ Before running any destructive or state-changing operation (`forget`,
274
274
 
275
275
  ---
276
276
 
277
- *SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later*
277
+ *SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later*
@@ -324,4 +324,4 @@ All are host-only: a remote caller cannot use them.
324
324
 
325
325
  ---
326
326
 
327
- SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later
327
+ SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: slm-loop
3
- description: Gate-verified bounded loops with SuperLocalMemory as the durable ledger. Use when a task has a checkable acceptance condition and you must iterate until an INDEPENDENT gate passes — never stopping because the agent believes it is done. `slm_loop_run` (MCP) waits, under hard bounds, for a recall gate to pass; `slm loop demo` shows the control flow keyless; `slm loop history` and `slm loop show <run_id>` (or `slm_loop_history` / `slm_loop_show`) inspect past runs, whose every lap is stored as queryable SLM memory (tag `loop:<name>`). Terminal statuses are DONE / HALT / PAUSE / KILLED / ERROR — report them exactly, never converting HALT/PAUSE/ERROR into success.
3
+ description: Gate-verified bounded loops with SuperLocalMemory as the durable ledger. Use when a task has a checkable acceptance condition and you must iterate until an INDEPENDENT gate passes — never stopping because the agent believes it is done. `slm_loop_run` (MCP) waits, under hard bounds, for an independently executed check registered by the operator to pass; `slm loop demo` shows the control flow keyless; `slm loop history` and `slm loop show <run_id>` (or `slm_loop_history` / `slm_loop_show`) inspect past runs, whose every lap is stored as queryable SLM memory (tag `loop:<name>`). Terminal statuses are DONE / HALT / PAUSE / KILLED / ERROR — report them exactly, never converting HALT/PAUSE/ERROR into success.
4
4
  when_to_use: "run a bounded loop, gate-verified task, iterate until tests pass, verify against an independent gate, don't trust the agent's own done claim, slm loop, convergence loop, loop until green, loop ledger, wait for another agent's result"
5
5
  allowed-tools: slm_loop_run, slm_loop_history, slm_loop_show, recall, report_outcome, get_soft_prompts, skill_health, skill_lineage, evolve_skill, observe_bounded_loop_evidence, Bash
6
6
  ---
@@ -26,7 +26,7 @@ subprocess or sandbox machinery. What each surface gives you:
26
26
 
27
27
  | Surface | What it does |
28
28
  |---|---|
29
- | `slm_loop_run` (MCP) | A *watcher*: each lap is a recall of `gate_query`; the loop ends when a confident match appears, or a bound trips. Use it to wait for a verification or coordination memory another agent will write (for example "build passed"). |
29
+ | `slm_loop_run` (MCP) | A *watcher* for a registered check. DONE needs `gate_contract={"job_id": ...}`: a job the operator registered with `superlocalmemory.loops.receipt_jobs.register_job` and executed with `run_registered_check`. Each lap's recall of `gate_query` only locates context; a matching memory alone never passes. Without a registered job the run ends HALT ("operator-registered job_id required"), which is the correct, honest outcome. |
30
30
  | `slm loop demo` (CLI) | A keyless convergence demo: a stub proposer, a deterministic gate that passes on lap 3, every lap recorded. Proves the engine and ledger work end to end. |
31
31
  | `slm loop history`, `slm loop show` / `slm_loop_history`, `slm_loop_show` | Read the ledger of past runs. |
32
32
  | `superlocalmemory.loops.run_bounded_loop` (Python) | The engine itself, for code that supplies its own runner and gate callables. |
@@ -62,6 +62,7 @@ slm_loop_run(
62
62
  max_tokens: int = 0, # optional token budget; 0 disables
63
63
  no_progress_window: int = 0, # halt after N no-change laps; leave 0 for a watcher
64
64
  require_support: bool = False,# pass only if the answer check ran and judged it sufficient
65
+ gate_contract: dict | None = None, # {"job_id": <operator registration>}; required for DONE
65
66
  )
66
67
  ```
67
68
 
@@ -170,4 +171,4 @@ Guides: `docs/skill-evolution.md`, `docs/bounded-loops-bridge.md`.
170
171
 
171
172
  ---
172
173
 
173
- SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later
174
+ SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later
@@ -337,4 +337,4 @@ minutes (previous vectors are kept) and let them decide.
337
337
 
338
338
  ---
339
339
 
340
- *SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later*
340
+ *SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later*
@@ -386,4 +386,4 @@ mesh availability.
386
386
 
387
387
  ---
388
388
 
389
- *SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later*
389
+ *SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later*
@@ -161,4 +161,4 @@ anything but `core` or `mesh`.
161
161
 
162
162
  ---
163
163
 
164
- *SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later*
164
+ *SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later*
@@ -515,4 +515,4 @@ See `slm-profile`.
515
515
 
516
516
  ---
517
517
 
518
- *SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later*
518
+ *SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later*
@@ -372,4 +372,4 @@ sessions on this machine, so use it only when the user asks to move. See
372
372
 
373
373
  ---
374
374
 
375
- *SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later*
375
+ *SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later*
@@ -180,4 +180,4 @@ to review the impact. See `slm-remember` for the full deletion discipline.
180
180
 
181
181
  ---
182
182
 
183
- *SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later*
183
+ *SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later*
@@ -288,4 +288,4 @@ answered. To also surface shared or global facts, call `recall` with
288
288
 
289
289
  ---
290
290
 
291
- *SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later*
291
+ *SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later*
@@ -228,4 +228,4 @@ the memory-engine upgrade is pending.
228
228
 
229
229
  ---
230
230
 
231
- SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later
231
+ SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later
@@ -9,7 +9,7 @@ description: >
9
9
  tools: recall, search, remember, update_memory, list_recent, Read, Bash
10
10
  model: inherit
11
11
  target: vscode
12
- version: "4.2.2"
12
+ version: "4.2.3"
13
13
  ---
14
14
 
15
15
  # Role
@@ -83,4 +83,4 @@ slm-scope · slm-governance · slm-profile · slm-remember · slm-recall · slm-
83
83
  # What NOT to do
84
84
  Never session_init twice; never forget without dry-run preview; never run `slm gdpr erase --yes` unasked; never store secrets; never bypass role checks; never claim an erasure succeeded without verifying via recall.
85
85
 
86
- SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later
86
+ SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later
@@ -11,7 +11,7 @@ description: >
11
11
  tools: Bash, recall, remember, Read, slm_loop_run, slm_loop_history, slm_loop_show
12
12
  model: inherit
13
13
  target: vscode
14
- version: "4.2.2"
14
+ version: "4.2.3"
15
15
  ---
16
16
 
17
17
  # Role
@@ -81,4 +81,4 @@ assessment. The gate is the authority.
81
81
 
82
82
  ---
83
83
 
84
- SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later
84
+ SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later
@@ -8,7 +8,7 @@ description: >
8
8
  tools: session_init, recall, search, remember, update_memory, forget, list_recent, Read
9
9
  model: inherit
10
10
  target: vscode
11
- version: "4.2.2"
11
+ version: "4.2.3"
12
12
  ---
13
13
 
14
14
  # Role
@@ -53,4 +53,4 @@ slm-recall · slm-remember · slm-session · slm-scope · slm-profile · slm-gov
53
53
  # What NOT to do
54
54
  Never session_init twice; never forget dry_run=False without reporting preview; never switch the active profile unasked; 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.
55
55
 
56
- SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later
56
+ SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later
@@ -9,7 +9,7 @@ description: >
9
9
  tools: slm_compress, slm_retrieve, slm_cache_set, slm_cache_get, slm_optimize_stats, Read, Bash
10
10
  model: inherit
11
11
  target: vscode
12
- version: "4.2.2"
12
+ version: "4.2.3"
13
13
  ---
14
14
 
15
15
  # Role
@@ -43,4 +43,4 @@ slm-compress · slm-cache · slm-status · slm-profile
43
43
  # What NOT to do
44
44
  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 hand a ccr_id to another agent.
45
45
 
46
- SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later
46
+ SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later
@@ -1,7 +1,7 @@
1
1
  <!-- SLM-START -->
2
- <!-- SuperLocalMemory v4.2.2 — managed block. Edit outside these markers; this section is regenerated. -->
2
+ <!-- SuperLocalMemory v4.2.3 — managed block. Edit outside these markers; this section is regenerated. -->
3
3
 
4
- <!-- BEGIN SuperLocalMemory v4.2.2 -->
4
+ <!-- BEGIN SuperLocalMemory v4.2.3 -->
5
5
 
6
6
  ## SuperLocalMemory (SLM) — Agent Rules
7
7
 
@@ -54,8 +54,8 @@ slm-recall · slm-remember · slm-session · slm-status · slm-cache · slm-comp
54
54
  ### Subagents
55
55
  slm-memory-advisor (memory decisions, session hygiene, scope/profile guidance) · slm-optimize-advisor (context compression + KV cache) · slm-governance-advisor (scope/roles/compliance/GDPR) · slm-loop-runner (bounded, gate-verified loops)
56
56
 
57
- <!-- END SuperLocalMemory v4.2.2 -->
57
+ <!-- END SuperLocalMemory v4.2.3 -->
58
58
 
59
- SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later
59
+ SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later
60
60
 
61
61
  <!-- SLM-END -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: slm-bot-memory
3
3
  description: Cross-bot memory on a shared computer (Grok Bot, Cursor plugin, any host where several agents share one machine). Explains agent_id attribution vs. profile/scope access, how to namespace by agent_id + profile + scope, and what must never be written to memory. Read this before the first remember/recall on a new Grok-Bot-style host.
4
- version: "4.2.2"
4
+ version: "4.2.3"
5
5
  agent: agent
6
6
  tools:
7
7
  - remember
@@ -177,4 +177,4 @@ store every local bot on that computer can reach.
177
177
 
178
178
  ---
179
179
 
180
- *SuperLocalMemory v4.2.2 · Qualixar · AGPL-3.0-or-later*
180
+ *SuperLocalMemory v4.2.3 · Qualixar · AGPL-3.0-or-later*