Every time I started a new agent session, I was re-explaining the same things.

The architecture rules. The patterns to avoid. The decisions I'd already made. The approaches that already failed.

The agent would forget everything and I'd be back to square one.

My first instinct was to write better prompts. Longer, more detailed, more explicit. But that just made the problem worse — now I had a 200-line prompt to maintain, and the agent still forgot it all next session.

The real problem isn't the prompt. Prompts are session-scoped. They disappear.