Much better than humans, in general. So if any of this was written down, even in a sidenote in a mailinglist, or as a NOTE: in a git commit message, an agent can, and with proper guidance, will pick it up and abide by it.
The thing I find that my agents (Mistral Large 4, before that devstral, before that claude) have difficulty with, is to ignore such knowledge. Just today, an agent read "While this algo is suboptimal, optimizing it creates tight coupling and complexity that makes it worse". A comment left in a git commit a few weeks ago. And it decided this was somehow a requirement and so it spent half an hour attempting to keep the old algorithm in place.