pub fn memory_map(records: &[CanonicalMemory]) -> StringExpand description
Render the inventory a model needs to write filters.
Only active records are counted — a model should not narrow a search to a value that exists solely on superseded facts. Counts are included because they tell the model which values are worth filtering by and which are one-offs, and they cost almost nothing.
Returns an empty string when there is nothing to describe, so it can be concatenated into an instruction unconditionally.