Skip to content

fix: load PR change context from the active branch#97

Merged
dbpolito merged 1 commit intomainfrom
chore/pr-change-load
Apr 16, 2026
Merged

fix: load PR change context from the active branch#97
dbpolito merged 1 commit intomainfrom
chore/pr-change-load

Conversation

@dbpolito
Copy link
Copy Markdown
Contributor

@dbpolito dbpolito commented Apr 16, 2026

Ticket

SKIPPED

Description

Use the active local branch when loading PR change context so follow-up review and fix flows analyze the branch being worked on instead of relying on the PR head ref.

Checklist

PR fix workflow

  • Confirm PR fix analysis loads changes from the active local branch
  • Confirm feedback triage uses the current branch diff before selecting edits

PR review workflow

  • Confirm PR review analysis loads changes from the active local branch
  • Confirm review comments are based on the checked-out branch diff

Generated OpenCode output

  • Confirm generated OpenCode PR command docs stay aligned with the source command docs

Validation

  • Verify that the updated command docs accurately describe the intended branch context
  • Check that source and generated command definitions stay in sync

- update pr review and fix commands to diff against the checked out branch
- use the current branch change set during feedback analysis before planning edits
- sync the generated opencode command docs with the source command changes
@dbpolito dbpolito self-assigned this Apr 16, 2026
@dbpolito dbpolito merged commit d7f485a into main Apr 16, 2026
1 check passed
@dbpolito dbpolito deleted the chore/pr-change-load branch April 16, 2026 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant