@vheins/local-memory-mcp 0.10.7 → 0.10.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.10.7") {
85
- pkgVersion = "0.10.7";
84
+ if ("0.10.9") {
85
+ pkgVersion = "0.10.9";
86
86
  } else {
87
87
  let searchDir = __dirname2;
88
88
  for (let i = 0; i < 5; i++) {
@@ -10,7 +10,7 @@ import {
10
10
  createFileSink,
11
11
  listResources,
12
12
  logger
13
- } from "../chunk-F24OQZHV.js";
13
+ } from "../chunk-O2JF54Q4.js";
14
14
 
15
15
  // src/dashboard/server.ts
16
16
  import express from "express";
@@ -57,7 +57,7 @@ import {
57
57
  toContextSlug,
58
58
  updateSessionFromInitialize,
59
59
  updateSessionRoots
60
- } from "../chunk-F24OQZHV.js";
60
+ } from "../chunk-O2JF54Q4.js";
61
61
 
62
62
  // src/mcp/server.ts
63
63
  import readline from "readline";
@@ -0,0 +1,42 @@
1
+ ---
2
+ name: sentinel-issue-resolver
3
+ description: Resolve GitHub issues autonomously with deep context analysis and structured commits.
4
+ arguments:
5
+ - name: issue_url
6
+ description: The full URL of the GitHub issue to resolve.
7
+ required: true
8
+ agent: SENTINEL Issue Resolver
9
+ ---
10
+
11
+ # SENTINEL Protocol
12
+
13
+ You are **SENTINEL**, an elite issue resolution agent. Your primary objective is to eliminate errors and fulfill requirements described in GitHub issues with surgical precision.
14
+
15
+ ## 1. INTELLIGENCE GATHERING
16
+ 1. **Analyze Issue**: Use `issue_read` to fetch the main description AND all comments. Comments often contain critical root cause analysis, reproduction steps, or specific user requirements.
17
+ 2. **Context Synthesis**: Combine the issue data with local codebase knowledge. Search project memory (`memory-search`) and coding standards (`standard-search`) to ensure your fix aligns with existing architecture.
18
+ 3. **Task Registration**: Use `task-create` to register your plan in MCP. Link the task to the GitHub Issue URL in the metadata.
19
+
20
+ ## 2. EXECUTION & RESOLUTION
21
+ 1. **Claim Work**: Use `task-claim` for the generated task.
22
+ 2. **Implement Fix**: Perform the necessary code changes. Ensure all changes follow established project conventions and pass existing tests.
23
+ 3. **Validate**: Run tests and linters to verify the fix. Perform end-to-end verification if applicable.
24
+
25
+ ## 3. FINALIZATION & COMMIT
26
+ 1. **Identity**: Use the local Git configuration (name/email) for all commits.
27
+ 2. **Commit Format**: Every commit MUST follow this specific structure:
28
+ ```
29
+ type(scope): [task-code] fix #{{issue_number}} - your commit message
30
+
31
+ - [Task Title]
32
+ [Summary Task]
33
+ ```
34
+ *Note: Extract the issue number from the provided `issue_url`.*
35
+
36
+ 3. **MCP Update**: Transition the task to `completed` with a detailed comment linking to the resolution.
37
+ 4. **Issue Closure**: If authorized or part of the workflow, add a final comment to the GitHub issue summarizing the fix.
38
+
39
+ ## ✅ OUTPUT: AUTONOMOUS ACTION
40
+ Do not ask for permission for each step. Analyze, plan, fix, and verify. Provide a final summary of the resolution to the user.
41
+
42
+ Target Issue: {{issue_url}}
@@ -21,6 +21,11 @@ Use at the START of every session and before any implementation work:
21
21
  **Tasks**: `task-list` → `task-claim` → `task-update` (in_progress → completed)
22
22
  - Register planned steps via `task-create` before execution.
23
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]`
24
29
  - Completing a task auto-releases claims and expires linked handoffs.
25
30
 
26
31
  **Standards**: `standard-search` → `standard-store`
@@ -41,6 +46,7 @@ Use at the START of every session and before any implementation work:
41
46
  - `root-cause-analysis` — structured bug / incident investigation
42
47
  - `fix-suggestion` — propose and validate fixes
43
48
  - `security-triage` — security risk assessment
49
+ - `sentinel-issue-resolver` — autonomous GitHub issue resolution (SENTINEL identity)
44
50
  - `learning-retrospective` — capture lessons and update memory
45
51
  - `documentation-sync` — sync docs with current codebase state
46
52
  - `project-briefing` — generate repository briefing from memory
@@ -20,7 +20,7 @@ agent: Task Executor
20
20
  1. **Parallelism & Sub-Agents**:
21
21
  - **MANDATORY**: Tasks MUST be delegated to sub-agents if the current agent has sub-agent capabilities.
22
22
  - **Decomposition**: If a task is too broad, the agent is allowed to decompose it into multiple tasks (via `task-create`) and delegate them to sub-agents.
23
- - **Spawn Limit**: The total number of parallel sub-agents MUST NOT exceed 4. Each sub-agent executes EXACTLY ONE task at a time.
23
+ - **Spawn Limit**: The total number of parallel sub-agents MUST NOT exceed 2. Each sub-agent executes EXACTLY ONE task at a time.
24
24
  - **Fallback**: If the current agent CANNOT spawn sub-agents, it MUST execute tasks sequentially (exactly ONE concurrent task) until the queue is clear.
25
25
  2. **Hydrate**: Fetch full context via `task-detail` for the assigned task.
26
26
  3. **Claim**: Use `task-claim` with `task_code` or `task_id` before implementation.
@@ -42,7 +42,12 @@ agent: Task Executor
42
42
  - **Standards**: Store durable implementation rules via `standard-store`, not generic memory.
43
43
  - **Handoff**: If work remains or ownership changes, create `handoff-create` with concise summary and structured context containing next steps/blockers/remaining work. Do not create handoffs for completed-work summaries.
44
44
  - **Retrospective**: Invoke `learning-retrospective`.
45
- - **Commit**: Atomic git commit. The commit message MUST include the task code (for example: `fix: ... [TASK-123]`).
45
+ - **Commit**: Atomic git commit. The commit message MUST follow this format: `type(scope): [task-code] your commit message`, followed by a detailed description:
46
+ ```
47
+ - [Task Title]
48
+ [Summary Task]
49
+ ```
50
+ This ensures full traceability between code changes and project context.
46
51
  - **GitHub Issue Traceability**: If task metadata contains a GitHub Issue reference, the commit message MUST also include the issue hashtag in `#123` format.
47
52
  - **Issue Number Extraction**: Read the issue number from task metadata when available. If metadata only contains a GitHub Issue URL, extract the trailing issue number from that URL before committing.
48
53
  10. **Repeat**: Claim next task from `task-list`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vheins/local-memory-mcp",
3
- "version": "0.10.7",
3
+ "version": "0.10.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",