Repository navigation
fix(#596): replace ./scripts/dev/{new-feature,list-worktrees}.sh with canonical paths - #603
Merged
admarble merged 2 commits intoMay 9, 2026
Conversation
… ./scripts/ canonical paths Same root-cause as #583: scripts/dev/ is gitignored; canonical paths live at scripts/<name>.sh as symlinks to templates/scripts/. Replaced 21 occurrences across all 3 mirrors of exec/SKILL.md and testgen/SKILL.md (AC-1) plus 7 occurrences in docs/concepts/worktree-isolation.md, docs/features/exec-qa-phase-guards.md, docs/guides/git-workflows.md, and docs/internal/testing.md (AC-2/AC-3). Updated allowlists (AC-7): replaced Bash(./scripts/dev/new-feature.sh:*) with Bash(./scripts/new-feature.sh:*) in exec/SKILL.md (parallels what #583 did for cleanup-worktree.sh), and added literal Bash(./scripts/new-feature.sh:*) and Bash(./scripts/list-worktrees.sh:*) entries alongside the existing Bash(./scripts/dev/*:*) wildcard in fullsolve/SKILL.md. CHANGELOG entry added under [Unreleased] / Fixed (AC-8). Verified: AC-4 check-skill-sync.ts shows exec/SKILL.md and testgen/SKILL.md both 3/3 match; AC-5 grep returns zero matches; AC-6 both scripts executable.
8 tasks
…s-docs-same-scripts-dev-path-bug-for-new- # Conflicts: # CHANGELOG.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up to #583 (PR #593). Same root cause (
scripts/dev/is gitignored; canonical paths are./scripts/<name>.shsymlinked totemplates/scripts/), applied to two sibling scripts that #583 deliberately scoped out.exec/SKILL.md,testgen/SKILL.md× 3 mirror dirs) and 7 occurrences in docs (worktree-isolation.md,exec-qa-phase-guards.md,git-workflows.md,internal/testing.md).exec/SKILL.md:Bash(./scripts/dev/new-feature.sh:*)→Bash(./scripts/new-feature.sh:*)(parallels fix(fullsolve, exec): wrong cleanup-worktree.sh path in skill mirrors (scripts/dev/ is gitignored) #583's cleanup-worktree.sh fix).fullsolve/SKILL.md: literalBash(./scripts/new-feature.sh:*)andBash(./scripts/list-worktrees.sh:*)alongside the existingBash(./scripts/dev/*:*)wildcard.[Unreleased] / ### Fixedentry referencing this issue.AC Coverage
3/3 match./scripts/dev/new-feature.shoccurrences in target docs replaceddocs/internal/testing.mdline 45 (list-worktrees.sh) and line 46 (new-feature.sh) replacednpx tsx scripts/check-skill-sync.tsreportssynced exec/SKILL.md — 3/3 matchandsynced testgen/SKILL.md — 3/3 matchgrep -rn "scripts/dev/\(new-feature|list-worktrees\)" .claude/skills/ templates/skills/ skills/ docs/returns zero matchesscripts/new-feature.shandscripts/list-worktrees.share executable symlinks totemplates/scripts/exec/SKILL.md(replaced literal); literal additions alongside wildcard infullsolve/SKILL.md(parallels #593)[Unreleased] / ### Fixedentry addedQuality Gates
npm run build— passednpm run lint— passednpm run lint:skill-calls—No violationsnpm test— 2931 tests passed across 123 filesnpx tsx scripts/check-skill-sync.ts—exec/SKILL.md,testgen/SKILL.md,fullsolve/SKILL.mdall3/3 match(pre-existing divergences in unrelatedqa/references/*andsecurity-review/*left untouched)Test Plan
./scripts/new-feature.sh <issue>works as documented./scripts/list-worktrees.shworks as documentedBash(./scripts/new-feature.sh:*)allowlist entry inexec/SKILL.mdpermits the canonical command without promptingvalidate-skillsjob remains green (skill-mirror sync confirmed locally)Notes
scripts/dev/analyze-hook-logs.tsandscripts/dev/test-error-handling.ts.tsreferences;CONTRIBUTING.mdlayout description; thedocs/concepts/what-is-sequant.md:145directory tree (matches the same docs-vs-reality drift pattern, no./scripts/dev/new-feature.shliteral command on that line).Closes #596