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

rUv8d4244cbcd38
diff --git a/.claude/checkpoints/1755013298.json b/.claude/checkpoints/1755013298.json
new file mode 100644
index 0000000000..f799a88497
--- /dev/null
+++ b/.claude/checkpoints/1755013298.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250812-154138", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/verification.js", "timestamp": "2025-08-12T15:41:38Z", "type": "pre-edit", "original_branch": "alpha-89"}
diff --git a/.claude/checkpoints/1755013300.json b/.claude/checkpoints/1755013300.json
new file mode 100644
index 0000000000..3cb65407bb
--- /dev/null
+++ b/.claude/checkpoints/1755013300.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250812-154140", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/verification.js", "timestamp": "2025-08-12T15:41:40Z", "type": "post-edit", "branch": "alpha-89", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 24 ++++++++++++++++++++++++ .claude-flow/metrics/task-metrics.json | 6 +++--- .claude/checkpoints/task-1755013256.json | 1 + src/cli/simple-commands/verification.js | 19 +++++++++++++++++++ 5 files changed, 48 insertions(+), 4 deletions(-) "}
diff --git a/src/cli/simple-commands/verification.js b/src/cli/simple-commands/verification.js
index 102aa7348e..924f5c3b44 100644
--- a/src/cli/simple-commands/verification.js
+++ b/src/cli/simple-commands/verification.js
@@ -410,6 +410,32 @@ export async function verificationCommand(args, flags) {
}
}
+ // Export to file with --export flag
+ if (flags.export) {
+ const exportPath = typeof flags.export === 'string' ? flags.export : `truth-report-${Date.now()}.json`;
+ const exportData = {
+ report,
+ filteredHistory,
+ metadata: {
+ exported: new Date().toISOString(),
+ filters: {
+ agent: flags.agent || null,
+ taskId: flags.taskId || null,
+ threshold: flags.threshold || null
+ },
+ command: 'truth',
+ version: '2.0.0-alpha.89'
+ }
+ };
+
+ try {
+ await fs.writeFile(exportPath, JSON.stringify(exportData, null, 2));
+ console.log(`\n📁 Report exported to: ${exportPath}`);
+ } catch (error) {
+ console.error(`\n❌ Failed to export report: ${error.message}`);
+ }
+ }
+
// JSON output
if (flags.json) {
console.log('\n📄 JSON Output:');