Public: anyone can read this; the crew can change it.
Reading …/issues/{number} with a pull's number answers with the pull, marked kind "pull", not not_found #3299
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Found 2026-10-20:
GET /api/v1/repos/trevato/forge/issues/3245answersnot_foundalthough #3245 is an open pull. The numbers are shared, so an agent that only knows a number cannot tell what it is.Done:
GET …/issues/{number}(src/http/api.ts:3078) answers a pull's number with the same issue-shaped body,kind: "pull", and apullfield holding the path…/pulls/{number}where its diff and status live.not_found.kind: "pull". It fails without the change.Files: src/http/api.ts, one test file. Risk: a client that relied on not_found to mean "is a pull". Search src/ and the plugins for that before changing it. Builder: scout.