@vheins/local-memory-mcp 0.14.8 → 0.14.9

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.
@@ -81,8 +81,8 @@ function loadServerInstructions() {
81
81
  // src/mcp/capabilities.ts
82
82
  var __dirname2 = path2.dirname(fileURLToPath2(import.meta.url));
83
83
  var pkgVersion = "0.1.0";
84
- if ("0.14.8") {
85
- pkgVersion = "0.14.8";
84
+ if ("0.14.9") {
85
+ pkgVersion = "0.14.9";
86
86
  } else {
87
87
  let searchDir = __dirname2;
88
88
  for (let i = 0; i < 5; i++) {
@@ -16,7 +16,7 @@ import {
16
16
  handleTaskClaim,
17
17
  listResources,
18
18
  logger
19
- } from "../chunk-3L6GCUKO.js";
19
+ } from "../chunk-UQZNTQJP.js";
20
20
 
21
21
  // src/dashboard/server.ts
22
22
  import express from "express";
@@ -60,7 +60,7 @@ import {
60
60
  toContextSlug,
61
61
  updateSessionFromInitialize,
62
62
  updateSessionRoots
63
- } from "../chunk-3L6GCUKO.js";
63
+ } from "../chunk-UQZNTQJP.js";
64
64
 
65
65
  // src/mcp/server.ts
66
66
  import readline from "readline";
@@ -2,41 +2,44 @@
2
2
  name: server-instructions
3
3
  description: Main instructions for the MCP server
4
4
  ---
5
+
5
6
  Local Memory MCP — persistent memory, task coordination, and coding standards for AI agents.
6
7
 
7
- ## When to use this server
8
- Use at the START of every session and before any implementation work:
9
- 1. Call `task-list` to sync active/pending tasks for the current repository.
10
- 2. Call `handoff-list` to check pending context transfers. Close stale handoffs with `handoff-update`.
11
- 3. Call `memory-search` and `memory-synthesize` to hydrate architectural context before coding.
12
- 4. Call `standard-search` before any code edit, test edit, refactor, migration, or implementation decision. This is mandatory even for small tasks; use the task intent, affected files, inferred language, stack, and repo as filters. If no relevant standards are returned, continue and state that no applicable standards were found.
8
+ ## Session Start FSM
9
+
10
+ Entry=orient hydrate ready Guard: S(N) req S(N-1)✅
11
+
12
+ S0 | task-list (active/pending) + handoff-list(pending; close stale via handoff-update) | session start? | active tasks + transfers | —
13
+ S1 | memory-search + memory-synthesize (architectural context) + standard-search(MANDATORY before code/test/refactor/migrate task intent, lang, stack, repo filters) | S0✅ | hydrated context |
14
+ S2 | continue to task or respond | S1✅ | ready | —
13
15
 
14
16
  ## Core Workflows
15
17
 
16
- **Memory**: `memory-search``memory-detail``memory-store` / `memory-update`
17
- - Store only durable knowledge (architecture, patterns, decisions, fixes).
18
- - Use `memory-acknowledge` after generating code from memory results.
19
- - Global scope only for cross-repo rules; prefer repo-specific scope.
20
-
21
- **Tasks**: `task-list` → `task-claim` → `task-update` (in_progress → completed)
22
- - Register planned steps via `task-create` before execution.
23
- - Never skip intermediate `in_progress` state before `completed`.
24
- - **Commit Message**: Every commit MUST include the **Task Code**, **Title**, and **Summary** in this format:
25
- `type(scope): [task-code] message`
26
-
27
- `- [Task Title]`
28
- ` [Summary Task]`
29
- - Completing a task auto-releases claims and expires linked handoffs.
30
-
31
- **Standards**: `standard-search` `standard-store`
32
- - `standard-search` is the pre-implementation gate for code, tests, refactors, migrations, and implementation decisions.
33
- - One rule per entry. Treat as normative implementation contracts, not docs summaries.
34
-
35
- **Handoffs/Claims**: `handoff-list` → `handoff-create` / `handoff-update` | `task-claim` / `claim-release`
36
- - Create handoffs only for unfinished work with concrete next owner or next steps.
37
- - Do NOT create handoffs as completion summaries put those on `task-update` comments.
38
-
39
- ## Available Prompts (invoke as slash commands)
18
+ **Memory**: memory-search → memory-detail → memory-store | memory-update
19
+
20
+ - Durable only (arch, patterns, decisions, fixes)
21
+ - memory-acknowledge after code gen from memory
22
+ - Global scope = cross-repo only; prefer repo-specific
23
+
24
+ **Tasks**: task-list task-claim task-update(in_progress) task-update(completed)
25
+
26
+ - Register via task-create before execution
27
+ - NEVER skip in_progress
28
+ - Commit: `type(scope): [task-code] message` + `- [Title]` + ` [Summary]`
29
+ - Complete auto-releases claims + expires linked handoffs
30
+
31
+ **Standards**: standard-search standard-store
32
+
33
+ - MANDATORY pre-implementation gate
34
+ - 1 rule/entry, normative contract
35
+
36
+ **Handoffs/Claims**: handoff-list → handoff-create | handoff-update | task-claim | claim-release
37
+
38
+ - Create ONLY for unfinished work (concrete next owner/steps)
39
+ - NO handoff for completion summaries use task-update comments
40
+
41
+ ## Available Prompts (slash commands)
42
+
40
43
  - `session-planner` — orient and plan at session start
41
44
  - `task-memory-executor` — execute tasks with memory and standard enforcement
42
45
  - `senior-code-review` — full code review against stored standards
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vheins/local-memory-mcp",
3
- "version": "0.14.8",
3
+ "version": "0.14.9",
4
4
  "description": "MCP Local Memory Service for coding copilot agents",
5
5
  "mcpName": "io.github.vheins/local-memory-mcp",
6
6
  "type": "module",