@mnemonik/shared 7.164.4 → 7.165.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.
@@ -4,8 +4,14 @@
4
4
  * This is the SINGLE SOURCE OF TRUTH for MCP instructions.
5
5
  * Shared instruction content imported by the server.
6
6
  *
7
- * Version: 2.113
8
- * Updated: 2026-10-14
7
+ * Version: 2.114
8
+ * Updated: 2026-10-30
9
+ *
10
+ * v2.114 - Owner-approved rewording, checked with fresh Sonnet readers: the
11
+ * Companion sentence keeps "you" as the agent (it had switched to
12
+ * the user); the recall-page, discover, tasks and policy sentences
13
+ * read without guesswork; policy no longer says "preferences",
14
+ * which readers took to mean the user's own preferences.
9
15
  *
10
16
  * v2.113 - Added the Studio boundary sentence (owner-approved wording): what the
11
17
  * agent learns about the person belongs in Companion, what it learns
@@ -167,7 +173,7 @@ export declare function getMcpInstructions(): string;
167
173
  * Raw instructions content (always returns the content, ignores env var).
168
174
  * Use getMcpInstructions() for production code.
169
175
  */
170
- export declare const MCP_INSTRUCTIONS_RAW = "Mnemonik is your lasting memory of this project: what you decided and why, what you found, tasks and policies. If no block begins \"PROJECT_CONTEXT schemaVersion=\", session_bootstrap({}) loads project context; installed hooks supply the project. With that block, context is loaded and no session_bootstrap call is needed. Code and docs show current artifacts, git shows changes, and you remember why; memory_search recalls rationale or intent, then Grep or Read verifies current source.\n\nWhat I learn about you belongs in Companion; what I learn about this project belongs here.\n\nmemory_discover supplies exact schemas and examples for unfamiliar methods; memory_tools runs their async JavaScript.\n\nRecall pages put the memories you recall in full in hydrated, pointers to more in index, how many match in extent, and the next page in cursor. Pick the ids you need before recalling whole memories; to see what else exists, ask a sharper question or follow the cursor instead of paging through whole memories.\n\nProject work items live in tasks. A pending list requires action:\"list\" and status:\"pending\". A complete listing combines hydrated and index and follows cursor until null.\n\nWhich tool for what:\n- memory_get: recalls exact memories whole by id.\n- memory_add: memorizes an experience: a decision and why, what the user said, what you found.\n- memory_state: corrects wrong, outdated, or conflicting memory.\n- memory_info: explains confidence or origin when memory looks suspect.\n- memory_links: connects related decisions so you recall them together.\n- assist: measures coverage when a recall comes back thin or empty.\n- search_summaries: finds past work by topic or date across sessions.\n- policy: stores durable enforced rules or preferences, not memories.\n- tasks: creates follow-up work and closes completed work.\n- code_search: finds conceptual code when source wording differs.\n- memory_search: finds rationale, intent, decisions, and prior work.\n- memory_ingest: brings the project's docs and code comments into memory when asked.";
176
+ export declare const MCP_INSTRUCTIONS_RAW = "Mnemonik is your lasting memory of this project: what you decided and why, what you found, tasks and policies. If no block begins \"PROJECT_CONTEXT schemaVersion=\", session_bootstrap({}) loads project context; installed hooks supply the project. With that block, context is loaded and no session_bootstrap call is needed. Code and docs show current artifacts, git shows changes, and you remember why; memory_search recalls rationale or intent, then Grep or Read verifies current source.\n\nWhat you learn about the user goes in Companion, your memory of the person; what you learn about this project goes here.\n\nmemory_discover supplies exact schemas and examples for unfamiliar methods; memory_tools runs async JavaScript that calls them.\n\nIn a recall page, hydrated holds the memories you recall in full, index pointers to more, extent how many match, and cursor the next page. Choose ids from index before you recall memories whole; to find more, ask a sharper question or follow the cursor.\n\nProject work items live in tasks. A pending tasks list needs action:\"list\" and status:\"pending\". A complete listing combines hydrated and index and follows cursor until null.\n\nWhich tool for what:\n- memory_get: recalls exact memories whole by id.\n- memory_add: memorizes an experience: a decision and why, what the user said, what you found.\n- memory_state: corrects wrong, outdated, or conflicting memory.\n- memory_info: explains confidence or origin when memory looks suspect.\n- memory_links: connects related decisions so you recall them together.\n- assist: measures coverage when a recall comes back thin or empty.\n- search_summaries: finds past work by topic or date across sessions.\n- policy: stores enforced rules for this project, not memories.\n- tasks: creates follow-up work and closes completed work.\n- code_search: finds conceptual code when source wording differs.\n- memory_search: finds rationale, intent, decisions, and prior work.\n- memory_ingest: brings the project's docs and code comments into memory when asked.";
171
177
  /**
172
178
  * Default export for convenience.
173
179
  * Note: This respects the MNEMONIK_INSTRUCTIONS_ENABLED env var.
@@ -1 +1 @@
1
- {"version":3,"file":"instructions.d.ts","sourceRoot":"","sources":["../src/instructions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0JG;AA4BH;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,IAAI,MAAM,CAa3C;AAED;;;GAGG;AACH,eAAO,MAAM,oBAAoB,4hEAAuB,CAAC;AAEzD;;;GAGG;AACH,eAAO,MAAM,gBAAgB,QAAuB,CAAC"}
1
+ {"version":3,"file":"instructions.d.ts","sourceRoot":"","sources":["../src/instructions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgKG;AA4BH;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,IAAI,MAAM,CAa3C;AAED;;;GAGG;AACH,eAAO,MAAM,oBAAoB,ygEAAuB,CAAC;AAEzD;;;GAGG;AACH,eAAO,MAAM,gBAAgB,QAAuB,CAAC"}
@@ -4,8 +4,14 @@
4
4
  * This is the SINGLE SOURCE OF TRUTH for MCP instructions.
5
5
  * Shared instruction content imported by the server.
6
6
  *
7
- * Version: 2.113
8
- * Updated: 2026-10-14
7
+ * Version: 2.114
8
+ * Updated: 2026-10-30
9
+ *
10
+ * v2.114 - Owner-approved rewording, checked with fresh Sonnet readers: the
11
+ * Companion sentence keeps "you" as the agent (it had switched to
12
+ * the user); the recall-page, discover, tasks and policy sentences
13
+ * read without guesswork; policy no longer says "preferences",
14
+ * which readers took to mean the user's own preferences.
9
15
  *
10
16
  * v2.113 - Added the Studio boundary sentence (owner-approved wording): what the
11
17
  * agent learns about the person belongs in Companion, what it learns
@@ -157,13 +163,13 @@
157
163
  // self-scoping when project context was already loaded through another channel.
158
164
  const INSTRUCTIONS_CONTENT = `Mnemonik is your lasting memory of this project: what you decided and why, what you found, tasks and policies. If no block begins "PROJECT_CONTEXT schemaVersion=", session_bootstrap({}) loads project context; installed hooks supply the project. With that block, context is loaded and no session_bootstrap call is needed. Code and docs show current artifacts, git shows changes, and you remember why; memory_search recalls rationale or intent, then Grep or Read verifies current source.
159
165
 
160
- What I learn about you belongs in Companion; what I learn about this project belongs here.
166
+ What you learn about the user goes in Companion, your memory of the person; what you learn about this project goes here.
161
167
 
162
- memory_discover supplies exact schemas and examples for unfamiliar methods; memory_tools runs their async JavaScript.
168
+ memory_discover supplies exact schemas and examples for unfamiliar methods; memory_tools runs async JavaScript that calls them.
163
169
 
164
- Recall pages put the memories you recall in full in hydrated, pointers to more in index, how many match in extent, and the next page in cursor. Pick the ids you need before recalling whole memories; to see what else exists, ask a sharper question or follow the cursor instead of paging through whole memories.
170
+ In a recall page, hydrated holds the memories you recall in full, index pointers to more, extent how many match, and cursor the next page. Choose ids from index before you recall memories whole; to find more, ask a sharper question or follow the cursor.
165
171
 
166
- Project work items live in tasks. A pending list requires action:"list" and status:"pending". A complete listing combines hydrated and index and follows cursor until null.
172
+ Project work items live in tasks. A pending tasks list needs action:"list" and status:"pending". A complete listing combines hydrated and index and follows cursor until null.
167
173
 
168
174
  Which tool for what:
169
175
  - memory_get: recalls exact memories whole by id.
@@ -173,7 +179,7 @@ Which tool for what:
173
179
  - memory_links: connects related decisions so you recall them together.
174
180
  - assist: measures coverage when a recall comes back thin or empty.
175
181
  - search_summaries: finds past work by topic or date across sessions.
176
- - policy: stores durable enforced rules or preferences, not memories.
182
+ - policy: stores enforced rules for this project, not memories.
177
183
  - tasks: creates follow-up work and closes completed work.
178
184
  - code_search: finds conceptual code when source wording differs.
179
185
  - memory_search: finds rationale, intent, decisions, and prior work.
@@ -1 +1 @@
1
- {"version":3,"file":"instructions.js","sourceRoot":"","sources":["../src/instructions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0JG;AAEH,mFAAmF;AACnF,gFAAgF;AAChF,MAAM,oBAAoB,GAAG;;;;;;;;;;;;;;;;;;;;;;qFAsBwD,CAAC;AAEtF;;;;;;;;GAQG;AACH,MAAM,UAAU,kBAAkB;IAChC,0EAA0E;IAC1E,2EAA2E;IAC3E,+DAA+D;IAC/D,MAAM,OAAO,GAAI,UAAyE;SACvF,OAAO,CAAC;IACX,IAAI,CAAC,OAAO,EAAE,GAAG,EAAE,CAAC;QAClB,OAAO,oBAAoB,CAAC;IAC9B,CAAC;IACD,IAAI,OAAO,CAAC,GAAG,CAAC,6BAA6B,KAAK,OAAO,EAAE,CAAC;QAC1D,OAAO,EAAE,CAAC;IACZ,CAAC;IACD,OAAO,oBAAoB,CAAC;AAC9B,CAAC;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,oBAAoB,CAAC;AAEzD;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,kBAAkB,EAAE,CAAC"}
1
+ {"version":3,"file":"instructions.js","sourceRoot":"","sources":["../src/instructions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgKG;AAEH,mFAAmF;AACnF,gFAAgF;AAChF,MAAM,oBAAoB,GAAG;;;;;;;;;;;;;;;;;;;;;;qFAsBwD,CAAC;AAEtF;;;;;;;;GAQG;AACH,MAAM,UAAU,kBAAkB;IAChC,0EAA0E;IAC1E,2EAA2E;IAC3E,+DAA+D;IAC/D,MAAM,OAAO,GAAI,UAAyE;SACvF,OAAO,CAAC;IACX,IAAI,CAAC,OAAO,EAAE,GAAG,EAAE,CAAC;QAClB,OAAO,oBAAoB,CAAC;IAC9B,CAAC;IACD,IAAI,OAAO,CAAC,GAAG,CAAC,6BAA6B,KAAK,OAAO,EAAE,CAAC;QAC1D,OAAO,EAAE,CAAC;IACZ,CAAC;IACD,OAAO,oBAAoB,CAAC;AAC9B,CAAC;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,oBAAoB,CAAC;AAEzD;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,kBAAkB,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mnemonik/shared",
3
- "version": "7.164.4",
3
+ "version": "7.165.1",
4
4
  "description": "Shared constants and utilities for Mnemonik packages",
5
5
  "repository": {
6
6
  "type": "git",
@@ -4,8 +4,14 @@
4
4
  * This is the SINGLE SOURCE OF TRUTH for MCP instructions.
5
5
  * Shared instruction content imported by the server.
6
6
  *
7
- * Version: 2.113
8
- * Updated: 2026-10-14
7
+ * Version: 2.114
8
+ * Updated: 2026-10-30
9
+ *
10
+ * v2.114 - Owner-approved rewording, checked with fresh Sonnet readers: the
11
+ * Companion sentence keeps "you" as the agent (it had switched to
12
+ * the user); the recall-page, discover, tasks and policy sentences
13
+ * read without guesswork; policy no longer says "preferences",
14
+ * which readers took to mean the user's own preferences.
9
15
  *
10
16
  * v2.113 - Added the Studio boundary sentence (owner-approved wording): what the
11
17
  * agent learns about the person belongs in Companion, what it learns
@@ -158,13 +164,13 @@
158
164
  // self-scoping when project context was already loaded through another channel.
159
165
  const INSTRUCTIONS_CONTENT = `Mnemonik is your lasting memory of this project: what you decided and why, what you found, tasks and policies. If no block begins "PROJECT_CONTEXT schemaVersion=", session_bootstrap({}) loads project context; installed hooks supply the project. With that block, context is loaded and no session_bootstrap call is needed. Code and docs show current artifacts, git shows changes, and you remember why; memory_search recalls rationale or intent, then Grep or Read verifies current source.
160
166
 
161
- What I learn about you belongs in Companion; what I learn about this project belongs here.
167
+ What you learn about the user goes in Companion, your memory of the person; what you learn about this project goes here.
162
168
 
163
- memory_discover supplies exact schemas and examples for unfamiliar methods; memory_tools runs their async JavaScript.
169
+ memory_discover supplies exact schemas and examples for unfamiliar methods; memory_tools runs async JavaScript that calls them.
164
170
 
165
- Recall pages put the memories you recall in full in hydrated, pointers to more in index, how many match in extent, and the next page in cursor. Pick the ids you need before recalling whole memories; to see what else exists, ask a sharper question or follow the cursor instead of paging through whole memories.
171
+ In a recall page, hydrated holds the memories you recall in full, index pointers to more, extent how many match, and cursor the next page. Choose ids from index before you recall memories whole; to find more, ask a sharper question or follow the cursor.
166
172
 
167
- Project work items live in tasks. A pending list requires action:"list" and status:"pending". A complete listing combines hydrated and index and follows cursor until null.
173
+ Project work items live in tasks. A pending tasks list needs action:"list" and status:"pending". A complete listing combines hydrated and index and follows cursor until null.
168
174
 
169
175
  Which tool for what:
170
176
  - memory_get: recalls exact memories whole by id.
@@ -174,7 +180,7 @@ Which tool for what:
174
180
  - memory_links: connects related decisions so you recall them together.
175
181
  - assist: measures coverage when a recall comes back thin or empty.
176
182
  - search_summaries: finds past work by topic or date across sessions.
177
- - policy: stores durable enforced rules or preferences, not memories.
183
+ - policy: stores enforced rules for this project, not memories.
178
184
  - tasks: creates follow-up work and closes completed work.
179
185
  - code_search: finds conceptual code when source wording differs.
180
186
  - memory_search: finds rationale, intent, decisions, and prior work.