claude-recall 0.15.21 → 0.15.22

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.
@@ -8,7 +8,7 @@ source: claude-recall
8
8
 
9
9
  # Corrections
10
10
 
11
- Auto-generated from 33 memories. Last updated: 2026-03-04.
11
+ Auto-generated from 35 memories. Last updated: 2026-03-04.
12
12
 
13
13
  ## Rules
14
14
 
@@ -41,10 +41,12 @@ Auto-generated from 33 memories. Last updated: 2026-03-04.
41
41
  - CORRECTION: Memory with complex metadata
42
42
  - CORRECTION: Memory with complex metadata
43
43
  - CORRECTION: Memory with complex metadata
44
+ - CORRECTION: Memory with complex metadata
44
45
  - CORRECTION: Replace expired access token with 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
45
46
  - CORRECTION: use spaces not tabs for indentation
46
47
  - CORRECTION: cited (loaded 5+ times): 19
47
48
  - CORRECTION: cited (loaded 5+ times): 19
49
+ - CORRECTION: cited (loaded 5+ times): 19
48
50
 
49
51
  ---
50
52
  *Auto-generated by Claude Recall. Regenerate: `npx claude-recall skills generate`*
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "topicId": "corrections",
3
- "sourceHash": "8608da7c2c254c583b82b326c466a2b57b4b11cde8e018bea9aaad7bf64413b3",
4
- "memoryCount": 33,
5
- "generatedAt": "2026-03-04T14:46:53.276Z",
3
+ "sourceHash": "cb4b54cefe281107f028394e750bb5e824002af43d1e48db184f73014d42aacf",
4
+ "memoryCount": 35,
5
+ "generatedAt": "2026-03-04T14:52:25.167Z",
6
6
  "memoryKeys": [
7
+ "memory_1772635945155_9oqbrai8h",
7
8
  "memory_1772635613268_apcn3dq5c",
8
9
  "memory_1772634933409_we0m7iyol",
9
10
  "memory_1772634708297_fr1o1ntp1",
@@ -35,6 +36,7 @@
35
36
  "memory_1770507226809_fjwrtohkj",
36
37
  "hook_correction_1772101108419_le80cln1w",
37
38
  "hook_correction_1771112125882_99ihypf8x",
39
+ "hook_correction_1772635851763_y91ugnjgy",
38
40
  "hook_correction_1772633504532_l6yo1jvun",
39
41
  "hook_correction_1772633492812_0iqsrgnl2"
40
42
  ]
@@ -8,10 +8,15 @@ source: claude-recall
8
8
 
9
9
  # Preferences
10
10
 
11
- Auto-generated from 167 memories. Last updated: 2026-03-04.
11
+ Auto-generated from 172 memories. Last updated: 2026-03-04.
12
12
 
13
13
  ## Rules
14
14
 
15
+ - Session test preference 1772635945251
16
+ - Test preference 1772635945172-2
17
+ - Test preference 1772635945172-1
18
+ - Test preference 1772635945172-0
19
+ - Test memory content
15
20
  - Session test preference 1772635613347
16
21
  - Test preference 1772635613281-2
17
22
  - Test preference 1772635613281-1
@@ -1,9 +1,14 @@
1
1
  {
2
2
  "topicId": "preferences",
3
- "sourceHash": "fddd7c98b5279eed06bb37532a18268e41033ca2732fbf3f26446a33e06386e2",
4
- "memoryCount": 167,
5
- "generatedAt": "2026-03-04T14:46:53.360Z",
3
+ "sourceHash": "e0549f00ea7a589b68b2cd549b72e6779bb8c93f98fa7b89b8e62b35b38ddb0a",
4
+ "memoryCount": 172,
5
+ "generatedAt": "2026-03-04T14:52:25.265Z",
6
6
  "memoryKeys": [
7
+ "memory_1772635945253_t8cs9pa41",
8
+ "memory_1772635945217_7z3ikn5f2",
9
+ "memory_1772635945197_6rayagk4c",
10
+ "memory_1772635945174_3dxfznf99",
11
+ "memory_1772635945097_h3oc64frv",
7
12
  "memory_1772635613349_kdtq7nf7e",
8
13
  "memory_1772635613316_75rcykp05",
9
14
  "memory_1772635613298_30r879m6m",
@@ -100,9 +100,8 @@ function scanForCitations(transcriptPath) {
100
100
  return;
101
101
  (0, shared_1.hookLog)('memory-stop', `Found ${citations.length} citation(s) in transcript`);
102
102
  const memoryService = memory_1.MemoryService.getInstance();
103
- // Get all loaded rules directlyavoids keyword search returning wrong candidates
104
- const report = memoryService.getComplianceReport();
105
- const loadedRules = report.rules;
103
+ // Get all loaded rules across all projects citations may reference rules from any project
104
+ const loadedRules = memoryService.getAllLoadedRules();
106
105
  (0, shared_1.hookLog)('memory-stop', `Matching citations against ${loadedRules.length} loaded rules`);
107
106
  for (const cite of citations) {
108
107
  (0, shared_1.hookLog)('memory-stop', `Citation text: "${cite.substring(0, 80)}"`);
@@ -393,6 +393,13 @@ class MemoryService {
393
393
  this.storage.incrementCiteCount(memory.id);
394
394
  }
395
395
  }
396
+ /**
397
+ * Get all loaded rules across all projects (no project filter).
398
+ * Used by citation scanner which needs to match against any rule Claude may have cited.
399
+ */
400
+ getAllLoadedRules() {
401
+ return this.storage.getRulesWithCompliance();
402
+ }
396
403
  /**
397
404
  * Get compliance report showing load vs cite rates for rules.
398
405
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-recall",
3
- "version": "0.15.21",
3
+ "version": "0.15.22",
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": {