This is the precedent for the 8th Amendment in the Colonial Massachusetts Body of Liberties.
Clearer language, I have never seen.

No man shall be forced by torture to confess any crime against himself nor any other, unless it be in some capital case where he is first fully convicted by clear and sufficient evidence to be guilty, after which if the cause be of that nature, that it is very apparent there be other conspirators, or confederates with him, then he may be tortured, yet not with such tortures as be barbarous and inhumane.

Don’t torture, unless you have to, and in that case, don’t go too crazy. It looks like the colonists dealt with their own “ticking timebomb” scenarios.