@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,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: project-briefing
|
|
3
|
-
description:
|
|
3
|
+
description: Contextual onboarding to current repository.
|
|
4
4
|
arguments: []
|
|
5
5
|
agent: Session Concierge
|
|
6
6
|
---
|
|
7
|
-
|
|
7
|
+
Initialize session in repository.
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
1. **
|
|
11
|
-
2. **
|
|
12
|
-
3. **Context
|
|
13
|
-
4. **
|
|
9
|
+
Briefing Steps:
|
|
10
|
+
1. **Discover**: Call `memory-search` (current repo) to find recent decisions, patterns, and mistakes.
|
|
11
|
+
2. **Backlog**: Call `task-list` to see active/pending tasks.
|
|
12
|
+
3. **Core Context**: Summarize the top 3 architectural decisions found.
|
|
13
|
+
4. **Action**: Propose next steps based on backlog.
|
|
@@ -1,131 +1,48 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: review-and-audit
|
|
3
|
-
description: Audit documentation against implementation
|
|
3
|
+
description: Audit documentation against implementation; generate local tasks for gaps.
|
|
4
4
|
arguments:
|
|
5
5
|
- name: target
|
|
6
|
-
description:
|
|
6
|
+
description: Module, feature, or component to audit.
|
|
7
7
|
required: false
|
|
8
8
|
agent: Quality Auditor
|
|
9
9
|
---
|
|
10
|
-
# Skill: review-audit
|
|
11
|
-
|
|
12
|
-
##
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
* `local-memory-mcp` MCP tools `task-create`
|
|
50
|
-
* `local-memory-mcp` MCP tools `memory-store`
|
|
51
|
-
* `local-memory-mcp` MCP tools `task-list`
|
|
52
|
-
* `local-memory-mcp` MCP tools `memory-search`
|
|
53
|
-
|
|
54
|
-
**❌ DO NOT:**
|
|
55
|
-
* Output explanations or narrative text
|
|
56
|
-
* Output code or plans outside MCP
|
|
57
|
-
* Suggest fixes directly
|
|
58
|
-
|
|
59
|
-
---
|
|
60
|
-
|
|
61
|
-
### 3. PRE-ANALYSIS FOR TASK GENERATION (MANDATORY)
|
|
62
|
-
Before creating tasks, you MUST:
|
|
63
|
-
1. **Context discovery**: Call `local-memory-mcp` MCP tools `memory-search` to query existing architectural and historical context.
|
|
64
|
-
2. **Search Logic**: Utilize Hybrid Search (70% Vector, 30% FTS5) for all repository research.
|
|
65
|
-
3. **Conflict Prevention**: Respect the 0.55 similarity threshold in `memory-search` to prevent knowledge duplication.
|
|
66
|
-
4. **Sync backlog**: Call `local-memory-mcp` MCP tools `task-list` to check existing tasks. **CRITICAL: Do NOT create a new task if a similar, redundant task already exists in `backlog` or `pending` status. If your new findings are distinct but related to an existing task, link them using `parent_id` or `depends_on` instead of creating an isolated task.**
|
|
67
|
-
|
|
68
|
-
---
|
|
69
|
-
|
|
70
|
-
### 4. TASK DESIGN PRINCIPLES
|
|
71
|
-
Each task MUST be:
|
|
72
|
-
* **Atomic & Independent**: Exactly ONE logical change per task.
|
|
73
|
-
* **Context-Rich**: Include file paths, class/function names, and API endpoints.
|
|
74
|
-
* **Layer-Aware**: Specify if it's Database, Service, State, or UI layer.
|
|
75
|
-
* **Contract-First**: Follow project API standards (include request/response shapes).
|
|
76
|
-
* **Test-Ready**: Include at least one Positive and one Negative test case.
|
|
77
|
-
|
|
78
|
-
---
|
|
79
|
-
|
|
80
|
-
### 5. TASK ATTRIBUTES (MANDATORY)
|
|
81
|
-
Each `local-memory-mcp` MCP tools `task-create` MUST include:
|
|
82
|
-
* `task_code`: (e.g., FEAT-123 / FIX-456 / REFACTOR-789)
|
|
83
|
-
* `phase`: (Discovery / Implementation / Testing)
|
|
84
|
-
* `priority`: (1–5)
|
|
85
|
-
* `agent`: Current agent's name/role
|
|
86
|
-
* `model`: Current AI model being used
|
|
87
|
-
|
|
88
|
-
#### 🔥 DESCRIPTION FORMAT (STRICT)
|
|
89
|
-
The `description` field MUST follow this structure EXACTLY:
|
|
90
|
-
|
|
91
|
-
#### 1. Context & Analysis
|
|
92
|
-
* **Finding / Trigger**: The audit finding or gap that triggered this task.
|
|
93
|
-
* **Observation & Analysis**: The results of your context reading and technical reasoning.
|
|
94
|
-
* **Goal**: A clear, non-redundant statement of what needs to be achieved.
|
|
95
|
-
|
|
96
|
-
#### 2. Target Files & Implementation
|
|
97
|
-
* Group by layer or exact file path. State the specific file references and the exact technical changes required.
|
|
98
|
-
* **Constraint**: Do NOT separate scope, references, and steps into different sections. Combine them here to avoid redundancy.
|
|
99
|
-
|
|
100
|
-
#### 3. Acceptance & Verification
|
|
101
|
-
* **Checklist**: Actionable criteria (e.g., `[ ] Condition 1`) that prove the gap is resolved.
|
|
102
|
-
* **Testing**: Brief Positive/Negative scenarios to confirm success.
|
|
103
|
-
|
|
104
|
-
---
|
|
105
|
-
|
|
106
|
-
### metadata (MANDATORY)
|
|
107
|
-
* Required agent role.
|
|
108
|
-
* Additional technical context.
|
|
109
|
-
|
|
110
|
-
---
|
|
111
|
-
|
|
112
|
-
### 6. MEMORY STORAGE (CONDITIONAL)
|
|
113
|
-
If the finding or gap involves a decision, new feature, or architectural change, you MUST log it as a memory using `local-memory-mcp` MCP tools `memory-store` with `type: decision`. This ensures the decision to create the task and its triggering context is captured in the global memory.
|
|
114
|
-
**CRITICAL**: Do NOT log tasks as decisions if they are purely for bug fixes or straightforward defect resolutions.
|
|
115
|
-
|
|
116
|
-
---
|
|
117
|
-
|
|
118
|
-
### 7. MULTI-TASK HANDLING
|
|
119
|
-
If gaps are complex:
|
|
120
|
-
1. Create a parent task.
|
|
121
|
-
2. Create child tasks using `parent_id` and `depends_on`.
|
|
122
|
-
|
|
123
|
-
---
|
|
124
|
-
|
|
125
|
-
### 8. FINAL SELF-CHECK (MANDATORY)
|
|
126
|
-
Before finishing, validate:
|
|
127
|
-
* ❌ No code was written.
|
|
128
|
-
* ❌ No execution was performed.
|
|
129
|
-
* ✅ Only MCP task operations exist.
|
|
130
|
-
|
|
131
|
-
extra_context:
|
|
10
|
+
# Skill: review-and-audit (Audit Agent)
|
|
11
|
+
|
|
12
|
+
## 1. ANALYSIS
|
|
13
|
+
1. **Sequential Discovery**: Explore docs and code sequentially. NO parallel sub-agents.
|
|
14
|
+
2. **UX Audit**: Use `chrome-dev-tools` for visual, navigation, and responsiveness checks.
|
|
15
|
+
3. **Compare**: Match docs + code findings against live UI to find gaps/misalignments.
|
|
16
|
+
|
|
17
|
+
## 🚫 FORBIDDEN: NON-EXECUTION
|
|
18
|
+
DO NOT edit/create/delete files, run commands, or implement code.
|
|
19
|
+
**Allowed**: Read code, `chrome-dev-tools`, `task-create`, `memory-store`, `task-list`, `memory-search`.
|
|
20
|
+
|
|
21
|
+
## ✅ OUTPUT: MCP ONLY
|
|
22
|
+
ONLY call MCP tools. No prose, code, or external plans.
|
|
23
|
+
|
|
24
|
+
## 2. PRE-TASK ANALYSIS
|
|
25
|
+
1. **Search**: Call `memory-search` (Hybrid Search). 0.55 similarity threshold.
|
|
26
|
+
2. **De-duplicate**: Call `task-list`. Skip existing/redundant tasks. Link via `parent_id`/`depends_on`.
|
|
27
|
+
|
|
28
|
+
## 3. TASK DESIGN & FORMAT
|
|
29
|
+
- **Atomic**: One change per task.
|
|
30
|
+
- **Attributes**: `task_code`, `phase`, `priority`, `agent`, `model`.
|
|
31
|
+
- **Description** (STRICT FORMAT):
|
|
32
|
+
### 1. Context & Analysis
|
|
33
|
+
- **Finding**: Gap trigger.
|
|
34
|
+
- **Observation**: Reasoning.
|
|
35
|
+
- **Goal**: Clear objective.
|
|
36
|
+
### 2. Target Files & Implementation
|
|
37
|
+
- Combined scope/steps per path/layer.
|
|
38
|
+
### 3. Acceptance & Verification
|
|
39
|
+
- **Checklist**: `[ ]` criteria.
|
|
40
|
+
- **Testing**: Scenarios.
|
|
41
|
+
|
|
42
|
+
## 4. LOGGING & MULTI-TASK
|
|
43
|
+
- Log architectural/feature changes as `type: decision` via `memory-store`.
|
|
44
|
+
- Use Parent/Child structure for complex gaps.
|
|
45
|
+
|
|
46
|
+
## 5. SELF-CHECK
|
|
47
|
+
- ❌ No implementation.
|
|
48
|
+
- ✅ ONLY MCP tool calls.
|
|
@@ -1,103 +1,50 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: review-and-post-issue
|
|
3
|
-
description: Audit documentation against implementation
|
|
3
|
+
description: Audit documentation against implementation; generate GitHub issues for gaps.
|
|
4
4
|
arguments:
|
|
5
5
|
- name: owner
|
|
6
|
-
description: GitHub
|
|
6
|
+
description: GitHub repo owner.
|
|
7
7
|
required: true
|
|
8
8
|
- name: repo
|
|
9
|
-
description: GitHub
|
|
9
|
+
description: GitHub repo name.
|
|
10
10
|
required: true
|
|
11
11
|
- name: target
|
|
12
|
-
description:
|
|
12
|
+
description: Module, feature, or component to audit.
|
|
13
13
|
required: false
|
|
14
14
|
agent: Quality Auditor
|
|
15
15
|
---
|
|
16
|
-
# Skill: review-and-post-issue
|
|
17
|
-
|
|
18
|
-
##
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
### ✅ ALLOWED OUTPUT (STRICT)
|
|
52
|
-
If gaps are found, your output MUST ONLY consist of calls to:
|
|
53
|
-
* **Github MCP Server Tools (search_issues)**
|
|
54
|
-
* **Github MCP Server Tools (issue_write)**
|
|
55
|
-
* `local-memory-mcp` MCP tools `memory-search`
|
|
56
|
-
|
|
57
|
-
**❌ DO NOT:**
|
|
58
|
-
* Output explanations or narrative text
|
|
59
|
-
* Output code or plans outside GitHub
|
|
60
|
-
* Suggest fixes directly
|
|
61
|
-
|
|
62
|
-
---
|
|
63
|
-
|
|
64
|
-
### 3. PRE-ANALYSIS FOR ISSUE GENERATION (MANDATORY)
|
|
65
|
-
Before creating issues, you MUST:
|
|
66
|
-
1. **Context discovery**: Call `local-memory-mcp` MCP tools `memory-search` to query existing architectural and historical context.
|
|
67
|
-
2. **Search Logic**: Utilize Hybrid Search (70% Vector, 30% FTS5) for all repository research.
|
|
68
|
-
3. **Conflict Prevention**: Respect the 0.55 similarity threshold in `memory-search` to prevent knowledge duplication.
|
|
69
|
-
4. **Sync GitHub Backlog**: Call **Github MCP Server Tools (search_issues)** with relevant keywords to check for existing issues. **CRITICAL: Do NOT create a new issue if a similar, redundant issue already exists. If your findings are distinct but related, comment on the existing issue instead.**
|
|
70
|
-
|
|
71
|
-
---
|
|
72
|
-
|
|
73
|
-
### 4. ISSUE DESIGN PRINCIPLES
|
|
74
|
-
Each issue MUST be:
|
|
75
|
-
* **Atomic & Independent**: Exactly ONE logical change per issue.
|
|
76
|
-
* **Context-Rich**: Include file paths, class/function names, and API endpoints.
|
|
77
|
-
* **Layer-Aware**: Specify if it's Database, Service, State, or UI layer.
|
|
78
|
-
* **Test-Ready**: Include at least one Positive and one Negative test case.
|
|
79
|
-
|
|
80
|
-
---
|
|
81
|
-
|
|
82
|
-
### 5. DESCRIPTION FORMAT (STRICT)
|
|
83
|
-
The `body` of each GitHub issue MUST follow this structure EXACTLY:
|
|
84
|
-
|
|
85
|
-
#### 1. Context & Analysis
|
|
86
|
-
* **Finding / Trigger**: The audit finding or gap that triggered this issue.
|
|
87
|
-
* **Observation & Analysis**: The results of your context reading and technical reasoning.
|
|
88
|
-
* **Goal**: A clear statement of what needs to be achieved.
|
|
89
|
-
|
|
90
|
-
#### 2. Target Files & Implementation
|
|
91
|
-
* Group by layer or exact file path. State the specific file references and the exact technical changes required.
|
|
92
|
-
|
|
93
|
-
#### 3. Acceptance & Verification
|
|
94
|
-
* **Checklist**: Actionable criteria (e.g., `[ ] Condition 1`) that prove the gap is resolved.
|
|
95
|
-
* **Testing**: Brief Positive/Negative scenarios to confirm success.
|
|
96
|
-
|
|
97
|
-
---
|
|
98
|
-
|
|
99
|
-
### 6. FINAL SELF-CHECK (MANDATORY)
|
|
100
|
-
Before finishing, validate:
|
|
101
|
-
* ❌ No code was written.
|
|
102
|
-
* ❌ No execution was performed.
|
|
103
|
-
* ✅ Only GitHub issue operations and memory searches exist.
|
|
16
|
+
# Skill: review-and-post-issue (Audit Agent)
|
|
17
|
+
|
|
18
|
+
## 1. ANALYSIS
|
|
19
|
+
1. **Sequential Discovery**: Explore docs and code sequentially. NO parallel sub-agents.
|
|
20
|
+
2. **UX Audit**: If applicable, use `chrome-dev-tools` for visual, navigation, and responsiveness checks.
|
|
21
|
+
3. **Compare**: Match findings against live UI to find gaps/misalignments.
|
|
22
|
+
|
|
23
|
+
## 🚫 FORBIDDEN: NON-EXECUTION
|
|
24
|
+
DO NOT edit/create/delete files, run commands, or implement code.
|
|
25
|
+
**Allowed**: Read code, `chrome-dev-tools`, `memory-search`, GitHub `search_issues`, `issue_write`.
|
|
26
|
+
|
|
27
|
+
## ✅ OUTPUT: GITHUB ONLY
|
|
28
|
+
ONLY call: `search_issues`, `issue_write` (method: 'create'), `memory-search`.
|
|
29
|
+
No prose. No external plans.
|
|
30
|
+
|
|
31
|
+
## 2. PRE-ISSUE ANALYSIS
|
|
32
|
+
1. **Search**: Call `memory-search` (Hybrid Search). 0.55 similarity threshold.
|
|
33
|
+
2. **De-duplicate**: Call `search_issues`. Skip existing/redundant issues. Comment on related issues if distinct.
|
|
34
|
+
|
|
35
|
+
## 3. ISSUE DESIGN & FORMAT
|
|
36
|
+
- **Atomic**: One change per issue.
|
|
37
|
+
- **Body** (STRICT FORMAT):
|
|
38
|
+
### 1. Context & Analysis
|
|
39
|
+
- **Finding**: Gap trigger.
|
|
40
|
+
- **Observation**: Reasoning.
|
|
41
|
+
- **Goal**: Clear objective.
|
|
42
|
+
### 2. Target Files & Implementation
|
|
43
|
+
- Path/layer specific changes.
|
|
44
|
+
### 3. Acceptance & Verification
|
|
45
|
+
- **Checklist**: `[ ]` criteria.
|
|
46
|
+
- **Testing**: Scenarios.
|
|
47
|
+
|
|
48
|
+
## 4. SELF-CHECK
|
|
49
|
+
- ❌ No implementation.
|
|
50
|
+
- ✅ ONLY GitHub/Memory tool calls.
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: root-cause-analysis
|
|
3
|
-
description:
|
|
3
|
+
description: 5-Why analysis to trace bug origins.
|
|
4
4
|
arguments:
|
|
5
5
|
- name: tech_stack
|
|
6
|
-
description: Target
|
|
6
|
+
description: Target tech stack.
|
|
7
7
|
required: true
|
|
8
8
|
- name: bug_description
|
|
9
|
-
description:
|
|
9
|
+
description: Bug behavior.
|
|
10
10
|
required: true
|
|
11
11
|
- name: symptoms
|
|
12
|
-
description:
|
|
12
|
+
description: Logs, errors, metrics.
|
|
13
13
|
required: false
|
|
14
14
|
agent: Diagnostic Lead
|
|
15
15
|
---
|
|
16
|
-
|
|
16
|
+
Conduct root cause analysis for repository bug.
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
Bug
|
|
18
|
+
Stack: {{tech_stack}}
|
|
19
|
+
Bug: {{bug_description}}
|
|
20
20
|
Symptoms: {{symptoms}}
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
1. **Symptom
|
|
24
|
-
2. **5-
|
|
25
|
-
3. **Root Cause
|
|
26
|
-
4. **
|
|
27
|
-
5. **
|
|
22
|
+
Output:
|
|
23
|
+
1. **Symptom**: Technical problem restatement.
|
|
24
|
+
2. **5-Whys**: Causal chain from symptom to core failure.
|
|
25
|
+
3. **Root Cause**: "The root cause is [X] because [Y], allowing [Z]."
|
|
26
|
+
4. **Recommendation**: Fix addressing root cause.
|
|
27
|
+
5. **Prevention**: Monitoring/testing measure.
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: security-triage
|
|
3
|
-
description: Assess
|
|
3
|
+
description: Assess vulnerability exploitability and prioritize fix.
|
|
4
4
|
arguments:
|
|
5
5
|
- name: tech_stack
|
|
6
|
-
description:
|
|
6
|
+
description: App stack.
|
|
7
7
|
required: true
|
|
8
8
|
- name: vulnerability_report
|
|
9
|
-
description: Report details (CVE, SAST
|
|
9
|
+
description: Report details (CVE, SAST).
|
|
10
10
|
required: true
|
|
11
11
|
- name: codebase_context
|
|
12
|
-
description:
|
|
12
|
+
description: Usage context.
|
|
13
13
|
required: false
|
|
14
14
|
agent: Security Engineer
|
|
15
15
|
---
|
|
16
|
-
|
|
16
|
+
Triage vulnerability for repository.
|
|
17
17
|
|
|
18
18
|
Stack: {{tech_stack}}
|
|
19
19
|
Report: {{vulnerability_report}}
|
|
20
|
-
|
|
20
|
+
Context: {{codebase_context}}
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
1. **
|
|
24
|
-
2. **Exploitability
|
|
25
|
-
3. **Impact
|
|
26
|
-
4. **Remediation Priority
|
|
27
|
-
5. **Verification**:
|
|
22
|
+
Output:
|
|
23
|
+
1. **Classification**: Type, CVE, CVSS, vector.
|
|
24
|
+
2. **Exploitability**: Reachability & scenarios.
|
|
25
|
+
3. **Impact**: CIA impact.
|
|
26
|
+
4. **Remediation**: Priority (P0-P3) & fix steps.
|
|
27
|
+
5. **Verification**: Testing method.
|
|
@@ -1,33 +1,32 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: senior-code-review
|
|
3
|
-
description:
|
|
3
|
+
description: Comprehensive production-readiness evaluation.
|
|
4
4
|
arguments:
|
|
5
5
|
- name: tech_stack
|
|
6
|
-
description:
|
|
6
|
+
description: Tech stack.
|
|
7
7
|
required: true
|
|
8
8
|
- name: context
|
|
9
|
-
description: Production context (
|
|
9
|
+
description: Production context (SLA, data, conventions).
|
|
10
10
|
required: false
|
|
11
11
|
agent: Principal Reviewer
|
|
12
12
|
---
|
|
13
|
-
|
|
13
|
+
Perform production-readiness review for repository.
|
|
14
14
|
|
|
15
15
|
Stack: {{tech_stack}}
|
|
16
16
|
Context: {{context}}
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
1. **
|
|
20
|
-
2. **Security
|
|
21
|
-
3. **Performance
|
|
22
|
-
4. **Observability
|
|
23
|
-
5. **
|
|
24
|
-
6. **
|
|
18
|
+
Audit Dimensions:
|
|
19
|
+
1. **Errors**: Completeness & patterns.
|
|
20
|
+
2. **Security**: Validation, injection, secrets.
|
|
21
|
+
3. **Performance**: Complexity, DB efficiency.
|
|
22
|
+
4. **Observability**: Logs, metrics, traces.
|
|
23
|
+
5. **Testing**: Coverage & quality.
|
|
24
|
+
6. **Docs**: Clarity & accuracy.
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
- **Severity**: P0-P3
|
|
28
|
-
- **
|
|
29
|
-
- **Location**:
|
|
30
|
-
- **
|
|
31
|
-
- **Fix**: Actionable recommendation
|
|
26
|
+
Output per Finding:
|
|
27
|
+
- **Severity**: P0-P3.
|
|
28
|
+
- **Problem**: What & why.
|
|
29
|
+
- **Location**: Path/function.
|
|
30
|
+
- **Fix**: Actionable step.
|
|
32
31
|
|
|
33
|
-
|
|
32
|
+
Verdict: READY | READY WITH MINOR FIXES | NOT READY
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: session-planner
|
|
3
|
-
description: Break
|
|
3
|
+
description: Break objective into atomic tasks.
|
|
4
4
|
arguments:
|
|
5
5
|
- name: objective
|
|
6
|
-
description:
|
|
6
|
+
description: High-level session goal.
|
|
7
7
|
required: true
|
|
8
8
|
agent: Strategy Lead
|
|
9
9
|
---
|
|
10
|
-
|
|
10
|
+
Plan execution for: '{{objective}}'.
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
1. **Analyze**: Break
|
|
14
|
-
2. **
|
|
15
|
-
3. **Hierarchy**: Use
|
|
16
|
-
4. **
|
|
12
|
+
Steps:
|
|
13
|
+
1. **Analyze**: Break into 3-7 atomic, verifiable tasks.
|
|
14
|
+
2. **Phase**: Group into 'research', 'implementation', 'validation'.
|
|
15
|
+
3. **Hierarchy**: Use `parent_id` / `depends_on` for sequencing.
|
|
16
|
+
4. **Create**: Use `task-create` in current repo.
|
|
17
17
|
|
|
18
|
-
Display
|
|
18
|
+
Display final plan to user.
|
|
@@ -1,28 +1,23 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: task-management-guidelines
|
|
3
|
-
description:
|
|
3
|
+
description: Task tracking & progress management standards.
|
|
4
4
|
arguments: []
|
|
5
5
|
agent: Project Manager
|
|
6
6
|
---
|
|
7
|
-
|
|
7
|
+
# Task Management Standards
|
|
8
8
|
|
|
9
|
-
1. task-list
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
- Search by keyword matching task_code, title, or description via the `query` param.
|
|
15
|
-
- After selecting a task from the table, fetch its full context via `task-detail` tool.
|
|
16
|
-
- Coordinate: If a task is already 'in_progress', do not attempt to work on it unless specifically asked to collaborate.
|
|
17
|
-
- DO NOT work on multiple tasks simultaneously.
|
|
9
|
+
## 1. NAVIGATION (`task-list`)
|
|
10
|
+
- **Sync**: Call `task-list` at every session start (default: `in_progress,pending`).
|
|
11
|
+
- **Format**: Compact table (IDs only). Use `query` for keyword search.
|
|
12
|
+
- **Retrieve**: Fetch full context via `task-detail` AFTER selecting a task.
|
|
13
|
+
- **Coordination**: NEVER work on `in_progress` tasks assigned to others. Focus on ONE task at a time.
|
|
18
14
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
## 2. DETAIL TOOLS
|
|
16
|
+
- **Tasks**: Call `task-detail` for history/comments (ID or `task_code`).
|
|
17
|
+
- **Memory**: Call `memory-detail` for full entry content.
|
|
22
18
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
- Automatic Archiving: Marking a task as 'completed' automatically triggers `archiveTaskToMemory`, creating a 'task_archive' memory entry with the full history and token usage report.
|
|
19
|
+
## 3. WORKFLOW
|
|
20
|
+
- **Planning**: Create tasks for full lifecycle (Research → Strategy → Execution → Validation).
|
|
21
|
+
- **Transition Safety**: MUST move from `backlog/pending` → `in_progress` → `completed`. Skipping `in_progress` is forbidden.
|
|
22
|
+
- **Validation**: Only `complete` after passing tests.
|
|
23
|
+
- **Archiving**: Completion triggers auto-archive to `task_archive` memory with token reporting.
|