# Debug This

Analyze the following issue and provide a structured diagnosis.

## Required Output

**Root Cause:** One or two sentences on what is actually going wrong and why.

**Reproduction Steps:** Minimal steps to reproduce the issue consistently.

**Evidence:** Which line(s) in the code or stack trace confirm your diagnosis.

**Fix:** The specific change needed. Show the before/after diff.

**Prevention:** One sentence on how to avoid this class of bug in future.

---

**Issue description:**

[DESCRIBE THE OBSERVED BEHAVIOR AND EXPECTED BEHAVIOR]

**Stack trace or error output:**

```
[PASTE ERROR HERE]
```

**Relevant code:**

```
[PASTE CODE HERE]
```
