fix: check PROJECT.md not .planning/ dir for existing project

This commit is contained in:
Lex Christopherson
2025-12-17 11:16:54 -06:00
parent 77c1845325
commit 8697c5fdae

View File

@@ -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):