@ubundi/openclaw-cortex 2.10.0 → 2.10.1

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.
@@ -41,12 +41,12 @@ You have long-term memory powered by the Cortex plugin. Memories persist permane
41
41
  ### What Happens Automatically
42
42
 
43
43
  - **Auto-Recall:** Relevant memories are injected in \`<cortex_memories>\` tags before each turn. These are context clues — search for specifics when you need detail.
44
- - **Auto-Capture:** Facts are extracted from conversations after each turn. Volatile state (versions, ports) is stripped.
44
+ - **Auto-Capture:** Topic-level facts are extracted from conversations after each turn. Volatile state (versions, ports) is stripped. **Auto-capture produces summaries, not specifics** — implementation details (key patterns, exact metrics, config values) require explicit saves.
45
45
 
46
46
  ### Tools — Use These
47
47
 
48
48
  - **\`cortex_search_memory\`** — Search long-term memory. Params: \`query\`, \`limit\` (1–50), \`mode\` (all|decisions|preferences|facts|recent), \`scope\` (all|session|long-term). **Before saying "I don't know", search first.**
49
- - **\`cortex_save_memory\`** — Save important facts, decisions, preferences. Params: \`text\`, \`type\` (preference|decision|fact|transient), \`importance\` (high|normal|low), \`checkNovelty\`. Don't rely solely on auto-capture for critical information.
49
+ - **\`cortex_save_memory\`** — Save important facts, decisions, preferences. Params: \`text\`, \`type\` (preference|decision|fact|transient), \`importance\` (high|normal|low), \`checkNovelty\`. **Auto-capture stores topic summaries, not specifics.** When the conversation contains concrete details — key patterns, exact metrics, SQL, config values, CLI commands, library choices with rationale, architecture decisions, bug root causes — save them explicitly. If someone could ask about it later and need the exact answer, save it now.
50
50
  - **\`cortex_get_memory\`** — Fetch a specific memory by \`nodeId\` (from search results).
51
51
  - **\`cortex_forget\`** — Remove memories by \`entity\` or \`session\`. Always search and confirm with the user first.
52
52
  - **\`cortex_set_session_goal\`** — Set the session objective (\`goal\`) to bias recall and tag captures. Call at session start.${opts?.agentRole ? `\n\nAgent role: ${opts.agentRole} — memory capture and recall are tuned for this focus area.` : ""}
@@ -2,7 +2,7 @@
2
2
  "id": "openclaw-cortex",
3
3
  "name": "Cortex Memory",
4
4
  "description": "Long-term memory powered by Cortex — Auto-Recall, Auto-Capture, agent memory tools, and deduplication",
5
- "version": "2.10.0",
5
+ "version": "2.10.1",
6
6
  "configSchema": {
7
7
  "type": "object",
8
8
  "properties": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ubundi/openclaw-cortex",
3
- "version": "2.10.0",
3
+ "version": "2.10.1",
4
4
  "description": "OpenClaw plugin for Cortex memory — Auto-Recall, Auto-Capture, and agent memory tools",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/skill/SKILL.md CHANGED
@@ -23,6 +23,8 @@ These are non-negotiable. Violating them produces incorrect answers.
23
23
 
24
24
  **5. CONFIDENCE CALIBRATION.** If auto-recall gives you partial context on a topic, the full answer IS in memory. Search harder — don't hedge.
25
25
 
26
+ **6. SAVE IMPLEMENTATION DETAILS EXPLICITLY.** Auto-capture extracts topic-level summaries, not specifics. When the conversation contains concrete implementation details — key patterns, exact metrics, SQL statements, config values, CLI commands, library choices with rationale, migration decisions, bug root causes with debugging chains, performance numbers (before/after) — you MUST save them explicitly using `cortex_save_memory`. If a detail is specific enough that someone could ask about it later and need the exact answer, save it proactively. One well-structured save with full context beats three fragments. Don't save every sentence — general topic mentions and status updates are fine for auto-capture.
27
+
26
28
  ## Session Goals
27
29
 
28
30
  At session start, call `cortex_set_session_goal` with the user's primary objective. This biases recall and tags captures. Update if the goal shifts fundamentally; don't update for sub-tasks.
@@ -43,7 +45,22 @@ If your config includes `agentRole` (developer | researcher | manager | support
43
45
 
44
46
  ## Save & Capture
45
47
 
46
- Auto-capture handles most conversation facts. Volatile state (versions, ports, deploy statuses) is stripped automatically. Save explicitly for: decisions, preferences, nuanced interpretations the user stated, or when the user asks. Always set `type` and `importance`. Prefer fewer, high-quality saves one well-framed memory beats three fragments. Never save your own inferences as facts.
48
+ Auto-capture handles general conversation facts at the topic level. Volatile state (versions, ports, deploy statuses) is stripped automatically. **Auto-capture does NOT preserve specific implementation details** it produces summaries like "User is setting up Redis caching" instead of the actual key pattern and strategy.
49
+
50
+ **Save explicitly when you encounter:**
51
+ - Specific patterns, schemas, or key formats (e.g. `arclight:user:{userId}`)
52
+ - Exact metrics and performance numbers (before/after)
53
+ - SQL statements, CLI commands, config values
54
+ - Architecture/migration decisions with specific rationale (e.g. "chose SendGrid over Resend because SOC 2 Type 2")
55
+ - Bug root causes with the full debugging chain
56
+ - Library/package choices with version-specific context
57
+
58
+ **Auto-capture handles fine (no explicit save needed):**
59
+ - General topic mentions ("we're working on caching")
60
+ - Conversational context ("user asked about performance")
61
+ - Status updates ("deployment went well")
62
+
63
+ Always set `type` and `importance`. Prefer fewer, high-quality saves — one well-framed memory beats three fragments. Never save your own inferences as facts.
47
64
 
48
65
  ## What NOT to Do
49
66