Problem
KanDev only surfaces PRs that were created through its own PR creator. If a PR is opened externally — via the GitHub web UI, gh pr create, CI automation, or another tool — there is no way to associate it with a task. The task card stays unlinked even when a directly related PR is already open.
Proposed solution
Two complementary approaches:
- Auto-link by branch name — If a task has an associated worktree/branch, automatically detect any open PR whose head branch matches and surface it on the task card. No user action required. This mirrors how vibe-kanban handles it.
- Manual link — Add a "Link PR" action on the task card that accepts a PR number or URL. KanDev fetches the PR details from GitHub and attaches it to the task. Unlinking should also be supported.
Auto-link covers the common case; manual link covers tasks without a worktree or branch mismatch.
Affected area
Task card / PR integration
Who needs this?
Individual developer, Team
Target workflow
- Task management
- PR / code review workflow
Alternatives considered
- Creating all PRs exclusively through KanDev's PR creator (not always practical in team or CI contexts)
Acceptance criteria
Risks and constraints
No response
References
- vibe-kanban PR auto-linking by branch name
Before submitting
Problem
KanDev only surfaces PRs that were created through its own PR creator. If a PR is opened externally — via the GitHub web UI,
gh pr create, CI automation, or another tool — there is no way to associate it with a task. The task card stays unlinked even when a directly related PR is already open.Proposed solution
Two complementary approaches:
Auto-link covers the common case; manual link covers tasks without a worktree or branch mismatch.
Affected area
Task card / PR integration
Who needs this?
Individual developer, Team
Target workflow
Alternatives considered
Acceptance criteria
Risks and constraints
No response
References
Before submitting