gsd-codex-cli 1.20.5 → 1.20.7

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