mirror of
https://github.com/github/spec-kit.git
synced 2026-07-07 06:35:06 +08:00
* test: cover namespaced git branch templates
Assisted-by: Codex (model: GPT-5, autonomous)
* feat: support namespaced git branch templates
Assisted-by: Codex (model: GPT-5, autonomous)
* test: cover git branch template edge cases
Assisted-by: Codex (model: GPT-5, autonomous)
* fix: harden git branch template parsing
Assisted-by: Codex (model: GPT-5, autonomous)
* fix: address git branch template review feedback
Address Copilot review feedback for branch_prefix help text, namespaced GIT_BRANCH_NAME fallback behavior, final-segment validation docs, and Bash UTF-8 byte reporting.
Assisted-by: Codex (model: GPT-5, autonomous)
* fix: reject slug-scoped branch templates
Reject branch templates that place {slug} before {number}, because that makes namespace scanning depend on the generated feature slug and can reset numbering per feature name.
Assisted-by: Codex (model: GPT-5, autonomous)
* fix: ignore malformed timestamp refs when numbering
Align branch-number scanning with feature-branch validation so malformed timestamp-looking refs do not inflate sequential numbering. Also updates the stale git-common comment called out in review.
Assisted-by: Codex (model: GPT-5, autonomous)
73 lines
2.4 KiB
YAML
73 lines
2.4 KiB
YAML
# Git Branching Workflow Extension Configuration
|
|
# Copied to .specify/extensions/git/git-config.yml on install
|
|
|
|
# Branch numbering strategy: "sequential" (001, 002, ...) or "timestamp" (YYYYMMDD-HHMMSS)
|
|
branch_numbering: sequential
|
|
|
|
# Optional branch name template. Leave empty for the default "{number}-{slug}".
|
|
# Supported tokens: {author}, {app}, {number}, {slug}
|
|
# {slug} must not appear before {number}; final path segment must start with {number}-.
|
|
# Example for monorepos: "{author}/{app}/{number}-{slug}"
|
|
branch_template: ""
|
|
|
|
# Optional shorthand namespace. Leave empty to use branch_template/default behavior.
|
|
# Example: "features/{app}" expands to "features/{app}/{number}-{slug}"
|
|
branch_prefix: ""
|
|
|
|
# Commit message used by `git commit` during repository initialization
|
|
init_commit_message: "[Spec Kit] Initial commit"
|
|
|
|
# Auto-commit before/after core commands.
|
|
# Set "default" to enable for all commands, then override per-command.
|
|
# Each key can be true/false. Message is customizable per-command.
|
|
auto_commit:
|
|
default: false
|
|
before_clarify:
|
|
enabled: false
|
|
message: "[Spec Kit] Save progress before clarification"
|
|
before_plan:
|
|
enabled: false
|
|
message: "[Spec Kit] Save progress before planning"
|
|
before_tasks:
|
|
enabled: false
|
|
message: "[Spec Kit] Save progress before task generation"
|
|
before_implement:
|
|
enabled: false
|
|
message: "[Spec Kit] Save progress before implementation"
|
|
before_checklist:
|
|
enabled: false
|
|
message: "[Spec Kit] Save progress before checklist"
|
|
before_analyze:
|
|
enabled: false
|
|
message: "[Spec Kit] Save progress before analysis"
|
|
before_taskstoissues:
|
|
enabled: false
|
|
message: "[Spec Kit] Save progress before issue sync"
|
|
after_constitution:
|
|
enabled: false
|
|
message: "[Spec Kit] Add project constitution"
|
|
after_specify:
|
|
enabled: false
|
|
message: "[Spec Kit] Add specification"
|
|
after_clarify:
|
|
enabled: false
|
|
message: "[Spec Kit] Clarify specification"
|
|
after_plan:
|
|
enabled: false
|
|
message: "[Spec Kit] Add implementation plan"
|
|
after_tasks:
|
|
enabled: false
|
|
message: "[Spec Kit] Add tasks"
|
|
after_implement:
|
|
enabled: false
|
|
message: "[Spec Kit] Implementation progress"
|
|
after_checklist:
|
|
enabled: false
|
|
message: "[Spec Kit] Add checklist"
|
|
after_analyze:
|
|
enabled: false
|
|
message: "[Spec Kit] Add analysis report"
|
|
after_taskstoissues:
|
|
enabled: false
|
|
message: "[Spec Kit] Sync tasks to issues"
|