gsd-codex-cli 1.20.4 → 1.20.6

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.
@@ -3,8 +3,6 @@ description: Create phases to close all gaps identified by milestone audit
3
3
  argument-hint: [none]
4
4
  ---
5
5
 
6
-
7
-
8
6
  ## Objective
9
7
  Create phases to close all gaps identified by milestone audit
10
8
 
@@ -12,10 +10,11 @@ Create phases to close all gaps identified by milestone audit
12
10
  - Use .codex/skills/get-shit-done-codex semantics.
13
11
  - Treat upstream workflow as the source of truth.
14
12
  - Replace user-specific paths with workspace-relative paths (.claude/..., .planning/...).
15
- - Resolve gsd-tools path (prefer .cjs, fallback to .js):
16
- $GsdTools = if (Test-Path ".claude/get-shit-done/bin/gsd-tools.cjs") { ".claude/get-shit-done/bin/gsd-tools.cjs" } elseif (Test-Path ".claude/get-shit-done/bin/gsd-tools.js") { ".claude/get-shit-done/bin/gsd-tools.js" } elseif (Test-Path "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs") { "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" } elseif (Test-Path "$HOME/.claude/get-shit-done/bin/gsd-tools.js") { "$HOME/.claude/get-shit-done/bin/gsd-tools.js" } else { throw "Missing gsd-tools in .claude or $HOME/.claude. Reinstall GSD." }
17
- - Run engine commands through PowerShell:
18
- node $GsdTools ...
13
+ - Use one of these engine paths (prefer local, fallback global):
14
+ node .claude/get-shit-done/bin/gsd-tools.js ...
15
+ node ~/.claude/get-shit-done/bin/gsd-tools.js ...
16
+ - If `.js` is unavailable, use the same path with `.cjs`.
17
+ - Run engine commands through PowerShell.
19
18
  - Parse JSON with ConvertFrom-Json; parse key/value output when workflow uses KEY=value raw mode.
20
19
  - No jq / bash-only constructs.
21
20
 
@@ -25,18 +24,17 @@ Create phases to close all gaps identified by milestone audit
25
24
  - Spawn only when the upstream workflow defines an agent role.
26
25
  - Use `.claude/agents/gsd-*.md` as role context for each spawned agent.
27
26
  - Do not advance workflow steps until wait and close complete.
28
- ## Update check
29
- - Best-effort only; do not fail if offline.
30
- - Run:
31
- $installed = if (Test-Path ".codex/gsd/VERSION") { (Get-Content ".codex/gsd/VERSION" -Raw).Trim() } elseif (Test-Path "$HOME/.codex/gsd/VERSION") { (Get-Content "$HOME/.codex/gsd/VERSION" -Raw).Trim() } else { $null }
32
- $latest = $null; try { $latest = (npm view gsd-codex-cli version).Trim() } catch {}
33
- - If $installed and $latest and $installed -ne $latest, surface:
34
- "Update available: $installed -> $latest. Next: gsd-update (Codex) / /gsd:update (Claude) or re-run npx gsd-codex-cli@latest."
35
-
27
+
28
+ ## Update check
29
+ - Best-effort only; do not fail if offline.
30
+ - Check installed Codex fork version from `.codex/gsd/VERSION` (or `~/.codex/gsd/VERSION`).
31
+ - Check latest published version with `npm view gsd-codex-cli version`.
32
+ - If versions differ, surface: "Update available: <installed> -> <latest>. Next: gsd-update (Codex) / /gsd:update (Claude) or re-run npx gsd-codex-cli@latest."
33
+
36
34
  ## Execution
37
35
  1. Parse [none] from the user input.
38
36
  2. Run init:
39
- node $GsdTools init milestone-op --raw
37
+ node <gsd-tools-path> init milestone-op --raw
40
38
 
41
39
  3. Load .claude/get-shit-done/workflows/plan-milestone-gaps.md and execute it step-by-step.
42
40
  4. Translate each Task(...) in workflow into:
@@ -44,10 +42,10 @@ node $GsdTools init milestone-op --raw
44
42
  - wait for each spawned agent and apply returned output before moving forward.
45
43
  5. Preserve all gates and routing from upstream workflow.
46
44
  6. Preserve commit behavior using
47
- node $GsdTools commit "message" --files ....
48
- 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
49
-
50
- ## Completion output
51
- - Summarize key artifacts created/updated.
52
- - Next recommended command: use the next user-facing GSD command (Codex prompt name + Claude slash command).
53
- - Never recommend internal `node ... gsd-tools ...` commands to the user.
45
+ node <gsd-tools-path> commit "message" --files ....
46
+ 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
47
+
48
+ ## Completion output
49
+ - Summarize key artifacts created/updated.
50
+ - Next recommended command: use the next user-facing GSD command (Codex prompt name + Claude slash command).
51
+ - Never recommend internal `node ... gsd-tools ...` commands to the user.
@@ -3,8 +3,6 @@ description: Create detailed execution plan for a phase (PLAN.md) with verificat
3
3
  argument-hint: "[phase] [--research] [--skip-research] [--gaps] [--skip-verify]"
4
4
  ---
5
5
 
6
-
7
-
8
6
  ## Objective
9
7
  Create detailed execution plan for a phase (PLAN.md) with verification loop
10
8
 
@@ -12,10 +10,11 @@ Create detailed execution plan for a phase (PLAN.md) with verification loop
12
10
  - Use .codex/skills/get-shit-done-codex semantics.
13
11
  - Treat upstream workflow as the source of truth.
14
12
  - Replace user-specific paths with workspace-relative paths (.claude/..., .planning/...).
15
- - Resolve gsd-tools path (prefer .cjs, fallback to .js):
16
- $GsdTools = if (Test-Path ".claude/get-shit-done/bin/gsd-tools.cjs") { ".claude/get-shit-done/bin/gsd-tools.cjs" } elseif (Test-Path ".claude/get-shit-done/bin/gsd-tools.js") { ".claude/get-shit-done/bin/gsd-tools.js" } elseif (Test-Path "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs") { "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" } elseif (Test-Path "$HOME/.claude/get-shit-done/bin/gsd-tools.js") { "$HOME/.claude/get-shit-done/bin/gsd-tools.js" } else { throw "Missing gsd-tools in .claude or $HOME/.claude. Reinstall GSD." }
17
- - Run engine commands through PowerShell:
18
- node $GsdTools ...
13
+ - Use one of these engine paths (prefer local, fallback global):
14
+ node .claude/get-shit-done/bin/gsd-tools.js ...
15
+ node ~/.claude/get-shit-done/bin/gsd-tools.js ...
16
+ - If `.js` is unavailable, use the same path with `.cjs`.
17
+ - Run engine commands through PowerShell.
19
18
  - Parse JSON with ConvertFrom-Json; parse key/value output when workflow uses KEY=value raw mode.
20
19
  - No jq / bash-only constructs.
21
20
 
@@ -25,18 +24,17 @@ Create detailed execution plan for a phase (PLAN.md) with verification loop
25
24
  - Spawn only when the upstream workflow defines an agent role.
26
25
  - Use `.claude/agents/gsd-*.md` as role context for each spawned agent.
27
26
  - Do not advance workflow steps until wait and close complete.
28
- ## Update check
29
- - Best-effort only; do not fail if offline.
30
- - Run:
31
- $installed = if (Test-Path ".codex/gsd/VERSION") { (Get-Content ".codex/gsd/VERSION" -Raw).Trim() } elseif (Test-Path "$HOME/.codex/gsd/VERSION") { (Get-Content "$HOME/.codex/gsd/VERSION" -Raw).Trim() } else { $null }
32
- $latest = $null; try { $latest = (npm view gsd-codex-cli version).Trim() } catch {}
33
- - If $installed and $latest and $installed -ne $latest, surface:
34
- "Update available: $installed -> $latest. Next: gsd-update (Codex) / /gsd:update (Claude) or re-run npx gsd-codex-cli@latest."
35
-
27
+
28
+ ## Update check
29
+ - Best-effort only; do not fail if offline.
30
+ - Check installed Codex fork version from `.codex/gsd/VERSION` (or `~/.codex/gsd/VERSION`).
31
+ - Check latest published version with `npm view gsd-codex-cli version`.
32
+ - If versions differ, surface: "Update available: <installed> -> <latest>. Next: gsd-update (Codex) / /gsd:update (Claude) or re-run npx gsd-codex-cli@latest."
33
+
36
34
  ## Execution
37
35
  1. Parse "[phase] [--research] [--skip-research] [--gaps] [--skip-verify]" from the user input.
38
36
  2. Run init:
39
- node $GsdTools init plan-phase $PHASE --include state,roadmap,requirements,context,research,verification,uat --raw
37
+ node <gsd-tools-path> init plan-phase [phase] --include state,roadmap,requirements,context,research,verification,uat --raw
40
38
 
41
39
  3. Load .claude/get-shit-done/workflows/plan-phase.md and execute it step-by-step.
42
40
  4. Translate each Task(...) in workflow into:
@@ -44,10 +42,10 @@ node $GsdTools init plan-phase $PHASE --include state,roadmap,requirements,conte
44
42
  - wait for each spawned agent and apply returned output before moving forward.
45
43
  5. Preserve all gates and routing from upstream workflow.
46
44
  6. Preserve commit behavior using
47
- node $GsdTools commit "message" --files ....
48
- 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
49
-
50
- ## Completion output
51
- - Summarize key artifacts created/updated.
52
- - Next recommended command: `gsd-execute-phase $PHASE` (Codex) / `/gsd:execute-phase $PHASE` (Claude)
53
- - Never recommend internal `node ... gsd-tools ...` commands to the user.
45
+ node <gsd-tools-path> commit "message" --files ....
46
+ 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
47
+
48
+ ## Completion output
49
+ - Summarize key artifacts created/updated.
50
+ - Next recommended command: `gsd-execute-phase [phase]` (Codex) / `/gsd:execute-phase [phase]` (Claude)
51
+ - Never recommend internal `node ... gsd-tools ...` commands to the user.
@@ -3,8 +3,6 @@ description: Check project progress, show context, and route to next action
3
3
  argument-hint: [none]
4
4
  ---
5
5
 
6
-
7
-
8
6
  ## Objective
9
7
  Check project progress, show context, and route to next action
10
8
 
@@ -12,10 +10,11 @@ Check project progress, show context, and route to next action
12
10
  - Use .codex/skills/get-shit-done-codex semantics.
13
11
  - Treat upstream workflow as the source of truth.
14
12
  - Replace user-specific paths with workspace-relative paths (.claude/..., .planning/...).
15
- - Resolve gsd-tools path (prefer .cjs, fallback to .js):
16
- $GsdTools = if (Test-Path ".claude/get-shit-done/bin/gsd-tools.cjs") { ".claude/get-shit-done/bin/gsd-tools.cjs" } elseif (Test-Path ".claude/get-shit-done/bin/gsd-tools.js") { ".claude/get-shit-done/bin/gsd-tools.js" } elseif (Test-Path "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs") { "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" } elseif (Test-Path "$HOME/.claude/get-shit-done/bin/gsd-tools.js") { "$HOME/.claude/get-shit-done/bin/gsd-tools.js" } else { throw "Missing gsd-tools in .claude or $HOME/.claude. Reinstall GSD." }
17
- - Run engine commands through PowerShell:
18
- node $GsdTools ...
13
+ - Use one of these engine paths (prefer local, fallback global):
14
+ node .claude/get-shit-done/bin/gsd-tools.js ...
15
+ node ~/.claude/get-shit-done/bin/gsd-tools.js ...
16
+ - If `.js` is unavailable, use the same path with `.cjs`.
17
+ - Run engine commands through PowerShell.
19
18
  - Parse JSON with ConvertFrom-Json; parse key/value output when workflow uses KEY=value raw mode.
20
19
  - No jq / bash-only constructs.
21
20
 
@@ -25,18 +24,17 @@ Check project progress, show context, and route to next action
25
24
  - Spawn only when the upstream workflow defines an agent role.
26
25
  - Use `.claude/agents/gsd-*.md` as role context for each spawned agent.
27
26
  - Do not advance workflow steps until wait and close complete.
28
- ## Update check
29
- - Best-effort only; do not fail if offline.
30
- - Run:
31
- $installed = if (Test-Path ".codex/gsd/VERSION") { (Get-Content ".codex/gsd/VERSION" -Raw).Trim() } elseif (Test-Path "$HOME/.codex/gsd/VERSION") { (Get-Content "$HOME/.codex/gsd/VERSION" -Raw).Trim() } else { $null }
32
- $latest = $null; try { $latest = (npm view gsd-codex-cli version).Trim() } catch {}
33
- - If $installed and $latest and $installed -ne $latest, surface:
34
- "Update available: $installed -> $latest. Next: gsd-update (Codex) / /gsd:update (Claude) or re-run npx gsd-codex-cli@latest."
35
-
27
+
28
+ ## Update check
29
+ - Best-effort only; do not fail if offline.
30
+ - Check installed Codex fork version from `.codex/gsd/VERSION` (or `~/.codex/gsd/VERSION`).
31
+ - Check latest published version with `npm view gsd-codex-cli version`.
32
+ - If versions differ, surface: "Update available: <installed> -> <latest>. Next: gsd-update (Codex) / /gsd:update (Claude) or re-run npx gsd-codex-cli@latest."
33
+
36
34
  ## Execution
37
35
  1. Parse [none] from the user input.
38
36
  2. Run init:
39
- node $GsdTools init progress --include state,roadmap,project,config --raw
37
+ node <gsd-tools-path> init progress --include state,roadmap,project,config --raw
40
38
 
41
39
  3. Load .claude/get-shit-done/workflows/progress.md and execute it step-by-step.
42
40
  4. Translate each Task(...) in workflow into:
@@ -44,10 +42,10 @@ node $GsdTools init progress --include state,roadmap,project,config --raw
44
42
  - wait for each spawned agent and apply returned output before moving forward.
45
43
  5. Preserve all gates and routing from upstream workflow.
46
44
  6. Preserve commit behavior using
47
- node $GsdTools commit "message" --files ....
48
- 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
49
-
50
- ## Completion output
51
- - Summarize key artifacts created/updated.
52
- - Next recommended command: use the next user-facing GSD command (Codex prompt name + Claude slash command).
53
- - Never recommend internal `node ... gsd-tools ...` commands to the user.
45
+ node <gsd-tools-path> commit "message" --files ....
46
+ 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
47
+
48
+ ## Completion output
49
+ - Summarize key artifacts created/updated.
50
+ - Next recommended command: use the next user-facing GSD command (Codex prompt name + Claude slash command).
51
+ - Never recommend internal `node ... gsd-tools ...` commands to the user.
@@ -3,8 +3,6 @@ description: Execute a quick task with GSD guarantees (atomic commits, state tra
3
3
  argument-hint: [none]
4
4
  ---
5
5
 
6
-
7
-
8
6
  ## Objective
9
7
  Execute a quick task with GSD guarantees (atomic commits, state tracking) but skip optional agents
10
8
 
@@ -12,10 +10,11 @@ Execute a quick task with GSD guarantees (atomic commits, state tracking) but sk
12
10
  - Use .codex/skills/get-shit-done-codex semantics.
13
11
  - Treat upstream workflow as the source of truth.
14
12
  - Replace user-specific paths with workspace-relative paths (.claude/..., .planning/...).
15
- - Resolve gsd-tools path (prefer .cjs, fallback to .js):
16
- $GsdTools = if (Test-Path ".claude/get-shit-done/bin/gsd-tools.cjs") { ".claude/get-shit-done/bin/gsd-tools.cjs" } elseif (Test-Path ".claude/get-shit-done/bin/gsd-tools.js") { ".claude/get-shit-done/bin/gsd-tools.js" } elseif (Test-Path "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs") { "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" } elseif (Test-Path "$HOME/.claude/get-shit-done/bin/gsd-tools.js") { "$HOME/.claude/get-shit-done/bin/gsd-tools.js" } else { throw "Missing gsd-tools in .claude or $HOME/.claude. Reinstall GSD." }
17
- - Run engine commands through PowerShell:
18
- node $GsdTools ...
13
+ - Use one of these engine paths (prefer local, fallback global):
14
+ node .claude/get-shit-done/bin/gsd-tools.js ...
15
+ node ~/.claude/get-shit-done/bin/gsd-tools.js ...
16
+ - If `.js` is unavailable, use the same path with `.cjs`.
17
+ - Run engine commands through PowerShell.
19
18
  - Parse JSON with ConvertFrom-Json; parse key/value output when workflow uses KEY=value raw mode.
20
19
  - No jq / bash-only constructs.
21
20
 
@@ -25,18 +24,17 @@ Execute a quick task with GSD guarantees (atomic commits, state tracking) but sk
25
24
  - Spawn only when the upstream workflow defines an agent role.
26
25
  - Use `.claude/agents/gsd-*.md` as role context for each spawned agent.
27
26
  - Do not advance workflow steps until wait and close complete.
28
- ## Update check
29
- - Best-effort only; do not fail if offline.
30
- - Run:
31
- $installed = if (Test-Path ".codex/gsd/VERSION") { (Get-Content ".codex/gsd/VERSION" -Raw).Trim() } elseif (Test-Path "$HOME/.codex/gsd/VERSION") { (Get-Content "$HOME/.codex/gsd/VERSION" -Raw).Trim() } else { $null }
32
- $latest = $null; try { $latest = (npm view gsd-codex-cli version).Trim() } catch {}
33
- - If $installed and $latest and $installed -ne $latest, surface:
34
- "Update available: $installed -> $latest. Next: gsd-update (Codex) / /gsd:update (Claude) or re-run npx gsd-codex-cli@latest."
35
-
27
+
28
+ ## Update check
29
+ - Best-effort only; do not fail if offline.
30
+ - Check installed Codex fork version from `.codex/gsd/VERSION` (or `~/.codex/gsd/VERSION`).
31
+ - Check latest published version with `npm view gsd-codex-cli version`.
32
+ - If versions differ, surface: "Update available: <installed> -> <latest>. Next: gsd-update (Codex) / /gsd:update (Claude) or re-run npx gsd-codex-cli@latest."
33
+
36
34
  ## Execution
37
35
  1. Parse [none] from the user input.
38
36
  2. Run init:
39
- node $GsdTools init quick "$ARG" --raw
37
+ node <gsd-tools-path> init quick "[argument]" --raw
40
38
 
41
39
  3. Load .claude/get-shit-done/workflows/quick.md and execute it step-by-step.
42
40
  4. Translate each Task(...) in workflow into:
@@ -44,10 +42,10 @@ node $GsdTools init quick "$ARG" --raw
44
42
  - wait for each spawned agent and apply returned output before moving forward.
45
43
  5. Preserve all gates and routing from upstream workflow.
46
44
  6. Preserve commit behavior using
47
- node $GsdTools commit "message" --files ....
48
- 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
49
-
50
- ## Completion output
51
- - Summarize key artifacts created/updated.
52
- - Next recommended command: use the next user-facing GSD command (Codex prompt name + Claude slash command).
53
- - Never recommend internal `node ... gsd-tools ...` commands to the user.
45
+ node <gsd-tools-path> commit "message" --files ....
46
+ 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
47
+
48
+ ## Completion output
49
+ - Summarize key artifacts created/updated.
50
+ - Next recommended command: use the next user-facing GSD command (Codex prompt name + Claude slash command).
51
+ - Never recommend internal `node ... gsd-tools ...` commands to the user.
@@ -3,8 +3,6 @@ description: Remove a future phase from roadmap and renumber subsequent phases
3
3
  argument-hint: <phase-number>
4
4
  ---
5
5
 
6
-
7
-
8
6
  ## Objective
9
7
  Remove a future phase from roadmap and renumber subsequent phases
10
8
 
@@ -12,10 +10,11 @@ Remove a future phase from roadmap and renumber subsequent phases
12
10
  - Use .codex/skills/get-shit-done-codex semantics.
13
11
  - Treat upstream workflow as the source of truth.
14
12
  - Replace user-specific paths with workspace-relative paths (.claude/..., .planning/...).
15
- - Resolve gsd-tools path (prefer .cjs, fallback to .js):
16
- $GsdTools = if (Test-Path ".claude/get-shit-done/bin/gsd-tools.cjs") { ".claude/get-shit-done/bin/gsd-tools.cjs" } elseif (Test-Path ".claude/get-shit-done/bin/gsd-tools.js") { ".claude/get-shit-done/bin/gsd-tools.js" } elseif (Test-Path "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs") { "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" } elseif (Test-Path "$HOME/.claude/get-shit-done/bin/gsd-tools.js") { "$HOME/.claude/get-shit-done/bin/gsd-tools.js" } else { throw "Missing gsd-tools in .claude or $HOME/.claude. Reinstall GSD." }
17
- - Run engine commands through PowerShell:
18
- node $GsdTools ...
13
+ - Use one of these engine paths (prefer local, fallback global):
14
+ node .claude/get-shit-done/bin/gsd-tools.js ...
15
+ node ~/.claude/get-shit-done/bin/gsd-tools.js ...
16
+ - If `.js` is unavailable, use the same path with `.cjs`.
17
+ - Run engine commands through PowerShell.
19
18
  - Parse JSON with ConvertFrom-Json; parse key/value output when workflow uses KEY=value raw mode.
20
19
  - No jq / bash-only constructs.
21
20
 
@@ -25,18 +24,17 @@ Remove a future phase from roadmap and renumber subsequent phases
25
24
  - Spawn only when the upstream workflow defines an agent role.
26
25
  - Use `.claude/agents/gsd-*.md` as role context for each spawned agent.
27
26
  - Do not advance workflow steps until wait and close complete.
28
- ## Update check
29
- - Best-effort only; do not fail if offline.
30
- - Run:
31
- $installed = if (Test-Path ".codex/gsd/VERSION") { (Get-Content ".codex/gsd/VERSION" -Raw).Trim() } elseif (Test-Path "$HOME/.codex/gsd/VERSION") { (Get-Content "$HOME/.codex/gsd/VERSION" -Raw).Trim() } else { $null }
32
- $latest = $null; try { $latest = (npm view gsd-codex-cli version).Trim() } catch {}
33
- - If $installed and $latest and $installed -ne $latest, surface:
34
- "Update available: $installed -> $latest. Next: gsd-update (Codex) / /gsd:update (Claude) or re-run npx gsd-codex-cli@latest."
35
-
27
+
28
+ ## Update check
29
+ - Best-effort only; do not fail if offline.
30
+ - Check installed Codex fork version from `.codex/gsd/VERSION` (or `~/.codex/gsd/VERSION`).
31
+ - Check latest published version with `npm view gsd-codex-cli version`.
32
+ - If versions differ, surface: "Update available: <installed> -> <latest>. Next: gsd-update (Codex) / /gsd:update (Claude) or re-run npx gsd-codex-cli@latest."
33
+
36
34
  ## Execution
37
35
  1. Parse <phase-number> from the user input.
38
36
  2. Run init:
39
- node $GsdTools init phase-op $ARG --raw
37
+ node <gsd-tools-path> init phase-op [argument] --raw
40
38
 
41
39
  3. Load .claude/get-shit-done/workflows/remove-phase.md and execute it step-by-step.
42
40
  4. Translate each Task(...) in workflow into:
@@ -44,10 +42,10 @@ node $GsdTools init phase-op $ARG --raw
44
42
  - wait for each spawned agent and apply returned output before moving forward.
45
43
  5. Preserve all gates and routing from upstream workflow.
46
44
  6. Preserve commit behavior using
47
- node $GsdTools commit "message" --files ....
48
- 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
49
-
50
- ## Completion output
51
- - Summarize key artifacts created/updated.
52
- - Next recommended command: use the next user-facing GSD command (Codex prompt name + Claude slash command).
53
- - Never recommend internal `node ... gsd-tools ...` commands to the user.
45
+ node <gsd-tools-path> commit "message" --files ....
46
+ 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
47
+
48
+ ## Completion output
49
+ - Summarize key artifacts created/updated.
50
+ - Next recommended command: use the next user-facing GSD command (Codex prompt name + Claude slash command).
51
+ - Never recommend internal `node ... gsd-tools ...` commands to the user.
@@ -3,8 +3,6 @@ description: Research how to implement a phase (standalone - usually use plan-ph
3
3
  argument-hint: "[phase]"
4
4
  ---
5
5
 
6
-
7
-
8
6
  ## Objective
9
7
  Research how to implement a phase (standalone - usually use plan-phase instead)
10
8
 
@@ -12,10 +10,11 @@ Research how to implement a phase (standalone - usually use plan-phase instead)
12
10
  - Use .codex/skills/get-shit-done-codex semantics.
13
11
  - Treat upstream workflow as the source of truth.
14
12
  - Replace user-specific paths with workspace-relative paths (.claude/..., .planning/...).
15
- - Resolve gsd-tools path (prefer .cjs, fallback to .js):
16
- $GsdTools = if (Test-Path ".claude/get-shit-done/bin/gsd-tools.cjs") { ".claude/get-shit-done/bin/gsd-tools.cjs" } elseif (Test-Path ".claude/get-shit-done/bin/gsd-tools.js") { ".claude/get-shit-done/bin/gsd-tools.js" } elseif (Test-Path "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs") { "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" } elseif (Test-Path "$HOME/.claude/get-shit-done/bin/gsd-tools.js") { "$HOME/.claude/get-shit-done/bin/gsd-tools.js" } else { throw "Missing gsd-tools in .claude or $HOME/.claude. Reinstall GSD." }
17
- - Run engine commands through PowerShell:
18
- node $GsdTools ...
13
+ - Use one of these engine paths (prefer local, fallback global):
14
+ node .claude/get-shit-done/bin/gsd-tools.js ...
15
+ node ~/.claude/get-shit-done/bin/gsd-tools.js ...
16
+ - If `.js` is unavailable, use the same path with `.cjs`.
17
+ - Run engine commands through PowerShell.
19
18
  - Parse JSON with ConvertFrom-Json; parse key/value output when workflow uses KEY=value raw mode.
20
19
  - No jq / bash-only constructs.
21
20
 
@@ -25,18 +24,17 @@ Research how to implement a phase (standalone - usually use plan-phase instead)
25
24
  - Spawn only when the upstream workflow defines an agent role.
26
25
  - Use `.claude/agents/gsd-*.md` as role context for each spawned agent.
27
26
  - Do not advance workflow steps until wait and close complete.
28
- ## Update check
29
- - Best-effort only; do not fail if offline.
30
- - Run:
31
- $installed = if (Test-Path ".codex/gsd/VERSION") { (Get-Content ".codex/gsd/VERSION" -Raw).Trim() } elseif (Test-Path "$HOME/.codex/gsd/VERSION") { (Get-Content "$HOME/.codex/gsd/VERSION" -Raw).Trim() } else { $null }
32
- $latest = $null; try { $latest = (npm view gsd-codex-cli version).Trim() } catch {}
33
- - If $installed and $latest and $installed -ne $latest, surface:
34
- "Update available: $installed -> $latest. Next: gsd-update (Codex) / /gsd:update (Claude) or re-run npx gsd-codex-cli@latest."
35
-
27
+
28
+ ## Update check
29
+ - Best-effort only; do not fail if offline.
30
+ - Check installed Codex fork version from `.codex/gsd/VERSION` (or `~/.codex/gsd/VERSION`).
31
+ - Check latest published version with `npm view gsd-codex-cli version`.
32
+ - If versions differ, surface: "Update available: <installed> -> <latest>. Next: gsd-update (Codex) / /gsd:update (Claude) or re-run npx gsd-codex-cli@latest."
33
+
36
34
  ## Execution
37
35
  1. Parse "[phase]" from the user input.
38
36
  2. Run init:
39
- node $GsdTools init phase-op $ARG --raw
37
+ node <gsd-tools-path> init phase-op [argument] --raw
40
38
 
41
39
  3. Load .claude/get-shit-done/workflows/research-phase.md and execute it step-by-step.
42
40
  4. Translate each Task(...) in workflow into:
@@ -44,10 +42,10 @@ node $GsdTools init phase-op $ARG --raw
44
42
  - wait for each spawned agent and apply returned output before moving forward.
45
43
  5. Preserve all gates and routing from upstream workflow.
46
44
  6. Preserve commit behavior using
47
- node $GsdTools commit "message" --files ....
48
- 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
49
-
50
- ## Completion output
51
- - Summarize key artifacts created/updated.
52
- - Next recommended command: use the next user-facing GSD command (Codex prompt name + Claude slash command).
53
- - Never recommend internal `node ... gsd-tools ...` commands to the user.
45
+ node <gsd-tools-path> commit "message" --files ....
46
+ 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
47
+
48
+ ## Completion output
49
+ - Summarize key artifacts created/updated.
50
+ - Next recommended command: use the next user-facing GSD command (Codex prompt name + Claude slash command).
51
+ - Never recommend internal `node ... gsd-tools ...` commands to the user.
@@ -3,8 +3,6 @@ description: Resume work from previous session with full context restoration
3
3
  argument-hint: [none]
4
4
  ---
5
5
 
6
-
7
-
8
6
  ## Objective
9
7
  Resume work from previous session with full context restoration
10
8
 
@@ -12,10 +10,11 @@ Resume work from previous session with full context restoration
12
10
  - Use .codex/skills/get-shit-done-codex semantics.
13
11
  - Treat upstream workflow as the source of truth.
14
12
  - Replace user-specific paths with workspace-relative paths (.claude/..., .planning/...).
15
- - Resolve gsd-tools path (prefer .cjs, fallback to .js):
16
- $GsdTools = if (Test-Path ".claude/get-shit-done/bin/gsd-tools.cjs") { ".claude/get-shit-done/bin/gsd-tools.cjs" } elseif (Test-Path ".claude/get-shit-done/bin/gsd-tools.js") { ".claude/get-shit-done/bin/gsd-tools.js" } elseif (Test-Path "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs") { "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" } elseif (Test-Path "$HOME/.claude/get-shit-done/bin/gsd-tools.js") { "$HOME/.claude/get-shit-done/bin/gsd-tools.js" } else { throw "Missing gsd-tools in .claude or $HOME/.claude. Reinstall GSD." }
17
- - Run engine commands through PowerShell:
18
- node $GsdTools ...
13
+ - Use one of these engine paths (prefer local, fallback global):
14
+ node .claude/get-shit-done/bin/gsd-tools.js ...
15
+ node ~/.claude/get-shit-done/bin/gsd-tools.js ...
16
+ - If `.js` is unavailable, use the same path with `.cjs`.
17
+ - Run engine commands through PowerShell.
19
18
  - Parse JSON with ConvertFrom-Json; parse key/value output when workflow uses KEY=value raw mode.
20
19
  - No jq / bash-only constructs.
21
20
 
@@ -25,18 +24,17 @@ Resume work from previous session with full context restoration
25
24
  - Spawn only when the upstream workflow defines an agent role.
26
25
  - Use `.claude/agents/gsd-*.md` as role context for each spawned agent.
27
26
  - Do not advance workflow steps until wait and close complete.
28
- ## Update check
29
- - Best-effort only; do not fail if offline.
30
- - Run:
31
- $installed = if (Test-Path ".codex/gsd/VERSION") { (Get-Content ".codex/gsd/VERSION" -Raw).Trim() } elseif (Test-Path "$HOME/.codex/gsd/VERSION") { (Get-Content "$HOME/.codex/gsd/VERSION" -Raw).Trim() } else { $null }
32
- $latest = $null; try { $latest = (npm view gsd-codex-cli version).Trim() } catch {}
33
- - If $installed and $latest and $installed -ne $latest, surface:
34
- "Update available: $installed -> $latest. Next: gsd-update (Codex) / /gsd:update (Claude) or re-run npx gsd-codex-cli@latest."
35
-
27
+
28
+ ## Update check
29
+ - Best-effort only; do not fail if offline.
30
+ - Check installed Codex fork version from `.codex/gsd/VERSION` (or `~/.codex/gsd/VERSION`).
31
+ - Check latest published version with `npm view gsd-codex-cli version`.
32
+ - If versions differ, surface: "Update available: <installed> -> <latest>. Next: gsd-update (Codex) / /gsd:update (Claude) or re-run npx gsd-codex-cli@latest."
33
+
36
34
  ## Execution
37
35
  1. Parse [none] from the user input.
38
36
  2. Run init:
39
- node $GsdTools init resume --raw
37
+ node <gsd-tools-path> init resume --raw
40
38
 
41
39
  3. Load .claude/get-shit-done/workflows/resume-project.md and execute it step-by-step.
42
40
  4. Translate each Task(...) in workflow into:
@@ -44,10 +42,10 @@ node $GsdTools init resume --raw
44
42
  - wait for each spawned agent and apply returned output before moving forward.
45
43
  5. Preserve all gates and routing from upstream workflow.
46
44
  6. Preserve commit behavior using
47
- node $GsdTools commit "message" --files ....
48
- 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
49
-
50
- ## Completion output
51
- - Summarize key artifacts created/updated.
52
- - Next recommended command: use the next user-facing GSD command (Codex prompt name + Claude slash command).
53
- - Never recommend internal `node ... gsd-tools ...` commands to the user.
45
+ node <gsd-tools-path> commit "message" --files ....
46
+ 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
47
+
48
+ ## Completion output
49
+ - Summarize key artifacts created/updated.
50
+ - Next recommended command: use the next user-facing GSD command (Codex prompt name + Claude slash command).
51
+ - Never recommend internal `node ... gsd-tools ...` commands to the user.
@@ -3,8 +3,6 @@ description: Switch model profile for GSD agents (quality/balanced/budget)
3
3
  argument-hint: <profile>
4
4
  ---
5
5
 
6
-
7
-
8
6
  ## Objective
9
7
  Switch model profile for GSD agents (quality/balanced/budget)
10
8
 
@@ -12,10 +10,11 @@ Switch model profile for GSD agents (quality/balanced/budget)
12
10
  - Use .codex/skills/get-shit-done-codex semantics.
13
11
  - Treat upstream workflow as the source of truth.
14
12
  - Replace user-specific paths with workspace-relative paths (.claude/..., .planning/...).
15
- - Resolve gsd-tools path (prefer .cjs, fallback to .js):
16
- $GsdTools = if (Test-Path ".claude/get-shit-done/bin/gsd-tools.cjs") { ".claude/get-shit-done/bin/gsd-tools.cjs" } elseif (Test-Path ".claude/get-shit-done/bin/gsd-tools.js") { ".claude/get-shit-done/bin/gsd-tools.js" } elseif (Test-Path "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs") { "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" } elseif (Test-Path "$HOME/.claude/get-shit-done/bin/gsd-tools.js") { "$HOME/.claude/get-shit-done/bin/gsd-tools.js" } else { throw "Missing gsd-tools in .claude or $HOME/.claude. Reinstall GSD." }
17
- - Run engine commands through PowerShell:
18
- node $GsdTools ...
13
+ - Use one of these engine paths (prefer local, fallback global):
14
+ node .claude/get-shit-done/bin/gsd-tools.js ...
15
+ node ~/.claude/get-shit-done/bin/gsd-tools.js ...
16
+ - If `.js` is unavailable, use the same path with `.cjs`.
17
+ - Run engine commands through PowerShell.
19
18
  - Parse JSON with ConvertFrom-Json; parse key/value output when workflow uses KEY=value raw mode.
20
19
  - No jq / bash-only constructs.
21
20
 
@@ -25,18 +24,17 @@ Switch model profile for GSD agents (quality/balanced/budget)
25
24
  - Spawn only when the upstream workflow defines an agent role.
26
25
  - Use `.claude/agents/gsd-*.md` as role context for each spawned agent.
27
26
  - Do not advance workflow steps until wait and close complete.
28
- ## Update check
29
- - Best-effort only; do not fail if offline.
30
- - Run:
31
- $installed = if (Test-Path ".codex/gsd/VERSION") { (Get-Content ".codex/gsd/VERSION" -Raw).Trim() } elseif (Test-Path "$HOME/.codex/gsd/VERSION") { (Get-Content "$HOME/.codex/gsd/VERSION" -Raw).Trim() } else { $null }
32
- $latest = $null; try { $latest = (npm view gsd-codex-cli version).Trim() } catch {}
33
- - If $installed and $latest and $installed -ne $latest, surface:
34
- "Update available: $installed -> $latest. Next: gsd-update (Codex) / /gsd:update (Claude) or re-run npx gsd-codex-cli@latest."
35
-
27
+
28
+ ## Update check
29
+ - Best-effort only; do not fail if offline.
30
+ - Check installed Codex fork version from `.codex/gsd/VERSION` (or `~/.codex/gsd/VERSION`).
31
+ - Check latest published version with `npm view gsd-codex-cli version`.
32
+ - If versions differ, surface: "Update available: <installed> -> <latest>. Next: gsd-update (Codex) / /gsd:update (Claude) or re-run npx gsd-codex-cli@latest."
33
+
36
34
  ## Execution
37
35
  1. Parse <profile> from the user input.
38
36
  2. Run init:
39
- node $GsdTools state load --raw
37
+ node <gsd-tools-path> state load --raw
40
38
 
41
39
  3. Load .claude/get-shit-done/workflows/set-profile.md and execute it step-by-step.
42
40
  4. Translate each Task(...) in workflow into:
@@ -44,10 +42,10 @@ node $GsdTools state load --raw
44
42
  - wait for each spawned agent and apply returned output before moving forward.
45
43
  5. Preserve all gates and routing from upstream workflow.
46
44
  6. Preserve commit behavior using
47
- node $GsdTools commit "message" --files ....
48
- 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
49
-
50
- ## Completion output
51
- - Summarize key artifacts created/updated.
52
- - Next recommended command: use the next user-facing GSD command (Codex prompt name + Claude slash command).
53
- - Never recommend internal `node ... gsd-tools ...` commands to the user.
45
+ node <gsd-tools-path> commit "message" --files ....
46
+ 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
47
+
48
+ ## Completion output
49
+ - Summarize key artifacts created/updated.
50
+ - Next recommended command: use the next user-facing GSD command (Codex prompt name + Claude slash command).
51
+ - Never recommend internal `node ... gsd-tools ...` commands to the user.