feat(webui): the dashboard answers the review gate, including a re-review's instructions

The server offers re-review for a waiting task, and it refuses one
without instructions, so the control needs a dialog of its own rather
than the plain confirm: it collects the operator's focus and posts
api.taskAction(id, "rereview", {instructions}). taskAction now takes the
review-gate payload (instructions and the finding keys approve posts, an
absent selection meaning all), and the freeze-dried catalog gains
Re-review so the first render matches the served catalog. The rereview
event kinds join the live-update topic list.

ui/dist is regenerated and committed; task test:ui and the typecheck pass.
This commit is contained in:
sam committed 2026-10-02 02:27:59 +10:00
1 parent 68a17aed91
commit eaabc254be
8 files changed
+158 -66

No files matched your search

+2
View File
@@ -24,8 +24,10 @@ const taskKinds = new Set([
"pr_rejected",
"human_approved",
"human_rejected",
"human_rereviewed",
"agent_approved",
"agent_rejected",
"agent_rereviewed",
"changes_captured",
"config_captured",
"work_request_submitted",