fix: short-circuit --assumptions and --from-gsd2 dispatch; add changeset
- discuss-phase --assumptions: add 'Stop here' + convert If→Otherwise chain so the flag is an exclusive route (CodeRabbit major) - import --from-gsd2: add 'Stop here' + convert final 'Execute...' to 'Otherwise...' to prevent fall-through to standard import (CodeRabbit major, inline comment) - .changeset/rewire-orphaned-workflows-3131.md: add missing changeset
This commit is contained in:
@@ -51,11 +51,12 @@ DISCUSS_MODE=$(gsd-sdk query config-get workflow.discuss_mode 2>/dev/null || ech
|
||||
|
||||
If `--assumptions` is in $ARGUMENTS:
|
||||
Read and execute `~/.claude/get-shit-done/workflows/list-phase-assumptions.md` end-to-end.
|
||||
Stop here.
|
||||
|
||||
If `DISCUSS_MODE` is `"assumptions"`:
|
||||
Otherwise, if `DISCUSS_MODE` is `"assumptions"`:
|
||||
Read and execute `~/.claude/get-shit-done/workflows/discuss-phase-assumptions.md` end-to-end.
|
||||
|
||||
If `DISCUSS_MODE` is `"discuss"` (or unset, or any other value):
|
||||
Otherwise (`"discuss"` / unset / any other value):
|
||||
Read and execute `~/.claude/get-shit-done/workflows/discuss-phase.md` end-to-end.
|
||||
|
||||
**MANDATORY:** Read the appropriate workflow file BEFORE taking any action. The objective and success_criteria sections in this command file are summaries — the workflow file contains the complete step-by-step process with all required behaviors, config checks, and interaction patterns. Do not improvise from the summary.
|
||||
|
||||
@@ -35,6 +35,7 @@ $ARGUMENTS
|
||||
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.
|
||||
Stop here (do not run the standard import workflow).
|
||||
|
||||
Execute the import workflow end-to-end.
|
||||
Otherwise, execute the import workflow end-to-end.
|
||||
</process>
|
||||
|
||||
Reference in New Issue
Block a user