memoryrouter-claude 2.5.0 → 2.6.0

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.6.0 (2026-08-17)
4
+
5
+ ### Changed
6
+
7
+ - Tier-guide teaching text on every model-facing surface: the injected recall hint, the `date-search` CLI help, and the in-code guidance now teach that tier 3 holds the highest-level consolidated reflections (identity, principles, what matters most), tier 2 holds reflections of specific meaningful events, and tier 1 holds raw verbatim memories. Broad "most important things" questions use `--tiers 3 --importance 8`; specific events use `--tiers 2`; exact details use tier 1 or blended.
8
+
3
9
  ## 2.5.0 (2026-08-17)
4
10
 
5
11
  ### Added
package/bin/cli.js CHANGED
@@ -52,15 +52,26 @@ Usage:
52
52
  npx memoryrouter-claude date-search --from <ISO> [--to <ISO>] [--query <text>] [--tiers 1,2,3] [--importance N] [--max-tokens N] [--json]
53
53
  Retrieve memories from a specific time window. Use for questions like
54
54
  'what happened last week' or 'most important things this month or lately'.
55
- For importance questions set --importance 7 or higher with --tiers 2,3,
56
- since only reflections carry importance ratings. Omit --query for a
57
- chronological review; include --query to rank by relevance within the
58
- window. Resolve relative phrases like 'lately' to concrete ISO dates
59
- before calling.
55
+ Tier guide: tier 3 holds the highest-level consolidated reflections
56
+ (identity, principles, what matters most), tier 2 holds reflections of
57
+ specific meaningful events, tier 1 holds raw verbatim memories. Match
58
+ filters to the question. Broad 'most important things last month'
59
+ questions: --tiers 3 --importance 8 with a generous --max-tokens.
60
+ Big-picture overviews of a period: --tiers 3 with no importance filter.
61
+ Specific lookups like 'find the decision about X': omit --tiers and
62
+ --importance; a high importance filter hides the specific detail you
63
+ are looking for. Specific events without raw noise: --tiers 2 or
64
+ --tiers 2,3. Exact verbatim detail: --tiers 1. Mixing tiers is fine;
65
+ adjust the importance threshold to the question rather than always
66
+ setting it high. Only reflections (tiers 2 and 3) carry
67
+ importance ratings. Omit --query for a chronological review; include
68
+ --query to rank by relevance within the window. Resolve relative phrases
69
+ like 'lately' to concrete ISO dates before calling.
60
70
  --from Window start, ISO 8601 date or datetime (required)
61
71
  --to Window end, ISO 8601 date or datetime (default: now)
62
72
  --query Optional relevance query (omit for chronological browse)
63
- --tiers Comma-separated subset of 1,2,3 (only tiers 2 and 3 carry ratings)
73
+ --tiers Comma-separated subset of 1,2,3 (3 highest-level reflections,
74
+ 2 specific-event reflections, 1 raw; only 2 and 3 carry ratings)
64
75
  --importance Minimum importance threshold, 1 to 10. Only reflections
65
76
  (tiers 2 and 3) carry ratings, so raw memories are excluded
66
77
  whenever this is set.
@@ -273,11 +284,16 @@ async function cmdStatus() {
273
284
 
274
285
  async function cmdDateSearch(args) {
275
286
  // Time-window retrieval. Use for questions like 'what happened last week'
276
- // or 'most important things this month or lately'. For importance questions
277
- // set --importance 7 or higher with --tiers 2,3, since only reflections
278
- // carry importance ratings. Omit --query for a chronological review;
279
- // include --query to rank by relevance within the window. Resolve relative
280
- // phrases like 'lately' to concrete ISO dates before calling.
287
+ // or 'most important things this month or lately'. Tier guide: tier 3 holds
288
+ // the highest-level consolidated reflections (identity, principles, what
289
+ // matters most), tier 2 holds reflections of specific meaningful events,
290
+ // tier 1 holds raw verbatim memories. Broad 'most important' questions:
291
+ // --tiers 3 --importance 8. Big-picture overviews: --tiers 3 alone.
292
+ // Specific lookups: omit --tiers and --importance (high importance filters
293
+ // hide specific detail). Specific events: --tiers 2 or 2,3. Omit --query for a
294
+ // chronological review; include --query to rank by relevance within the
295
+ // window. Resolve relative phrases like 'lately' to concrete ISO dates
296
+ // before calling.
281
297
  const key = getApiKey();
282
298
  if (!key) throw new Error('No Memory Key configured. Run: npx memoryrouter-claude init');
283
299
  if (!args.from) throw new Error('--from <ISO date or datetime> is required (e.g. --from 2026-08-10)');
@@ -97,7 +97,7 @@ function mergeContexts(results, identity, maxChars) {
97
97
  : `MemoryRouter recall (project scope ${identity.id})`;
98
98
  // One-line teaching hint: time-window and importance questions have a
99
99
  // dedicated retrieval path the model cannot reach through /prepare.
100
- const hint = "For time-window questions like 'what happened last week' or 'most important things lately', run: npx memoryrouter-claude date-search --from <ISO> (add --tiers 2,3 --importance 7 for importance questions; only reflections carry ratings). Resolve relative phrases to concrete ISO dates first.";
100
+ const hint = "For time-window questions like 'what happened last week' or 'most important things lately', run: npx memoryrouter-claude date-search --from <ISO>. Tier guide: tier 3 holds the highest-level consolidated reflections (identity, principles, what matters most), tier 2 holds reflections of specific meaningful events, tier 1 holds raw verbatim memories. Match filters to the question: broad 'most important' questions use --tiers 3 --importance 8; big-picture overviews use --tiers 3 with no importance filter; specific lookups omit --tiers and --importance (a high importance filter hides the specific detail); specific events without raw noise use --tiers 2 or --tiers 2,3. Mixing tiers is fine; only reflections carry ratings. Resolve relative phrases to concrete ISO dates first.";
101
101
  return compactText(`${header}\n${hint}\n${sections.join('\n\n')}`, maxChars);
102
102
  }
103
103
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "memoryrouter-claude",
3
- "version": "2.5.0",
3
+ "version": "2.6.0",
4
4
  "description": "Deterministic, project-scoped persistent memory for Claude Code: automatic hook retrieval/capture plus an optional OAuth MCP control surface.",
5
5
  "license": "MIT",
6
6
  "author": "John Rood <john@memoryrouter.ai>",