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

rUve222c42b77c4
diff --git a/.claude/checkpoints/task-1755013542.json b/.claude/checkpoints/task-1755013542.json
new file mode 100644
index 0000000000..ffda2d9647
--- /dev/null
+++ b/.claude/checkpoints/task-1755013542.json
@@ -0,0 +1 @@
+{"checkpoint": "task-20250812-154541", "task": "--json should only ouput in json. @ruvnet ➜ /workspaces/claude-code-flow (alpha-89) $ ./claude-flo", "timestamp": "2025-08-12T15:45:42Z", "commit": "523783beefae5ead5260af71039afafdcdf9096f", "github_release": "true"}
diff --git a/src/cli/simple-commands/verification.js b/src/cli/simple-commands/verification.js
index 924f5c3b44..c6987fe867 100644
--- a/src/cli/simple-commands/verification.js
+++ b/src/cli/simple-commands/verification.js
@@ -282,7 +282,13 @@ export async function verificationCommand(args, flags) {
await generateFilteredReport(system, filteredHistory, flags.agent) :
await system.generateTruthReport();
- // Basic report (always shown)
+ // JSON output only mode
+ if (flags.json) {
+ console.log(JSON.stringify(report, null, 2));
+ return;
+ }
+
+ // Basic report (shown when not in JSON mode)
console.log('\n📊 Truth Scoring Report' + (flags.agent ? ` - Agent: ${flags.agent}` : ''));
console.log('━'.repeat(50));
console.log(`Mode: ${report.mode || system.mode}`);