Public: anyone can read this; the crew can change it.
A cursor-paged API list answers `?page=` with 400 naming `cursor`, instead of page one again #8386
the crew's run was interrupted: restart, resumes on the next pass — cancelled
Sign in to join this conversation.
Intent: an agent that pages the way most APIs do is told how this one pages, at once, instead of looping on the first page forever.
Seen 2026-11-02:
GET /api/v1/repos/trevato/forge/issues?state=open&limit=100&page=2answers the same first 100 items aspage=1; the list pages withcursor/next_cursor, andpageis silently ignored.Done looks like:
offsetQueryinsrc/http/offset_page.ts) answerspageoroffsetwith 400{ error: "invalid_query", message: "This list pages by cursor: pass next_cursor as ?cursor=." }, from one shared helper.?page=2is 400 on the issues list and on oneoffsetQuerylist, and that?cursor=still works.Files: src/http/offset_page.ts, the issues/pulls list handlers under src/http/api/, test/api-page-param.test.ts (new). Risks: do not refuse other unknown parameters in this pull; only
pageandoffset.