Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: branch selection ability#12

Open
andrew-t-james-wc wants to merge 1 commit intomarcus:main from
andrew-t-james-wc:main
Open

feat: branch selection ability #12
andrew-t-james-wc wants to merge 1 commit intomarcus:main from
andrew-t-james-wc:main

Conversation

@andrew-t-james-wc
Copy link

@andrew-t-james-wc andrew-t-james-wc commented Feb 13, 2026
edited
Loading

Thanks for this project, really enjoying using it. I hit an issue with branch assignment for a recent project. Let me know if this is something you would like to support.

Let users specify which branch AI agents create feature branches from
via --branch / -b on both run and task run commands. Defaults
to the current git branch when omitted.

  • Add flag to run and task run commands
  • Inject branch instructions into plan and implement prompts
  • Include branch in PR metadata block and run history
  • Show branch in preflight summary (plain and colored)
  • Add DB migration for run_history.branch column
  • Add comprehensive test coverage (13 new tests)

My default branch in the repo was set to develop but for some reason it worked from main. This was after one iteration, was unfortunate unusable.

main-diff

related to #10

Copy link
Owner

@marcus marcus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean implementation. Branch flag threads correctly through CLI → preflight → orchestrator → prompts → DB. Migration is straightforward, tests cover all the important paths (with/without branch, persistence, prompt injection). Good work. 🫡 — Shrike

Copy link
Owner

marcus commented Feb 17, 2026

Hey @andrew-t-james-wc — approved the code, it looks great! Unfortunately there are merge conflicts against current main (v0.3.2 just landed). Could you rebase or merge main into your branch and resolve the conflicts? Once that's green we'll merge it right away.

Thanks for the solid contribution! 🙏

— Shrike

Copy link
Author

@marcus fixed up, thanks for taking this feature on.

Copy link
Author

@marcus was there any thing else blocking this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@marcus marcus marcus approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Comments

AltStyle によって変換されたページ (->オリジナル) /