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: Edit /workspaces/claude-code-flow/src/cli/simple-commands/verification.js

rUva9bd964f89e9
diff --git a/.claude/checkpoints/1755013187.json b/.claude/checkpoints/1755013187.json
new file mode 100644
index 0000000000..296ac7ff38
--- /dev/null
+++ b/.claude/checkpoints/1755013187.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250812-153946", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/verification.js", "timestamp": "2025-08-12T15:39:47Z", "type": "pre-edit", "original_branch": "alpha-89"}
diff --git a/.claude/checkpoints/1755013188.json b/.claude/checkpoints/1755013188.json
new file mode 100644
index 0000000000..e289cf1b1a
--- /dev/null
+++ b/.claude/checkpoints/1755013188.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250812-153948", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/verification.js", "timestamp": "2025-08-12T15:39:48Z", "type": "post-edit", "branch": "alpha-89", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 12 +++++ .claude-flow/metrics/task-metrics.json | 6 +-- .claude/checkpoints/task-1755013154.json | 1 + src/cli/simple-commands/verification.js | 81 +++++++++++++++++++++++++++++--- 5 files changed, 91 insertions(+), 11 deletions(-) "}
diff --git a/src/cli/simple-commands/verification.js b/src/cli/simple-commands/verification.js
index 43c6b1b63b..a295ba7b3b 100644
--- a/src/cli/simple-commands/verification.js
+++ b/src/cli/simple-commands/verification.js
@@ -198,6 +198,27 @@ class VerificationSystem {
}
}
+// Helper function to generate filtered report for specific agent
+async function generateFilteredReport(system, filteredHistory, agentType) {
+ const report = {
+ mode: system.mode,
+ threshold: VERIFICATION_MODES[system.mode].threshold,
+ totalVerifications: filteredHistory.length,
+ passedVerifications: filteredHistory.filter(v => v.passed).length,
+ averageScore: 0,
+ agentReliability: {},
+ timestamp: new Date().toISOString()
+ };
+
+ if (filteredHistory.length > 0) {
+ const totalScore = filteredHistory.reduce((sum, v) => sum + v.score, 0);
+ report.averageScore = totalScore / filteredHistory.length;
+ report.agentReliability[agentType] = report.averageScore;
+ }
+
+ return report;
+}
+
// CLI command handlers
export async function verificationCommand(args, flags) {
const system = new VerificationSystem();