@ubundi/openclaw-cortex 2.10.2 → 2.10.3
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.
|
@@ -46,7 +46,7 @@ You have long-term memory powered by the Cortex plugin. Memories persist permane
|
|
|
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\`. **
|
|
49
|
+
- **\`cortex_save_memory\`** — Save important facts, decisions, preferences. Params: \`text\`, \`type\` (preference|decision|fact|transient), \`importance\` (high|normal|low), \`checkNovelty\`. **TRIGGER: After every response where you provide or discuss specific implementation details, call this tool before ending your turn.** Auto-capture stores summaries like "User is setting up Redis caching" — it will NOT preserve the key pattern, strategy, or rationale. If your response contains a detail someone could ask about later and need the exact answer, save it NOW. Format as self-contained facts: \`"Redis cache key: arclight:user:{userId}, cache-aside with invalidation helper. Chosen 2026-01-15."\` NOT \`"User discussed Redis caching."\`
|
|
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.` : ""}
|
package/openclaw.plugin.json
CHANGED
|
@@ -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.
|
|
5
|
+
"version": "2.10.3",
|
|
6
6
|
"configSchema": {
|
|
7
7
|
"type": "object",
|
|
8
8
|
"properties": {
|
package/package.json
CHANGED
package/skill/SKILL.md
CHANGED
|
@@ -23,7 +23,21 @@ 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.**
|
|
26
|
+
**6. SAVE IMPLEMENTATION DETAILS EXPLICITLY.** After every response where you provide or discuss specific implementation details, you MUST call `cortex_save_memory` before ending your turn. Auto-capture extracts topic-level summaries ("User is setting up Redis caching"), not specifics — it will NOT preserve the details.
|
|
27
|
+
|
|
28
|
+
**The trigger:** If your response contains a concrete technical detail that someone could ask about later and need the exact answer, save it NOW — not later, not "auto-capture will handle it." Call `cortex_save_memory` as the last action in your turn.
|
|
29
|
+
|
|
30
|
+
**What requires an explicit save:**
|
|
31
|
+
- Key patterns, schemas, or formats (e.g. `arclight:user:{userId}`, cache-aside strategy)
|
|
32
|
+
- Exact metrics and performance numbers (before/after)
|
|
33
|
+
- SQL statements, CLI commands, config values
|
|
34
|
+
- Library/package choices with version-specific rationale (e.g. "chose SendGrid over Resend because SOC 2 Type 2")
|
|
35
|
+
- Architecture/migration decisions with specific reasoning
|
|
36
|
+
- Bug root causes with the full debugging chain
|
|
37
|
+
|
|
38
|
+
**Format saves for recall:** Structure each save as a self-contained fact with context. Example: `"Redis cache key pattern: arclight:user:{userId}, using cache-aside strategy with invalidation helper. Chosen 2026-01-15."` NOT `"User discussed Redis caching."`
|
|
39
|
+
|
|
40
|
+
**What auto-capture handles fine (no explicit save needed):** general topic mentions, conversational context, status updates. One well-structured save with full context beats three fragments.
|
|
27
41
|
|
|
28
42
|
## Session Goals
|
|
29
43
|
|