gsd-codex-cli 1.20.3 → 1.20.5

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.
Files changed (33) hide show
  1. package/.codex/prompts/gsd-add-phase.md +17 -16
  2. package/.codex/prompts/gsd-add-todo.md +17 -15
  3. package/.codex/prompts/gsd-audit-milestone.md +17 -15
  4. package/.codex/prompts/gsd-check-todos.md +17 -15
  5. package/.codex/prompts/gsd-complete-milestone.md +17 -15
  6. package/.codex/prompts/gsd-debug.md +17 -15
  7. package/.codex/prompts/gsd-discuss-phase.md +17 -15
  8. package/.codex/prompts/gsd-doctor.md +51 -0
  9. package/.codex/prompts/gsd-execute-phase.md +17 -15
  10. package/.codex/prompts/gsd-help.md +16 -14
  11. package/.codex/prompts/gsd-insert-phase.md +17 -15
  12. package/.codex/prompts/gsd-list-phase-assumptions.md +17 -15
  13. package/.codex/prompts/gsd-map-codebase.md +17 -15
  14. package/.codex/prompts/gsd-new-milestone.md +17 -15
  15. package/.codex/prompts/gsd-new-project.md +17 -15
  16. package/.codex/prompts/gsd-pause-work.md +17 -15
  17. package/.codex/prompts/gsd-plan-milestone-gaps.md +17 -15
  18. package/.codex/prompts/gsd-plan-phase.md +17 -15
  19. package/.codex/prompts/gsd-progress.md +17 -15
  20. package/.codex/prompts/gsd-quick.md +17 -15
  21. package/.codex/prompts/gsd-remove-phase.md +17 -15
  22. package/.codex/prompts/gsd-research-phase.md +17 -15
  23. package/.codex/prompts/gsd-resume-work.md +17 -15
  24. package/.codex/prompts/gsd-set-profile.md +17 -15
  25. package/.codex/prompts/gsd-settings.md +17 -15
  26. package/.codex/prompts/gsd-update.md +16 -14
  27. package/.codex/prompts/gsd-verify-work.md +17 -15
  28. package/.codex/skills/get-shit-done-codex/SKILL.md +6 -5
  29. package/README.md +88 -88
  30. package/bin/install-codex.js +8 -4
  31. package/get-shit-done/bin/gsd-tools.cjs +90 -91
  32. package/get-shit-done/bin/gsd-tools.js +29 -0
  33. package/package.json +1 -1
@@ -12,8 +12,11 @@ Add phase to end of current milestone in roadmap
12
12
  - Use .codex/skills/get-shit-done-codex semantics.
13
13
  - Treat upstream workflow as the source of truth.
14
14
  - Replace user-specific paths with workspace-relative paths (.claude/..., .planning/...).
15
- - Run engine commands through PowerShell:
16
- node .claude/get-shit-done/bin/gsd-tools.js ...
15
+ - Use one of these engine paths (prefer local, fallback global):
16
+ node .claude/get-shit-done/bin/gsd-tools.js ...
17
+ node ~/.claude/get-shit-done/bin/gsd-tools.js ...
18
+ - If `.js` is unavailable, use the same path with `.cjs`.
19
+ - Run engine commands through PowerShell.
17
20
  - Parse JSON with ConvertFrom-Json; parse key/value output when workflow uses KEY=value raw mode.
18
21
  - No jq / bash-only constructs.
19
22
 
@@ -24,16 +27,15 @@ node .claude/get-shit-done/bin/gsd-tools.js ...
24
27
  - Use `.claude/agents/gsd-*.md` as role context for each spawned agent.
25
28
  - Do not advance workflow steps until wait and close complete.
26
29
  ## Update check
27
- - Run:
28
- $update = node .claude/get-shit-done/bin/gsd-tools.cjs update check --raw | ConvertFrom-Json
29
- - If $update.update_available is true, surface:
30
- "Update available: $($update.installed) -> $($update.latest). Run /gsd:update or re-run npx gsd-codex-cli@latest."
31
-
30
+ - Best-effort only; do not fail if offline.
31
+ - Check installed Codex fork version from `.codex/gsd/VERSION` (or `~/.codex/gsd/VERSION`).
32
+ - Check latest published version with `npm view gsd-codex-cli version`.
33
+ - If versions differ, surface: "Update available: <installed> -> <latest>. Next: gsd-update (Codex) / /gsd:update (Claude) or re-run npx gsd-codex-cli@latest."
32
34
 
33
35
  ## Execution
34
36
  1. Parse <description> from the user input.
35
37
  2. Run init:
36
- node .claude/get-shit-done/bin/gsd-tools.js init phase-op "0" --raw
38
+ node <gsd-tools-path> init phase-op "0" --raw
37
39
 
38
40
  3. Load .claude/get-shit-done/workflows/add-phase.md and execute it step-by-step.
39
41
  4. Translate each Task(...) in workflow into:
@@ -41,11 +43,10 @@ node .claude/get-shit-done/bin/gsd-tools.js init phase-op "0" --raw
41
43
  - wait for each spawned agent and apply returned output before moving forward.
42
44
  5. Preserve all gates and routing from upstream workflow.
43
45
  6. Preserve commit behavior using
44
- node .claude/get-shit-done/bin/gsd-tools.js commit "message" --files ....
45
- 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
46
-
47
- ## Completion output
48
- - Summarize key artifacts created/updated and next recommended command.
49
-
50
-
51
-
46
+ node <gsd-tools-path> commit "message" --files ....
47
+ 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
48
+
49
+ ## Completion output
50
+ - Summarize key artifacts created/updated.
51
+ - Next recommended command: use the next user-facing GSD command (Codex prompt name + Claude slash command).
52
+ - Never recommend internal `node ... gsd-tools ...` commands to the user.
@@ -12,8 +12,11 @@ Capture idea or task as todo from current conversation context
12
12
  - Use .codex/skills/get-shit-done-codex semantics.
13
13
  - Treat upstream workflow as the source of truth.
14
14
  - Replace user-specific paths with workspace-relative paths (.claude/..., .planning/...).
15
- - Run engine commands through PowerShell:
16
- node .claude/get-shit-done/bin/gsd-tools.js ...
15
+ - Use one of these engine paths (prefer local, fallback global):
16
+ node .claude/get-shit-done/bin/gsd-tools.js ...
17
+ node ~/.claude/get-shit-done/bin/gsd-tools.js ...
18
+ - If `.js` is unavailable, use the same path with `.cjs`.
19
+ - Run engine commands through PowerShell.
17
20
  - Parse JSON with ConvertFrom-Json; parse key/value output when workflow uses KEY=value raw mode.
18
21
  - No jq / bash-only constructs.
19
22
 
@@ -24,16 +27,15 @@ node .claude/get-shit-done/bin/gsd-tools.js ...
24
27
  - Use `.claude/agents/gsd-*.md` as role context for each spawned agent.
25
28
  - Do not advance workflow steps until wait and close complete.
26
29
  ## Update check
27
- - Run:
28
- $update = node .claude/get-shit-done/bin/gsd-tools.cjs update check --raw | ConvertFrom-Json
29
- - If $update.update_available is true, surface:
30
- "Update available: $($update.installed) -> $($update.latest). Run /gsd:update or re-run npx gsd-codex-cli@latest."
31
-
30
+ - Best-effort only; do not fail if offline.
31
+ - Check installed Codex fork version from `.codex/gsd/VERSION` (or `~/.codex/gsd/VERSION`).
32
+ - Check latest published version with `npm view gsd-codex-cli version`.
33
+ - If versions differ, surface: "Update available: <installed> -> <latest>. Next: gsd-update (Codex) / /gsd:update (Claude) or re-run npx gsd-codex-cli@latest."
32
34
 
33
35
  ## Execution
34
36
  1. Parse [optional description] from the user input.
35
37
  2. Run init:
36
- node .claude/get-shit-done/bin/gsd-tools.js init todos $ARG --raw
38
+ node <gsd-tools-path> init todos [argument] --raw
37
39
 
38
40
  3. Load .claude/get-shit-done/workflows/add-todo.md and execute it step-by-step.
39
41
  4. Translate each Task(...) in workflow into:
@@ -41,10 +43,10 @@ node .claude/get-shit-done/bin/gsd-tools.js init todos $ARG --raw
41
43
  - wait for each spawned agent and apply returned output before moving forward.
42
44
  5. Preserve all gates and routing from upstream workflow.
43
45
  6. Preserve commit behavior using
44
- node .claude/get-shit-done/bin/gsd-tools.js commit "message" --files ....
45
- 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
46
-
47
- ## Completion output
48
- - Summarize key artifacts created/updated and next recommended command.
49
-
50
-
46
+ node <gsd-tools-path> commit "message" --files ....
47
+ 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
48
+
49
+ ## Completion output
50
+ - Summarize key artifacts created/updated.
51
+ - Next recommended command: use the next user-facing GSD command (Codex prompt name + Claude slash command).
52
+ - Never recommend internal `node ... gsd-tools ...` commands to the user.
@@ -12,8 +12,11 @@ Audit milestone completion against original intent before archiving
12
12
  - Use .codex/skills/get-shit-done-codex semantics.
13
13
  - Treat upstream workflow as the source of truth.
14
14
  - Replace user-specific paths with workspace-relative paths (.claude/..., .planning/...).
15
- - Run engine commands through PowerShell:
16
- node .claude/get-shit-done/bin/gsd-tools.js ...
15
+ - Use one of these engine paths (prefer local, fallback global):
16
+ node .claude/get-shit-done/bin/gsd-tools.js ...
17
+ node ~/.claude/get-shit-done/bin/gsd-tools.js ...
18
+ - If `.js` is unavailable, use the same path with `.cjs`.
19
+ - Run engine commands through PowerShell.
17
20
  - Parse JSON with ConvertFrom-Json; parse key/value output when workflow uses KEY=value raw mode.
18
21
  - No jq / bash-only constructs.
19
22
 
@@ -24,16 +27,15 @@ node .claude/get-shit-done/bin/gsd-tools.js ...
24
27
  - Use `.claude/agents/gsd-*.md` as role context for each spawned agent.
25
28
  - Do not advance workflow steps until wait and close complete.
26
29
  ## Update check
27
- - Run:
28
- $update = node .claude/get-shit-done/bin/gsd-tools.cjs update check --raw | ConvertFrom-Json
29
- - If $update.update_available is true, surface:
30
- "Update available: $($update.installed) -> $($update.latest). Run /gsd:update or re-run npx gsd-codex-cli@latest."
31
-
30
+ - Best-effort only; do not fail if offline.
31
+ - Check installed Codex fork version from `.codex/gsd/VERSION` (or `~/.codex/gsd/VERSION`).
32
+ - Check latest published version with `npm view gsd-codex-cli version`.
33
+ - If versions differ, surface: "Update available: <installed> -> <latest>. Next: gsd-update (Codex) / /gsd:update (Claude) or re-run npx gsd-codex-cli@latest."
32
34
 
33
35
  ## Execution
34
36
  1. Parse "[version]" from the user input.
35
37
  2. Run init:
36
- node .claude/get-shit-done/bin/gsd-tools.js init milestone-op --raw
38
+ node <gsd-tools-path> init milestone-op --raw
37
39
 
38
40
  3. Load .claude/get-shit-done/workflows/audit-milestone.md and execute it step-by-step.
39
41
  4. Translate each Task(...) in workflow into:
@@ -41,10 +43,10 @@ node .claude/get-shit-done/bin/gsd-tools.js init milestone-op --raw
41
43
  - wait for each spawned agent and apply returned output before moving forward.
42
44
  5. Preserve all gates and routing from upstream workflow.
43
45
  6. Preserve commit behavior using
44
- node .claude/get-shit-done/bin/gsd-tools.js commit "message" --files ....
45
- 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
46
-
47
- ## Completion output
48
- - Summarize key artifacts created/updated and next recommended command.
49
-
50
-
46
+ node <gsd-tools-path> commit "message" --files ....
47
+ 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
48
+
49
+ ## Completion output
50
+ - Summarize key artifacts created/updated.
51
+ - Next recommended command: use the next user-facing GSD command (Codex prompt name + Claude slash command).
52
+ - Never recommend internal `node ... gsd-tools ...` commands to the user.
@@ -12,8 +12,11 @@ List pending todos and select one to work on
12
12
  - Use .codex/skills/get-shit-done-codex semantics.
13
13
  - Treat upstream workflow as the source of truth.
14
14
  - Replace user-specific paths with workspace-relative paths (.claude/..., .planning/...).
15
- - Run engine commands through PowerShell:
16
- node .claude/get-shit-done/bin/gsd-tools.js ...
15
+ - Use one of these engine paths (prefer local, fallback global):
16
+ node .claude/get-shit-done/bin/gsd-tools.js ...
17
+ node ~/.claude/get-shit-done/bin/gsd-tools.js ...
18
+ - If `.js` is unavailable, use the same path with `.cjs`.
19
+ - Run engine commands through PowerShell.
17
20
  - Parse JSON with ConvertFrom-Json; parse key/value output when workflow uses KEY=value raw mode.
18
21
  - No jq / bash-only constructs.
19
22
 
@@ -24,16 +27,15 @@ node .claude/get-shit-done/bin/gsd-tools.js ...
24
27
  - Use `.claude/agents/gsd-*.md` as role context for each spawned agent.
25
28
  - Do not advance workflow steps until wait and close complete.
26
29
  ## Update check
27
- - Run:
28
- $update = node .claude/get-shit-done/bin/gsd-tools.cjs update check --raw | ConvertFrom-Json
29
- - If $update.update_available is true, surface:
30
- "Update available: $($update.installed) -> $($update.latest). Run /gsd:update or re-run npx gsd-codex-cli@latest."
31
-
30
+ - Best-effort only; do not fail if offline.
31
+ - Check installed Codex fork version from `.codex/gsd/VERSION` (or `~/.codex/gsd/VERSION`).
32
+ - Check latest published version with `npm view gsd-codex-cli version`.
33
+ - If versions differ, surface: "Update available: <installed> -> <latest>. Next: gsd-update (Codex) / /gsd:update (Claude) or re-run npx gsd-codex-cli@latest."
32
34
 
33
35
  ## Execution
34
36
  1. Parse [area filter] from the user input.
35
37
  2. Run init:
36
- node .claude/get-shit-done/bin/gsd-tools.js init todos $ARG --raw
38
+ node <gsd-tools-path> init todos [argument] --raw
37
39
 
38
40
  3. Load .claude/get-shit-done/workflows/check-todos.md and execute it step-by-step.
39
41
  4. Translate each Task(...) in workflow into:
@@ -41,10 +43,10 @@ node .claude/get-shit-done/bin/gsd-tools.js init todos $ARG --raw
41
43
  - wait for each spawned agent and apply returned output before moving forward.
42
44
  5. Preserve all gates and routing from upstream workflow.
43
45
  6. Preserve commit behavior using
44
- node .claude/get-shit-done/bin/gsd-tools.js commit "message" --files ....
45
- 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
46
-
47
- ## Completion output
48
- - Summarize key artifacts created/updated and next recommended command.
49
-
50
-
46
+ node <gsd-tools-path> commit "message" --files ....
47
+ 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
48
+
49
+ ## Completion output
50
+ - Summarize key artifacts created/updated.
51
+ - Next recommended command: use the next user-facing GSD command (Codex prompt name + Claude slash command).
52
+ - Never recommend internal `node ... gsd-tools ...` commands to the user.
@@ -12,8 +12,11 @@ Archive completed milestone and prepare for next version
12
12
  - Use .codex/skills/get-shit-done-codex semantics.
13
13
  - Treat upstream workflow as the source of truth.
14
14
  - Replace user-specific paths with workspace-relative paths (.claude/..., .planning/...).
15
- - Run engine commands through PowerShell:
16
- node .claude/get-shit-done/bin/gsd-tools.js ...
15
+ - Use one of these engine paths (prefer local, fallback global):
16
+ node .claude/get-shit-done/bin/gsd-tools.js ...
17
+ node ~/.claude/get-shit-done/bin/gsd-tools.js ...
18
+ - If `.js` is unavailable, use the same path with `.cjs`.
19
+ - Run engine commands through PowerShell.
17
20
  - Parse JSON with ConvertFrom-Json; parse key/value output when workflow uses KEY=value raw mode.
18
21
  - No jq / bash-only constructs.
19
22
 
@@ -24,16 +27,15 @@ node .claude/get-shit-done/bin/gsd-tools.js ...
24
27
  - Use `.claude/agents/gsd-*.md` as role context for each spawned agent.
25
28
  - Do not advance workflow steps until wait and close complete.
26
29
  ## Update check
27
- - Run:
28
- $update = node .claude/get-shit-done/bin/gsd-tools.cjs update check --raw | ConvertFrom-Json
29
- - If $update.update_available is true, surface:
30
- "Update available: $($update.installed) -> $($update.latest). Run /gsd:update or re-run npx gsd-codex-cli@latest."
31
-
30
+ - Best-effort only; do not fail if offline.
31
+ - Check installed Codex fork version from `.codex/gsd/VERSION` (or `~/.codex/gsd/VERSION`).
32
+ - Check latest published version with `npm view gsd-codex-cli version`.
33
+ - If versions differ, surface: "Update available: <installed> -> <latest>. Next: gsd-update (Codex) / /gsd:update (Claude) or re-run npx gsd-codex-cli@latest."
32
34
 
33
35
  ## Execution
34
36
  1. Parse <version> from the user input.
35
37
  2. Run init:
36
- node .claude/get-shit-done/bin/gsd-tools.js init execute-phase "1" --raw
38
+ node <gsd-tools-path> init execute-phase "1" --raw
37
39
 
38
40
  3. Load .claude/get-shit-done/workflows/complete-milestone.md and execute it step-by-step.
39
41
  4. Translate each Task(...) in workflow into:
@@ -41,10 +43,10 @@ node .claude/get-shit-done/bin/gsd-tools.js init execute-phase "1" --raw
41
43
  - wait for each spawned agent and apply returned output before moving forward.
42
44
  5. Preserve all gates and routing from upstream workflow.
43
45
  6. Preserve commit behavior using
44
- node .claude/get-shit-done/bin/gsd-tools.js commit "message" --files ....
45
- 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
46
-
47
- ## Completion output
48
- - Summarize key artifacts created/updated and next recommended command.
49
-
50
-
46
+ node <gsd-tools-path> commit "message" --files ....
47
+ 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
48
+
49
+ ## Completion output
50
+ - Summarize key artifacts created/updated.
51
+ - Next recommended command: use the next user-facing GSD command (Codex prompt name + Claude slash command).
52
+ - Never recommend internal `node ... gsd-tools ...` commands to the user.
@@ -12,8 +12,11 @@ Systematic debugging with persistent state across context resets
12
12
  - Use .codex/skills/get-shit-done-codex semantics.
13
13
  - Treat upstream workflow as the source of truth.
14
14
  - Replace user-specific paths with workspace-relative paths (.claude/..., .planning/...).
15
- - Run engine commands through PowerShell:
16
- node .claude/get-shit-done/bin/gsd-tools.js ...
15
+ - Use one of these engine paths (prefer local, fallback global):
16
+ node .claude/get-shit-done/bin/gsd-tools.js ...
17
+ node ~/.claude/get-shit-done/bin/gsd-tools.js ...
18
+ - If `.js` is unavailable, use the same path with `.cjs`.
19
+ - Run engine commands through PowerShell.
17
20
  - Parse JSON with ConvertFrom-Json; parse key/value output when workflow uses KEY=value raw mode.
18
21
  - No jq / bash-only constructs.
19
22
 
@@ -24,16 +27,15 @@ node .claude/get-shit-done/bin/gsd-tools.js ...
24
27
  - Use `.claude/agents/gsd-*.md` as role context for each spawned agent.
25
28
  - Do not advance workflow steps until wait and close complete.
26
29
  ## Update check
27
- - Run:
28
- $update = node .claude/get-shit-done/bin/gsd-tools.cjs update check --raw | ConvertFrom-Json
29
- - If $update.update_available is true, surface:
30
- "Update available: $($update.installed) -> $($update.latest). Run /gsd:update or re-run npx gsd-codex-cli@latest."
31
-
30
+ - Best-effort only; do not fail if offline.
31
+ - Check installed Codex fork version from `.codex/gsd/VERSION` (or `~/.codex/gsd/VERSION`).
32
+ - Check latest published version with `npm view gsd-codex-cli version`.
33
+ - If versions differ, surface: "Update available: <installed> -> <latest>. Next: gsd-update (Codex) / /gsd:update (Claude) or re-run npx gsd-codex-cli@latest."
32
34
 
33
35
  ## Execution
34
36
  1. Parse [issue description] from the user input.
35
37
  2. Run init:
36
- node .claude/get-shit-done/bin/gsd-tools.js state load --raw
38
+ node <gsd-tools-path> state load --raw
37
39
 
38
40
  3. Execute the debug flow defined in this command (no separate workflow file exists in the gsd commands set).
39
41
  4. Translate each Task(...) in the debug flow into:
@@ -41,13 +43,13 @@ node .claude/get-shit-done/bin/gsd-tools.js state load --raw
41
43
  - wait for each spawned agent and apply returned output before moving forward.
42
44
  5. Preserve all gates and routing from upstream workflow.
43
45
  6. Preserve commit behavior using
44
- node .claude/get-shit-done/bin/gsd-tools.js commit "message" --files ....
46
+ node <gsd-tools-path> commit "message" --files ....
45
47
  7. Checkpoint handling:
46
48
  - If an active debug session exists and no new issue was provided, list open sessions and ask the user which to resume.
47
49
  - If a checkpoint is returned by the debugger, summarize the checkpoint and continue only after user confirmation.
48
- 8. 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 and next recommended command.
52
-
53
-
50
+ 8. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
51
+
52
+ ## Completion output
53
+ - Summarize key artifacts created/updated.
54
+ - Next recommended command: use the next user-facing GSD command (Codex prompt name + Claude slash command).
55
+ - Never recommend internal `node ... gsd-tools ...` commands to the user.
@@ -12,8 +12,11 @@ Gather phase context through adaptive questioning before planning
12
12
  - Use .codex/skills/get-shit-done-codex semantics.
13
13
  - Treat upstream workflow as the source of truth.
14
14
  - Replace user-specific paths with workspace-relative paths (.claude/..., .planning/...).
15
- - Run engine commands through PowerShell:
16
- node .claude/get-shit-done/bin/gsd-tools.js ...
15
+ - Use one of these engine paths (prefer local, fallback global):
16
+ node .claude/get-shit-done/bin/gsd-tools.js ...
17
+ node ~/.claude/get-shit-done/bin/gsd-tools.js ...
18
+ - If `.js` is unavailable, use the same path with `.cjs`.
19
+ - Run engine commands through PowerShell.
17
20
  - Parse JSON with ConvertFrom-Json; parse key/value output when workflow uses KEY=value raw mode.
18
21
  - No jq / bash-only constructs.
19
22
 
@@ -24,16 +27,15 @@ node .claude/get-shit-done/bin/gsd-tools.js ...
24
27
  - Use `.claude/agents/gsd-*.md` as role context for each spawned agent.
25
28
  - Do not advance workflow steps until wait and close complete.
26
29
  ## Update check
27
- - Run:
28
- $update = node .claude/get-shit-done/bin/gsd-tools.cjs update check --raw | ConvertFrom-Json
29
- - If $update.update_available is true, surface:
30
- "Update available: $($update.installed) -> $($update.latest). Run /gsd:update or re-run npx gsd-codex-cli@latest."
31
-
30
+ - Best-effort only; do not fail if offline.
31
+ - Check installed Codex fork version from `.codex/gsd/VERSION` (or `~/.codex/gsd/VERSION`).
32
+ - Check latest published version with `npm view gsd-codex-cli version`.
33
+ - If versions differ, surface: "Update available: <installed> -> <latest>. Next: gsd-update (Codex) / /gsd:update (Claude) or re-run npx gsd-codex-cli@latest."
32
34
 
33
35
  ## Execution
34
36
  1. Parse "<phase>" from the user input.
35
37
  2. Run init:
36
- node .claude/get-shit-done/bin/gsd-tools.js init phase-op $ARG --raw
38
+ node <gsd-tools-path> init phase-op [argument] --raw
37
39
 
38
40
  3. Load .claude/get-shit-done/workflows/discuss-phase.md and execute it step-by-step.
39
41
  4. Translate each Task(...) in workflow into:
@@ -41,10 +43,10 @@ node .claude/get-shit-done/bin/gsd-tools.js init phase-op $ARG --raw
41
43
  - wait for each spawned agent and apply returned output before moving forward.
42
44
  5. Preserve all gates and routing from upstream workflow.
43
45
  6. Preserve commit behavior using
44
- node .claude/get-shit-done/bin/gsd-tools.js commit "message" --files ....
45
- 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
46
-
47
- ## Completion output
48
- - Summarize key artifacts created/updated and next recommended command.
49
-
50
-
46
+ node <gsd-tools-path> commit "message" --files ....
47
+ 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
48
+
49
+ ## Completion output
50
+ - Summarize key artifacts created/updated.
51
+ - Next recommended command: `gsd-plan-phase [phase]` (Codex) / `/gsd:plan-phase [phase]` (Claude)
52
+ - Never recommend internal `node ... gsd-tools ...` commands to the user.
@@ -0,0 +1,51 @@
1
+ ---
2
+ description: Diagnose Codex+Claude GSD installation (engine, prompts, versions)
3
+ argument-hint: [none]
4
+ ---
5
+
6
+
7
+
8
+ ## Objective
9
+ Diagnose whether this project is set up to run GSD prompts in Codex while remaining compatible with Claude workflows on the same `.planning/` milestone/phases.
10
+
11
+ ## Compatibility
12
+ - Use .codex/skills/get-shit-done-codex semantics.
13
+ - Do not modify files (read-only diagnostics).
14
+ - Prefer PowerShell commands; no jq.
15
+
16
+ ## Checks to run
17
+ Run these checks and then present a compact table: `check | status | details | fix`.
18
+
19
+ ### Versions
20
+ - Codex fork installed version (first match wins):
21
+ - `.codex/gsd/VERSION`
22
+ - `~/.codex/gsd/VERSION`
23
+ - Claude engine installed version (first match wins):
24
+ - `.claude/get-shit-done/VERSION`
25
+ - `~/.claude/get-shit-done/VERSION`
26
+
27
+ ### Engine presence (required for Codex prompts)
28
+ - `.claude/get-shit-done/bin/gsd-tools.cjs` OR `.claude/get-shit-done/bin/gsd-tools.js`
29
+ - If only `gsd-tools.test.js` exists, treat engine as missing/incomplete.
30
+
31
+ ### Project state
32
+ - `.planning/` exists (if missing, user hasn’t initialized a project).
33
+
34
+ ### Update availability (best-effort)
35
+ - Latest Codex fork version (do not fail if offline):
36
+ - `npm view gsd-codex-cli version`
37
+ - If installed Codex fork version is known and differs from latest, surface:
38
+ - `Update available: {installed} -> {latest}`
39
+ - Next: `gsd-update` (Codex) / `/gsd:update` (Claude) or re-run `npx gsd-codex-cli@latest`.
40
+
41
+ ## Recommended fixes (use the minimum)
42
+ - If engine missing: `npx gsd-codex-cli@latest --path .` (or `--global`)
43
+ - If only Claude engine exists and Codex prompts are desired in-project: `npx gsd-codex-cli@latest --path .`
44
+ - If `.planning/` missing: run `gsd-new-project` (Codex) / `/gsd:new-project` (Claude)
45
+
46
+ ## Completion output
47
+ - Print the table and a single “Next recommended command”:
48
+ - If engine missing: `npx gsd-codex-cli@latest --path .`
49
+ - Else if `.planning/` missing: `gsd-new-project` / `/gsd:new-project`
50
+ - Else: `gsd-progress` / `/gsd:progress`
51
+
@@ -12,8 +12,11 @@ Execute all plans in a phase with wave-based parallelization
12
12
  - Use .codex/skills/get-shit-done-codex semantics.
13
13
  - Treat upstream workflow as the source of truth.
14
14
  - Replace user-specific paths with workspace-relative paths (.claude/..., .planning/...).
15
- - Run engine commands through PowerShell:
16
- node .claude/get-shit-done/bin/gsd-tools.js ...
15
+ - Use one of these engine paths (prefer local, fallback global):
16
+ node .claude/get-shit-done/bin/gsd-tools.js ...
17
+ node ~/.claude/get-shit-done/bin/gsd-tools.js ...
18
+ - If `.js` is unavailable, use the same path with `.cjs`.
19
+ - Run engine commands through PowerShell.
17
20
  - Parse JSON with ConvertFrom-Json; parse key/value output when workflow uses KEY=value raw mode.
18
21
  - No jq / bash-only constructs.
19
22
 
@@ -24,16 +27,15 @@ node .claude/get-shit-done/bin/gsd-tools.js ...
24
27
  - Use `.claude/agents/gsd-*.md` as role context for each spawned agent.
25
28
  - Do not advance workflow steps until wait and close complete.
26
29
  ## Update check
27
- - Run:
28
- $update = node .claude/get-shit-done/bin/gsd-tools.cjs update check --raw | ConvertFrom-Json
29
- - If $update.update_available is true, surface:
30
- "Update available: $($update.installed) -> $($update.latest). Run /gsd:update or re-run npx gsd-codex-cli@latest."
31
-
30
+ - Best-effort only; do not fail if offline.
31
+ - Check installed Codex fork version from `.codex/gsd/VERSION` (or `~/.codex/gsd/VERSION`).
32
+ - Check latest published version with `npm view gsd-codex-cli version`.
33
+ - If versions differ, surface: "Update available: <installed> -> <latest>. Next: gsd-update (Codex) / /gsd:update (Claude) or re-run npx gsd-codex-cli@latest."
32
34
 
33
35
  ## Execution
34
36
  1. Parse "<phase-number> [--gaps-only]" from the user input.
35
37
  2. Run init:
36
- node .claude/get-shit-done/bin/gsd-tools.js init execute-phase $PHASE --raw
38
+ node <gsd-tools-path> init execute-phase [phase] --raw
37
39
 
38
40
  3. Load .claude/get-shit-done/workflows/execute-phase.md and execute it step-by-step.
39
41
  4. Translate each Task(...) in workflow into:
@@ -41,10 +43,10 @@ node .claude/get-shit-done/bin/gsd-tools.js init execute-phase $PHASE --raw
41
43
  - wait for each spawned agent and apply returned output before moving forward.
42
44
  5. Preserve all gates and routing from upstream workflow.
43
45
  6. Preserve commit behavior using
44
- node .claude/get-shit-done/bin/gsd-tools.js commit "message" --files ....
45
- 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
46
-
47
- ## Completion output
48
- - Summarize key artifacts created/updated and next recommended command.
49
-
50
-
46
+ node <gsd-tools-path> commit "message" --files ....
47
+ 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
48
+
49
+ ## Completion output
50
+ - Summarize key artifacts created/updated.
51
+ - Next recommended command: `gsd-verify-work [phase]` (Codex) / `/gsd:verify-work [phase]` (Claude)
52
+ - Never recommend internal `node ... gsd-tools ...` commands to the user.
@@ -12,8 +12,11 @@ Show available GSD commands and usage guide
12
12
  - Use .codex/skills/get-shit-done-codex semantics.
13
13
  - Treat upstream workflow as the source of truth.
14
14
  - Replace user-specific paths with workspace-relative paths (.claude/..., .planning/...).
15
- - Run engine commands through PowerShell:
16
- node .claude/get-shit-done/bin/gsd-tools.js ...
15
+ - Use one of these engine paths (prefer local, fallback global):
16
+ node .claude/get-shit-done/bin/gsd-tools.js ...
17
+ node ~/.claude/get-shit-done/bin/gsd-tools.js ...
18
+ - If `.js` is unavailable, use the same path with `.cjs`.
19
+ - Run engine commands through PowerShell.
17
20
  - Parse JSON with ConvertFrom-Json; parse key/value output when workflow uses KEY=value raw mode.
18
21
  - No jq / bash-only constructs.
19
22
 
@@ -24,11 +27,10 @@ node .claude/get-shit-done/bin/gsd-tools.js ...
24
27
  - Use `.claude/agents/gsd-*.md` as role context for each spawned agent.
25
28
  - Do not advance workflow steps until wait and close complete.
26
29
  ## Update check
27
- - Run:
28
- $update = node .claude/get-shit-done/bin/gsd-tools.cjs update check --raw | ConvertFrom-Json
29
- - If $update.update_available is true, surface:
30
- "Update available: $($update.installed) -> $($update.latest). Run /gsd:update or re-run npx gsd-codex-cli@latest."
31
-
30
+ - Best-effort only; do not fail if offline.
31
+ - Check installed Codex fork version from `.codex/gsd/VERSION` (or `~/.codex/gsd/VERSION`).
32
+ - Check latest published version with `npm view gsd-codex-cli version`.
33
+ - If versions differ, surface: "Update available: <installed> -> <latest>. Next: gsd-update (Codex) / /gsd:update (Claude) or re-run npx gsd-codex-cli@latest."
32
34
 
33
35
  ## Execution
34
36
  1. Parse [none] from the user input.
@@ -41,10 +43,10 @@ node .claude/get-shit-done/bin/gsd-tools.js ...
41
43
  - wait for each spawned agent and apply returned output before moving forward.
42
44
  5. Preserve all gates and routing from upstream workflow.
43
45
  6. Preserve commit behavior using
44
- node .claude/get-shit-done/bin/gsd-tools.js commit "message" --files ....
45
- 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
46
-
47
- ## Completion output
48
- - Summarize key artifacts created/updated and next recommended command.
49
-
50
-
46
+ node <gsd-tools-path> commit "message" --files ....
47
+ 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
48
+
49
+ ## Completion output
50
+ - Summarize key artifacts created/updated.
51
+ - Next recommended command: use the next user-facing GSD command (Codex prompt name + Claude slash command).
52
+ - Never recommend internal `node ... gsd-tools ...` commands to the user.
@@ -12,8 +12,11 @@ Insert urgent work as decimal phase (for example 72.1) between existing phases
12
12
  - Use .codex/skills/get-shit-done-codex semantics.
13
13
  - Treat upstream workflow as the source of truth.
14
14
  - Replace user-specific paths with workspace-relative paths (.claude/..., .planning/...).
15
- - Run engine commands through PowerShell:
16
- node .claude/get-shit-done/bin/gsd-tools.js ...
15
+ - Use one of these engine paths (prefer local, fallback global):
16
+ node .claude/get-shit-done/bin/gsd-tools.js ...
17
+ node ~/.claude/get-shit-done/bin/gsd-tools.js ...
18
+ - If `.js` is unavailable, use the same path with `.cjs`.
19
+ - Run engine commands through PowerShell.
17
20
  - Parse JSON with ConvertFrom-Json; parse key/value output when workflow uses KEY=value raw mode.
18
21
  - No jq / bash-only constructs.
19
22
 
@@ -24,16 +27,15 @@ node .claude/get-shit-done/bin/gsd-tools.js ...
24
27
  - Use `.claude/agents/gsd-*.md` as role context for each spawned agent.
25
28
  - Do not advance workflow steps until wait and close complete.
26
29
  ## Update check
27
- - Run:
28
- $update = node .claude/get-shit-done/bin/gsd-tools.cjs update check --raw | ConvertFrom-Json
29
- - If $update.update_available is true, surface:
30
- "Update available: $($update.installed) -> $($update.latest). Run /gsd:update or re-run npx gsd-codex-cli@latest."
31
-
30
+ - Best-effort only; do not fail if offline.
31
+ - Check installed Codex fork version from `.codex/gsd/VERSION` (or `~/.codex/gsd/VERSION`).
32
+ - Check latest published version with `npm view gsd-codex-cli version`.
33
+ - If versions differ, surface: "Update available: <installed> -> <latest>. Next: gsd-update (Codex) / /gsd:update (Claude) or re-run npx gsd-codex-cli@latest."
32
34
 
33
35
  ## Execution
34
36
  1. Parse <after> <description> from the user input.
35
37
  2. Run init:
36
- node .claude/get-shit-done/bin/gsd-tools.js init phase-op $AFTER --raw
38
+ node <gsd-tools-path> init phase-op [after-phase] --raw
37
39
 
38
40
  3. Load .claude/get-shit-done/workflows/insert-phase.md and execute it step-by-step.
39
41
  4. Translate each Task(...) in workflow into:
@@ -41,10 +43,10 @@ node .claude/get-shit-done/bin/gsd-tools.js init phase-op $AFTER --raw
41
43
  - wait for each spawned agent and apply returned output before moving forward.
42
44
  5. Preserve all gates and routing from upstream workflow.
43
45
  6. Preserve commit behavior using
44
- node .claude/get-shit-done/bin/gsd-tools.js commit "message" --files ....
45
- 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
46
-
47
- ## Completion output
48
- - Summarize key artifacts created/updated and next recommended command.
49
-
50
-
46
+ node <gsd-tools-path> commit "message" --files ....
47
+ 7. If commit preflight fails (no git / no commit flag), proceed in read-only mode and report clearly.
48
+
49
+ ## Completion output
50
+ - Summarize key artifacts created/updated.
51
+ - Next recommended command: use the next user-facing GSD command (Codex prompt name + Claude slash command).
52
+ - Never recommend internal `node ... gsd-tools ...` commands to the user.