I never thought about this before, and it hasn’t been mentioned significantly in the vast amount of AI threads I read here. But it’s a really good point as skeptical as I am (in mid-2026) of AI first codebases
Tanner Lisnley did this with React. He didn't share it but talked about his experience. Basically, he re-wrote React with only the parts he was interested in. Sort of like his own version of Preact. You might be interested in his blog post about the subject: https://tannerlinsley.com/posts/projecting-react