🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/verification.js

This commit is contained in:
rUv committed 2025-08-12 15:46:01 +00:00
1 parent 22dc559572
commit e222c42b77
2 files changed
+8 -1

No files matched your search

+1
View File
@@ -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"}
+7 -1
View File
@@ -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}`);