Businesses are more than some source code. Even if you forced a company to release source code, you’d need to have access to the cloud domains and be able to have someone setup and operate servers at those addresses for everyone to use.
Forcing companies to forfeit their IP to public domain is an idea that appeals to tech people who imagine they’re going to reboot the entire service themselves, but it wouldn’t actually solve these problems in real life business cases.
It’s also effectively an appropriation of the company’s IP. Any country that introduced legislation that mandated companies run products for 7 years or completely forfeit all of the IP would immediately see development and production of that product move to other countries without such laws.
These ideas get floated on Hacker News but they’re completely unrealistic.
> you can go after the owners/executives if they're not compliant.
Holding startup founders personally liable if their product or business fails before 7 years and their business can’t be open sourced would create a very bad business environment, to say the least.
This also ignores the real problem that parts of source code are frequently licensed, not owned. Companies can’t just open source everything because they’re often using some licensed software or libraries.
This entire plan would make it effectively illegal for companies to develop or release a product which contains code they licensed from another party.
The number of issues with these kinds of ideas are numerous. It’s the domain of Internet fantasy, not actual policy.