From 81a69aabdf6c2ac23e99e634ea712e94f915d321 Mon Sep 17 00:00:00 2001 From: Jason Antman Date: Fri, 20 Nov 2026 17:26:13 -0500 Subject: [PATCH] Number Spec Kit features by timestamp, not by scanning specs/ Concurrent robot-army sessions each work in their own worktree, so a sequential scan of specs/ cannot see a number a sibling session already claimed, and two features can end up with the same prefix. A timestamp prefix cannot collide. branch_numbering is what this Spec Kit (0.7.4) reads, in init-options.json and the git extension's config; feature_numbering is the newer key that robot-army's onboarding check reads and later Spec Kit versions use. Co-Authored-By: Claude Opus 5.5 --- .specify/extensions/git/git-config.yml | 2 +- .specify/init-options.json | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.specify/extensions/git/git-config.yml b/.specify/extensions/git/git-config.yml index 8c414ba..cbc3ae6 100644 --- a/.specify/extensions/git/git-config.yml +++ b/.specify/extensions/git/git-config.yml @@ -2,7 +2,7 @@ # Copied to .specify/extensions/git/git-config.yml on install # Branch numbering strategy: "sequential" (001, 002, ...) or "timestamp" (YYYYMMDD-HHMMSS) -branch_numbering: sequential +branch_numbering: timestamp # Commit message used by `git commit` during repository initialization init_commit_message: "[Spec Kit] Initial commit" diff --git a/.specify/init-options.json b/.specify/init-options.json index 293c6b4..72bfbba 100644 --- a/.specify/init-options.json +++ b/.specify/init-options.json @@ -1,11 +1,12 @@ { "ai": "claude", "ai_skills": true, - "branch_numbering": "sequential", + "branch_numbering": "timestamp", "context_file": "CLAUDE.md", "here": true, "integration": "claude", "preset": null, "script": "sh", - "speckit_version": "0.7.4.dev0" + "speckit_version": "0.7.4.dev0", + "feature_numbering": "timestamp" }