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/.claude/commands/verify/README.md

rUvfba59e91c477
diff --git a/.claude/checkpoints/task-1755027646.json b/.claude/checkpoints/task-1755027646.json
new file mode 100644
index 0000000000..1336c09fb1
--- /dev/null
+++ b/.claude/checkpoints/task-1755027646.json
@@ -0,0 +1 @@
+{"checkpoint": "task-20250812-194045", "task": "review ./claude/commands and create an missing subfolders and files based on new capabilties. πŸ” ", "timestamp": "2025-08-12T19:40:46Z", "commit": "773e646f7b0f5ac61cdee08b9310e783d6d32322", "github_release": "true"}
diff --git a/.claude/commands/verify/README.md b/.claude/commands/verify/README.md
new file mode 100644
index 0000000000..097ff3eb3e
--- /dev/null
+++ b/.claude/commands/verify/README.md
@@ -0,0 +1,128 @@
+# πŸ” Verification Commands
+
+Truth verification system for ensuring code quality and correctness with a 0.95 accuracy threshold.
+
+## Overview
+
+The verification system provides real-time truth checking and validation for all agent tasks, ensuring high-quality outputs and automatic rollback on failures.
+
+## Subcommands
+
+### `verify check`
+Run verification checks on current code or agent outputs.
+
+```bash
+claude-flow verify check --file src/app.js
+claude-flow verify check --task "task-123"
+claude-flow verify check --threshold 0.98
+```
+
+### `verify rollback`
+Automatically rollback changes that fail verification.
+
+```bash
+claude-flow verify rollback --to-commit abc123
+claude-flow verify rollback --last-good
+claude-flow verify rollback --interactive
+```
+
+### `verify report`
+Generate verification reports and metrics.
+
+```bash
+claude-flow verify report --format json
+claude-flow verify report --export metrics.html
+claude-flow verify report --period 7d
+```
+
+### `verify dashboard`
+Launch interactive verification dashboard.
+
+```bash
+claude-flow verify dashboard
+claude-flow verify dashboard --port 3000
+claude-flow verify dashboard --export
+```
+
+## Configuration
+
+Default threshold: **0.95** (95% accuracy required)
+
+Configure in `.claude-flow/config.json`:
+```json
+{
+ "verification": {
+ "threshold": 0.95,
+ "autoRollback": true,
+ "gitIntegration": true,
+ "hooks": {
+ "preCommit": true,
+ "preTask": true,
+ "postEdit": true
+ }
+ }
+}
+```
+
+## Integration
+
+### With Swarm Commands
+```bash
+claude-flow swarm --verify --threshold 0.98
+claude-flow hive-mind --verify
+```
+
+### With Training Pipeline
+```bash
+claude-flow train --verify --rollback-on-fail
+```
+
+### With Pair Programming
+```bash
+claude-flow pair --verify --real-time
+```
+
+## Metrics
+
+- **Truth Score**: 0.0 to 1.0 (higher is better)
+- **Confidence Level**: Statistical confidence in verification
+- **Rollback Rate**: Percentage of changes rolled back
+- **Quality Improvement**: Trend over time
+
+## Examples
+
+### Basic Verification
+```bash
+# Verify current directory
+claude-flow verify check
+
+# Verify with custom threshold
+claude-flow verify check --threshold 0.99
+
+# Verify and auto-fix
+claude-flow verify check --auto-fix
+```
+
+### Advanced Workflows
+```bash
+# Continuous verification during development
+claude-flow verify watch --directory src/
+
+# Batch verification
+claude-flow verify batch --files "*.js" --parallel
+
+# Integration testing
+claude-flow verify integration --test-suite full
+```
+
+## Performance
+
+- Verification latency: <100ms for most checks
+- Rollback time: <1s for git-based rollback
+- Dashboard refresh: Real-time via WebSocket
+
+## Related Commands
+
+- `truth` - View truth scores and metrics
+- `pair` - Collaborative development with verification
+- `train` - Training with verification feedback
\ No newline at end of file