Repository navigation
fix(wt-switch-create): drop the Scope sentence reserving commits for user permission - #4828
Merged
Merged
Conversation
…user permission Sessions with harness or user instructions to commit finished work read the sentence as the user reserving git and handed work back uncommitted. Commit, push, and merge permissions now come from the harness and the user's instructions, as they would without the command. Closes #4827
1 task
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.
Deletes the sentence ending the
wt-switch-createskill's Scope section, "Commits, pushes, and merges still each require explicit user permission." Sessions told elsewhere to commit finished work (a background session's system prompt, or the user's own instruction file) read it as the user reserving git, handed the work back uncommitted, and quoted it as the reason. Scope now states only the command's bounds: one worktree and the requested task in it. Whether to commit, push or merge falls back to the harness and the user's instructions, and Claude Code's default of committing only when asked keeps sessions with no other instruction unchanged.rationale.mdgains a paragraph recording why Scope stays silent on git permissions, beside its existing note on keeping Scope to bounds rather than permission. The plugin mirror underplugins/worktrunk/skills/is regenerated;test_docs_are_in_syncpasses. The behavioral effect is intermittent (about one session in seventeen, per the issue) and runs inside a live agent session, so CI can't exercise it.Closes #4827 — automated triage