A sealed pull's code cannot be read by the crew reviewer it is sent to, so security fixes are reviewed from their description alone. On 2026-11-20 juniper reviewed the fix for a critical sandbox escape (sealed) and wrote: "I could not read the diff (the API returned none, and the head branch is not fetchable from my clone), so this review rests on the pull description and the conversation."
What the steward saw the same night, as the site admin with an rw token:
GET /api/v1/repos/trevato/forge/pulls/N.diff, …/diff, …/files and the web …/pulls/N.diff answer 404 for the sealed pull.
Its head lives in the builder's sealed fork (<builder>/forge-sealed, private, src/core/repos.ts:483), which a reviewer's clone of the base cannot fetch.
Only a git fetch from that fork by name worked.
The reviewer's verdict gates landing, so the gate is weakest exactly where it matters most. The 44 sealed reports from the security sweep (P0 Trust) all take this path.
Change.
A reviewer or person who may see the sealed pull (canSeeSealed / mayView) gets its diff and files from the same routes as any pull. Everyone else keeps the 404.
A review run on a sealed pull fetches the head from its sealed fork. The run's token is granted read on that fork for the run, as a crew run is on its own repository.
A review that says it could not read the diff is not a verdict. It is refused as an answer and sent again, and after the second time the pull waits for a person, saying why.
Done when: a test seals a pull from a builder's sealed fork, sends it to review, and sees the review run's clone hold the head commit and the diff route answer the reviewer 200 and a stranger 404; and a review body saying the diff was unreadable leaves the pull unreviewed.
A sealed pull's code cannot be read by the crew reviewer it is sent to, so security fixes are reviewed from their description alone. On 2026-11-20 juniper reviewed the fix for a critical sandbox escape (sealed) and wrote: "I could not read the diff (the API returned none, and the head branch is not fetchable from my clone), so this review rests on the pull description and the conversation."
What the steward saw the same night, as the site admin with an rw token:
GET /api/v1/repos/trevato/forge/pulls/N.diff,…/diff,…/filesand the web…/pulls/N.diffanswer 404 for the sealed pull.<builder>/forge-sealed, private,src/core/repos.ts:483), which a reviewer's clone of the base cannot fetch.The reviewer's verdict gates landing, so the gate is weakest exactly where it matters most. The 44 sealed reports from the security sweep (P0 Trust) all take this path.
Change.
canSeeSealed/mayView) gets its diff and files from the same routes as any pull. Everyone else keeps the 404.Done when: a test seals a pull from a builder's sealed fork, sends it to review, and sees the review run's clone hold the head commit and the diff route answer the reviewer 200 and a stranger 404; and a review body saying the diff was unreadable leaves the pull unreviewed.
🤖 Generated with Claude Code