Skip to content

fix(port): hand a refused force-push back to the operator and describe worktree-cleanup truthfully - #59

Merged
negoro26 merged 2 commits into
mainfrom
fix/refusal-and-cleanup-text
Nov 27, 2026
Merged

negoro26 merged 2 commits into
mainfrom
fix/refusal-and-cleanup-text

Conversation

@negoro26

Copy link
Copy Markdown
Owner

Summary

This PR fixes two problems that the router eval and the #57 review turned up.

  • The pstackpolicy refusal 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 --force after 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.
  • The omp-mechanics worktree-cleanup note is now accurate. It used to say the playbook moves worktrees with trash or mv, which the shipped playbook never did. The note now describes what ships. The port's cleanup is stricter than upstream: plain git worktree remove, the worktree kept when git refuses, and never --force, rm -rf or prune. That departure from upstream is unchanged here. It is a separate decision.

RELEASE goes from 3 to 4, so this publishes 0.15.4804.

Verification

  • cd plugins/pstack && bun test ./extensions passes, 198 of 198.
  • CANON=/tmp/cursor-plugins /usr/bin/bash omp-port/check-port.sh prints check-port: PASS, including release version PASS 0.15.4803 at abe3ee3 -> 0.15.4804.

@negoro26
negoro26 merged commit e351cfd into main Nov 27, 2026
3 checks passed
@negoro26
negoro26 deleted the fix/refusal-and-cleanup-text branch November 27, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant