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

Checkpoint: File edits

rUvac8e3fbcff27
diff --git a/v3/@claude-flow/cli/src/commands/analyze.ts b/v3/@claude-flow/cli/src/commands/analyze.ts
index 4add75fc88..9ca2fb533f 100644
--- a/v3/@claude-flow/cli/src/commands/analyze.ts
+++ b/v3/@claude-flow/cli/src/commands/analyze.ts
@@ -153,14 +153,18 @@ const diffCommand: Command = {
output.writeln();
// Summary box
+ const files = result.files || [];
+ const risk = result.risk || { overall: 'unknown', score: 0, breakdown: { fileCount: 0, totalChanges: 0, highRiskFiles: [], securityConcerns: [], breakingChanges: [], testCoverage: 'unknown' } };
+ const classification = result.classification || { category: 'unknown', confidence: 0, reasoning: '' };
+
output.printBox(
[
- `Ref: ${result.ref}`,
- `Files: ${result.files.length}`,
- `Risk: ${getRiskDisplay(result.risk.overall)} (${result.risk.score}/100)`,
- `Type: ${result.classification.category}${result.classification.subcategory ? ` (${result.classification.subcategory})` : ''}`,
+ `Ref: ${result.ref || 'HEAD'}`,
+ `Files: ${files.length}`,
+ `Risk: ${getRiskDisplay(risk.overall)} (${risk.score}/100)`,
+ `Type: ${classification.category}${classification.subcategory ? ` (${classification.subcategory})` : ''}`,
``,
- result.summary,
+ result.summary || 'No summary available',
].join('\n'),
'Diff Analysis'
);