Implement kroki-ring-buffer utility.