You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support numbered change names (NNNNN-slug) for sequencing #1169
When creating many change proposals over time, there is no way to tell which came first and which came later. The directory listing is alphabetical (add-auth, fix-bug, refactor-db) with no chronological ordering.
validateChangeName() in change-utils.js currently enforces strict kebab-case starting with a lowercase letter:
Sorts naturally in directory listings (ls, find, file explorers)
Makes it immediately obvious which proposals are older/newer
Scales to 99,999 changes per project (more than enough)
Does not break any existing plain kebab-case names (backward compatible)
Minimal fix
Change the validation regex to also accept digit-prefixed names:
// Current: must start with letterconstkebabCasePattern=/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/;// Proposed: allow digit prefix (e.g., 00001-add-auth)constkebabCasePattern=/^[a-z0-9][a-z0-9]*(-[a-z0-9]+)*$/;
This is backward compatible — all existing valid names remain valid.
Context
I am using OpenSpec with the pi coding agent (pi-openspec extension). The extension wraps /openspec new and tries to auto-number changes, but the CLI rejects the numbered names. Currently I have 3+ changes in a project and cannot tell their order without checking filesystem timestamps.
This ends up breaking for anyone using it in a team or even when creating changes in parallel in worktree. I agree some form of roadmapping / dependency management is needed though.
This ends up breaking for anyone using it in a team or even when creating changes in parallel in worktree. I agree some form of roadmapping / dependency management is needed though.
Activity
TabishB commentedon Jun 4, 2026
This ends up breaking for anyone using it in a team or even when creating changes in parallel in worktree. I agree some form of roadmapping / dependency management is needed though.
pankajudhas81 commentedon Jun 4, 2026
maybe with NNNNN-<Timestamp readable>-<name>/
fix(validate): allow numeric-prefixed change names (Fission-AI#1435)