Skip to content

spec-verify assumes docs/plans/ is gitignored but never tells users to gitignore it #98

@tfvchow

Description

@tfvchow

Problem

spec-verify.md Step 3.11 item 5 (v7.6.0, 6c9136b) says:

Save plan to project root (gitignored, local reference)

This assumes docs/plans/ is gitignored. It is — in this repo (added in commit 6ae321b "fix: Changes for premium installation"). But for any user running /spec in their own project, docs/plans/ is a regular tracked directory unless they manually gitignore it.

What's documented (or not) — as of v7.6.0

Location Mentions gitignoring plans?
.gitignore (this repo) Yes — docs/plans listed (commit 6ae321b)
spec-plan.md No — just says plans go to docs/plans/, silent on tracking
spec-verify.md Assumes gitignored
Installer (claude_files.py) Skips .gitignore files entirely — never sets up docs/plans in user projects
README No mention

Impact

When docs/plans/ is git-tracked (the default for user projects):

  • During planning, the plan file is created in the worktree and copied to the project root
  • The worktree version gets updated throughout implementation (task checkboxes, status changes)
  • On worktree sync, the outdated copy on the main branch conflicts with the newer version from the worktree
  • This merge conflict happens on virtually every /spec run

The copy step is only needed when docs/plans/ is gitignored. For everyone else it creates unnecessary conflicts.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingreleased

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions