feat: Add LLM analysis workflow and ruff linter fixes

LLM Analysis Workflow:
- Add llm_analyzer module for AI-powered code security analysis
- Add llm_analysis workflow with SARIF output support
- Mount AI module in Python worker for A2A wrapper access
- Add a2a-sdk dependency to Python worker requirements
- Fix workflow parameter ordering in Temporal manager

Ruff Linter Fixes:
- Fix bare except clauses (E722) across AI and CLI modules
- Add noqa comments for intentional late imports (E402)
- Replace undefined get_ai_status_async with TODO placeholder
- Remove unused imports and variables
- Remove container diagnostics display from exception handler

MCP Configuration:
- Reactivate FUZZFORGE_MCP_URL with default value
- Set default MCP URL to http://localhost:8010/mcp in init
This commit is contained in:
tduhamel42
2025-10-14 16:43:14 +02:00
parent 71fbe879df
commit ff00146f20
23 changed files with 882 additions and 74 deletions
+3 -2
View File
@@ -1,3 +1,4 @@
# ruff: noqa: E402 # Imports delayed for environment/logging setup
#!/usr/bin/env python3
"""
Test script for A2A wrapper module
@@ -103,7 +104,7 @@ async def test_multi_turn():
context="geography_quiz",
timeout=30
)
print(f"Q1: What is the capital of France?")
print("Q1: What is the capital of France?")
print(f"A1: {result1.text}")
print()
@@ -114,7 +115,7 @@ async def test_multi_turn():
context="geography_quiz", # Same context
timeout=30
)
print(f"Q2: What is the population of that city?")
print("Q2: What is the population of that city?")
print(f"A2: {result2.text}")
print()