claude-recall 0.11.3 → 0.11.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.
@@ -26,9 +26,10 @@ Persistent memory system that ensures Claude never repeats mistakes and always a
26
26
 
27
27
  1. **ALWAYS load rules before acting** - Call `load_rules` before Write, Edit, or significant Bash operations
28
28
  2. **Apply what you find** - Use retrieved preferences, patterns, and corrections
29
- 3. **Capture corrections immediately** - User fixes are highest priority
30
- 4. **Store learning cycles** - When you fail then succeed, that's valuable knowledge
31
- 5. **Never store secrets** - No API keys, passwords, tokens, or PII
29
+ 3. **Ask before storing** - Before calling `store_memory`, briefly tell the user what you plan to store and ask for confirmation. Example: *"I'd like to remember that you prefer tabs over spaces. Store this?"* Only call the tool after the user agrees.
30
+ 4. **Capture corrections immediately** - User fixes are highest priority (still ask first)
31
+ 5. **Store learning cycles** - When you fail then succeed, that's valuable knowledge
32
+ 6. **Never store secrets** - No API keys, passwords, tokens, or PII
32
33
 
33
34
  ## Quick Reference
34
35
 
@@ -141,13 +142,17 @@ Safe to store:
141
142
 
142
143
  3. Fix the code
143
144
 
144
- 4. Store the correction:
145
+ 4. Ask: "I'd like to remember: always use httpOnly cookies for auth tokens, never localStorage. Store this?"
146
+
147
+ 5. User: "Yes"
148
+
149
+ 6. Store the correction:
145
150
  mcp__claude-recall__store_memory({
146
151
  "content": "CORRECTION: Always use httpOnly cookies for auth tokens, never localStorage",
147
152
  "metadata": { "type": "correction" }
148
153
  })
149
154
 
150
- 5. Response includes activeRule - apply it immediately
155
+ 7. Response includes activeRule - apply it immediately
151
156
  ```
152
157
 
153
158
  ### Overcoming a Challenge
@@ -160,7 +165,11 @@ Safe to store:
160
165
 
161
166
  3. Implemented JWT -> Works!
162
167
 
163
- 4. Store the learning:
168
+ 4. Ask: "I'd like to remember: Redis sessions fail in k8s due to sync issues; use stateless JWT instead. Store this?"
169
+
170
+ 5. User: "Yes"
171
+
172
+ 6. Store the learning:
164
173
  mcp__claude-recall__store_memory({
165
174
  "content": "Auth in k8s: Redis sessions failed (sync issues). JWT stateless tokens work correctly.",
166
175
  "metadata": { "type": "failure", "learning_cycle": true }
package/README.md CHANGED
@@ -17,6 +17,7 @@ Your preferences, project structure, workflows, corrections, and coding style ar
17
17
 
18
18
  - **Continuous Learning** — captures coding patterns, tool preferences, corrections, architectural decisions, and workflow habits in local SQLite
19
19
  - **Native Claude Skills** — no hooks required; Claude decides when to search/store based on built-in skill guidance
20
+ - **User-Confirmed Storage** — Claude asks for your permission before storing any memory
20
21
  - **Project-Scoped Knowledge** — each project gets its own memory namespace; switch projects and Claude switches memory
21
22
  - **Failure Learning** — captures failures with counterfactual reasoning (what failed, why, what to do instead)
22
23
  - **Memory Evolution** — tracks agent progression over time across sophistication levels (L1–L4)
@@ -99,6 +100,7 @@ Exposes two tools to Claude Code:
99
100
  Installed automatically to `.claude/skills/memory-management/SKILL.md`. Teaches Claude:
100
101
  - Load rules before writing/editing code
101
102
  - Apply learned conventions and avoid past mistakes
103
+ - **Ask the user for confirmation before storing any memory**
102
104
  - Capture corrections when users fix mistakes
103
105
  - Store learning cycles (fail → fix → success)
104
106
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-recall",
3
- "version": "0.11.3",
3
+ "version": "0.11.4",
4
4
  "description": "Persistent memory for Claude Code with native Skills integration, automatic capture, failure learning, and project scoping via MCP server",
5
5
  "main": "dist/index.js",
6
6
  "bin": {