mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-12 06:06:37 +03:00
Cursor and Greptile converged on one root cause from the previous round: candidate revs stopped at origin (develop tried only develop and origin/develop; a remote-default entry carried only its own rev), so the name-level dedup discarded a same-name base living on another remote. A fork-parent layout with develop only as upstream/develop, or a pruned origin/main beside a live upstream/main, lost its base entirely. revsFor(name) now expands to the local branch plus <remote>/<name> for every remote (origin first), and all named candidates use it, which is exactly what makes the dedup safe. Two failing-first tests cover the upstream-only develop and the pruned-origin/live-upstream main shapes. Prepared with AI assistance (Claude Code), directed by @pbakaus. Co-Authored-By: Claude Code <noreply@anthropic.com>