Repository navigation
docs(skill): name cleanup --yes and the rebase gates - #112
Merged
Merged
Conversation
cleanup asks before it removes anything, and an agent session has no terminal to answer that prompt, so the skill runs it with --yes. rebase refuses where rebase.enabled is off or CI is running, and a conflict hands over to resolve; the skill now says so and points at resolve --print. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The skill tells an agent session to run
dw-mc cleanup. That command asks before it removes anything, and a session has no terminal to answer the prompt. The skill also says nothing about whendw-mc rebaserefuses, or what happens after a conflict, so an agent is surprised by both and has no next step.What changes
skills/dw-mc/SKILL.md: the Writes table runsdw-mc cleanup --yes, and one sentence says why.skills/dw-mc/SKILL.md: a new paragraph ondw-mc rebase. It runs only whererebase.enabledis on and never while CI is running. A conflict aborts the rebase and is recorded, anddw-mc resolve <pr> --printis the next step.Test plan
pnpm check: pass.docs/cli.md§ cleanup, rebase, resolve andsrc/cli/cleanup.ts.Risk
None: docs only.
🤖 Generated with Claude Code