Skip to content

Reaction loop: route CI failures and PR review comments back to the thread's agent #161

Closed

Description

@currentbits

What competitors do

ComposioHQ Agent Orchestrator's reaction engine auto-handles CI failures, review comments and merge readiness with configurable retries, escalation timers and optional auto-merge (repo).

Solenta today

prChecks (electron/worktrees.js:1654) only fetches checks for display as sidebar badges. Nothing turns a failing check or a PR review comment into a follow-up prompt for the thread's agent; failures surface in-band for a human to copy-paste.

Why it matters

This is the biggest "walk away and come back to a mergeable PR" unlock. Solenta already has the PR + thread linkage and the gh plumbing; the missing piece is the loop that closes itself.

Scope suggestion

A per-thread opt-in: when checks fail or a review comment lands on the thread's PR, enqueue a follow-up turn with the failure log / comment text. Retry cap and notification on escalation. Pairs naturally with the concurrency cap issue.

Activity

  1. added
    enhancement
    plan:todo
    on Aug 16, 2026
  2. currentbits commented on Aug 17, 2026

    @currentbits
    OwnerAuthor

    Deep-dive detail (Synara Fix button): one click gathers ALL unresolved PR review comments into a single numbered prompt with instructions to verify each comment is still valid before addressing it. Tiny feature, huge workflow win — the manual end of the reaction loop.

  3. added
    plan:doing
    plan:done
    and removed
    plan:todo
    plan:doing
    on Oct 9, 2026
  4. currentbits commented on Oct 9, 2026

    @currentbits
    OwnerAuthor

    Shipped in 0.24.0: PR watch-and-wake (electron/prWatch.js, 04f6d3c). Failing checks, changes-requested reviews and conflicts send the thread one follow-up turn. Closing in the 2026-10-09 board cleanup (#1532).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementplan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions