Skip to content

Support session reuse across stacked PRs #103

Description

@athal7

When working with stacked PRs, pilot may spawn separate sessions for each PR in the stack even though they share context. A session reviewing PR #2 in a stack already has context about PR #1 below it.

Desired behavior:

  • When pilot picks up a PR that's part of a stack, reuse an existing session that's already working on another PR in the same stack
  • This avoids redundant context-gathering and gives the agent a better understanding of the full change

Stack detection: PRs where headRefName of one equals baseRefName of another, or via git-spice metadata.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions