Skip to content

feat(threads): deliver automatic advisor reviews after the turn - #1485

Merged
nixuuu merged 1 commit into
devfrom
feat/automatic-review-follow-up
Nov 29, 2026
Merged

nixuuu merged 1 commit into
devfrom
feat/automatic-review-follow-up

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 29, 2026

Copy link
Copy Markdown
Member

Change

Automatic diff reviews can finish after the agent's final response. Queue a follow-up in the same thread so the agent receives the findings and can act within the original task. Its conclusion is visible with Worked for collapsed. If the follow-up cannot start or ends without an answer, publish the available findings directly in the conversation.

Recheck the task and checkout at admission. A newer owner instruction or a changed checkout restricts the follow-up to reporting. Enforce that restriction on platform tools and handle workers that reconnect with different capabilities. Each source turn can enqueue one follow-up, and the follow-up does not trigger another automatic review.

Verification

  • 42 focused gateway integration tests and 26 worker tests passed locally. Coverage includes queue recovery, corrupt records, reconnect and replay, permission enforcement, harness failure and worker restart.
  • Gateway, worker and integration-test typechecks, edited-file lint and diff checks passed. Earlier checks also covered the database migration and web and mobile types.
  • A web browser fixture verified the conclusion and direct report with work collapsed. Mixed-version delivery was exercised with protocol schemas and scripted worker connections. Full builds and the remaining checks run in CI.
  • Copy audit (§8). The visible follow-up label identifies the source. When the findings cannot be recovered, the error now gives a recovery action. “Ask the agent to review the changes again.” The existing conversation layout displays the findings as text.

@nixuuu
nixuuu enabled auto-merge (squash) November 29, 2026 19:32
@nixuuu
nixuuu merged commit eb8fcd7 into dev Nov 29, 2026
24 checks passed
@nixuuu
nixuuu deleted the feat/automatic-review-follow-up branch November 29, 2026 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant