Recently I've been using a small methodology I call:
"Project Context Records".
Most of what matters about a project never makes it into the code: the decisions, the trade-offs, why it's built this way. It stays in your head, and an AI agent starts every session without it.
PCR keeps what lives outside the code, the decisions and trade-offs behind it, in the repo.