midas-memory-mcp 0.0.3 → 0.0.4
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/dist/policy.js +5 -3
- package/package.json +1 -1
package/dist/policy.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export const AGENT_MEMORY_INSTRUCTIONS = "Use Midas memory on every task. It is local, source-traceable, and uses no LLM at ingest/query.\n\n" +
|
|
2
2
|
"1) RECALL FIRST. Call `build_context` with the user's goal; use the returned facts silently. Use " +
|
|
3
3
|
"`recall`/`inspect_memory` only when you need audit details.\n\n" +
|
|
4
|
-
"2) CAPTURE DURABLE SIGNAL. Call `capture` for reusable facts, decisions, preferences,
|
|
5
|
-
"corrections, and completed actions.
|
|
6
|
-
"
|
|
4
|
+
"2) CAPTURE DURABLE SIGNAL — DISTILLED. Call `capture` for reusable facts, decisions, preferences, " +
|
|
5
|
+
"constraints, corrections, and completed actions. Prefer ONE compact, self-contained statement " +
|
|
6
|
+
"(the entities, the value, and when) over raw turns — a memory that answers on its own retrieves " +
|
|
7
|
+
"far better than a conversational fragment. Skip pure small talk. Midas scores, dedups, and rejects " +
|
|
8
|
+
"trivia, so capture can be brief and needs no LLM. Set kind/provenance accurately; use " +
|
|
7
9
|
'provenance="user_confirmation" only for explicit user confirmation.\n\n' +
|
|
8
10
|
"3) GUARD ACTIONS. Memory may guide planning, but before external/destructive actions based on memory, " +
|
|
9
11
|
"call `check_memory_use`. If it is not allowed, ask the user to confirm in this turn.\n\n" +
|
package/package.json
CHANGED