Repository navigation
efo-ticket: branch from an up-to-date master - #2728
Merged
Merged
Conversation
Step 4 used `git checkout -b issue-N`, which branches from whatever HEAD happens to be and can be based on stale or unrelated work. Refresh and branch directly off the latest remote master instead: `git fetch origin master && git checkout -b issue-N origin/master`. Updated both the /efo-ticket command and the CLAUDE.md orchestrator guide. Co-Authored-By: Claude Opus 4.8 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The ticket workflow created the issue branch with
git checkout -b issue-N, which branches from the current HEAD with no guarantee it'smasteror thatmasteris current — so a ticket branch could be based on stale or unrelated work.Change
Step 4 now refreshes and branches directly off the latest remote master:
Branching from
origin/masterguarantees freshness regardless of the current local branch/state. Also notes: keep a clean working tree before branching, fast-forward localmasterif kept, and rebase an existing issue branch onto the latestorigin/masterif it has fallen behind.Applied to both:
.claude/commands/efo-ticket.md(the/efo-ticketcommand)CLAUDE.md(the orchestrator guide used for "handle issue #N")Docs-only; no code or ontology changes.