Tar pits are cool, but you can't really put one in front of your codebase when you have it publicly hosted in GitHub or Codeberg or similar.
There are a lot of cool ways you can fuck up code for an LLM and still have it compile just fine... but the problem is that this also makes the codebase a complete nightmare for humans to work on. The real trick is to find a way to make the obfuscation reversible... but in a way that only a human can reverse it. That's the hard problem, and I'm not sure it's solvable.