fix(#3131): re-wire 4 orphaned workflows as flags on parent commands
- discuss-phase --assumptions → list-phase-assumptions.md - pause-work --report → session-report.md - manager --analyze-deps → analyze-dependencies.md - import --from-gsd2 → gsd-tools.cjs from-gsd2 CLI TDD: 8 new assertions in enh-2790-skill-consolidation.test.cjs (argument-hint presence + body dispatch reference per flag). Confirmed RED before wiring, GREEN after. Full suite 6971/6971. help.md updated with all four new flag forms to satisfy bug-2954-help-md-slash-command-stubs parity test. Closes #3131
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
name: gsd:discuss-phase
|
||||
description: Gather phase context through adaptive questioning before planning.
|
||||
argument-hint: "<phase> [--all] [--auto] [--chain] [--batch] [--analyze] [--text] [--power]"
|
||||
argument-hint: "<phase> [--all] [--auto] [--chain] [--batch] [--analyze] [--text] [--power] [--assumptions]"
|
||||
allowed-tools:
|
||||
- Read
|
||||
- Write
|
||||
@@ -49,6 +49,9 @@ Context files are resolved in-workflow using `init phase-op` and roadmap/state t
|
||||
DISCUSS_MODE=$(gsd-sdk query config-get workflow.discuss_mode 2>/dev/null || echo "discuss")
|
||||
```
|
||||
|
||||
If `--assumptions` is in $ARGUMENTS:
|
||||
Read and execute `~/.claude/get-shit-done/workflows/list-phase-assumptions.md` end-to-end.
|
||||
|
||||
If `DISCUSS_MODE` is `"assumptions"`:
|
||||
Read and execute `~/.claude/get-shit-done/workflows/discuss-phase-assumptions.md` end-to-end.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
name: gsd:import
|
||||
description: Ingest external plans with conflict detection against project decisions before writing anything.
|
||||
argument-hint: "--from <filepath>"
|
||||
argument-hint: "--from <filepath> | --from-gsd2"
|
||||
allowed-tools:
|
||||
- Read
|
||||
- Write
|
||||
@@ -17,8 +17,7 @@ allowed-tools:
|
||||
Import external plan files into the GSD planning system with conflict detection against PROJECT.md decisions.
|
||||
|
||||
- **--from**: Import an external plan file, detect conflicts, write as GSD PLAN.md, validate via gsd-plan-checker.
|
||||
|
||||
Future: `--prd` mode for PRD extraction is planned for a follow-up PR.
|
||||
- **--from-gsd2**: Reverse-migrate a GSD-2 project (`.gsd/` directory) back to GSD v1 (`.planning/`) format. Runs `gsd-tools.cjs from-gsd2`. Pass `--path <dir>` to migrate a project at a different path.
|
||||
</objective>
|
||||
|
||||
<execution_context>
|
||||
@@ -33,5 +32,9 @@ $ARGUMENTS
|
||||
</context>
|
||||
|
||||
<process>
|
||||
If `--from-gsd2` is in $ARGUMENTS:
|
||||
Run: `node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" from-gsd2`
|
||||
Pass `--path <dir>` if provided. Present the migration result to the user.
|
||||
|
||||
Execute the import workflow end-to-end.
|
||||
</process>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
name: gsd:manager
|
||||
description: Interactive command center for managing multiple phases from one terminal
|
||||
argument-hint: "[--analyze-deps]"
|
||||
allowed-tools:
|
||||
- Read
|
||||
- Write
|
||||
@@ -35,6 +36,9 @@ Project context, phase list, dependencies, and recommendations are resolved insi
|
||||
</context>
|
||||
|
||||
<process>
|
||||
If `--analyze-deps` is in $ARGUMENTS:
|
||||
Read and execute `~/.claude/get-shit-done/workflows/analyze-dependencies.md` end-to-end.
|
||||
|
||||
Execute the manager workflow from @~/.claude/get-shit-done/workflows/manager.md end-to-end.
|
||||
Maintain the dashboard refresh loop until the user exits or all phases complete.
|
||||
</process>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
name: gsd:pause-work
|
||||
description: Create context handoff when pausing work mid-phase
|
||||
argument-hint: "[--report]"
|
||||
allowed-tools:
|
||||
- Read
|
||||
- Write
|
||||
@@ -27,6 +28,9 @@ State and phase progress are gathered in-workflow with targeted reads.
|
||||
</context>
|
||||
|
||||
<process>
|
||||
If `--report` is in $ARGUMENTS:
|
||||
Read and execute `~/.claude/get-shit-done/workflows/session-report.md` end-to-end.
|
||||
|
||||
**Follow the pause-work workflow** from `@~/.claude/get-shit-done/workflows/pause-work.md`.
|
||||
|
||||
The workflow handles all logic including:
|
||||
|
||||
Reference in New Issue
Block a user