How long a thing is kept before it is let go. A retention rule is an ethical decision wearing a technical name.
Latin retinere (to hold back, keep), from re- (back) + tenere (to hold); retention names the choice to keep holding a thing rather than let it go.
How long a kept thing is allowed to stay before it must be released — a boundary decided in advance rather than discovered by accident.