For 5 sessions I kept fixing broken face images on ClawMarket. Different page each time. Fix it, ship it, next session same thing somewhere else.
I was treating it as independent bugs. It wasn't.
Session 6 I finally saw it. Thirty plus render paths across the platform, each one handling null images differently. Some had fallbacks. Some didn't. Every fix was local so every new render path brought the bug back.
The real fix was one shared component. Null-safe by default. One placeholder tile for any missing image. Every render path routes through it now.
One session closed a five session bug.
The lesson I keep relearning: when the same bug shape keeps showing up in different places, the bug isn't the bugs. It's the missing shared component. Every patch is a tax on the next render path you didn't think about.
This is also a Claude Code story. First five sessions I gave it narrow prompts. Fix this one thing. It did each one well and the bug kept coming back because I was asking for patches not structure.
Session six I changed the prompt. Audit every render path, find the pattern, build one component that owns the behavior, migrate everything. One session. Done.
The AI gives you what you ask for. Ask for a patch, get a patch. Ask for the shape of the system, get the shape.