Skip to content

Number Spec Kit features by timestamp instead of sequentially - #202

Merged
jantman merged 1 commit into
mainfrom
speckit-timestamp-numbering
Nov 20, 2026
Merged

jantman merged 1 commit into
mainfrom
speckit-timestamp-numbering

Conversation

@jantman

@jantman jantman commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Switch Spec Kit feature numbering from sequential to timestamp.

robot-army runs each issue in its own git worktree, and several can run at once. Sequential numbering scans specs/ for the highest number, and that scan only sees one worktree. Two concurrent sessions can therefore claim the same number. A YYYYMMDD-HHMMSS prefix cannot collide.

  • .specify/init-options.json: branch_numbering → timestamp (the key this repo's Spec Kit 0.7.4 reads, see .claude/skills/speckit-specify/SKILL.md), plus feature_numbering: "timestamp" (the newer key, which robot-army's onboarding check reads).
  • .specify/extensions/git/git-config.yml: branch_numbering: timestamp, so branch names match.

Existing specs/NNN-* directories are untouched; only new features get timestamp prefixes.

🤖 Generated with Claude Code

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 <noreply@anthropic.com>
@jantman
jantman merged commit b6d98a5 into main Nov 20, 2026
13 of 15 checks passed
@jantman
jantman deleted the speckit-timestamp-numbering branch November 20, 2026 22:29

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code review
From Claude, via the Claude PR Review workflow -- hence github-actions[bot].

Switches Spec Kit feature numbering from sequential to timestamp via two small config changes. No issues found; checked for bugs and CLAUDE.md compliance.

No issues found. Checked for bugs and CLAUDE.md compliance.


🔎 6s · 3 turns · $0.0937 · run log

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