get-shit-done-cc 1.2.8 → 1.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,22 +24,30 @@ Creates `.planning/` with PROJECT.md and config.json.
24
24
 
25
25
  <context>
26
26
  !`[ -d .planning ] && echo "PLANNING_EXISTS" || echo "NO_PLANNING"`
27
- !`[ -d .git ] && echo "GIT_EXISTS" || echo "NO_GIT"`
28
27
  </context>
29
28
 
30
29
  <process>
31
30
 
32
- <step name="setup" silent="true">
33
- Silent setup - execute before any user output:
34
-
35
- ```bash
36
- # Abort if project exists
37
- [ -d .planning ] && echo "Project already initialized. Use /gsd:progress" && exit 1
38
-
39
- # Initialize git
40
- [ -d .git ] || git init
41
- ```
42
-
31
+ <step name="setup">
32
+ **MANDATORY FIRST STEP Execute these checks before ANY user interaction:**
33
+
34
+ 1. **Abort if project exists:**
35
+ ```bash
36
+ [ -d .planning ] && echo "ERROR: Project already initialized. Use /gsd:progress" && exit 1
37
+ ```
38
+
39
+ 2. **Initialize git repo in THIS directory** (required even if inside a parent repo):
40
+ ```bash
41
+ # Check if THIS directory is already a git repo root (handles .git file for worktrees too)
42
+ if [ -d .git ] || [ -f .git ]; then
43
+ echo "Git repo exists in current directory"
44
+ else
45
+ git init
46
+ echo "Initialized new git repo"
47
+ fi
48
+ ```
49
+
50
+ **You MUST run both bash commands above using the Bash tool before proceeding.**
43
51
  </step>
44
52
 
45
53
  <step name="question">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "get-shit-done-cc",
3
- "version": "1.2.8",
3
+ "version": "1.2.9",
4
4
  "description": "A meta-prompting, context engineering and spec-driven development system for Claude Code by TÂCHES.",
5
5
  "bin": {
6
6
  "get-shit-done-cc": "bin/install.js"