@vheins/local-memory-mcp 0.14.8 → 0.14.10

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.10") {
85
+ pkgVersion = "0.14.10";
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-BBPQUVAA.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-BBPQUVAA.js";
64
64
 
65
65
  // src/mcp/server.ts
66
66
  import readline from "readline";
@@ -3,10 +3,10 @@ name: export-task-to-github
3
3
  description: Export local tasks to GitHub Issues
4
4
  arguments:
5
5
  - name: owner
6
- description: GitHub repo owner
6
+ description: GitHub repo owner (hint: run `git remote -v` to extract from origin URL)
7
7
  required: true
8
8
  - name: repo
9
- description: GitHub repo name
9
+ description: GitHub repo name (hint: run `git remote -v` to extract from origin URL)
10
10
  required: true
11
11
  - name: task_id
12
12
  description: Local task ID
@@ -19,7 +19,7 @@ tags: [workflow, github, task-sync, mcp]
19
19
 
20
20
  ## FSM
21
21
 
22
- Entry=S0 → S1 → G1 → S2 → S3 → S4 Exit=exported|skipped
22
+ Entry=S0 → S1 → G1 → S2 → S3 → S4 Exit=exported|skipped
23
23
  Guard: S(N) req S(N-1)✅; MCP + GitHub tools ONLY
24
24
 
25
25
  S0 | fetch task via task-detail | task_id exists? | task data | —
@@ -10,8 +10,9 @@ tags: [workflow, github, issue-import, mcp]
10
10
 
11
11
  ## FSM
12
12
 
13
- Entry=S0 → S1 → S2 → S3 → S4 Exit=imported
13
+ Entry=S0 → S1 → S2 → S3 → S4 Exit=imported
14
14
  Guard: S(N) req S(N-1)✅
15
+ Hint: If repo not auto-detected, run `git remote -v` to get owner/repo from origin URL.
15
16
 
16
17
  S0 | fetch open issues: primary=github-mcp-server; fallback=`gh issue list --json number,title,body,labels,url` | — | issue list | —
17
18
  S1 | dedup via task-list (skip if GH-{number} exists) | S0✅ | filtered issues | —
@@ -3,10 +3,10 @@ name: review-and-post-issue
3
3
  description: Audit documentation against implementation; generate GitHub issues for gaps.
4
4
  arguments:
5
5
  - name: owner
6
- description: GitHub repo owner.
6
+ description: GitHub repo owner. (hint: run `git remote -v` to extract from origin URL)
7
7
  required: true
8
8
  - name: repo
9
- description: GitHub repo name.
9
+ description: GitHub repo name. (hint: run `git remote -v` to extract from origin URL)
10
10
  required: true
11
11
  - name: target
12
12
  description: Module, feature, or component to audit.
@@ -13,8 +13,9 @@ tags: [workflow, github, issue-resolution, sentinel]
13
13
 
14
14
  ## FSM
15
15
 
16
- Entry=S0 → S1 → S2 → S3 → S4 → S5 → S6 → S7 → S8 Exit=resolved
16
+ Entry=S0 → S1 → S2 → S3 → S4 → S5 → S6 → S7 → S8 Exit=resolved
17
17
  Guard: S(N) req S(N-1)✅; autonomous — no permission per step
18
+ Hint: If repo not auto-detected from issue_url, run `git remote -v` to get owner/repo from origin URL.
18
19
 
19
20
  S0 | fetch: issue_read body + ALL comments (get_comments) | issue_url provided? | raw issue + all comments | —
20
21
  S1 | analyze comments: extract requirements, hints, root cause clues, reproduction steps, error details | S0✅ | comment analysis | —
@@ -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.10",
4
4
  "description": "MCP Local Memory Service for coding copilot agents",
5
5
  "mcpName": "io.github.vheins/local-memory-mcp",
6
6
  "type": "module",