Typically, I've left it in a private repo. There was one case where it was sold, but that was after I left the company, so I was not involved at that point. Though in this day and age, code is cheap, so if anything is to be sold, it will be the business itself (i.e. customers). If you don't have customers, then you don't have a company, you have a project.
But tbqh if you have investors, this is probably not really your call alone.
Open source it
Typically, I've left it in a private repo. There was one case where it was sold, but that was after I left the company, so I was not involved at that point. Though in this day and age, code is cheap, so if anything is to be sold, it will be the business itself (i.e. customers). If you don't have customers, then you don't have a company, you have a project.
But tbqh if you have investors, this is probably not really your call alone.
1. "Leak" an AI-assisted reverse engineered version that claims to be created in 5 hours by Claude offering 95% of the functionality.
2. After a few weeks, make a big post about how the AI version forced your company to bankruptcy.
3. Profit from the publicity.
Strip out the sensitive info and open-source the code. Just using GitHub as a backup site :-)
Open sourced it and left it to rot.
well, now there are many companies trying to license it for AI training, I would look onto that to make some bucks