Goal
Add a PR history view to the Review page listing recently merged PRs alongside their PROOF9 proof reports at time of merge.
Background
First half of the post-merge glitch capture loop. After PRs merge, users need to see what was shipped and what proof was attached — so they can identify which PR introduced a production glitch.
Scope
PR History section on the Review page (shown below the PR Status panel, or as a tab):
- Lists the last 10 merged PRs for the workspace: PR title, merge date, author, link to GitHub
- Each row shows a proof snapshot badge: how many gates passed / total at time of merge (e.g., "7/9 gates passed")
- Clicking a row expands to show the gate-by-gate breakdown at time of merge
- Backend:
GET /api/v2/pr/history?workspace=...&limit=10 — queries merged PRs from GitHub API and joins with proof run records stored in the DB by PR number
- Empty state: "No merged PRs yet" with link to Review page workflow
Acceptance criteria
Goal
Add a PR history view to the Review page listing recently merged PRs alongside their PROOF9 proof reports at time of merge.
Background
First half of the post-merge glitch capture loop. After PRs merge, users need to see what was shipped and what proof was attached — so they can identify which PR introduced a production glitch.
Scope
PR History section on the Review page (shown below the PR Status panel, or as a tab):
GET /api/v2/pr/history?workspace=...&limit=10— queries merged PRs from GitHub API and joins with proof run records stored in the DB by PR numberAcceptance criteria
npm testanduv run pytestpass