@vheins/local-memory-mcp 0.10.10 → 0.10.12

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.
@@ -10,7 +10,7 @@ import {
10
10
  createFileSink,
11
11
  listResources,
12
12
  logger
13
- } from "../chunk-76IHLGKG.js";
13
+ } from "../chunk-WWVIDZ5P.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-76IHLGKG.js";
60
+ } from "../chunk-WWVIDZ5P.js";
61
61
 
62
62
  // src/mcp/server.ts
63
63
  import readline from "readline";
@@ -1125,7 +1125,7 @@ function buildMissingTaskSchema(task) {
1125
1125
  });
1126
1126
  addRequiredStringField(properties, required, task, "description", {
1127
1127
  title: "Description",
1128
- description: "Detailed description of the task.",
1128
+ description: "Detailed description. MUST follow format: 1. Context & Analysis, 2. Step & Implementation, 3. Acceptance & Verification",
1129
1129
  minLength: 1
1130
1130
  });
1131
1131
  if (!task.status) {
@@ -43,8 +43,8 @@ ONLY call MCP tools. No prose, no code, no plans outside MCP.
43
43
  - **Trigger**: Instruction/finding.
44
44
  - **Observation**: Technical reasoning.
45
45
  - **Goal**: Clear objective.
46
- ### 2. Target Files & Implementation
47
- - Combined scope/steps per path/layer.
46
+ ### 2. Step & Implementation
47
+ - Detailed execution steps per path/layer.
48
48
  ### 3. Acceptance & Verification
49
49
  - **Checklist**: `[ ]` criteria.
50
50
  - **Testing**: Scenarios.
@@ -40,8 +40,8 @@ ONLY call MCP tools. No prose, code, or external plans.
40
40
  - **Finding**: Gap trigger.
41
41
  - **Observation**: Reasoning.
42
42
  - **Goal**: Clear objective.
43
- ### 2. Target Files & Implementation
44
- - Combined scope/steps per path/layer.
43
+ ### 2. Step & Implementation
44
+ - Detailed execution steps per path/layer.
45
45
  ### 3. Acceptance & Verification
46
46
  - **Checklist**: `[ ]` criteria.
47
47
  - **Testing**: Scenarios.
@@ -42,7 +42,7 @@ No prose. No external plans.
42
42
  - **Finding**: Gap trigger.
43
43
  - **Observation**: Reasoning.
44
44
  - **Goal**: Clear objective.
45
- ### 2. Target Files & Implementation
45
+ ### 2. Step & Implementation
46
46
  - Path/layer specific changes.
47
47
  ### 3. Acceptance & Verification
48
48
  - **Checklist**: `[ ]` criteria.
@@ -20,6 +20,6 @@ Steps:
20
20
  5. **Phase**: Group into `research`, `implementation`, and `validation`.
21
21
  6. **Hierarchy**: Use `parent_id` / `depends_on` for sequencing.
22
22
  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.
23
- 8. **Create**: Use `task-create` in current repo with stable `task_code`, tags, and acceptance criteria.
23
+ 8. **Create**: Use `task-create` in current repo with stable `task_code`, tags, and acceptance criteria following the format: 1. Context & Analysis, 2. Step & Implementation, 3. Acceptance & Verification.
24
24
 
25
25
  Display final plan to user.
@@ -1,12 +1,19 @@
1
1
  ---
2
2
  name: task-memory-executor
3
3
  description: Sequentially execute pending tasks for current repository.
4
- arguments: []
4
+ arguments:
5
+ - name: agent_identity
6
+ description: Optional runner identity (e.g., Codex-Jarvis, Codex-HulkBuster, Gemini-Ultron). If omitted, identity is inferred from the active CLI/IDE and a short session token is appended.
7
+ required: false
5
8
  agent: Task Executor
6
9
  ---
7
10
 
8
11
  ## 1. SYNC & FILTER
9
- 1. **Identify**: Get repo name (git/context).
12
+ 1. **Identify**: Determine runner identity and repo context.
13
+ - Resolver priority: `agent_identity` argument -> auto session identity generated once per run.
14
+ - Auto identity format: `<runner>-<randomName>`.
15
+ - `<runner>` should come from the active CLI/IDE label (for example `vibe-coding-cli`, `vibe-coding-ide`, `Codex`, `Gemini`) and `<randomName>` is a short stable session token.
16
+ - Use this identity for all `task-claim`, `task-update`, and handoff writes.
10
17
  2. **List**: Call `task-list` ONCE for active tasks.
11
18
  3. **Dependency-aware selection** (in `task-list` order):
12
19
  - Process tasks in the order returned by `task-list`.
@@ -28,13 +35,13 @@ agent: Task Executor
28
35
  ## 2. EXECUTION LOOP
29
36
  1. **Parallelism & Sub-Agents**:
30
37
  - **MANDATORY**: Tasks MUST be delegated to sub-agents if the current agent has sub-agent capabilities.
31
- - **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.
38
+ - **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. All created tasks MUST follow the format: 1. Context & Analysis, 2. Step & Implementation, 3. Acceptance & Verification.
32
39
  - **Spawn Limit**: The total number of parallel sub-agents MUST NOT exceed 2. Each sub-agent executes EXACTLY ONE task at a time.
33
40
  - **Fallback**: If the current agent CANNOT spawn sub-agents, it MUST execute tasks sequentially (exactly ONE concurrent task) until the queue is clear.
34
41
  2. **Hydrate**: Fetch full context via `task-detail` for the assigned task.
35
42
  3. **Readiness re-check**: Re-check blockers from hydrated detail (`depends_on`, `parent_id`) before claim. If still blocked, return to step 2 (execution loop) and pick the next ready task in list order.
36
- 4. **Claim**: Use `task-claim` with `task_code` or `task_id` before implementation.
37
- 5. **Start**: `task-update` status to `in_progress` (MUST transition: `pending` → `in_progress`). Add agent/role metadata.
43
+ 4. **Claim**: Use `task-claim` with `task_code` or `task_id` before implementation, and write the runner identity into claim metadata.
44
+ 5. **Start**: `task-update` status to `in_progress` (MUST transition: `pending` → `in_progress`). Add agent/role metadata and the same runner identity used by claims.
38
45
  6. **Research**: Call `memory-search` (Hybrid Search) and hydrate relevant results with `memory-detail`.
39
46
  7. **Standards (MANDATORY PER TASK)**: Call `standard-search` for every task inside the execution loop before any code edit, test edit, refactor, migration, or implementation decision, using the task intent, affected files, inferred language, stack, and repo as filters. This is required even for small tasks, decomposed tasks, and sub-agent assignments. Apply only relevant standards, hydrate details when needed, and if no relevant standards are returned, continue and state that no applicable standards were found.
40
47
  8. **Execute**:
@@ -50,7 +57,7 @@ agent: Task Executor
50
57
  - **Cleanup**: Completing/canceling a task automatically releases active claims and expires linked pending handoffs.
51
58
  - **Memory**: Store insights as `code_fact`/`pattern` via `memory-store`.
52
59
  - **Standards**: Store durable implementation rules via `standard-store`, not generic memory.
53
- - **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.
60
+ - **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. Include runner identity in handoff metadata/context.
54
61
  - **Retrospective**: Invoke `learning-retrospective`.
55
62
  - **Commit**: Atomic git commit. The commit message MUST follow this format: `type(scope): [task-code] your commit message`, followed by a detailed description:
56
63
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vheins/local-memory-mcp",
3
- "version": "0.10.10",
3
+ "version": "0.10.12",
4
4
  "description": "MCP Local Memory Service for coding copilot agents",
5
5
  "mcpName": "io.github.vheins/local-memory-mcp",
6
6
  "type": "module",