Skip to content

kew resolve

Dispatch an agent to resolve merge conflicts on a PR branch.

Conflict resolution supports runners that require host-publication, including official Codex. The runner resolves and verifies the files without commit, push, or GitHub mutation authority. After a successful run, Kew commits the merge resolution and pushes the existing PR branch from the host. A failed publication preserves the worktree and returns non-zero.

Usage: kew resolve [OPTIONS] PR_NUMBER

Arguments:
  PR_NUMBER       PR number to resolve conflicts for (required)

Options:
  --dry-run       Check for conflicts without dispatching
  --force-budget  Skip budget pre-check

Example:

# Check if PR 42 has conflicts
kew resolve 42 --dry-run

# Dispatch agent to resolve conflicts
kew resolve 42