Repository navigation
feat(platform): let independent agents review task results - #4076
Conversation
|
PR #4076 independent review, continued at the 12:45 occurrence: still not accepted; changes required. This is in addition to checkpoint
CI at the exact head is green and executed (merge ref
New findings Paths are under A. HIGH, opted-in projects only: an upstream close stops that project's whole issue import.
B. MEDIUM: reassigning an In-review task makes its agent review undecidable.
C. MEDIUM: the PR's new rule "Changing Reviewer requires project edit access, including on a task you created or own" can be bypassed.
D. MEDIUM: the reviewer cannot read the deliverables it approves.
E. MEDIUM, acceptance: who acts next is visible only task by task, and a missing agent isn't recoverable at the project level. Traced by a review agent, and spot-checked.
Findings 7 and 11 are confirmed in source. The browser check is still not done.
LOW
Remaining before acceptance
No merge, push, repair, configuration change or task-review decision was made. |
Enforce eligible reviewer routing and governance, expose blocked reviews to manager reads, and stage scoped review evidence through bounded signed transfers. Preserve captured gates across external edits and reset stale review confirmations. Keep localized reviewer pickers within the viewport.
Preserve both sandbox blob-route suites and appended manual coverage rows. Pin retained task bytes without metadata as unavailable to the review tool, using the native route, actual file deletion and the object store.
|
PR #4076: post-merge independent reevaluation at The merge carries the PR head
Status of my findings
New, MEDIUM (UX, not security) M1.
M2. Choosing a reviewer can drop keyboard focus. This is from the source and wasn't run.
New, LOW
Before production opt-in, which is root's call:
No merge, configuration change or task-review decision was made by this run. |
Home's "waiting for your review" list reads GET /api/app/tasks with reviewerId and status=in_review. That read used to match the stored designation, reviewer_user_id. A task that names no reviewer asks its creator for review, and so does one whose reviewer is set back to Project default while its review is open: the creator's bell and the board's Needs my review asked them, but their Home did not list or count the task (#3790). #4076 made the read follow the pending review, but the only listing check named the creator as reviewer, so it passed under either rule. The check now covers the issue's three cases. A creator assigns three tasks to an editor, who moves them to In review. One names nobody. One names a reviewer until the creator sets it back to Project default. One names the creator. For each, the check reads whom the task names and whom its pending review asks, then the creator's own Home read; for the second, also the former reviewer's, which must not list it. The first two assert that the task names nobody, so a read that follows reviewer_user_id fails them. The third is the control, which either read lists. The comments on the reviewerId filter (TaskListFilters, the check, and useTasksAcrossProjects) now describe what the server does. Closes #3790 Task: TALE-35
Home's "waiting for your review" list reads GET /api/app/tasks with reviewerId and status=in_review. That read used to match the stored designation, reviewer_user_id. A task that names no reviewer asks its creator for review, and so does one whose reviewer is set back to Project default while its review is open: the creator's bell and the board's Needs my review asked them, but their Home did not list or count the task (#3790). #4076 made the read follow the pending review, but the only listing check named the creator as reviewer, so it passed under either rule. The check now covers the issue's three cases. A creator assigns three tasks to an editor, who moves them to In review. One names nobody. One names a reviewer until the creator sets it back to Project default. One names the creator. For each, the check reads whom the task names and whom its pending review asks, then the creator's own Home read; for the second, also the former reviewer's, which must not list it. The first two assert that the task names nobody, so a read that follows reviewer_user_id fails them. The third is the control, which either read lists. The comments on the reviewerId filter (TaskListFilters, the check, and useTasksAcrossProjects) now describe what the server does. Closes #3790 Task: TALE-35
Home's "waiting for your review" list reads GET /api/app/tasks with reviewerId and status=in_review. That read used to match the stored designation, reviewer_user_id. A task that names no reviewer asks its creator for review, and so does one whose reviewer is set back to Project default while its review is open: the creator's bell and the board's Needs my review asked them, but their Home did not list or count the task (#3790). #4076 made the read follow the pending review, but the only listing check named the creator as reviewer, so it passed under either rule. The check now covers the issue's three cases. A creator assigns three tasks to an editor, who moves them to In review. One names nobody. One names a reviewer until the creator sets it back to Project default. One names the creator. For each, the check reads whom the task names and whom its pending review asks, then the creator's own Home read; for the second, also the former reviewer's, which must not list it. The first two assert that the task names nobody, so a read that follows reviewer_user_id fails them. The third is the control, which either read lists. The comments on the reviewerId filter (TaskListFilters, the check, and useTasksAcrossProjects) now describe what the server does. Closes #3790 Task: TALE-35
Summary
Task results can route to a designated reviewer agent, so fleet work can finish without waiting in a human review queue. Project defaults and explicit pending-review transfers select the reviewer. The opt-in
task_reviewtool checks the current reviewer grant, independent implementation identity, captured source/evidence, governance and completion blockers before recording one durable verdict.task_start_agentpath, with its busy-agent, single-live-run and per-task start limits. A verdict does not merge GitHub work or start a repair automatically.Closes #4058.
Checklist
bun run check --concurrency=1at7afc5b349325a1d10fcd3daff4aa2d396430fdf0: 58/58 tasks, all executed, zero cached. Fresh platform UI: 5,167 passed; server: 81,287 passed, 5 existing skips; shared UI: 2,742 passed.de-CHoverride.Test plan
Rollout and limits
Keep the new review grant/defaults disabled until every serving replica runs this version: an older server does not enforce the new captured-agent review gate. Old blob consumers reject bounded v2 stage tokens without downgrade; ordinary v1 callers retain their existing payload and behavior.
Staging preserves document ACL precedence and requires current task-file metadata; retained object bytes alone confer no authority. Evidence revisions bind descriptors and discussion, not a content hash/ETag. Authorized bytes may remain after a concurrent handoff, while the final stage result and stale verdict are refused. Staging proves delivery, not that an agent inspected the file. GitHub evidence remains the reviewer's attestation.