Files
PaperClipAI/server/src
Dotta b8462a0433 fix(native): start the configured review stage when a native worker reports done
A native worker that reported verified work as done closed its task even when
the task's execution policy required an independent human review stage. The
native finalizer committed status through the issue service, which does not run
the execution-policy transition that the issue route runs. A worker that
reported needs_review instead moved the task to in_review without starting the
configured stage or binding its reviewer.

The finalizer now routes a done decision on a task with an unstarted human
review stage to in_review, and the status committer starts that stage from the
locked task (pending state, reviewer assignment, return assignee). Completion
feedback tells the worker to report done so the configured stage requests the
review, and rejects a separate review request on such a task.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 08e32deee144dfcfb7a35269027e0921b4c5e203)
2026-11-11 12:02:16 -06:00
..
…
…
…