It might be preferable to try rehabilitation as some societies do instead of imprisonment as a punishment.
As the reasons for harmful behavior are usually strucural and there is no moment in the future of humanity where one day all the structures and harmful behavior is gone, there probably has to be some transitional period where prisons are acceptable in anarchy.
Anarckiddies claim to be prison abolitionists until someone bad goes to prison
It might be preferable to try rehabilitation as some societies do instead of imprisonment as a punishment.
As the reasons for harmful behavior are usually strucural and there is no moment in the future of humanity where one day all the structures and harmful behavior is gone, there probably has to be some transitional period where prisons are acceptable in anarchy.
Like today.