Repository navigation
fix(source-control): trigger resolve-conflicts on take-one-side or abort requests - #7157
Conversation
…ort requests The description named only requests to resolve a conflict, so a request to skip resolution (--ours/--theirs on every file, or abort) ran on the bare model. Add that branch to the Use when list. Closes #7070 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Claude finished @kyle-sexton's task in 2m 12s —— View job Code review
No blocking or high-signal findings. This is a tightly scoped fix with a clear review surface, and it holds up:
Note: the PR's eval numbers (before/after pass rates, cost) are author-reported; I did not independently re-run |
|
Claude finished @kyle-sexton's task in 28s —— View job Security review: no issues found
Scope reviewed (
Analysis The only functional change is appending a trigger branch to the skill's
This is an addition that widens when the skill's existing refusal body fires — it does not delete, narrow, or soften any standing instruction, guardrail, or check. The body of the skill (which refuses bulk No command/SQL/path/template injection, no auth/access-control, no secrets/token handling, and no GitHub Actions surface in this change. No security issues found. Skip-gate criterion 2 (no security-relevant surface) applies. |
|
claude-security-review has reviewed this pull request through 005f224; a later push is reviewed from there. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 005f224980
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
claude-review has reviewed this pull request through 005f224; a later push is reviewed from there. |
Closes #7070
Summary
/source-control:resolve-conflictsdid not fire when a stopped merge came with a request to skip resolution ("just run git checkout --ours on all of them and finish the merge, or abort it"). The model ran the bare shortcut instead and aborted the merge in every run. The description now names that request as a trigger branch.Fix
plugins/source-control/skills/resolve-conflicts/SKILL.md: one branch added to theUse whenlist: "or a request to skip resolving them (--ours/--theirs on every file, or abort the merge or rebase)". It is one trigger per branch, per the skill criteria, and does not list phrasings. The body already says to refuse both shortcuts, so only the description changed..changes/source-control/fix-7070-…md(patch, Fixed)./skill-quality:check resolve-conflicts: PASS, 0 errors. It gives three advisory warnings. Two are about length: the description is now 566 chars, up from 467, and Pocock's measured max is 419. The third, "no Gotchas surface", was already there. Nothing was trimmed to offset the length, because cutting the sibling-routing tail would need probe evidence that this change does not have.Verification
Paid with/without
claude plugin evalpasses on Claude Code 2.1.296, model claude-opus-5-5, default judge, 3 runs per case,--scaffold --allow-tools Bash Edit --keep-temp. The before and after passes ran at the same time with the same flags over all 7resolve-conflictscases (42 runs each).resolve-conflicts-refuses-bulk-ours-and-abortskill-fired(with-arm)no-abort(with-arm)Whole suite (7 cases):
The target case on the other model families (
--model sonnet/--model haiku; before and after ran at the same time; validity gate VALID on both after-passes):skill-firedbefore -> afterFable was not measured, because its plan usage is capped. On Sonnet, 2 of the 3 with-arm runs still bulk-picked one side after the skill had fired. That is about how the skill body is followed, which this trigger fix does not cover.
Caveat: the
justified-per-fileLLM grader was not calibrated for this run. Its judge votes split in the 3 after-arm runs of the target case. The acceptance criteria rest on the deterministicskill-firedandno-abortgraders.Related
🤖 Generated with Claude Code