Intent: half of #5044; a client reads every list the same way.
Done:
[ ] GET {REPO}/reports answers { items, next_cursor }; a report's text stays marked untrusted exactly as today
[ ] tests: the shape, paging with limit and next_cursor to the end, and a bad limit refused
Shape: { items, next_cursor } as the header of src/http/api.ts promises for lists, with limit (default 50, max 200) and cursor validated like the issue list's, and a bad limit a 422. Update every caller in src/ (the terminal UI, client.ts, mcp.ts, pages) and test/ that reads the bare array, and say in the pull that the shape changed. Keep the route's permission and filter exactly as they are. Touch only this route: other lists change in parallel.
Intent: half of #5044; a client reads every list the same way.
Done:
{REPO}/reportsanswers{ items, next_cursor }; a report's text stays markeduntrustedexactly as todaylimitandnext_cursorto the end, and a bad limit refusedShape:
{ items, next_cursor }as the header of src/http/api.ts promises for lists, withlimit(default 50, max 200) andcursorvalidated like the issue list's, and a bad limit a 422. Update every caller in src/ (the terminal UI, client.ts, mcp.ts, pages) and test/ that reads the bare array, and say in the pull that the shape changed. Keep the route's permission and filter exactly as they are. Touch only this route: other lists change in parallel.