Skip to content

fix(wt-switch-create): drop the Scope sentence reserving commits for user permission - #4828

Merged
max-sixty merged 1 commit into
mainfrom
fix/issue-4827
Nov 16, 2026
Merged

max-sixty merged 1 commit into
mainfrom
fix/issue-4827

Conversation

@worktrunk-bot

Copy link
Copy Markdown
Collaborator

Deletes the sentence ending the wt-switch-create skill'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.md gains 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 under plugins/worktrunk/skills/ is regenerated; test_docs_are_in_sync passes. 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

…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
@worktrunk-bot worktrunk-bot added the automated-fix Automated CI fix label Nov 16, 2026
@max-sixty
max-sixty merged commit 36e611b into main Nov 16, 2026
36 of 45 checks passed
@max-sixty
max-sixty deleted the fix/issue-4827 branch November 16, 2026 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated-fix Automated CI fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

wt-switch-create: sessions hand back uncommitted work, citing the Scope sentence on commit permission

2 participants