Copyright should only exist if the entire work, including the entire code base, is held in escrow by the copyright office.
If you don’t do that, you don’t get protection. This is literally the reason why patents exist, you tell us how you did it, and we prevent anyone else from copying that method for a period of time.
(2) if the work is a sound recording, two complete phonorecords of the best edition, together with any printed or other visually perceptible material published with such phonorecords.
Neither the deposit requirements of this subsection nor the acquisition provisions of subsection (e) are conditions of copyright protection.
(b) The required copies or phonorecords shall be deposited in the Copyright Office for the use or disposition of the Library of Congress.
Copyright should only exist if the entire work, including the entire code base, is held in escrow by the copyright office.
If you don’t do that, you don’t get protection. This is literally the reason why patents exist, you tell us how you did it, and we prevent anyone else from copying that method for a period of time.
You are essentially describing the existing mandatory deposit rule.