@vib795/agent-memory 0.7.4 → 0.7.5

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/README.md CHANGED
@@ -440,7 +440,7 @@ equivalent and is not: npm links the global install to that folder rather than c
440
440
  it, which shows up as an arrow in `npm list -g`:
441
441
 
442
442
  ```
443
- `-- @vib795/agent-memory@0.7.4 -> .\..\..\..\agent-memory
443
+ `-- @vib795/agent-memory@0.7.5 -> .\..\..\..\agent-memory
444
444
  ```
445
445
 
446
446
  Move or delete the clone afterwards and the global install points at nothing — the same
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vib795/agent-memory",
3
- "version": "0.7.4",
3
+ "version": "0.7.5",
4
4
  "description": "Durable cross-repo knowledge graph for GitHub Copilot and Claude Code. Markdown source of truth, disposable SQLite index, zero runtime dependencies.",
5
5
  "keywords": [
6
6
  "github-copilot",
@@ -26,6 +26,22 @@ Every extra request costs the user credits, which is the reason this skill exist
26
26
 
27
27
  ---
28
28
 
29
+ ## Scope
30
+
31
+ Bare `/handoff`: you decide what the working state is.
32
+
33
+ `/handoff <focus>` — "just the auth work", "the migration, skip the CI detour" — names
34
+ which thread of a braided conversation to carry forward. Treat it as a filter on Step 2
35
+ and Step 3, not as a title. Work outside that focus stays out of Orientation, Decisions
36
+ and Current task state even when it was the more recent work: a long conversation
37
+ usually holds more than one thread, and carrying both is how a handoff becomes the
38
+ transcript summary this skill exists to avoid.
39
+
40
+ If the focus names a thread you cannot find in the conversation, say so in one line and
41
+ hand off what you did find. Do not invent a thread to match the words.
42
+
43
+ ---
44
+
29
45
  ## Step 0 — Resolve the store path
30
46
 
31
47
  | Platform | Store |
@@ -59,6 +59,10 @@ are the router. There is no keyword matching underneath this and there should no
59
59
  be: a title is a sentence, and matching sentences to a question is what you do well
60
60
  and what a regex does badly.
61
61
 
62
+ When the user typed `/recall <topic>`, `<topic>` is the question. Route on it, and carry
63
+ it into Step 5 — a cold `/recall deploy ordering` is someone asking what the store knows
64
+ about deploy ordering, not asking for a tour of the store.
65
+
62
66
  - Pick 1 to 3 ids. More than 3 means the question is really several questions.
63
67
  - Always include a `constraint` that touches the subject, even when the user did not
64
68
  ask about limits. Constraints are what stop an approach that cannot ship.
@@ -115,7 +119,10 @@ Rules that separate a useful recall from a confident wrong one:
115
119
  right now, trust the repository, say which note is wrong, and suggest
116
120
  `/remember` to correct it. A store that quietly rots is worse than no store.
117
121
  4. **Never present an `inferred` note as established.** The note says which it is.
118
- 5. Answer the question. Do not summarize the store.
122
+ 5. **Answer the question.** An explicit `/recall <topic>` is the target whenever one
123
+ was given, and it wins over a different question already in the conversation —
124
+ the user narrowed it on purpose. Fall back to the conversation's own question only
125
+ for a bare `/recall`. Either way, do not summarize the store.
119
126
 
120
127
  ---
121
128
 
@@ -107,6 +107,13 @@ Skip this step only when the user named exactly what to write and it is plainly
107
107
 
108
108
  ## Step 1 — Select what is durable
109
109
 
110
+ When the user typed `/remember <what>`, `<what>` is both a filter and a mandate: select
111
+ only what bears on it, and select that even if you would otherwise have ranked something
112
+ else higher. It does not suspend the durability test below. If the named thing is task
113
+ state, write nothing and say so in one line — `that reads as task state, not durable;
114
+ nothing written`. Writing nothing *silently* after an explicit request is the failure
115
+ that matters here, because the user leaves believing it was captured.
116
+
110
117
  <!-- extraction-rules:start -->
111
118
  - A node is durable only if it will still be true next month. Task state is not
112
119
  durable and belongs in a handoff file, not in the graph.