From 8697c5fdae3186fede9660ef0268a7a3321db4ca Mon Sep 17 00:00:00 2001 From: Lex Christopherson Date: Wed, 17 Dec 2025 11:16:54 -0600 Subject: [PATCH] fix: check PROJECT.md not .planning/ dir for existing project --- commands/gsd/new-project.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/gsd/new-project.md b/commands/gsd/new-project.md index 5e52346e9..2e81f7fc0 100644 --- a/commands/gsd/new-project.md +++ b/commands/gsd/new-project.md @@ -30,7 +30,7 @@ Creates `.planning/` with PROJECT.md and config.json. 1. **Abort if project exists:** ```bash - [ -d .planning ] && echo "ERROR: Project already initialized. Use /gsd:progress" && exit 1 + [ -f .planning/PROJECT.md ] && echo "ERROR: Project already initialized. Use /gsd:progress" && exit 1 ``` 2. **Initialize git repo in THIS directory** (required even if inside a parent repo):