AuditsCodebase Audit
Audits

Codebase Audit

Downloaded codebase snapshot vs current production comparison

Codebase Audit Report

Auditor: Ibrahim Laeeq | Date: 2026-03-20

Size: Downloaded 41K/35K lines → Production 114K/69K lines (backend/frontend)

Production Added 170+ Files

Multi-agent framework, memory system, 12 scraping engines, 6 OCR engines, RAG, skills layer, normalizer, change detection.

Downloaded Has That Production Doesn't

agent_handler.py (workflow→agent wiring), 15 extra activity handlers, proper advanced state serialization.

Bug in BOTH Codebases

Unreachable _oauth_states dict in connectors/oauth.py (after return statement).

Security Risk

Downloaded has .env/.env.backup/.env.bak files — delete them. Full report: backend/docs/DOWNLOADED_CODEBASE_AUDIT_REPORT.md