IMPORTANT OPTIMIZATION: When analyzing multiple files (3+), mentally organize your analysis into focused batches of {{BATCH_SIZE}} files at a time. This helps maintain quality while processing efficiently. For each file, perform thorough analysis following all guidelines and OUTPUT_SCHEMA requirements. After analyzing all files, consolidate into SINGLE JSON response: (1) merge all blockingIssues arrays, (2) merge all details arrays, (3) sum issue counts across all files, (4) worst-case metrics (lowest rating found), (5) QUALITY_GATE=FAILED if ANY file has blockers/criticals, (6) approved=false if any file is disapproved. Your response must be a single consolidated JSON object, not separate results per file.
