@vheins/local-memory-mcp 0.8.30 → 0.8.33
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-GKTYOE7T.js → chunk-EDVBG5RJ.js} +29 -2
- package/dist/dashboard/public/assets/{index-DUiu6ncn.js → index-C2Zuk5Bn.js} +1 -1
- package/dist/dashboard/public/index.html +1 -1
- package/dist/dashboard/server.js +8 -3
- package/dist/mcp/server.js +1 -1
- package/dist/prompts/architecture-design.md +8 -8
- package/dist/prompts/create-task.md +49 -121
- package/dist/prompts/documentation-sync.md +6 -6
- package/dist/prompts/export-task-to-github.md +27 -48
- package/dist/prompts/fix-suggestion.md +13 -14
- package/dist/prompts/import-github-issues.md +21 -20
- package/dist/prompts/learning-retrospective.md +11 -8
- package/dist/prompts/memory-agent-core.md +19 -32
- package/dist/prompts/memory-guided-review.md +7 -7
- package/dist/prompts/memory-index-policy.md +12 -12
- package/dist/prompts/project-briefing.md +7 -7
- package/dist/prompts/review-and-audit.md +41 -124
- package/dist/prompts/review-and-post-issue.md +39 -92
- package/dist/prompts/root-cause-analysis.md +13 -13
- package/dist/prompts/security-triage.md +12 -12
- package/dist/prompts/senior-code-review.md +17 -18
- package/dist/prompts/session-planner.md +9 -9
- package/dist/prompts/task-management-guidelines.md +15 -20
- package/dist/prompts/task-memory-executor.md +40 -53
- package/dist/prompts/tech-affinity-scout.md +7 -7
- package/dist/prompts/technical-planning.md +11 -11
- package/dist/prompts/tool-usage-guidelines.md +13 -13
- package/package.json +2 -2
|
@@ -1,60 +1,47 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: task-memory-executor
|
|
3
|
-
description:
|
|
3
|
+
description: Sequentially execute pending tasks for current repository.
|
|
4
4
|
arguments: []
|
|
5
5
|
agent: Task Executor
|
|
6
6
|
---
|
|
7
7
|
# Skill: task-memory-executor
|
|
8
8
|
|
|
9
|
-
##
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
-
|
|
24
|
-
|
|
25
|
-
3. **
|
|
26
|
-
4. **
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
- Inspect the actual source files related to the task.
|
|
49
|
-
- Trace the relevant logic path end-to-end using code search and file reads.
|
|
50
|
-
- Verify how the changed code is invoked, not just that it exists.
|
|
51
|
-
|
|
52
|
-
2. **Confirm behavior against task intent**
|
|
53
|
-
- Compare the implementation against the task title, description, acceptance criteria, or bug report.
|
|
54
|
-
- Check that the business logic is actually implemented and wired correctly.
|
|
55
|
-
- If the task affects existing behavior, inspect adjacent modules and integration points for regressions.
|
|
56
|
-
|
|
57
|
-
3. **Use concrete verification**
|
|
58
|
-
- Run targeted tests, linters, type checks, or validation scripts if available.
|
|
59
|
-
- If automated tests cannot be run, perform a manual logic audit of all affected paths.
|
|
60
|
-
- Document the specific verification method used in the task completion comment.
|
|
9
|
+
## 1. SYNC & FILTER
|
|
10
|
+
1. **Identify**: Get repo name (git/context).
|
|
11
|
+
2. **List**: Call `task-list` ONCE for active tasks.
|
|
12
|
+
3. **Audit**: Identify stale `in_progress` tasks (>30m no update). Hydrate via `task-detail` to check timestamps.
|
|
13
|
+
|
|
14
|
+
## Task Cache (MANDATORY)
|
|
15
|
+
- `task-detail` MUST be called at most ONCE per task
|
|
16
|
+
- result MUST be reused across all steps
|
|
17
|
+
- do NOT re-fetch or re-inject full detail
|
|
18
|
+
|
|
19
|
+
## 2. EXECUTION LOOP
|
|
20
|
+
1. **Parallelism & Sub-Agents**:
|
|
21
|
+
- **MANDATORY**: Tasks MUST be delegated to sub-agents if the current agent has sub-agent capabilities.
|
|
22
|
+
- **Concurrency**: Use up to 4 parallel sub-agents. Each sub-agent executes EXACTLY ONE task at a time.
|
|
23
|
+
- **Fallback**: If the current agent CANNOT spawn sub-agents, it MUST execute tasks sequentially (exactly ONE concurrent task) until the queue is clear.
|
|
24
|
+
2. **Hydrate**: Fetch full context via `task-detail` for the assigned task.
|
|
25
|
+
3. **Start**: `task-update` status to `in_progress` (MUST transition: `pending` → `in_progress`). Add agent/role metadata.
|
|
26
|
+
4. **Research**: Call `memory-search` (Hybrid Search).
|
|
27
|
+
5. **Execute**:
|
|
28
|
+
- **Trace**: Inspect logic, call sites, and docs. DO NOT infer from file presence.
|
|
29
|
+
- **Logic**: Implement per description/intent.
|
|
30
|
+
6. **Validate**:
|
|
31
|
+
- Trace path end-to-end.
|
|
32
|
+
- Run tests/linters/type-checks.
|
|
33
|
+
- Logic audit for all affected paths.
|
|
34
|
+
7. **Finalize**:
|
|
35
|
+
- **Evidence**: `task-update` status to `completed` with detailed 'comment' (inspected files, verified logic, test results).
|
|
36
|
+
- **Memory**: Store insights as `code_fact`/`pattern` via `memory-store`.
|
|
37
|
+
- **Retrospective**: Invoke `learning-retrospective`.
|
|
38
|
+
- **Commit**: Atomic git commit/push.
|
|
39
|
+
8. **Repeat**: Claim next task from `task-list`.
|
|
40
|
+
|
|
41
|
+
## 3. BACKLOG MAINTENANCE
|
|
42
|
+
If active queue is empty:
|
|
43
|
+
1. Call `task-list` (status: `backlog`).
|
|
44
|
+
2. Move up to 20 high-priority tasks to `pending` via `task-update`.
|
|
45
|
+
|
|
46
|
+
## 4. REPORT
|
|
47
|
+
Provide progress summary.
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: tech-affinity-scout
|
|
3
|
-
description:
|
|
3
|
+
description: Scout best practices from similar tech projects.
|
|
4
4
|
arguments:
|
|
5
5
|
- name: tags
|
|
6
|
-
description:
|
|
6
|
+
description: CSV tech tags (e.g., 'react, tailwind').
|
|
7
7
|
required: true
|
|
8
8
|
agent: Tech Scout
|
|
9
9
|
---
|
|
10
|
-
|
|
10
|
+
Scout for relevant knowledge using tags: [{{tags}}].
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
1. **Search**:
|
|
14
|
-
2. **Filter**:
|
|
15
|
-
3. **
|
|
12
|
+
Steps:
|
|
13
|
+
1. **Search**: Call `memory-search` with `current_tags=[{{tags}}]`.
|
|
14
|
+
2. **Filter**: Identify applicable 'patterns' or 'decisions' from other repos.
|
|
15
|
+
3. **Adapt**: Explain adaptation of these practices to current project.
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: technical-planning
|
|
3
|
-
description:
|
|
3
|
+
description: Technical blueprint for new feature/product.
|
|
4
4
|
arguments:
|
|
5
5
|
- name: objective
|
|
6
|
-
description:
|
|
6
|
+
description: High-level goal.
|
|
7
7
|
required: true
|
|
8
8
|
agent: Technical Architect
|
|
9
9
|
---
|
|
10
|
-
|
|
10
|
+
Create technical blueprint for: '{{objective}}'.
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
1. **Tech Stack**:
|
|
14
|
-
2. **Architecture**:
|
|
15
|
-
3. **Domain Model**: Entities, value objects,
|
|
16
|
-
4. **Database
|
|
17
|
-
5. **API Contracts**:
|
|
18
|
-
6. **Roadmap &
|
|
12
|
+
Cover:
|
|
13
|
+
1. **Tech Stack**: Selected/confirmed technologies.
|
|
14
|
+
2. **Architecture**: Components & data flow.
|
|
15
|
+
3. **Domain Model**: Entities, value objects, events.
|
|
16
|
+
4. **Database**: Normalized schema & relationships.
|
|
17
|
+
5. **API Contracts**: Requests, responses, errors.
|
|
18
|
+
6. **Execution**: Roadmap & phased delivery.
|
|
19
19
|
|
|
20
|
-
Present
|
|
20
|
+
Present design for feedback before implementation.
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: tool-usage-guidelines
|
|
3
|
-
description:
|
|
3
|
+
description: Tool usage standards & data integrity.
|
|
4
4
|
arguments: []
|
|
5
5
|
agent: System Architect
|
|
6
6
|
---
|
|
7
|
-
|
|
7
|
+
# Tool Usage Standards
|
|
8
8
|
|
|
9
|
-
1. memory-store
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
- Use
|
|
9
|
+
1. **`memory-store`**:
|
|
10
|
+
- Tag by tech-stack.
|
|
11
|
+
- `is_global` ONLY for universal rules.
|
|
12
|
+
- Use `supersedes` for overrides.
|
|
13
13
|
|
|
14
|
-
2. memory-search
|
|
15
|
-
-
|
|
16
|
-
-
|
|
14
|
+
2. **`memory-search`**:
|
|
15
|
+
- Provide `current_file_path` for scoped ranking.
|
|
16
|
+
- Use `current_tags` for affinity-based discovery.
|
|
17
17
|
|
|
18
|
-
3. memory-acknowledge
|
|
19
|
-
- Mandatory
|
|
18
|
+
3. **`memory-acknowledge`**:
|
|
19
|
+
- **Mandatory**. Report `used` or `contradictory`.
|
|
20
20
|
|
|
21
|
-
4. memory-update
|
|
22
|
-
-
|
|
21
|
+
4. **`memory-update`**:
|
|
22
|
+
- Maintain accuracy. Avoid duplicates.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vheins/local-memory-mcp",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.33",
|
|
4
4
|
"description": "MCP Local Memory Service for coding copilot agents",
|
|
5
5
|
"mcpName": "io.github.vheins/local-memory-mcp",
|
|
6
6
|
"type": "module",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"eslint": "^10.2.0",
|
|
71
71
|
"eslint-config-prettier": "^10.1.8",
|
|
72
72
|
"eslint-plugin-prettier": "^5.5.5",
|
|
73
|
-
"eslint-plugin-svelte": "^
|
|
73
|
+
"eslint-plugin-svelte": "^3.17.0",
|
|
74
74
|
"fast-check": "^4.6.0",
|
|
75
75
|
"globals": "^17.5.0",
|
|
76
76
|
"prettier": "^3.8.2",
|