mirror of
https://github.com/basicmachines-co/basic-memory
synced 2026-06-21 13:47:35 +00:00
f64f7b5cfc
The _format_project_output function was slicing entities[:5] and relations[:5] (and observations[:10]) regardless of the page_size parameter. Since the API already paginates by page_size, these caps caused the formatter to silently drop results that the API returned, producing misleading output (heading says N items, body shows only 5). Remove the formatter-side slices entirely; the API is the canonical source of truth on how many items to return per page. Add regression test with 9 entities to prevent recurrence. Fixes #784 Co-authored-by: Drew Cain <groksrc@users.noreply.github.com> Signed-off-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>