The above does not prove that it is irrational for Anthropic to keep the Claude Code source code closed. There are many reasons I can see (and probably some I can’t) for why closed source is advantageous for A\. One such (mentioned in various places) is the value-add of certain kinds of analytics and or telemetry.
Aside: it is pretty easy to let our appreciation* of OSS turn into a kind of confirmation bias about its value to other people/orgs.
* I can understand why people promote OSS from various POVs: ethics, security, end user control, ecosystem innovation, sheer generosity, promotion of goodwill, expressions of creativity, helping others, the love of building things, and much more. I value all of these things. But I’m wary of reasoning and philosophies that offer merely binary judgments, especially ones that try to claim what is best for another party. That's really hard to know so we do well to be humble about our claims.**
**: Finally, being humble about what one knows does not mean being "timid" with your logic or reasoning. Just be sure to state it as clearly as you can by mentioning your premises and values.