truncate huge repos to 50k instead of rejecting them
the previous commit rejected repos over 50k records entirely. wrong —
we should index what we can and tell the user the rest was dropped.
now: if post-filter records > ABSOLUTE_MAX_RECORDS (50k), truncate to
the cap and set pack.truncated_from to the original count. the UI
shows the cap message inline in the pack-meta line with a DM prompt.
the user gets 50k searchable records instead of an error page.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>