@vheins/local-memory-mcp 0.4.0 → 0.4.5
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/e2e.test.js +2 -0
- package/dist/e2e.test.js.map +1 -1
- package/dist/prompts/registry.d.ts +92 -8
- package/dist/prompts/registry.d.ts.map +1 -1
- package/dist/prompts/registry.js +219 -54
- package/dist/prompts/registry.js.map +1 -1
- package/dist/router.d.ts.map +1 -1
- package/dist/router.js +18 -3
- package/dist/router.js.map +1 -1
- package/dist/storage/sqlite.d.ts.map +1 -1
- package/dist/storage/sqlite.js +5 -3
- package/dist/storage/sqlite.js.map +1 -1
- package/dist/tasks.archive.test.d.ts +2 -0
- package/dist/tasks.archive.test.d.ts.map +1 -0
- package/dist/tasks.archive.test.js +75 -0
- package/dist/tasks.archive.test.js.map +1 -0
- package/dist/tools/memory.store.js +3 -3
- package/dist/tools/memory.store.js.map +1 -1
- package/dist/tools/schemas.d.ts +5 -16
- package/dist/tools/schemas.d.ts.map +1 -1
- package/dist/tools/schemas.js +9 -10
- package/dist/tools/schemas.js.map +1 -1
- package/dist/tools/task.bulk-manage.d.ts +2 -1
- package/dist/tools/task.bulk-manage.d.ts.map +1 -1
- package/dist/tools/task.bulk-manage.js +6 -1
- package/dist/tools/task.bulk-manage.js.map +1 -1
- package/dist/tools/task.manage.d.ts +3 -1
- package/dist/tools/task.manage.d.ts.map +1 -1
- package/dist/tools/task.manage.js +58 -2
- package/dist/tools/task.manage.js.map +1 -1
- package/dist/tools/tasks-transition.test.d.ts +2 -0
- package/dist/tools/tasks-transition.test.d.ts.map +1 -0
- package/dist/tools/tasks-transition.test.js +120 -0
- package/dist/tools/tasks-transition.test.js.map +1 -0
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/e2e.test.js
CHANGED
|
@@ -210,6 +210,8 @@ describe("MCP Local Memory - High-Complexity E2E Scenarios", () => {
|
|
|
210
210
|
}
|
|
211
211
|
});
|
|
212
212
|
expect(duplicateRes.content[0].text).toContain("conflict");
|
|
213
|
+
expect(duplicateRes.content[0].text).toContain("Hint:");
|
|
214
|
+
expect(duplicateRes.content[0].text).toContain("memory-delete");
|
|
213
215
|
expect(db.getTotalCount(REPO)).toBe(1); // Should still be 1
|
|
214
216
|
});
|
|
215
217
|
/**
|
package/dist/e2e.test.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e2e.test.js","sourceRoot":"","sources":["../src/e2e.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAGvD,0CAA0C;AAC1C,EAAE,CAAC,SAAS,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC,CAAC;AAErC,QAAQ,CAAC,kDAAkD,EAAE,GAAG,EAAE;IAChE,IAAI,EAAe,CAAC;IACpB,IAAI,OAAoB,CAAC;IACzB,IAAI,MAAqD,CAAC;IAE1D,MAAM,IAAI,GAAG,mBAAmB,CAAC;IAEjC,UAAU,CAAC,GAAG,EAAE;QACd,EAAE,GAAG,IAAI,WAAW,CAAC,UAAU,CAAC,CAAC;QACjC,OAAO,GAAG,IAAI,eAAe,CAAC,EAAE,CAAC,CAAC;QAClC,MAAM,GAAG,YAAY,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;IACrC,CAAC,CAAC,CAAC;IAEH;;;OAGG;IACH,EAAE,CAAC,sFAAsF,EAAE,KAAK,IAAI,EAAE;QACpG,MAAM,QAAQ,GAAG;YACf,EAAE,KAAK,EAAE,kBAAkB,EAAE,OAAO,EAAE,uEAAuE,EAAE;YAC/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|
@@ -48,6 +48,30 @@ export declare const PROMPTS: {
|
|
|
48
48
|
}[];
|
|
49
49
|
};
|
|
50
50
|
"import-github-issues": {
|
|
51
|
+
name: string;
|
|
52
|
+
description: string;
|
|
53
|
+
arguments: never[];
|
|
54
|
+
messages: {
|
|
55
|
+
role: string;
|
|
56
|
+
content: {
|
|
57
|
+
type: string;
|
|
58
|
+
text: string;
|
|
59
|
+
};
|
|
60
|
+
}[];
|
|
61
|
+
};
|
|
62
|
+
"project-briefing": {
|
|
63
|
+
name: string;
|
|
64
|
+
description: string;
|
|
65
|
+
arguments: never[];
|
|
66
|
+
messages: {
|
|
67
|
+
role: string;
|
|
68
|
+
content: {
|
|
69
|
+
type: string;
|
|
70
|
+
text: string;
|
|
71
|
+
};
|
|
72
|
+
}[];
|
|
73
|
+
};
|
|
74
|
+
"learning-retrospective": {
|
|
51
75
|
name: string;
|
|
52
76
|
description: string;
|
|
53
77
|
arguments: {
|
|
@@ -63,7 +87,7 @@ export declare const PROMPTS: {
|
|
|
63
87
|
};
|
|
64
88
|
}[];
|
|
65
89
|
};
|
|
66
|
-
"
|
|
90
|
+
"memory-guided-review": {
|
|
67
91
|
name: string;
|
|
68
92
|
description: string;
|
|
69
93
|
arguments: {
|
|
@@ -79,7 +103,7 @@ export declare const PROMPTS: {
|
|
|
79
103
|
};
|
|
80
104
|
}[];
|
|
81
105
|
};
|
|
82
|
-
"
|
|
106
|
+
"session-planner": {
|
|
83
107
|
name: string;
|
|
84
108
|
description: string;
|
|
85
109
|
arguments: {
|
|
@@ -95,7 +119,7 @@ export declare const PROMPTS: {
|
|
|
95
119
|
};
|
|
96
120
|
}[];
|
|
97
121
|
};
|
|
98
|
-
"
|
|
122
|
+
"tech-affinity-scout": {
|
|
99
123
|
name: string;
|
|
100
124
|
description: string;
|
|
101
125
|
arguments: {
|
|
@@ -111,7 +135,31 @@ export declare const PROMPTS: {
|
|
|
111
135
|
};
|
|
112
136
|
}[];
|
|
113
137
|
};
|
|
114
|
-
"
|
|
138
|
+
"documentation-sync": {
|
|
139
|
+
name: string;
|
|
140
|
+
description: string;
|
|
141
|
+
arguments: never[];
|
|
142
|
+
messages: {
|
|
143
|
+
role: string;
|
|
144
|
+
content: {
|
|
145
|
+
type: string;
|
|
146
|
+
text: string;
|
|
147
|
+
};
|
|
148
|
+
}[];
|
|
149
|
+
};
|
|
150
|
+
"task-memory-executor": {
|
|
151
|
+
name: string;
|
|
152
|
+
description: string;
|
|
153
|
+
arguments: never[];
|
|
154
|
+
messages: {
|
|
155
|
+
role: string;
|
|
156
|
+
content: {
|
|
157
|
+
type: string;
|
|
158
|
+
text: string;
|
|
159
|
+
};
|
|
160
|
+
}[];
|
|
161
|
+
};
|
|
162
|
+
"senior-code-review": {
|
|
115
163
|
name: string;
|
|
116
164
|
description: string;
|
|
117
165
|
arguments: {
|
|
@@ -127,7 +175,7 @@ export declare const PROMPTS: {
|
|
|
127
175
|
};
|
|
128
176
|
}[];
|
|
129
177
|
};
|
|
130
|
-
"
|
|
178
|
+
"fix-suggestion": {
|
|
131
179
|
name: string;
|
|
132
180
|
description: string;
|
|
133
181
|
arguments: {
|
|
@@ -143,7 +191,7 @@ export declare const PROMPTS: {
|
|
|
143
191
|
};
|
|
144
192
|
}[];
|
|
145
193
|
};
|
|
146
|
-
"
|
|
194
|
+
"root-cause-analysis": {
|
|
147
195
|
name: string;
|
|
148
196
|
description: string;
|
|
149
197
|
arguments: {
|
|
@@ -159,10 +207,46 @@ export declare const PROMPTS: {
|
|
|
159
207
|
};
|
|
160
208
|
}[];
|
|
161
209
|
};
|
|
162
|
-
"
|
|
210
|
+
"technical-planning": {
|
|
163
211
|
name: string;
|
|
164
212
|
description: string;
|
|
165
|
-
arguments:
|
|
213
|
+
arguments: {
|
|
214
|
+
name: string;
|
|
215
|
+
description: string;
|
|
216
|
+
required: boolean;
|
|
217
|
+
}[];
|
|
218
|
+
messages: {
|
|
219
|
+
role: string;
|
|
220
|
+
content: {
|
|
221
|
+
type: string;
|
|
222
|
+
text: string;
|
|
223
|
+
};
|
|
224
|
+
}[];
|
|
225
|
+
};
|
|
226
|
+
"security-triage": {
|
|
227
|
+
name: string;
|
|
228
|
+
description: string;
|
|
229
|
+
arguments: {
|
|
230
|
+
name: string;
|
|
231
|
+
description: string;
|
|
232
|
+
required: boolean;
|
|
233
|
+
}[];
|
|
234
|
+
messages: {
|
|
235
|
+
role: string;
|
|
236
|
+
content: {
|
|
237
|
+
type: string;
|
|
238
|
+
text: string;
|
|
239
|
+
};
|
|
240
|
+
}[];
|
|
241
|
+
};
|
|
242
|
+
"architecture-design": {
|
|
243
|
+
name: string;
|
|
244
|
+
description: string;
|
|
245
|
+
arguments: {
|
|
246
|
+
name: string;
|
|
247
|
+
description: string;
|
|
248
|
+
required: boolean;
|
|
249
|
+
}[];
|
|
166
250
|
messages: {
|
|
167
251
|
role: string;
|
|
168
252
|
content: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/prompts/registry.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/prompts/registry.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgfnB,CAAC"}
|
package/dist/prompts/registry.js
CHANGED
|
@@ -118,7 +118,7 @@ Memory is a permanent record, categorize it properly with tags.`
|
|
|
118
118
|
|
|
119
119
|
2. Resource & Tool Usage:
|
|
120
120
|
- MANDATORY: Always call 'task-list' at the very start of a new session to understand current progress and avoid duplicating work.
|
|
121
|
-
- Resource: You can also read 'tasks://current
|
|
121
|
+
- Resource: You can also read 'tasks://current' for a filtered view of active tasks for the current repository.
|
|
122
122
|
- Coordinate: If a task is already 'in_progress', do not attempt to work on it unless specifically asked to collaborate.
|
|
123
123
|
|
|
124
124
|
3. Workflow Integration:
|
|
@@ -131,25 +131,19 @@ Memory is a permanent record, categorize it properly with tags.`
|
|
|
131
131
|
},
|
|
132
132
|
"import-github-issues": {
|
|
133
133
|
name: "import-github-issues",
|
|
134
|
-
description: "Guide for importing GitHub Issues as local tasks",
|
|
135
|
-
arguments: [
|
|
136
|
-
{
|
|
137
|
-
name: "repo",
|
|
138
|
-
description: "GitHub repository in 'owner/repo' format",
|
|
139
|
-
required: true
|
|
140
|
-
}
|
|
141
|
-
],
|
|
134
|
+
description: "Guide for importing GitHub Issues from the current repository as local tasks",
|
|
135
|
+
arguments: [],
|
|
142
136
|
messages: [
|
|
143
137
|
{
|
|
144
138
|
role: "user",
|
|
145
139
|
content: {
|
|
146
140
|
type: "text",
|
|
147
|
-
text: `You are tasked with importing GitHub Issues from the repository
|
|
141
|
+
text: `You are tasked with importing GitHub Issues from the current repository into our local task management system.
|
|
148
142
|
|
|
149
143
|
Please follow these steps:
|
|
150
144
|
|
|
151
|
-
1. **Access Issues**: Use available GitHub MCP tools to list open issues for the repository
|
|
152
|
-
2. **Review Existing Tasks**: Call 'task-list' for the current
|
|
145
|
+
1. **Access Issues**: Use available GitHub MCP tools to list open issues for the current repository.
|
|
146
|
+
2. **Review Existing Tasks**: Call 'task-list' for the current repository to identify tasks already imported.
|
|
153
147
|
3. **Map and Create**: For each relevant issue that hasn't been imported yet:
|
|
154
148
|
- Use 'task-manage' with action='create'.
|
|
155
149
|
- Set 'task_code' to 'GH-{{issue_number}}' (e.g., GH-123).
|
|
@@ -167,18 +161,16 @@ Please follow these steps:
|
|
|
167
161
|
"project-briefing": {
|
|
168
162
|
name: "project-briefing",
|
|
169
163
|
description: "Onboard the agent to the current repository state",
|
|
170
|
-
arguments: [
|
|
171
|
-
{ name: "repo", description: "The current repository name", required: true }
|
|
172
|
-
],
|
|
164
|
+
arguments: [],
|
|
173
165
|
messages: [
|
|
174
166
|
{
|
|
175
167
|
role: "user",
|
|
176
168
|
content: {
|
|
177
169
|
type: "text",
|
|
178
|
-
text: `I am starting a new session in repository
|
|
170
|
+
text: `I am starting a new session in the current repository.
|
|
179
171
|
|
|
180
172
|
Please perform a briefing to catch up on the project:
|
|
181
|
-
1. **Recent Knowledge**: Call 'memory-recap' to see the latest decisions, patterns, and mistakes recorded
|
|
173
|
+
1. **Recent Knowledge**: Call 'memory-recap' for the current repo to see the latest decisions, patterns, and mistakes recorded.
|
|
182
174
|
2. **Current Tasks**: Call 'task-list' to understand what is currently pending or in-progress.
|
|
183
175
|
3. **Context Check**: Summarize the top 3 most important architectural decisions you found.
|
|
184
176
|
4. **Readiness**: Tell me what you are ready to help with based on the current backlog.`
|
|
@@ -188,9 +180,8 @@ Please perform a briefing to catch up on the project:
|
|
|
188
180
|
},
|
|
189
181
|
"learning-retrospective": {
|
|
190
182
|
name: "learning-retrospective",
|
|
191
|
-
description: "Extract durable knowledge from recent work",
|
|
183
|
+
description: "Extract durable knowledge from recent work in the current repository",
|
|
192
184
|
arguments: [
|
|
193
|
-
{ name: "repo", description: "The current repository name", required: true },
|
|
194
185
|
{ name: "task_id", description: "Optional ID of the task just completed", required: false }
|
|
195
186
|
],
|
|
196
187
|
messages: [
|
|
@@ -198,7 +189,7 @@ Please perform a briefing to catch up on the project:
|
|
|
198
189
|
role: "user",
|
|
199
190
|
content: {
|
|
200
191
|
type: "text",
|
|
201
|
-
text: `We have just finished some work in
|
|
192
|
+
text: `We have just finished some work in the current repository related to task {{task_id}}.
|
|
202
193
|
|
|
203
194
|
Please reflect on the changes and identify knowledge worth keeping:
|
|
204
195
|
1. **Mistakes**: Did we encounter any bugs that were hard to find or caused by specific environment quirks? (Store as 'mistake')
|
|
@@ -212,20 +203,19 @@ Use 'memory-store' to record any high-value findings. Be concise and use appropr
|
|
|
212
203
|
},
|
|
213
204
|
"memory-guided-review": {
|
|
214
205
|
name: "memory-guided-review",
|
|
215
|
-
description: "Review code for compliance with stored project decisions",
|
|
206
|
+
description: "Review code for compliance with stored project decisions in the current repository",
|
|
216
207
|
arguments: [
|
|
217
|
-
{ name: "file_path", description: "Path to the file to review", required: true }
|
|
218
|
-
{ name: "repo", description: "The current repository name", required: true }
|
|
208
|
+
{ name: "file_path", description: "Path to the file to review", required: true }
|
|
219
209
|
],
|
|
220
210
|
messages: [
|
|
221
211
|
{
|
|
222
212
|
role: "user",
|
|
223
213
|
content: {
|
|
224
214
|
type: "text",
|
|
225
|
-
text: `Please review the code in '{{file_path}}'
|
|
215
|
+
text: `Please review the code in '{{file_path}}'.
|
|
226
216
|
|
|
227
|
-
Your goal is to ensure compliance with our stored project knowledge:
|
|
228
|
-
1. **Search Constraints**: Use 'memory-search' with current_file_path='{{file_path}}' to find relevant decisions and patterns.
|
|
217
|
+
Your goal is to ensure compliance with our stored project knowledge for the current repository:
|
|
218
|
+
1. **Search Constraints**: Use 'memory-search' with current_file_path='{{file_path}}' and the current repo context to find relevant decisions and patterns.
|
|
229
219
|
2. **Evaluate Compliance**: Does the code follow established patterns? Does it repeat any known mistakes?
|
|
230
220
|
3. **Feedback**: Provide specific suggestions for improvement if you find violations of stored decisions.`
|
|
231
221
|
}
|
|
@@ -234,21 +224,20 @@ Your goal is to ensure compliance with our stored project knowledge:
|
|
|
234
224
|
},
|
|
235
225
|
"session-planner": {
|
|
236
226
|
name: "session-planner",
|
|
237
|
-
description: "Break down a complex objective into atomic tasks",
|
|
227
|
+
description: "Break down a complex objective into atomic tasks for the current repository",
|
|
238
228
|
arguments: [
|
|
239
|
-
{ name: "objective", description: "The high-level goal for this session", required: true }
|
|
240
|
-
{ name: "repo", description: "The current repository name", required: true }
|
|
229
|
+
{ name: "objective", description: "The high-level goal for this session", required: true }
|
|
241
230
|
],
|
|
242
231
|
messages: [
|
|
243
232
|
{
|
|
244
233
|
role: "user",
|
|
245
234
|
content: {
|
|
246
235
|
type: "text",
|
|
247
|
-
text: `Our objective for today in
|
|
236
|
+
text: `Our objective for today in the current repository is: '{{objective}}'.
|
|
248
237
|
|
|
249
238
|
Please act as a project manager and plan the execution:
|
|
250
239
|
1. **Analyze**: Break this objective down into 3-7 small, atomic, and verifiable tasks.
|
|
251
|
-
2. **Execute**: Use 'task-manage' with action='create' to add these to the local tracker.
|
|
240
|
+
2. **Execute**: Use 'task-manage' with action='create' to add these to the local tracker for the current repo.
|
|
252
241
|
3. **Hierarchy**: Use 'parent_id' or 'depends_on' if there is a clear order of operations.
|
|
253
242
|
4. **Phases**: Group tasks into phases like 'research', 'implementation', and 'validation'.
|
|
254
243
|
|
|
@@ -259,17 +248,16 @@ Display the created plan to the user when done.`
|
|
|
259
248
|
},
|
|
260
249
|
"tech-affinity-scout": {
|
|
261
250
|
name: "tech-affinity-scout",
|
|
262
|
-
description: "Find relevant best practices from other projects with similar tech",
|
|
251
|
+
description: "Find relevant best practices from other projects with similar tech for the current repository",
|
|
263
252
|
arguments: [
|
|
264
|
-
{ name: "tags", description: "Comma-separated tech tags (e.g., 'react, tailwind')", required: true }
|
|
265
|
-
{ name: "repo", description: "The current repository name", required: true }
|
|
253
|
+
{ name: "tags", description: "Comma-separated tech tags (e.g., 'react, tailwind')", required: true }
|
|
266
254
|
],
|
|
267
255
|
messages: [
|
|
268
256
|
{
|
|
269
257
|
role: "user",
|
|
270
258
|
content: {
|
|
271
259
|
type: "text",
|
|
272
|
-
text: `I am working on
|
|
260
|
+
text: `I am working on the current repository using [{{tags}}].
|
|
273
261
|
|
|
274
262
|
Please scout for relevant knowledge from other projects:
|
|
275
263
|
1. **Search**: Use 'memory-search' with current_tags=[{{tags}}] and include_archived=false.
|
|
@@ -281,29 +269,27 @@ Please scout for relevant knowledge from other projects:
|
|
|
281
269
|
},
|
|
282
270
|
"documentation-sync": {
|
|
283
271
|
name: "documentation-sync",
|
|
284
|
-
description: "Reconcile memory decisions with local markdown files",
|
|
285
|
-
arguments: [
|
|
286
|
-
{ name: "repo", description: "The current repository name", required: true }
|
|
287
|
-
],
|
|
272
|
+
description: "Reconcile memory decisions with local markdown files in the current repository",
|
|
273
|
+
arguments: [],
|
|
288
274
|
messages: [
|
|
289
275
|
{
|
|
290
276
|
role: "user",
|
|
291
277
|
content: {
|
|
292
278
|
type: "text",
|
|
293
|
-
text: `Please verify if our local documentation (README.md, docs/*.md) is in sync with our stored memories for
|
|
279
|
+
text: `Please verify if our local documentation (README.md, docs/*.md, .agents/documents/**/*.md, .kiro/**/*.md) is in sync with our stored memories for the current repository.
|
|
294
280
|
|
|
295
281
|
Steps:
|
|
296
282
|
1. **Fetch Decisions**: Use 'memory-search' to find all 'decision' type memories for this repo.
|
|
297
|
-
2. **Read Docs**: Read the primary project documentation files.
|
|
283
|
+
2. **Read Docs**: Read the primary project documentation files including those in .agents/documents and .kiro.
|
|
298
284
|
3. **Identify Gaps**: Is there any durable knowledge in the memory that is MISSING from the docs? Is there any documentation that is OUTDATED based on recent decisions?
|
|
299
285
|
4. **Propose Updates**: Suggest specific changes to the documentation to reflect the current source of truth.`
|
|
300
286
|
}
|
|
301
287
|
}
|
|
302
288
|
]
|
|
303
289
|
},
|
|
304
|
-
"task-executor": {
|
|
305
|
-
name: "task-executor",
|
|
306
|
-
description: "Execute all pending tasks
|
|
290
|
+
"task-memory-executor": {
|
|
291
|
+
name: "task-memory-executor",
|
|
292
|
+
description: "Execute all pending tasks for the current repository, updating status and storing handoffs in memory",
|
|
307
293
|
arguments: [],
|
|
308
294
|
messages: [
|
|
309
295
|
{
|
|
@@ -315,16 +301,195 @@ Steps:
|
|
|
315
301
|
Please follow this strict execution flow:
|
|
316
302
|
|
|
317
303
|
1. **Identify Repository**: Determine the current repository name (e.g., from git config or workspace context).
|
|
318
|
-
2. **Fetch Tasks**: Call 'task-list' for the identified repository
|
|
319
|
-
3. **
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
304
|
+
2. **Fetch Tasks**: Call 'task-list' for the identified repository for statuses 'pending' and 'in_progress'.
|
|
305
|
+
3. **Filter Stale**: Identify 'in_progress' tasks that are **stale** (stale is defined as > 30 Minutes without update, often because an agent stopped or crashed).
|
|
306
|
+
4. **Process Sequentially**: For each task (all 'pending' + all 'stale in_progress') found:
|
|
307
|
+
- **Start**: Call 'task-update' to set status='in_progress' and provide current agent/role information.
|
|
308
|
+
- **Execute**: Perform the work described in the task title and description.
|
|
309
|
+
- **Validate**: Ensure the work is correct and follows project standards.
|
|
310
|
+
- **Complete**: Call 'task-update' to set status='completed' with a summary of accomplishment in the 'comment' field.
|
|
311
|
+
- **Commit**: Perform an atomic git commit and push for the changes made in the task.
|
|
312
|
+
- **Handoff**: Always use 'memory-store' (type='agent_handoff') to document **detailed fix steps** and project-specific knowledge gained during execution. If the task was complex, decompose it into smaller sub-tasks and store them using 'task-create' (referencing the current task's ID as \`parent_id\`).
|
|
313
|
+
5. **Report**: After processing all tasks, provide a summary of your progress.
|
|
314
|
+
|
|
315
|
+
If a task becomes blocked, update its status to 'blocked' with a **clear reason and recommended next steps for resolution** in the 'comment' field, then move to the next task.`
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
]
|
|
319
|
+
},
|
|
320
|
+
"senior-code-review": {
|
|
321
|
+
name: "senior-code-review",
|
|
322
|
+
description: "Performs a comprehensive production-readiness evaluation for the current repository context",
|
|
323
|
+
arguments: [
|
|
324
|
+
{ name: "tech_stack", description: "Target tech stack (e.g., 'Node.js + Express')", required: true },
|
|
325
|
+
{ name: "context", description: "Production context (traffic, data sensitivity, SLA, conventions)", required: false }
|
|
326
|
+
],
|
|
327
|
+
messages: [
|
|
328
|
+
{
|
|
329
|
+
role: "user",
|
|
330
|
+
content: {
|
|
331
|
+
type: "text",
|
|
332
|
+
text: `Act as a principal software engineer performing a production-readiness review for the current repository.
|
|
333
|
+
|
|
334
|
+
Stack: {{tech_stack}}
|
|
335
|
+
Context: {{context}}
|
|
336
|
+
|
|
337
|
+
Please review the current code/changes against these 6 dimensions:
|
|
338
|
+
1. **Error Handling Completeness**
|
|
339
|
+
2. **Security** (Injection, Input validation, PII/Secrets)
|
|
340
|
+
3. **Performance** (Time/Memory complexity, DB queries)
|
|
341
|
+
4. **Observability** (Logging, Metrics, Tracing)
|
|
342
|
+
5. **Test Coverage**
|
|
343
|
+
6. **Documentation**
|
|
344
|
+
|
|
345
|
+
For each finding, provide:
|
|
346
|
+
- **Severity**: P0-P3
|
|
347
|
+
- **Dimension**: One of the above
|
|
348
|
+
- **Location**: Specific function/line
|
|
349
|
+
- **Problem**: What is wrong and why it matters
|
|
350
|
+
- **Fix**: Actionable recommendation
|
|
351
|
+
|
|
352
|
+
Produce a **Production Readiness Verdict**: READY | READY WITH MINOR FIXES | NOT READY`
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
]
|
|
356
|
+
},
|
|
357
|
+
"fix-suggestion": {
|
|
358
|
+
name: "fix-suggestion",
|
|
359
|
+
description: "Provide a targeted, minimal fix for an identified bug with before/after code and a test case",
|
|
360
|
+
arguments: [
|
|
361
|
+
{ name: "tech_stack", description: "Target technology stack", required: true },
|
|
362
|
+
{ name: "bug_description", description: "Description of the bug behavior", required: true },
|
|
363
|
+
{ name: "root_cause", description: "The identified root cause", required: true }
|
|
364
|
+
],
|
|
365
|
+
messages: [
|
|
366
|
+
{
|
|
367
|
+
role: "user",
|
|
368
|
+
content: {
|
|
369
|
+
type: "text",
|
|
370
|
+
text: `You are a senior software engineer generating a precise, minimal fix for a confirmed bug in the current repository.
|
|
371
|
+
|
|
372
|
+
Tech stack: {{tech_stack}}
|
|
373
|
+
Bug description: {{bug_description}}
|
|
374
|
+
Root cause: {{root_cause}}
|
|
375
|
+
|
|
376
|
+
Please provide:
|
|
377
|
+
1. **Fix Explanation**: Why the bug occurs and how the fix resolves it.
|
|
378
|
+
2. **Before Code**: Show original buggy code.
|
|
379
|
+
3. **After Code**: Show fixed code with explanatory comments.
|
|
380
|
+
4. **Fix Checklist**: Additional changes (config, migrations, etc.)
|
|
381
|
+
5. **Test Case**: A regression test case to verify the fix.`
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
]
|
|
385
|
+
},
|
|
386
|
+
"root-cause-analysis": {
|
|
387
|
+
name: "root-cause-analysis",
|
|
388
|
+
description: "Apply structured 5-Why analysis to trace bugs to their origin",
|
|
389
|
+
arguments: [
|
|
390
|
+
{ name: "tech_stack", description: "Target technology stack", required: true },
|
|
391
|
+
{ name: "bug_description", description: "Observable symptom or bug behavior", required: true },
|
|
392
|
+
{ name: "symptoms", description: "Additional errors, logs, metrics", required: false }
|
|
393
|
+
],
|
|
394
|
+
messages: [
|
|
395
|
+
{
|
|
396
|
+
role: "user",
|
|
397
|
+
content: {
|
|
398
|
+
type: "text",
|
|
399
|
+
text: `You are a senior software engineer conducting a root cause analysis for a bug in the current repository.
|
|
400
|
+
|
|
401
|
+
Tech stack: {{tech_stack}}
|
|
402
|
+
Bug description: {{bug_description}}
|
|
403
|
+
Symptoms: {{symptoms}}
|
|
404
|
+
|
|
405
|
+
Apply a full **5-Why analysis**:
|
|
406
|
+
1. **Symptom Statement**: Technically restate the problem.
|
|
407
|
+
2. **5-Why Causal Chain**: Trace from symptom to the core process/design/environmental failure.
|
|
408
|
+
3. **Root Cause Statement**: "The root cause is [X] because [Y], which allowed [Z] to occur."
|
|
409
|
+
4. **Fix Recommendation**: Address the root cause, not just the symptom.
|
|
410
|
+
5. **Recurrence Prevention**: Suggest a monitoring or testing measure.`
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
]
|
|
414
|
+
},
|
|
415
|
+
"technical-planning": {
|
|
416
|
+
name: "technical-planning",
|
|
417
|
+
description: "Define the technical blueprint for a new feature or product",
|
|
418
|
+
arguments: [
|
|
419
|
+
{ name: "objective", description: "The high-level goal for the plan", required: true }
|
|
420
|
+
],
|
|
421
|
+
messages: [
|
|
422
|
+
{
|
|
423
|
+
role: "user",
|
|
424
|
+
content: {
|
|
425
|
+
type: "text",
|
|
426
|
+
text: `You are tasked with creating a technical blueprint for the following objective in the current repository: '{{objective}}'.
|
|
427
|
+
|
|
428
|
+
Please cover:
|
|
429
|
+
1. **Tech Stack**: Confirm or select the stack.
|
|
430
|
+
2. **Architecture**: Component layout and data flow.
|
|
431
|
+
3. **Domain Model**: Entities, value objects, and events.
|
|
432
|
+
4. **Database Schema**: Normalized tables and relationships.
|
|
433
|
+
5. **API Contracts**: Endpoint definitions (request/response/errors).
|
|
434
|
+
6. **Roadmap & Sprints**: Phased delivery plan.
|
|
435
|
+
|
|
436
|
+
Present a cohesive technical design and obtain feedback before proceeding to implementation.`
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
]
|
|
440
|
+
},
|
|
441
|
+
"security-triage": {
|
|
442
|
+
name: "security-triage",
|
|
443
|
+
description: "Assess security vulnerability reports for exploitability and prioritize remediation",
|
|
444
|
+
arguments: [
|
|
445
|
+
{ name: "tech_stack", description: "Application stack", required: true },
|
|
446
|
+
{ name: "vulnerability_report", description: "Report details (CVE, SAST, etc.)", required: true },
|
|
447
|
+
{ name: "codebase_context", description: "Component usage context", required: false }
|
|
448
|
+
],
|
|
449
|
+
messages: [
|
|
450
|
+
{
|
|
451
|
+
role: "user",
|
|
452
|
+
content: {
|
|
453
|
+
type: "text",
|
|
454
|
+
text: `Act as a senior application security engineer triaging a vulnerability for the current repository.
|
|
455
|
+
|
|
456
|
+
Stack: {{tech_stack}}
|
|
457
|
+
Report: {{vulnerability_report}}
|
|
458
|
+
Codebase context: {{codebase_context}}
|
|
459
|
+
|
|
460
|
+
Please provide:
|
|
461
|
+
1. **Vulnerability Classification**: Type, CVE, CVSS, and attack vector.
|
|
462
|
+
2. **Exploitability Assessment**: Contextual reachability and realistic scenarios.
|
|
463
|
+
3. **Impact Assessment**: Impact on Confidentiality, Integrity, and Availability.
|
|
464
|
+
4. **Remediation Priority & Fix**: Concrete priority (P0-P3) and fix steps.
|
|
465
|
+
5. **Verification**: How to test and verify the fix.`
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
]
|
|
469
|
+
},
|
|
470
|
+
"architecture-design": {
|
|
471
|
+
name: "architecture-design",
|
|
472
|
+
description: "Plan system architecture, component layout, and data flow",
|
|
473
|
+
arguments: [
|
|
474
|
+
{ name: "tech_stack", description: "Technology stack", required: true },
|
|
475
|
+
{ name: "requirements", description: "Key functional and non-functional requirements", required: true }
|
|
476
|
+
],
|
|
477
|
+
messages: [
|
|
478
|
+
{
|
|
479
|
+
role: "user",
|
|
480
|
+
content: {
|
|
481
|
+
type: "text",
|
|
482
|
+
text: `Design the architecture for a system in the current repository.
|
|
483
|
+
|
|
484
|
+
Stack: {{tech_stack}}
|
|
485
|
+
Requirements: {{requirements}}
|
|
486
|
+
|
|
487
|
+
Produce a comprehensive architecture overview:
|
|
488
|
+
1. **Component Diagram**: Major blocks and their responsibilities.
|
|
489
|
+
2. **Data Flow**: How information moves through the system.
|
|
490
|
+
3. **Key Technical Decisions**: Rationale for chosen patterns.
|
|
491
|
+
4. **Scalability & Reliability**: How the design handles growth and failure.
|
|
492
|
+
5. **Security Considerations**: Identity, data protection, and boundaries.`
|
|
328
493
|
}
|
|
329
494
|
}
|
|
330
495
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../../src/prompts/registry.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,mBAAmB,EAAE;QACnB,IAAI,EAAE,mBAAmB;QACzB,WAAW,EAAE,kDAAkD;QAC/D,SAAS,EAAE,EAAE;QACb,QAAQ,EAAE;YACR;gBACE,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE;oBACP,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE;;;;;;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W,EACf,OAAO,EAAE,WAAW,GACnB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../src/router.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAYzC,wBAAgB,YAAY,CAC1B,EAAE,EAAE,WAAW,EACf,OAAO,EAAE,WAAW,GACnB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,CAAC,CAyI/C"}
|