Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

docs(analyze): describe reviewer role suggestions accurately

Rudy Celekli9e6d11686022
diff --git a/plugins/ruflo-console/hooks/devtools.ts b/plugins/ruflo-console/hooks/devtools.ts
index b19a3b0491..be8d2bb1e8 100644
--- a/plugins/ruflo-console/hooks/devtools.ts
+++ b/plugins/ruflo-console/hooks/devtools.ts
@@ -79,7 +79,7 @@ export const DEV: readonly DevEntry[] = [
{ id: 'dt-diff-stats', group: 'analyze', name: 'STATS', about: 'files, additions and deletions by status', label: 'diff stats for the ref', cost: 'read', input: 'ref', args: f => need(f, ['ref'], v => tool('analyze_diff-stats', { ref: v.ref })) },
{ id: 'dt-diff-classify', group: 'analyze', name: 'CLASSIFY', about: 'feature, fix, refactor, docs … with confidence', label: 'classify the diff', cost: 'read', input: 'ref', args: f => need(f, ['ref'], v => tool('analyze_diff-classify', { ref: v.ref })) },
{ id: 'dt-diff-risk', group: 'analyze', name: 'RISK', about: 'the overall risk score and what drives it', label: 'risk of the diff', cost: 'read', input: 'ref', args: f => need(f, ['ref'], v => tool('analyze_diff-risk', { ref: v.ref })) },
- { id: 'dt-diff-reviewers', group: 'analyze', name: 'REVIEWERS', about: 'who should review it, from the history', label: 'suggested reviewers for the diff', cost: 'read', input: 'ref', args: f => need(f, ['ref'], v => tool('analyze_diff-reviewers', { ref: v.ref, limit: 5 })) },
+ { id: 'dt-diff-reviewers', group: 'analyze', name: 'REVIEWERS', about: 'reviewer roles suggested from file paths and risk', label: 'suggested reviewer roles for the diff', cost: 'read', input: 'ref', args: f => need(f, ['ref'], v => tool('analyze_diff-reviewers', { ref: v.ref, limit: 5 })) },
{ id: 'dt-file-risk', group: 'analyze', name: 'FILE RISK', about: 'the risk of changing the file in the path field', label: 'risk of changing the file at the path', cost: 'read', input: 'path', args: f => need(f, ['path'], v => tool('analyze_file-risk', { path: v.path })) },
{ id: 'dt-gh-repo', group: 'github', name: 'REPO', about: 'branches, commits, open issues and PRs of this repo', label: 'analyze this GitHub repo', cost: 'network', args: fixed(tool('github_repo_analyze', {})), note: GH },
diff --git a/plugins/ruflo-jujutsu/README.md b/plugins/ruflo-jujutsu/README.md
index e5dfbd2e96..7172f26714 100644
--- a/plugins/ruflo-jujutsu/README.md
+++ b/plugins/ruflo-jujutsu/README.md
@@ -13,7 +13,7 @@ Advanced git workflows with diff analysis, risk scoring, and reviewer recommenda
- **Diff analysis**: Comprehensive change analysis with risk scoring
- **Change classification**: Auto-categorize as feature, bugfix, refactor, etc.
-- **Reviewer recommendations**: Suggest reviewers based on code ownership
+- **Reviewer role suggestions**: Suggest roles from file paths and risk; resolve actual owners separately from CODEOWNERS
- **File-level risk**: Per-file risk breakdown for targeted review
## Commands
@@ -34,7 +34,7 @@ All defined at `v3/@claude-flow/cli/src/mcp-tools/analyze-tools.ts`:
| `analyze_diff` | Full diff analysis (risk + classification + reviewers + stats) |
| `analyze_diff-risk` | Risk score for the staged/unstaged diff |
| `analyze_diff-classify` | Classify change as feature, bugfix, refactor, perf, security, docs, …|
-| `analyze_diff-reviewers` | Recommend reviewers based on code ownership |
+| `analyze_diff-reviewers` | Suggest reviewer roles from paths and risk (does not identify people or read CODEOWNERS) |
| `analyze_file-risk` | Per-file risk breakdown |
| `analyze_diff-stats` | Lines added/removed, files touched, complexity delta |
diff --git a/plugins/ruflo-jujutsu/agents/git-specialist.md b/plugins/ruflo-jujutsu/agents/git-specialist.md
index 4ba9104021..435a84d1c8 100644
--- a/plugins/ruflo-jujutsu/agents/git-specialist.md
+++ b/plugins/ruflo-jujutsu/agents/git-specialist.md
@@ -8,7 +8,7 @@ You are a git workflow specialist using Ruflo's diff analysis tools. Your respon
1. **Analyze diffs** for risk, complexity, and change classification
2. **Score risk** to identify high-risk changes before they merge
-3. **Recommend reviewers** based on code ownership and expertise
+3. **Suggest reviewer roles** from paths and risk; consult CODEOWNERS separately for people
4. **Manage PRs** through their lifecycle from creation to merge
5. **Track metrics** on merge frequency, review times, and code health
diff --git a/plugins/ruflo-jujutsu/commands/jujutsu.md b/plugins/ruflo-jujutsu/commands/jujutsu.md
index 32e338b658..d97146cafb 100644
--- a/plugins/ruflo-jujutsu/commands/jujutsu.md
+++ b/plugins/ruflo-jujutsu/commands/jujutsu.md
@@ -9,5 +9,5 @@ Analyze current git changes:
2. Call `mcp__plugin_ruflo-core_ruflo__analyze_diff` with `{ ref, includeFileRisks: true }` for comprehensive analysis
3. Call `mcp__plugin_ruflo-core_ruflo__analyze_diff-risk` with `{ ref }` for risk score
4. Call `mcp__plugin_ruflo-core_ruflo__analyze_diff-classify` with `{ ref }` for change type classification
-5. Call `mcp__plugin_ruflo-core_ruflo__analyze_diff-reviewers` with `{ ref, limit }` for reviewer recommendations based on code ownership
-6. Present: risk level, change type, affected files, and reviewer recommendations
+5. Call `mcp__plugin_ruflo-core_ruflo__analyze_diff-reviewers` with `{ ref, limit }` for suggested reviewer roles; check CODEOWNERS separately for actual owners
+6. Present: risk level, change type, affected files, and suggested reviewer roles
diff --git a/plugins/ruflo-jujutsu/skills/diff-analyze/SKILL.md b/plugins/ruflo-jujutsu/skills/diff-analyze/SKILL.md
index 1a8dfbef25..fd1c84e85e 100644
--- a/plugins/ruflo-jujutsu/skills/diff-analyze/SKILL.md
+++ b/plugins/ruflo-jujutsu/skills/diff-analyze/SKILL.md
@@ -19,7 +19,7 @@ Before submitting a PR or after making significant changes, analyze the diff to
1. **Analyze diff** β€” call `mcp__plugin_ruflo-core_ruflo__analyze_diff` with `{ ref, includeFileRisks: true }` for a comprehensive analysis
2. **Risk score** β€” call `mcp__plugin_ruflo-core_ruflo__analyze_diff-risk` with `{ ref }` for a quantified risk assessment
3. **Classify changes** β€” call `mcp__plugin_ruflo-core_ruflo__analyze_diff-classify` with `{ ref }` to categorize (feature, bugfix, refactor, etc.)
-4. **Get reviewers** β€” call `mcp__plugin_ruflo-core_ruflo__analyze_diff-reviewers` with `{ ref, limit }` for recommended reviewers based on code ownership
+4. **Get reviewer roles** β€” call `mcp__plugin_ruflo-core_ruflo__analyze_diff-reviewers` with `{ ref, limit }` for roles inferred from paths and risk; check CODEOWNERS separately when assigning people
5. **Diff stats** β€” call `mcp__plugin_ruflo-core_ruflo__analyze_diff-stats` with `{ ref }` for line counts, file counts, complexity metrics
6. **File-level risk** β€” call `mcp__plugin_ruflo-core_ruflo__analyze_file-risk` with `{ path }` (required) for each file the earlier steps flagged
diff --git a/v3/@claude-flow/cli/src/mcp-tools/analyze-tools.ts b/v3/@claude-flow/cli/src/mcp-tools/analyze-tools.ts
index 1981cc1a8e..a24b34eb76 100644
--- a/v3/@claude-flow/cli/src/mcp-tools/analyze-tools.ts
+++ b/v3/@claude-flow/cli/src/mcp-tools/analyze-tools.ts
@@ -183,7 +183,7 @@ export const diffClassifyTool: MCPTool = {
*/
export const diffReviewersTool: MCPTool = {
name: 'analyze_diff-reviewers',
- description: 'Suggest reviewers for git diff changes Use when native `git diff` / `grep` / static analysis is wrong because you want LLM-graded change classification, reviewer recommendations, or risk scoring. For literal-text inspection, native tools are fine.',
+ description: 'Suggest reviewer roles from git diff paths and risk. Does not identify people or read CODEOWNERS.',
category: 'analyze',
tags: ['diff', 'reviewers', 'git'],
inputSchema: {