You could have just told claude to write a bunch of sudo commands and then eyeballed them before running them. Giving claude root is taking laziness too far imho.
But the commands that it runs in its first try don't fix the problem in many cases, and it needs a loop with test gating.
Using nixos for this and letting it spin up a ephemeral VM or similar with an identical or nearly identical nixos config is highly useful though in such cases.
But the commands that it runs in its first try don't fix the problem in many cases, and it needs a loop with test gating.
Using nixos for this and letting it spin up a ephemeral VM or similar with an identical or nearly identical nixos config is highly useful though in such cases.