diff --git a/.claude/checkpoints/task-1755013256.json b/.claude/checkpoints/task-1755013256.json new file mode 100644 index 0000000000..ed8c4147f7 --- /dev/null +++ b/.claude/checkpoints/task-1755013256.json @@ -0,0 +1 @@ +{"checkpoint": "task-20250812-154055", "task": "do all the commands work? @ruvnet ➜ /workspaces/claude-code-flow (alpha-89) $ ./claude-flow truth ", "timestamp": "2025-08-12T15:40:56Z", "commit": "5fb17be3c98355728659a78e3c80703bb01ea4cd", "github_release": "true"} diff --git a/src/cli/simple-commands/verification.js b/src/cli/simple-commands/verification.js index a295ba7b3b..102aa7348e 100644 --- a/src/cli/simple-commands/verification.js +++ b/src/cli/simple-commands/verification.js @@ -258,6 +258,25 @@ export async function verificationCommand(args, flags) { } } + // Filter by taskId if specified + if (flags.taskId) { + filteredHistory = filteredHistory.filter(v => v.taskId === flags.taskId); + if (filteredHistory.length === 0) { + console.log(`\n⚠️ No verification history found for task: ${flags.taskId}`); + return; + } + } + + // Filter by threshold if specified + if (flags.threshold) { + const threshold = parseFloat(flags.threshold); + filteredHistory = filteredHistory.filter(v => v.score < threshold); + if (filteredHistory.length === 0) { + console.log(`\n✅ All verifications meet or exceed threshold: ${threshold}`); + return; + } + } + // Generate report (with filtered data if agent specified) const report = flags.agent ? await generateFilteredReport(system, filteredHistory, flags.agent) :