Skip to content

Fix incorrect .specify/scripts paths in code and documentation#2

Merged
brianluby merged 2 commits into001-git-worktreesfrom
copilot/sub-pr-1
Feb 22, 2026
Merged

Fix incorrect .specify/scripts paths in code and documentation#2
brianluby merged 2 commits into001-git-worktreesfrom
copilot/sub-pr-1

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 5, 2026

The .specify directory was created when spec-kit used itself for development and is gitignored. Code and docs incorrectly referenced .specify/scripts/ when actual scripts live in scripts/ at repo root.

Code changes:

  • ensure_executable_scripts(): Changed lookup path from .specify/scripts/ to scripts/
  • Worktree notice panel: Fixed configure script path shown to users from .specify/scripts/configure-worktree.{sh,ps1} to scripts/configure-worktree.{sh,ps1}

Documentation changes:

  • installation.md: Updated script directory reference
  • upgrade.md: Corrected paths for scripts/, templates/, and memory/ directories (all at repo root, not under .specify/)
# Before
scripts_root = project_path / ".specify" / "scripts"
configure_script = ".specify/scripts/bash/configure-worktree.sh"

# After  
scripts_root = project_path / "scripts"
configure_script = "scripts/bash/configure-worktree.sh"

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@brianluby brianluby marked this pull request as ready for review February 5, 2026 17:09
Copilot AI review requested due to automatic review settings February 5, 2026 17:09
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: brianluby <3779002+brianluby@users.noreply.github.com>
Copilot AI changed the title [WIP] Update PR to address feedback on removing .specify directory Fix incorrect .specify/scripts paths in code and documentation Feb 5, 2026
Copilot AI requested a review from brianluby February 5, 2026 17:12
@brianluby brianluby merged commit 4ea163f into 001-git-worktrees Feb 22, 2026
@brianluby brianluby deleted the copilot/sub-pr-1 branch February 22, 2026 19:46
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.

3 participants