Copyright © 2019 Cambridge University Press. In the context of a technology-driven algorithmic approach to criminal justice, this paper responds to the following three questions: (1) what reasons are there for treating liberal values and human rights as guiding for punitive justice; (2) is preventive justice comparable to punitive justice (such that the guiding values of the latter should be applied to the former); and (3) what should we make of preventive measures that rely not so much on rules and orders, but on 'technological management' (where the preventive strategy is focused on eliminating practical options)? Responding to the first question, a Gewirthian-inspired theory of punishment is sketched - a theory that is, broadly speaking,...