I've settled into a habit of asking codex to write down summary of key decisions in a ledger as I end a unit of work. It keeps iterating natural but maintains a system of record on decisions in the same repo. The "ledger" is the new code.
I believe these are called Architectural Decision Records. Matt Pocock's skills [0] make use of them. They're one of the more useful things I've gotten out them.
One pattern I have observed and guilty of myself is that simple hybrid search patterns work poorly on single-word intent queries. It is better to do pure lexical search for certain queries and then fallback to semantic or hybrid.