Good day,
Check out this (wrong approach, dismiss)'haistate' command line tool to manage system states (proof of concept)
This was a wrong approach because I thought that Haiku’s states were somewhat like snapshots, so we could get rid of old snapshots not in use. Actually states, if I understood @PulkoMandy correctly are just plain text files that keep a “diff” of packages compared to the prior state. I was thinking about the Fedora Silverblue deployment approach, but that does not apply here at all. In fact, I was doing some Python tool to manage that, but stopped due to the wrong approach taken.
Not sure if it makes sense, but it could be an idea to have a tool, be it command line, be it gui, that updates the state to “merge” all diff state files into an actual state that has proven stable with all packages that are active at the moment thus creating a “new complete state” that has no prior dependencies. That new state could be saved by the user as “non deletable” until the user decides to move forward. Also, that new state could be the base for further diff states? Just thinking aloud.
Regards,
RR