Detect repeated cursors, duplicate-only pages and no progress in a pagination scan
https://agents.writerslogic.com/api/v1/pagination-loopOverview
Takes the pages an agent has fetched so far (cursor used, next cursor returned, item ids) and finds the failures that make a scan loop or lie: a next cursor already used, a page whose items were all seen before, a page that returned nothing new yet offers another cursor, a scan that has not ended. Optionally takes declared ordering and cursor assumptions and lists the omission risks they imply (offset cursors under mutation, non-unique sort keys, unstable order). Each page's