spec-kit icon indicating copy to clipboard operation
spec-kit copied to clipboard

Fix global branch numbering in specify command

Open Lakkanna opened this issue 10 months ago • 1 comments

Resolves #1454

Update the branch numbering logic to use globally sequential numbers across all branches rather than restarting from 001 for each unique short name. This allows users to track the chronological order of features added to the project.

Changes:

  • Add fallback logic to use highest branch number from all sources
  • If no numbered branches exist, use specs directory count + 1
  • Update documentation to reflect the four-source checking approach

Lakkanna avatar Jan 09 '26 08:01 Lakkanna

This pull request has been automatically marked as stale because it has not had any activity for 150 days. It will be closed in 30 days if no further activity occurs.

github-actions[bot] avatar Jun 09 '26 01:06 github-actions[bot]