superlocalmemory 4.2.2 → 4.2.4
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/.claude-plugin/marketplace.json +2 -2
- package/CHANGELOG.md +78 -0
- package/README.md +13 -5
- package/antigravity-plugin/_GENERATED.md +1 -1
- package/antigravity-plugin/agents/slm-governance-advisor.md +1 -1
- package/antigravity-plugin/agents/slm-loop-runner.md +1 -1
- package/antigravity-plugin/agents/slm-memory-advisor.md +1 -1
- package/antigravity-plugin/agents/slm-optimize-advisor.md +1 -1
- package/antigravity-plugin/plugin.json +1 -1
- package/antigravity-plugin/skills/slm-bot-memory/SKILL.md +1 -1
- package/antigravity-plugin/skills/slm-cache/SKILL.md +1 -1
- package/antigravity-plugin/skills/slm-compress/SKILL.md +1 -1
- package/antigravity-plugin/skills/slm-getting-started-bot/SKILL.md +1 -1
- package/antigravity-plugin/skills/slm-governance/SKILL.md +1 -1
- package/antigravity-plugin/skills/slm-graph/SKILL.md +1 -1
- package/antigravity-plugin/skills/slm-loop/SKILL.md +4 -3
- package/antigravity-plugin/skills/slm-media/SKILL.md +1 -1
- package/antigravity-plugin/skills/slm-mesh/SKILL.md +1 -1
- package/antigravity-plugin/skills/slm-profile/SKILL.md +1 -1
- package/antigravity-plugin/skills/slm-recall/SKILL.md +1 -1
- package/antigravity-plugin/skills/slm-remember/SKILL.md +1 -1
- package/antigravity-plugin/skills/slm-scope/SKILL.md +1 -1
- package/antigravity-plugin/skills/slm-session/SKILL.md +1 -1
- package/antigravity-plugin/skills/slm-status/SKILL.md +1 -1
- package/codex-plugin/.claude-plugin/plugin.json +1 -1
- package/codex-plugin/.codex-plugin/plugin.json +1 -1
- package/codex-plugin/AGENTS.md +1 -1
- package/codex-plugin/README.md +2 -2
- package/codex-plugin/_GENERATED.md +1 -1
- package/codex-plugin/agents/slm-governance-advisor.md +1 -1
- package/codex-plugin/agents/slm-loop-runner.md +1 -1
- package/codex-plugin/agents/slm-memory-advisor.md +1 -1
- package/codex-plugin/agents/slm-optimize-advisor.md +1 -1
- package/codex-plugin/skills/slm-bot-memory/SKILL.md +1 -1
- package/codex-plugin/skills/slm-cache/SKILL.md +1 -1
- package/codex-plugin/skills/slm-compress/SKILL.md +1 -1
- package/codex-plugin/skills/slm-getting-started-bot/SKILL.md +1 -1
- package/codex-plugin/skills/slm-governance/SKILL.md +1 -1
- package/codex-plugin/skills/slm-graph/SKILL.md +1 -1
- package/codex-plugin/skills/slm-loop/SKILL.md +4 -3
- package/codex-plugin/skills/slm-media/SKILL.md +1 -1
- package/codex-plugin/skills/slm-mesh/SKILL.md +1 -1
- package/codex-plugin/skills/slm-profile/SKILL.md +1 -1
- package/codex-plugin/skills/slm-recall/SKILL.md +1 -1
- package/codex-plugin/skills/slm-remember/SKILL.md +1 -1
- package/codex-plugin/skills/slm-scope/SKILL.md +1 -1
- package/codex-plugin/skills/slm-session/SKILL.md +1 -1
- package/codex-plugin/skills/slm-status/SKILL.md +1 -1
- package/copilot-plugin/.github/agents/slm-governance-advisor.agent.md +2 -2
- package/copilot-plugin/.github/agents/slm-loop-runner.agent.md +2 -2
- package/copilot-plugin/.github/agents/slm-memory-advisor.agent.md +2 -2
- package/copilot-plugin/.github/agents/slm-optimize-advisor.agent.md +2 -2
- package/copilot-plugin/.github/copilot-instructions.md +4 -4
- package/copilot-plugin/.github/prompts/slm-bot-memory.prompt.md +2 -2
- package/copilot-plugin/.github/prompts/slm-cache.prompt.md +2 -2
- package/copilot-plugin/.github/prompts/slm-compress.prompt.md +2 -2
- package/copilot-plugin/.github/prompts/slm-getting-started-bot.prompt.md +2 -2
- package/copilot-plugin/.github/prompts/slm-governance.prompt.md +2 -2
- package/copilot-plugin/.github/prompts/slm-graph.prompt.md +2 -2
- package/copilot-plugin/.github/prompts/slm-loop.prompt.md +5 -4
- package/copilot-plugin/.github/prompts/slm-media.prompt.md +2 -2
- package/copilot-plugin/.github/prompts/slm-mesh.prompt.md +2 -2
- package/copilot-plugin/.github/prompts/slm-profile.prompt.md +2 -2
- package/copilot-plugin/.github/prompts/slm-recall.prompt.md +2 -2
- package/copilot-plugin/.github/prompts/slm-remember.prompt.md +2 -2
- package/copilot-plugin/.github/prompts/slm-scope.prompt.md +2 -2
- package/copilot-plugin/.github/prompts/slm-session.prompt.md +2 -2
- package/copilot-plugin/.github/prompts/slm-status.prompt.md +2 -2
- package/copilot-plugin/.github/prompts/slm-web-access.prompt.md +1 -1
- package/copilot-plugin/README.md +2 -2
- package/copilot-plugin/_GENERATED.md +1 -1
- package/hermes-plugin/__init__.py +5 -2
- package/hermes-plugin/agents/slm-governance-advisor.md +1 -1
- package/hermes-plugin/agents/slm-loop-runner.md +1 -1
- package/hermes-plugin/agents/slm-memory-advisor.md +1 -1
- package/hermes-plugin/agents/slm-optimize-advisor.md +1 -1
- package/hermes-plugin/plugin.yaml +1 -1
- package/hermes-plugin/skills/slm-bot-memory/SKILL.md +1 -1
- package/hermes-plugin/skills/slm-cache/SKILL.md +1 -1
- package/hermes-plugin/skills/slm-compress/SKILL.md +1 -1
- package/hermes-plugin/skills/slm-getting-started-bot/SKILL.md +1 -1
- package/hermes-plugin/skills/slm-governance/SKILL.md +1 -1
- package/hermes-plugin/skills/slm-graph/SKILL.md +1 -1
- package/hermes-plugin/skills/slm-loop/SKILL.md +4 -3
- package/hermes-plugin/skills/slm-media/SKILL.md +1 -1
- package/hermes-plugin/skills/slm-mesh/SKILL.md +1 -1
- package/hermes-plugin/skills/slm-profile/SKILL.md +1 -1
- package/hermes-plugin/skills/slm-recall/SKILL.md +1 -1
- package/hermes-plugin/skills/slm-remember/SKILL.md +1 -1
- package/hermes-plugin/skills/slm-scope/SKILL.md +1 -1
- package/hermes-plugin/skills/slm-session/SKILL.md +1 -1
- package/hermes-plugin/skills/slm-status/SKILL.md +1 -1
- package/package.json +1 -1
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/.cursor-plugin/plugin.json +1 -1
- 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/cursor-skills/slm-bot-memory/SKILL.md +1 -1
- package/plugin/cursor-skills/slm-getting-started-bot/SKILL.md +1 -1
- package/plugin/cursor-skills/slm-recall/SKILL.md +1 -1
- package/plugin/cursor-skills/slm-remember/SKILL.md +1 -1
- package/plugin/cursor-skills/slm-scope/SKILL.md +1 -1
- package/plugin/cursor-skills/slm-session/SKILL.md +1 -1
- package/plugin/mcp.cursor.json +1 -1
- package/plugin/requirements.txt +1 -1
- package/plugin/skills/slm-bot-memory/SKILL.md +1 -1
- package/plugin/skills/slm-cache/SKILL.md +1 -1
- package/plugin/skills/slm-compress/SKILL.md +1 -1
- package/plugin/skills/slm-getting-started-bot/SKILL.md +1 -1
- package/plugin/skills/slm-governance/SKILL.md +1 -1
- package/plugin/skills/slm-graph/SKILL.md +1 -1
- package/plugin/skills/slm-loop/SKILL.md +4 -3
- package/plugin/skills/slm-media/SKILL.md +1 -1
- package/plugin/skills/slm-mesh/SKILL.md +1 -1
- package/plugin/skills/slm-profile/SKILL.md +1 -1
- 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/agents/slm-governance-advisor.md +1 -1
- package/plugin-src/agents/slm-loop-runner.md +1 -1
- package/plugin-src/agents/slm-memory-advisor.md +1 -1
- package/plugin-src/agents/slm-optimize-advisor.md +1 -1
- package/plugin-src/rules/AGENTS.md +1 -1
- package/plugin-src/rules/CLAUDE.md.fragment +3 -3
- package/plugin-src/skills/slm-bot-memory/SKILL.md +1 -1
- 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-getting-started-bot/SKILL.md +1 -1
- package/plugin-src/skills/slm-governance/SKILL.md +1 -1
- package/plugin-src/skills/slm-graph/SKILL.md +1 -1
- package/plugin-src/skills/slm-loop/SKILL.md +4 -3
- package/plugin-src/skills/slm-media/SKILL.md +1 -1
- package/plugin-src/skills/slm-mesh/SKILL.md +1 -1
- package/plugin-src/skills/slm-profile/SKILL.md +1 -1
- 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
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"license": "AGPL-3.0-or-later",
|
|
22
22
|
"name": "superlocalmemory",
|
|
23
23
|
"source": "./plugin",
|
|
24
|
-
"version": "4.2.
|
|
24
|
+
"version": "4.2.4"
|
|
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.
|
|
42
|
+
"version": "4.2.4"
|
|
43
43
|
}
|
|
44
44
|
]
|
|
45
45
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,84 @@ 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.4] — Recall in under a second on large memories, with the answer check on every question
|
|
9
|
+
|
|
10
|
+
A performance release. Nothing is moved or deleted. One data-only migration
|
|
11
|
+
(M063) stores blank temporal dates as NULL.
|
|
12
|
+
|
|
13
|
+
Measured on a real store of 27,000 memories and 16,800 entities, the same 24
|
|
14
|
+
questions, through the daemon's recall endpoint:
|
|
15
|
+
|
|
16
|
+
| | 4.2.3 | 4.2.4 |
|
|
17
|
+
|---|---|---|
|
|
18
|
+
| Median recall, idle machine | 5.29 s | 0.41 s |
|
|
19
|
+
| 90th percentile, idle | 7.02 s | 0.55 s |
|
|
20
|
+
| Three agents recalling at once (median / p90) | — | 0.72 s / 0.90 s |
|
|
21
|
+
| While the Mode B language model works (median / p90) | — | 2.15 s / 2.92 s |
|
|
22
|
+
| Questions whose answer check ran | 0 of 24 | 24 of 24 |
|
|
23
|
+
|
|
24
|
+
### Fixes
|
|
25
|
+
|
|
26
|
+
- **The answer check now runs on every question.** It was held to the
|
|
27
|
+
three-second budget while the question itself may run longer, so on a large
|
|
28
|
+
store it was skipped ("budget_exhausted") on nearly every recall, though it
|
|
29
|
+
takes 30-140 ms. It now shares the question's own time.
|
|
30
|
+
- **Entity name lookups were rebuilt on almost every recall.** They were kept
|
|
31
|
+
only while nothing at all had been saved, so any save, hook note or access
|
|
32
|
+
count threw them away; on a store with 16,800 entities that cost up to several
|
|
33
|
+
seconds of a recall. They are now kept while the entities themselves are
|
|
34
|
+
unchanged, grow in place when new entities arrive, and are built when the
|
|
35
|
+
service starts instead of inside the first recall.
|
|
36
|
+
- **The time-based search never reused its work** on a store holding a blank
|
|
37
|
+
date: one empty date switched its cache off for good. Blank dates are now
|
|
38
|
+
stored as no date (migration M063 cleans the existing ones).
|
|
39
|
+
- **Concurrent recalls queued behind each other** in one search layer (the
|
|
40
|
+
associative "Hopfield" layer) on large stores. They now run side by side.
|
|
41
|
+
- **The vector store kept a week of history**, one version per saved memory:
|
|
42
|
+
a busy store reached 7,194 versions and 4.1 GB, and every semantic search
|
|
43
|
+
walked them. It now keeps an hour (`SLM_VECTOR_HISTORY_DAYS` still sets it).
|
|
44
|
+
A store that already grew can be shrunk at once with SuperLocalMemory
|
|
45
|
+
stopped: `slm db compact --offline`.
|
|
46
|
+
|
|
47
|
+
## [4.2.3] — Recall answers on large memories from every agent, hook and harness
|
|
48
|
+
|
|
49
|
+
A fix release. Nothing is moved or deleted, and no setting changes.
|
|
50
|
+
|
|
51
|
+
### Fixes
|
|
52
|
+
|
|
53
|
+
- **A quick look at memory came back empty on large stores.** An agent's
|
|
54
|
+
`recall` at `depth=0` (the cheap one-line glance the tool suggests starting
|
|
55
|
+
with) was treated like the prompt hook and given its three-second limit. On a
|
|
56
|
+
store where full recall takes about 2.5 seconds (27,000 memories), it timed
|
|
57
|
+
out and returned nothing, with every search channel marked "timeout". A
|
|
58
|
+
glance is now a question like any other and waits for the full answer.
|
|
59
|
+
- **`session_init` lost its search on large stores.** The first call every
|
|
60
|
+
agent makes loaded only pinned rules: its search ran under the same short
|
|
61
|
+
limit and timed out. It now gets the full time. It is still never judged by
|
|
62
|
+
the answer check.
|
|
63
|
+
- **When the prompt hook ran out of time it injected nothing.** The keyword
|
|
64
|
+
backup only started after the full search was given up, with about 0.2
|
|
65
|
+
seconds left, so it never finished. Now, when a hook's search is still running
|
|
66
|
+
a second before its limit, the keyword backup starts beside it, and whichever
|
|
67
|
+
is ready first answers. The hook still never holds up a prompt longer than
|
|
68
|
+
before. This is the same for every harness (Claude Code, Codex, Cursor,
|
|
69
|
+
Copilot, Antigravity, Hermes).
|
|
70
|
+
- **Hermes prefetch gave up before recall answered.** Hermes waits 3 seconds
|
|
71
|
+
for the memory it adds to each turn, but asked for a full recall. It now sends
|
|
72
|
+
its time budget (`budget_s`, a new optional `recall` parameter), and recall
|
|
73
|
+
answers inside it.
|
|
74
|
+
- **`prestage_context` always said `recall_error`.** It recalled inside the
|
|
75
|
+
MCP process, which may not; it now recalls through the memory service, as
|
|
76
|
+
`session_init` does.
|
|
77
|
+
- **Smaller tool fixes found by an end-to-end run of every MCP tool:**
|
|
78
|
+
`skill_lineage` reports an empty history instead of an error on a store where
|
|
79
|
+
no skill has evolved; `correct_pattern` refuses a pattern that does not exist
|
|
80
|
+
instead of reporting success; `review_correction` no longer tells an agent to
|
|
81
|
+
retry a review the memory service refused (an unknown or settled case).
|
|
82
|
+
- **Docs:** the `slm-loop` skill and the MCP tool reference now say what
|
|
83
|
+
`slm_loop_run` needs to finish: an operator-registered check
|
|
84
|
+
(`gate_contract`). A matching memory alone never ends a loop.
|
|
85
|
+
|
|
8
86
|
## [4.2.2] — Recall never refuses answers it has after a model change, and "What am I working on?" answers from your work
|
|
9
87
|
|
|
10
88
|
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
|
-
|
|
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
|
-
**
|
|
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
|
-
**
|
|
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
|
|
@@ -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.
|
|
84
|
+
SuperLocalMemory v4.2.4 · 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.
|
|
54
|
+
SuperLocalMemory v4.2.4 · 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.
|
|
44
|
+
SuperLocalMemory v4.2.4 · 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
|
|
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
|
|
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.
|
|
174
|
+
SuperLocalMemory v4.2.4 · Qualixar · AGPL-3.0-or-later
|
package/codex-plugin/AGENTS.md
CHANGED
|
@@ -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.
|
|
190
|
+
SuperLocalMemory v4.2.4 · Qualixar · AGPL-3.0-or-later
|
package/codex-plugin/README.md
CHANGED
|
@@ -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.
|
|
5
|
+
SuperLocalMemory v4.2.4 · 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.
|
|
207
|
+
SuperLocalMemory v4.2.4 · Qualixar · https://github.com/qualixar/superlocalmemory
|
|
@@ -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.
|
|
84
|
+
SuperLocalMemory v4.2.4 · 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.
|
|
54
|
+
SuperLocalMemory v4.2.4 · 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.
|
|
44
|
+
SuperLocalMemory v4.2.4 · 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
|
|
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
|
|
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.
|
|
174
|
+
SuperLocalMemory v4.2.4 · 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.
|
|
12
|
+
version: "4.2.4"
|
|
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.
|
|
86
|
+
SuperLocalMemory v4.2.4 · 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.
|
|
14
|
+
version: "4.2.4"
|
|
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.
|
|
84
|
+
SuperLocalMemory v4.2.4 · 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.
|
|
11
|
+
version: "4.2.4"
|
|
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.
|
|
56
|
+
SuperLocalMemory v4.2.4 · 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.
|
|
12
|
+
version: "4.2.4"
|
|
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.
|
|
46
|
+
SuperLocalMemory v4.2.4 · Qualixar · AGPL-3.0-or-later
|