chore(claude): auto-sync PR base branches from the /work command - #3461
chore(claude): auto-sync PR base branches from the /work command#3461mmagician wants to merge 2 commits into
Conversation
After opening a draft PR, /work now creates a 2-hourly scheduled routine that merges the base branch into the PR branch when it moves, gated on lint and tests, and self-deletes once the PR closes or after 48 hours. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
A clean base move needs no action; the routine now only merges the base in when the PR's mergeable state is CONFLICTING. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
My main issue with this PR is that it spends tokens and potentially pushes code after I close my machine. A cloud routine runs under the account that created it. Also whats not great is that these Going to hold off approving, lets discuss on a call though, maybe I'm not fully understanding this PR |
|
What you describe is precisely what this PR does. I don't think I'd worry about the tokens here, the watching part will consume absolutely minimal amount of tokens. |
Summary
Extends the
/workcommand: after opening a draft PR, it now sets up a scheduled cloud routine that keeps the PR's base branch merged in automatically if there are conflicts