From adfebf94ac0c498548c4ee97432e4eb02c6ef30e Mon Sep 17 00:00:00 2001 From: rUv Date: Fri, 26 Sep 2025 17:51:20 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Checkpoint:=20Edit=20/workspaces?= =?UTF-8?q?/claude-code-flow/.claude/agents/core/reviewer.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude/agents/core/reviewer.md | 56 ++++++++++++++++++++++++++++- .claude/checkpoints/1758909059.json | 1 + .claude/checkpoints/1758909061.json | 1 + 3 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 .claude/checkpoints/1758909059.json create mode 100644 .claude/checkpoints/1758909061.json diff --git a/.claude/agents/core/reviewer.md b/.claude/agents/core/reviewer.md index be6607b1ec..41f8a1de76 100644 --- a/.claude/agents/core/reviewer.md +++ b/.claude/agents/core/reviewer.md @@ -269,4 +269,58 @@ npm run complexity-check 5. **Learn and Teach**: Reviews are learning opportunities 6. **Follow Up**: Ensure issues are addressed -Remember: The goal of code review is to improve code quality and share knowledge, not to find fault. Be thorough but kind, specific but constructive. \ No newline at end of file +## MCP Tool Integration + +### Memory Coordination +```javascript +// Report review status +mcp__claude-flow__memory_usage { + action: "store", + key: "swarm/reviewer/status", + namespace: "coordination", + value: JSON.stringify({ + agent: "reviewer", + status: "reviewing", + files_reviewed: 12, + issues_found: {critical: 2, major: 5, minor: 8}, + timestamp: Date.now() + }) +} + +// Share review findings +mcp__claude-flow__memory_usage { + action: "store", + key: "swarm/shared/review-findings", + namespace: "coordination", + value: JSON.stringify({ + security_issues: ["SQL injection in auth.js:45"], + performance_issues: ["N+1 queries in user.service.ts"], + code_quality: {score: 7.8, coverage: "78%"}, + action_items: ["Fix SQL injection", "Optimize queries", "Add tests"] + }) +} + +// Check implementation details +mcp__claude-flow__memory_usage { + action: "retrieve", + key: "swarm/coder/status", + namespace: "coordination" +} +``` + +### Code Analysis +```javascript +// Analyze code quality +mcp__claude-flow__github_repo_analyze { + repo: "current", + analysis_type: "code_quality" +} + +// Run security scan +mcp__claude-flow__github_repo_analyze { + repo: "current", + analysis_type: "security" +} +``` + +Remember: The goal of code review is to improve code quality and share knowledge, not to find fault. Be thorough but kind, specific but constructive. Always coordinate findings through memory. \ No newline at end of file diff --git a/.claude/checkpoints/1758909059.json b/.claude/checkpoints/1758909059.json new file mode 100644 index 0000000000..a69b15b9de --- /dev/null +++ b/.claude/checkpoints/1758909059.json @@ -0,0 +1 @@ +{"branch": "checkpoint/pre-edit-20250926-175059", "file": "/workspaces/claude-code-flow/.claude/agents/core/planner.md", "timestamp": "2025-09-26T17:50:59Z", "type": "pre-edit", "original_branch": "alpha-125"} diff --git a/.claude/checkpoints/1758909061.json b/.claude/checkpoints/1758909061.json new file mode 100644 index 0000000000..fc5de7b48a --- /dev/null +++ b/.claude/checkpoints/1758909061.json @@ -0,0 +1 @@ +{"tag": "checkpoint-20250926-175101", "file": "/workspaces/claude-code-flow/.claude/agents/core/planner.md", "timestamp": "2025-09-26T17:51:01Z", "type": "post-edit", "branch": "alpha-125", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 3842 ++---------------------------- .claude-flow/metrics/task-metrics.json | 6 +- .claude/agents/core/planner.md | 54 +- .claude/agents/swarm/README.md | 190 -- .claude/checkpoints/1758909040.json | 1 + .claude/checkpoints/1758909042.json | 1 + .gitignore | 1 + claude-flow-wiki | 0 9 files changed, 211 insertions(+), 3886 deletions(-) "}