Every clerk of any court, issuing an execution against any person, shall note on the margin of the execution the cause of action on which the execution issued, to the end that the warden of the adult correctional institutions may ascertain whether the person, if committed, is entitled to the liberty of the jail yard, and every officer committing any person to correctional institutions on such execution shall note in his or her commitment the cause of action on which the execution is founded, according to the note or memorandum of the clerk.
R.I. Gen. Laws § 10-10-8