Builds the recent-history block for /status from the supplied entries. Does NOT mutate entries — returns a new frozen array (empty when none).
entries
Most-recent audit entries (newest last, as returned by AuditQuery).
Frozen array of history lines, or an empty array when no entries.
Builds the recent-history block for /status from the supplied entries. Does NOT mutate
entries— returns a new frozen array (empty when none).