Skip to content

efo-ticket: branch from an up-to-date master - #2728

Merged
aleixpuigb merged 1 commit into
masterfrom
update-efo-ticket-fresh-master
Jun 24, 2026
Merged

aleixpuigb merged 1 commit into
masterfrom
update-efo-ticket-fresh-master

Conversation

@aleixpuigb

Copy link
Copy Markdown
Collaborator

Summary

The ticket workflow created the issue branch with git checkout -b issue-N, which branches from the current HEAD with no guarantee it's master or that master is 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:

git fetch origin master
git checkout -b issue-N origin/master

Branching from origin/master guarantees freshness regardless of the current local branch/state. Also notes: keep a clean working tree before branching, fast-forward local master if kept, and rebase an existing issue branch onto the latest origin/master if it has fallen behind.

Applied to both:

  • .claude/commands/efo-ticket.md (the /efo-ticket command)
  • CLAUDE.md (the orchestrator guide used for "handle issue #N")

Docs-only; no code or ontology changes.

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]>
@aleixpuigb
aleixpuigb merged commit 05fcab6 into master Jun 24, 2026
1 check passed
@aleixpuigb
aleixpuigb deleted the update-efo-ticket-fresh-master branch June 24, 2026 10:28
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