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

This commit is contained in:
rUv committed 2025-08-12 15:43:24 +00:00
1 parent c19647cf09
commit 8d4244cbcd
3 files changed
+28

No files matched your search

+1
View File
@@ -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"}
+1
View File
@@ -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(-) "}
+26
View File
@@ -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:');