AgileFlow

/code:logic

PreviousNext

Multi-agent logic analysis with consensus voting for finding logic bugs

/code:logic

Deploy multiple specialized logic analyzers in parallel to find bugs, edge cases, race conditions, and type safety issues in your code.

Quick Start

/agileflow:code:logic src/auth/

Arguments

ArgumentDescription
[file|directory]Target file or directory to analyze
DEPTH=quick|deepAnalysis depth (default: quick)
FOCUS=edge|invariant|flow|type|race|allFocus on specific analysis type (default: all)

How It Works

  1. Deploys 5 specialized analyzers in parallel:
    • Edge case analyzer - Boundary conditions, off-by-one errors, empty inputs
    • Flow analyzer - Dead code, unreachable branches, infinite loops
    • Invariant analyzer - Pre/post conditions, state consistency
    • Race condition analyzer - Async patterns, timing issues, shared state
    • Type safety analyzer - Implicit coercion, null propagation
  2. Each analyzer independently examines the target code
  3. A consensus coordinator collects all findings and votes on severity
  4. Final report uses confidence scoring:
    • CONFIRMED - 2+ analyzers agree (high confidence)
    • LIKELY - 1 analyzer with strong evidence
    • INVESTIGATE - 1 analyzer with weak evidence

Examples

# Quick audit of a specific file
/agileflow:code:logic src/auth/token.js DEPTH=quick
 
# Deep audit focusing on race conditions
/agileflow:code:logic src/server/ DEPTH=deep FOCUS=race
 
# Full audit of all types
/agileflow:code:logic lib/ DEPTH=deep FOCUS=all
CommandPurpose
/reviewAI-powered code review
/verifyRun tests and update status
/auditStory completion audit