Skip to content

feat: rename cascade command to restack, keep cascade as alias#32

Merged
boneskull merged 2 commits intomainfrom
cascade-to-restack
Feb 11, 2026
Merged

feat: rename cascade command to restack, keep cascade as alias#32
boneskull merged 2 commits intomainfrom
cascade-to-restack

Conversation

@boneskull
Copy link
Copy Markdown
Owner

@boneskull boneskull commented Feb 6, 2026

The cascade command is now restack, with cascade retained as a
Cobra alias for backward compatibility. All user-facing strings (help
text, output messages, error messages) and documentation updated
accordingly. The --no-cascade flag on sync is now --no-restack.

Internal identifiers (function names, STACK_CASCADE_STATE,
OperationCascade, etc.) are intentionally unchanged.

Copilot AI review requested due to automatic review settings February 6, 2026 21:29
@boneskull
Copy link
Copy Markdown
Owner Author

Stack


Managed by gh-stack

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Renames the user-facing cascade command to restack while keeping cascade as a Cobra alias, and updates help text/output/docs to use the new terminology (including renaming sync’s --no-cascade flag to --no-restack).

Changes:

  • Rename the Cobra command cascaderestack and keep cascade as an alias.
  • Update user-facing strings in CLI commands (sync, submit, continue, undo, abort) to say “restack”.
  • Update docs (README.md, ARCHITECTURE.md, e2e/README.md) to reflect the rename and flag change.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
e2e/README.md Updates E2E docs to refer to “restack” workflows/tests.
cmd/undo.go Updates undo help/error messaging to say “restack”.
cmd/sync.go Updates sync help text and renames flag to --no-restack.
cmd/submit.go Updates submit help text and phase output to “restack”.
cmd/continue.go Updates continue help/success messaging to “restack”.
cmd/cascade.go Implements the restack command name with cascade alias and updates output strings.
cmd/abort.go Updates abort help/output messaging to “restack”.
README.md Updates user documentation and command reference to “restack” (and notes alias).
ARCHITECTURE.md Updates architecture docs to reflect restack naming while preserving internal cascade operation state.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings February 8, 2026 02:23
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 11 out of 11 changed files in this pull request and generated 8 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

The `cascade` command is now `restack`, with `cascade` retained as a
Cobra alias for backward compatibility. All user-facing strings (help
text, output messages, error messages) and documentation updated
accordingly. The `--no-cascade` flag on `sync` is now `--no-restack`.

Internal identifiers (function names, `STACK_CASCADE_STATE`,
`OperationCascade`, etc.) are intentionally unchanged.

Co-authored-by: Cursor <cursoragent@cursor.com>
@boneskull boneskull added the enhancement New feature or request label Feb 11, 2026
@boneskull boneskull merged commit 3d3f524 into main Feb 11, 2026
7 checks passed
@boneskull boneskull deleted the cascade-to-restack branch February 11, 2026 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants