1.1 KiB
1.1 KiB
verify check
Run verification checks on code, tasks, or agent outputs.
Usage
claude-flow verify check [options]
Options
--file <path>- Verify specific file--task <id>- Verify task output--directory <path>- Verify entire directory--threshold <0-1>- Override default threshold (0.95)--auto-fix- Attempt automatic fixes--json- Output results as JSON--verbose- Show detailed verification steps
Examples
# Basic file verification
claude-flow verify check --file src/app.js
# Verify with higher threshold
claude-flow verify check --file src/critical.js --threshold 0.99
# Verify and auto-fix issues
claude-flow verify check --directory src/ --auto-fix
# Get JSON output for CI/CD
claude-flow verify check --json > verification.json
Truth Scoring
The check command evaluates:
- Code correctness
- Best practices adherence
- Security vulnerabilities
- Performance implications
- Documentation completeness
Exit Codes
0- Verification passed1- Verification failed2- Error during verification