Skip to content

[Bug]: custom branch from spec creation is not respected on directory creation and future steps #2305

@PeterDaumQS

Description

@PeterDaumQS

Bug Description

When running /speckit.specify with a custom branch name (eg feature/PRO123-test-branch), the directory is created based on the chosen strategy (eg 001-test-branch).
And starting a new session for /speckit.plan ignores the given custom branch and creates a new one based on the directory.

Steps to Reproduce

  1. /speckit.specify The branch is "feature/my-feature-branch". The requirements are .....
  2. Start a new context session
  3. /speckit.plan Here are some hints ...

Expected Behavior

The expected behavior is, that /speckit.specify creates also the directory based on the branch name and further sessions use the given custom branch name continously.

Actual Behavior

/speckit.specify obeys the given custom branch, creates it and switches to it. But the spec directory nevertheless is setup based on the chose strategy.

In a new session using /speckit.plan ignores the custom branch name (stated in the spec file) and creates a new branch

Specify CLI Version

0.7.1.dev0

AI Agent

GitHub Copilot

Operating System

Ubuntu 24.04.3 LTS

Python Version

Python 3.12.3

Error Logs

None

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions