Skip to content

Conversation

@noelsaw1
Copy link
Contributor

@noelsaw1 noelsaw1 commented Jan 28, 2026

Run AI-powered triage directly from the command line with Claude Code integration:

# Basic usage - auto-detect and run AI triage
wpcc ~/my-plugin --ai-triage

# Explicit Claude backend with custom timeout
wpcc ~/my-plugin --ai-triage --ai-backend claude --ai-timeout 600

# With verbose output to see progress
wpcc ~/my-plugin --ai-triage --ai-verbose

# Limit AI analysis to top 50 findings
wpcc ~/my-plugin --ai-triage --ai-max-findings 50

# Combine with other options
wpcc ~/my-plugin --format json --ai-triage --ai-verbose

New CLI Flags:

Flag Description Default
--ai-triage Enable AI-powered finding analysis Disabled
--ai-backend <name> Backend: claude or fallback auto (detect)
--ai-timeout <seconds> AI analysis timeout 300
--ai-max-findings <n> Max findings to analyze 200
--ai-verbose Show AI triage progress Disabled

====

  • AI-powered finding analysis: New --ai-triage flag enables automatic AI analysis of scan findings using Claude Code CLI with graceful fallback to built-in Python triage
  • Backend orchestration: Modular architecture supports multiple LLM backends (Claude, fallback) with extensibility for future providers (OpenAI, Ollama)
  • Configurable AI options:
    • --ai-backend <name> - Specify backend (claude|fallback, default: auto-detect)
    • --ai-timeout <seconds> - AI analysis timeout (default: 300s)
    • --ai-max-findings <n> - Limit findings to analyze (default: 200)
    • --ai-verbose - Show AI triage progress
  • Automatic HTML regeneration: After AI triage completes, HTML report is automatically regenerated with AI analysis included
  • Graceful degradation: If Claude CLI unavailable or fails, automatically falls back to built-in ai-triage.py without interrupting scan
  • JSON schema integration: AI triage results injected into JSON log with ai_triage section containing classifications, confidence levels, and recommendations

@noelsaw1 noelsaw1 requested a review from mrtwebdesign January 28, 2026 02:19
@noelsaw1 noelsaw1 changed the title (Add System Command Line tooling) Development to Development (Add System Command Line tooling) Development to Main Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants