mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 06:06:02 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/.claude/commands/verify/README.md
This commit is contained in:
1 parent
5f27182000
commit
fba59e91c4
2 files changed
+129
No files matched your search
@@ -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"}
|
||||
@@ -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
|
||||
Reference in new issue
Block a user