The built-in build discard logic discards builds if they either exceed a number of days, or if they are beyond a certain position in the history. In my GSoC proposal I suggested combining these two conditions with an "AND" instead of an "OR". It turns out this can be implemented as an extension (plugin) like the
enhanced build discarder plugin, or build right into the core. I don't think changing that plugin will help because that plugin extends the core feature without changing the conditional, so the core algorithm has to be slightly modified either way.
Opinions? Should it be an new plugin or should it build into the core? Or maybe it does not matter.