"FILE WILL BE DELETED AFTER PRINTING"
hah I've never seen that before but reminds me to roguelike games.
"permadeath coding" would be actually fun. IF compiler error THEN erase code repository or something like this
Or, just buy the source for a dollar and bury it:
The source code (and original assets) to many video games from as late as the 90s has been lost. The publishing company often deleted it after the game shipped, thinking it just took up space. This is one reason why, for example, there hasn't been a substantive remaster of Final Fantasy VII.
Also, it sounds like you described Vigil: https://github.com/munificent/vigil
Kent Beck called this “test && commit || revert” in 2018, and credits Oddmund Strømme for the idea: <https://medium.com/@kentbeck_7670/test-commit-revert-870bbd7...>