Debugging Difficult Bugs Use this skill early for medium or hard bugs where normal TDD may give false confidence because the test does not fully capture the real bug. Core idea: instrument the actual runtime path, reproduce the real issue, then inspect append-only JSONL logs before deciding on a fix. When to Use Use this workflow near the start of debugging when any of these are true: - The bug is medium or hard complexity, especially if it spans multiple functions, packages, processes, or UI/runtime boundaries. - A test is red, but the failing test might be an incomplete model of the real bu…