Your agent stops obeying your rules halfway through the session. Here's the structural reason — and the fix.
A developer identified a structural cause for coding agents ignoring system-prompt rules mid-session: attention dilution as context grows. The rule becomes an old, low-weight token among thousands of …