This happens, and the program crashes:
% cr init
profile already exists: claude-rianjs-bot
We should see a validation error, similar to the ones we get when we're configuring a github path in the profile (red text, (already exists)) or something when there's a naming clash.
Staging should be unavailable in this case, because it would be wrong.
The program shouldn't crash, it should simply not let us stage the change. If someone tries to work around this via non-interactive/scripted means should also error out in a reasonable way. (In theory the interactive/non-interactive "save profile" code paths are shared, so solving for one solves for the other.)
This happens, and the program crashes:
We should see a validation error, similar to the ones we get when we're configuring a github path in the profile (red text,
(already exists)) or something when there's a naming clash.Staging should be unavailable in this case, because it would be wrong.
The program shouldn't crash, it should simply not let us stage the change. If someone tries to work around this via non-interactive/scripted means should also error out in a reasonable way. (In theory the interactive/non-interactive "save profile" code paths are shared, so solving for one solves for the other.)