Repository navigation
fix(port): hand a refused force-push back to the operator and describe worktree-cleanup truthfully - #59
Merged
Conversation
…e worktree-cleanup truthfully
…hout claiming enforcement
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.
Summary
This PR fixes two problems that the router eval and the #57 review turned up.
pstackpolicyrefusal now hands the step back to you. The old text on a refused force-push to the default branch, or a refused repository deletion, ended "Do not look for another way to run it." In the eval, Qwen retried with--forceafter that refusal, and in another run it probed the policy and the git hooks (qwen-P6-r3,qwen-P6-B3). The new text says to stop, ask the operator to confirm it and run it themselves, and that a retry in another form is refused the same way. The shell-named-branch refusal still says to write the branch name out and retry. It does not get the handoff line, because that line would contradict its retry advice.omp-mechanicsworktree-cleanup note is now accurate. It used to say the playbook moves worktrees withtrashormv, which the shipped playbook never did. The note now describes what ships. The port's cleanup is stricter than upstream: plaingit worktree remove, the worktree kept when git refuses, and never--force,rm -rforprune. That departure from upstream is unchanged here. It is a separate decision.RELEASEgoes from 3 to 4, so this publishes 0.15.4804.Verification
cd plugins/pstack && bun test ./extensionspasses, 198 of 198.CANON=/tmp/cursor-plugins /usr/bin/bash omp-port/check-port.shprintscheck-port: PASS, includingrelease version PASS 0.15.4803 at abe3ee3 -> 0.15.4804.