> How do you feed that context into the AI?
Traditionally, this is the place for a one-liner comment explaining the rationale for an awkward looking piece of code or logic that fails first-pass sanity checks.
You don't comment to describe code, but to tell why. If the reason LLMs are catching on to these bits of code is because of "tribal knowledge", then minimal comments should be added for clarity.
I agree 100%. Most people use comments wrong, and LLMs use the comments the most wrong. Comments should explain some context you can’t get by just reading the code. Some weirdo business decision or why you’re choosing to use the strategy you’re using.