Files
msd-core/commands/msd/undo.md
Jakub Zych a9a7a328e6 refactor: hard-fork GSD -> MSD (Make Software Done)
Mechanical rename produced by scripts/msd-rename.cjs: gsd/Gsd/GSD -> msd/Msd/MSD
across contents and paths, upstream package/repo coordinates -> @golem15/msd-core
and golem15com/msd-core. Deep links into upstream history, sibling upstream
packages, the GSD-2 import feature, CHANGELOG.md and .changeset/ are kept as-is.

Hand edits on top: MSD block-letter banner and logos, LICENSE copyright line,
package/plugin identity, regenerated lockfile, install-tree fixtures, derived
registries and benchmark baseline; migration checksum baseline re-locked
(MSD keeps its own install state, so no install had applied the old sums);
sort-order and regex-escaped expectations in tests adjusted.
2026-10-06 01:47:40 +02:00

36 lines
915 B
Markdown

---
name: msd:undo
description: "Safe git revert. Roll back phase or plan commits using the phase manifest with dependency checks."
argument-hint: "--last N | --phase NN | --plan NN-MM"
allowed-tools:
- Read
- Bash
- Glob
- Grep
- AskUserQuestion
requires: [phase]
---
<objective>
Safe git revert — roll back MSD phase or plan commits using the phase manifest, with dependency checks and a confirmation gate before execution.
Three modes:
- **--last N**: Show recent MSD commits for interactive selection
- **--phase NN**: Revert all commits for a phase (manifest + git log fallback)
- **--plan NN-MM**: Revert all commits for a specific plan
</objective>
<execution_context>
@~/.claude/msd-core/workflows/undo.md
@~/.claude/msd-core/references/ui-brand.md
@~/.claude/msd-core/references/gate-prompts.md
</execution_context>
<context>
$ARGUMENTS
</context>
<process>
Execute end-to-end.
</process>