Debugging Patterns Overview Provides structured frameworks for root cause analysis. The log-first methodology ensures evidence is gathered before hypotheses are formed. Log-First Investigation 1. Read ALL available logs, error output, and stack traces 2. DO NOT form hypotheses before reading evidence 3. Identify the exact error: message, file, line, call stack 4. Determine reproduction steps from evidence 5. Check git log for recent changes correlating with bug introduction Pattern-Based Diagnosis - Check patterns.md for known gotchas matching the error - Cross-reference with common patterns:…