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 -3
View File
@@ -152,7 +152,7 @@ class FuzzForgeDatabase:
if conn:
try:
conn.rollback()
except:
except Exception:
pass # Connection might be broken
if "database is locked" in str(e).lower():
raise sqlite3.OperationalError(
@@ -167,14 +167,14 @@ class FuzzForgeDatabase:
if conn:
try:
conn.rollback()
except:
except Exception:
pass # Connection might be broken
raise
finally:
if conn:
try:
conn.close()
except:
except Exception:
pass # Ensure cleanup even if close fails
# Run management methods