@vheins/local-memory-mcp 0.9.9 → 0.9.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.
- package/dist/{chunk-UB4KAJYE.js → chunk-GAZNK32C.js} +6 -6
- package/dist/dashboard/server.js +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/prompts/create-task.md +7 -1
- package/dist/prompts/project-briefing.md +2 -1
- package/dist/prompts/review-and-audit.md +1 -0
- package/dist/prompts/session-planner.md +2 -1
- package/dist/prompts/task-management-guidelines.md +1 -0
- package/dist/prompts/task-memory-executor.md +2 -1
- package/package.json +1 -1
|
@@ -3,8 +3,8 @@ import { fileURLToPath } from "url";
|
|
|
3
3
|
import path from "path";
|
|
4
4
|
var __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
5
5
|
var pkgVersion = "0.1.0";
|
|
6
|
-
if ("0.9.
|
|
7
|
-
pkgVersion = "0.9.
|
|
6
|
+
if ("0.9.10") {
|
|
7
|
+
pkgVersion = "0.9.10";
|
|
8
8
|
} else {
|
|
9
9
|
let searchDir = __dirname;
|
|
10
10
|
for (let i = 0; i < 5; i++) {
|
|
@@ -3486,7 +3486,7 @@ var TOOL_DEFINITIONS = [
|
|
|
3486
3486
|
title: { type: "string", minLength: 3, maxLength: 100 },
|
|
3487
3487
|
description: { type: "string", minLength: 1 },
|
|
3488
3488
|
status: { type: "string", enum: ["backlog", "pending"], default: "backlog" },
|
|
3489
|
-
priority: { type: "number", minimum: 1, maximum: 5, default: 3 },
|
|
3489
|
+
priority: { type: "number", minimum: 1, maximum: 5, default: 3, description: "Task priority where 1=Low, 2=Normal, 3=Medium, 4=High, 5=Critical." },
|
|
3490
3490
|
agent: { type: "string" },
|
|
3491
3491
|
role: { type: "string" },
|
|
3492
3492
|
doc_path: { type: "string" },
|
|
@@ -4022,7 +4022,7 @@ var TOOL_DEFINITIONS = [
|
|
|
4022
4022
|
default: "backlog",
|
|
4023
4023
|
description: "New tasks MUST start in 'backlog' if there are already 10 pending tasks. Otherwise can start in 'pending'."
|
|
4024
4024
|
},
|
|
4025
|
-
priority: { type: "number", minimum: 1, maximum: 5, default: 3 },
|
|
4025
|
+
priority: { type: "number", minimum: 1, maximum: 5, default: 3, description: "Task priority where 1=Low, 2=Normal, 3=Medium, 4=High, 5=Critical." },
|
|
4026
4026
|
agent: { type: "string" },
|
|
4027
4027
|
role: { type: "string" },
|
|
4028
4028
|
doc_path: { type: "string" },
|
|
@@ -4041,7 +4041,7 @@ var TOOL_DEFINITIONS = [
|
|
|
4041
4041
|
title: { type: "string", minLength: 3, maxLength: 100 },
|
|
4042
4042
|
description: { type: "string" },
|
|
4043
4043
|
status: { type: "string", enum: ["backlog", "pending"], default: "backlog" },
|
|
4044
|
-
priority: { type: "number", minimum: 1, maximum: 5, default: 3 },
|
|
4044
|
+
priority: { type: "number", minimum: 1, maximum: 5, default: 3, description: "Task priority where 1=Low, 2=Normal, 3=Medium, 4=High, 5=Critical." },
|
|
4045
4045
|
agent: { type: "string" },
|
|
4046
4046
|
role: { type: "string" },
|
|
4047
4047
|
doc_path: { type: "string" },
|
|
@@ -4100,7 +4100,7 @@ var TOOL_DEFINITIONS = [
|
|
|
4100
4100
|
enum: ["backlog", "pending", "in_progress", "completed", "canceled", "blocked"],
|
|
4101
4101
|
description: "New status. Transitions from 'backlog', 'pending' or 'blocked' to 'completed' are NOT allowed."
|
|
4102
4102
|
},
|
|
4103
|
-
priority: { type: "number", minimum: 1, maximum: 5 },
|
|
4103
|
+
priority: { type: "number", minimum: 1, maximum: 5, description: "Task priority where 1=Low, 2=Normal, 3=Medium, 4=High, 5=Critical." },
|
|
4104
4104
|
agent: { type: "string" },
|
|
4105
4105
|
role: { type: "string" },
|
|
4106
4106
|
model: { type: "string" },
|
package/dist/dashboard/server.js
CHANGED
package/dist/mcp/server.js
CHANGED
|
@@ -32,7 +32,13 @@ ONLY call MCP tools. No prose, no code, no plans outside MCP.
|
|
|
32
32
|
## 3. ATTRIBUTES & FORMAT
|
|
33
33
|
- `task_code`: FEAT/FIX/REFACTOR-XXX.
|
|
34
34
|
- `phase`: Discovery/Implementation/Testing.
|
|
35
|
-
- `priority`: 1-5
|
|
35
|
+
- `priority`: 1-5 using this exact scale:
|
|
36
|
+
- `1 = Low`
|
|
37
|
+
- `2 = Normal`
|
|
38
|
+
- `3 = Medium`
|
|
39
|
+
- `4 = High`
|
|
40
|
+
- `5 = Critical`
|
|
41
|
+
- `priority` is ascending by urgency. `5` is the highest urgency and `1` is the lowest. Never encode `Critical` as `1`.
|
|
36
42
|
- `description` (STRICT FORMAT):
|
|
37
43
|
### 1. Context & Analysis
|
|
38
44
|
- **Trigger**: Instruction/finding.
|
|
@@ -13,4 +13,5 @@ Briefing Steps:
|
|
|
13
13
|
4. **Memory**: Call `memory-search` or `memory-recap` for recent decisions, patterns, and mistakes; hydrate important entries with `memory-detail`.
|
|
14
14
|
5. **Standards**: Call `standard-search` with current repo/stack when implementation guidance is needed.
|
|
15
15
|
6. **Core Context**: Summarize active task, pending handoffs, applicable standards, and top architectural decisions.
|
|
16
|
-
7. **
|
|
16
|
+
7. **Priority Reminder**: Treat task priority with MCP semantics: `1=Low`, `2=Normal`, `3=Medium`, `4=High`, `5=Critical`.
|
|
17
|
+
8. **Action**: Propose next steps based on the active queue.
|
|
@@ -31,6 +31,7 @@ ONLY call MCP tools. No prose, code, or external plans.
|
|
|
31
31
|
## 3. TASK DESIGN & FORMAT
|
|
32
32
|
- **Atomic**: One change per task.
|
|
33
33
|
- **Attributes**: `task_code`, `phase`, `priority`, `agent`, `model`.
|
|
34
|
+
- **Priority Scale**: Use MCP ordering exactly: `1=Low`, `2=Normal`, `3=Medium`, `4=High`, `5=Critical`. `5` is the highest urgency.
|
|
34
35
|
- **Description** (STRICT FORMAT):
|
|
35
36
|
### 1. Context & Analysis
|
|
36
37
|
- **Finding**: Gap trigger.
|
|
@@ -16,6 +16,7 @@ Steps:
|
|
|
16
16
|
4. **Analyze**: Break into 3-7 atomic, verifiable tasks.
|
|
17
17
|
5. **Phase**: Group into `research`, `implementation`, and `validation`.
|
|
18
18
|
6. **Hierarchy**: Use `parent_id` / `depends_on` for sequencing.
|
|
19
|
-
7. **
|
|
19
|
+
7. **Priority Scale**: When creating tasks, use the exact MCP scale `1=Low`, `2=Normal`, `3=Medium`, `4=High`, `5=Critical`. Higher number means higher urgency.
|
|
20
|
+
8. **Create**: Use `task-create` in current repo with stable `task_code`, tags, and acceptance criteria.
|
|
20
21
|
|
|
21
22
|
Display final plan to user.
|
|
@@ -9,6 +9,7 @@ agent: Project Manager
|
|
|
9
9
|
## 1. NAVIGATION (`task-list`)
|
|
10
10
|
- **Sync**: Call `task-list` at every session start (default: `in_progress,pending`).
|
|
11
11
|
- **Format**: Compact pointer table: `id`, `task_code`, `title`, `status`, `priority`, `updated_at`, `comments_count`. Use `query` for keyword search.
|
|
12
|
+
- **Priority Scale**: Interpret `priority` with MCP semantics: `1=Low`, `2=Normal`, `3=Medium`, `4=High`, `5=Critical`.
|
|
12
13
|
- **Retrieve**: Fetch full context via `task-detail` AFTER selecting a task. The hydrated task includes current coordination state such as active claims and pending handoffs.
|
|
13
14
|
- **Coordination**: Check active ownership with task coordination metadata, `task-claim`, and `claim-list`. NEVER work on tasks claimed by others. Focus on ONE task at a time.
|
|
14
15
|
|
|
@@ -51,7 +51,8 @@ agent: Task Executor
|
|
|
51
51
|
## 3. BACKLOG MAINTENANCE
|
|
52
52
|
If active queue is empty:
|
|
53
53
|
1. Call `task-list` (status: `backlog`).
|
|
54
|
-
2. Move up to 20
|
|
54
|
+
2. Move up to 20 highest-priority tasks to `pending` via `task-update`.
|
|
55
|
+
3. Interpret priority using MCP ordering: `5=Critical`, `4=High`, `3=Medium`, `2=Normal`, `1=Low`.
|
|
55
56
|
|
|
56
57
|
## 4. REPORT
|
|
57
58
|
Provide progress summary.
|