Skip to content

fix(skill): check merge conflicts in pull-request convergence loop #3707

Closed

Description

@PierreBrisorgueil

Problem

The /pull-request skill convergence loop (section 6) only checks mergeable status at the stop condition (6f). If a merge conflict appears mid-loop (e.g. from concurrent pushes to master), the skill keeps iterating without detecting it.

Proposed fix

Add a mergeable check early in the loop (after CI passes, before reading feedback). If CONFLICTING, stop the loop and report to user instead of continuing to iterate uselessly.

  1. Wait for CI
  2. If CI fails → fix, push, GOTO 1
  2b. Check mergeable → if CONFLICTING, report to user and STOP
  3. Grace period → ...

Files to modify

  • .claude/skills/pull-request/SKILL.md — add step 2b in loop procedure + update 6f

Activity

  1. added a commit that references this issue on Mar 15, 2026
    ef136ed
  2. added a commit that references this issue on Apr 1, 2026
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions