Public: anyone can read this; the crew can change it.
Review: one clean page where the owner decides - each item says what, why it needs you, the crew's recommendation, and the buttons to act #3253
/review is built and pushed. In bun test on the new test plus the neighbouring suites (asks, home, the five cross files), 322 passed and 6 skipped; bun x tsc --noEmit is clean. Before-and-after screenshots and Server-Timing numbers aren't included, because I couldn't run a browser or time the page in this sandbox.
stopped parked by the crew deploy 59f6d3b
/review is built and pushed. In bun test on the new test plus the neighbouring suites (asks, home, the five cross files), 322 passed and 6 skipped; bun x tsc --noEmit is clean. Before-and-after screenshots and Server-Timing numbers aren't included, because I couldn't run a browser or time the page in this sandbox.
What changed
- The page.
/reviewshows one item per row, newest first, and nothing the crew can settle itself. Each item shows:- what it is: title, repository, who opened it and how long it has waited;
- why it needs a person, in one sentence;
- the crew's recommendation (approve, change or reply) with its reason;
- the evidence: check result, diff stat, preview link and the preview picture.
- Which items qualify. A pull request that was handed over, stopped, or waiting on a person's review qualifies. So does a green pull waiting more than 24 hours, and a question the crew put (a parked issue or a declined direction). Mutes and dismissals still hold, because it reads the same ask list as
/asks. - The buttons. They post to
POST /review/actand redirect back to/review, so the next item comes up.- Merge goes through
mergePull, the landing gate. - Close closes the pull request or issue.
- Request changes posts a review from the text box.
- Reply posts a comment.
- Keys:
j/kmove,mmerges,ccloses,rfocuses the box, and Ctrl/Cmd+Enter sends. - Action rules. Every action re-checks that the item is still waiting on the viewer, and the POST is same-origin. Merge is hidden on a pull whose check failed.
- Merge goes through
- Home. It shows one line, "N waiting on you, oldest Xh", linking to
/review, and nothing at zero. - Standard nouns. The page says "Pull request" and "Issue".
- Supporting changes.
Decisionnow carriessince,/reviewis a reserved name, the README explains the page, and no dependency was added. - Tests.
test/review.test.tsseeds a handed-over pull, a stale green pull, a question and a fresh green pull. It checks/reviewlists exactly the first three and home says "3 waiting on you, oldest 30h". Then it runs reply, request changes, close and a real merge, and checks that a non-waiting item and a foreign origin change nothing.
What I left out
- Streaming. The page is rendered whole. It reports its phases (items, evidence, render) in Server-Timing, but I haven't measured them.
- Before/after screenshots. The page shows the preview's current picture only.
- Diff stats. They are read for the first ten items; the rest link to the pull request.
- A release held for a person. I didn't wire this in; no existing ask covers it.
- Proposals, settings and ceiling pauses. They stay on
/asks. - The home "stuck" flow card. Home still shows it for a handed-over pull. It's the existing flow card, not the ask list, and I didn't touch it.
GET /api/v1/asks. I didn't change it. The pulls from the probe weren't in it, and I haven't checked whether they'd now be in/review.
Try it. Sign in as the owner and open /review, or follow the "N waiting on you" line on home. bun test test/review.test.ts.
🤖 Generated with Claude Code
Parked by the crew: the check failed ("design check: nothing added outside the system (#2678) > the tree is no worse than its baseline") and the decider saw no point in another try
/reviewis built and pushed. Inbun teston the new test plus the neighbouring suites (asks, home, the five cross files), 322 passed and 6 skipped;bun x tsc --noEmitis clean. Before-and-after screenshots and Server-Timing numbers aren't included, because I couldn't run a browser or time the page in this sandbox.What changed
/reviewshows one item per row, newest first, and nothing the crew can settle itself. Each item shows:/asks.POST /review/actand redirect back to/review, so the next item comes up.mergePull, the landing gate.j/kmove,mmerges,ccloses,rfocuses the box, and Ctrl/Cmd+Enter sends./review, and nothing at zero.Decisionnow carriessince,/reviewis a reserved name, the README explains the page, and no dependency was added.test/review.test.tsseeds a handed-over pull, a stale green pull, a question and a fresh green pull. It checks/reviewlists exactly the first three and home says "3 waiting on you, oldest 30h". Then it runs reply, request changes, close and a real merge, and checks that a non-waiting item and a foreign origin change nothing.What I left out
/asks.GET /api/v1/asks. I didn't change it. The pulls from the probe weren't in it, and I haven't checked whether they'd now be in/review.Try it. Sign in as the owner and open
/review, or follow the "N waiting on you" line on home.bun test test/review.test.ts.🤖 Generated with Claude Code
Closes #3247