Skip to content

refactor(source-control)!: remove resolve-conflicts in favour of the pull-request conflict mode - #13256

Merged
kyle-sexton merged 3 commits into
mainfrom
refactor/remove-resolve-conflicts-skill
Nov 4, 2026
Merged

kyle-sexton merged 3 commits into
mainfrom
refactor/remove-resolve-conflicts-skill

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

Closes #13197
Refs: #13199 (delivers done-when item 1; item 2 is in Remaining)

Summary

Removes the standalone /source-control:resolve-conflicts skill and its ten eval cases, and points every reference at /source-control:pull-request, which now holds conflict resolution: ready's base merge ("Resolve a conflicted merge") for attended work and conflicts --ci for the pr-unblock lane (#13137). The pr-unblock activity keeps its resolve-conflicts name and config; only the skill and references to it change.

Fix

  • Delete plugins/source-control/skills/resolve-conflicts/ and the ten plugins/source-control/evals/resolve-conflicts-* cases.
  • plugins/source-control/README.md: drop the skill's section and contents entry; the pull-request section gains a ready bullet covering conflict resolution and conflicts --ci.
  • plugins/source-control/.claude-plugin/plugin.json description, then the regenerated docs/catalog.md and docs/skill-cheat-sheet.md.
  • The control skill's source-control feature list drops the skill.
  • /work-items:ship run and its eval resolve an integration-branch conflict under /source-control:pull-request ready's base-merge rules.
  • docs/upstream/mattpocock-skills.md: the implement-spec row's conflict route, and the resolving-merge-conflicts row now records the removal (owner decision in refactor(source-control)!: remove resolve-conflicts in favour of the pull-request conflict mode #13138) instead of "keep ours pending an eval".
  • Fragments: major for source-control (a skill is removed), patch for work-items.

ADRs 0048 and 0051 still mention the skill; they are point-in-time records and stay as written.

Verification

  • rg -n 'source-control:resolve-conflicts' plugins docs .github --glob '!**/CHANGELOG.md' --glob '!.changes/**': no matches.
  • node --test '.github/scripts/pr-unblock/*.test.mjs': 1326 of 1326 pass.
  • scripts/validate-plugins.sh: pass (marketplace, catalog and cheat sheet in sync).
  • scripts/check-changelog-fragments.sh --check, scripts/check-skill-count-claims.sh, scripts/check-line-citations.py, scripts/check-changed-skills.sh origin/main: pass.
  • markdownlint on the touched markdown: 0 issues.
  • scripts/affected-tests.sh --run: every selected suite passes except permission-rule-check.test.sh (harness-config, untouched here). Its fixtures read as invalid JSON locally, which looks like this machine's jq shim under the test's fixture HOME; the cause is unconfirmed, and CI runs it on its own runner. The selected Node suites (315) and Python suites (45) were run separately and pass.

Remaining

Related

🤖 Generated with Claude Code

kyle-sexton and others added 3 commits November 4, 2026 09:17
…pull-request conflict mode

Delete the standalone resolve-conflicts skill and its ten eval cases.
Conflict resolution now lives in /source-control:pull-request: ready's
base merge ("Resolve a conflicted merge") for attended work and
conflicts --ci for the pr-unblock lane. The pr-unblock activity keeps
its resolve-conflicts name.

Repoint every reference to the skill: the source-control README,
plugin description, generated catalog and cheat sheet, the control
skill's source-control feature list, /work-items:ship run and its eval,
and the mattpocock-skills upstream record.

BREAKING CHANGE: /source-control:resolve-conflicts is removed; use
/source-control:pull-request ready or conflicts --ci.

Closes #13197
Closes #13199

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…n the fragments

The pre-push reference check resolves every slash-form skill reference
in a fragment, and the removed skill no longer resolves.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 4, 2026 14:21
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-04T14:23:51.988076Z 2c0403f Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 2c0403f98c7f1570727bf20bb3a94bc84da85cbf: read 10 of 10 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #13256 (remove resolve-conflicts skill)

I found no security issues.

Scope: I read every hunk of all 10 listed files. The diff also deletes plugins/source-control/skills/resolve-conflicts/ and its ten eval cases entirely. I treated those deletions as removed instructions and checked them below.

  • Trusted path .claude/skills/control-claude-code-plugins/features/source-control/README.md: this change removes one line from a list of the plugin's parts. It gates nothing and widens nothing.
  • Manifest (plugins/source-control/.claude-plugin/plugin.json):
    • manifest description: pass. Only the inert description field changed. No hooks, mcpServers, userConfig, dependencies or other field that runs code was added, changed or removed.
  • Removed instructions (the skill's body and its rules: intent-first resolution, no --ours/--theirs picking, never --abort, a semantic-conflict sweep, build and test before --continue):
    • None of these rules enforce a security boundary. They are rules for resolving a merge correctly.
    • The same rules still exist at head in plugins/source-control/skills/pull-request/SKILL.md, reference/ready-for-review.md and reference/conflicts-ci.md.
    • Removing a skill can only shrink what a session can invoke.
    • The pr-unblock activity keeps its resolve-conflicts name; only its skill moves.
    • A search of the head tree finds no reference to source-control:resolve-conflicts outside CHANGELOG files, so no lane allowlist or activity still points at the deleted skill.
    • I did not open docs/contracts/instruction-exception-register/README.md. I judged the removed rules by what breaks without them: they guard merge correctness, not credentials, trust, scope or anything that bills.
  • Other files (docs/catalog.md, docs/skill-cheat-sheet.md, docs/upstream/mattpocock-skills.md, the two changelog fragments, plugins/source-control/README.md, plugins/work-items/skills/ship/actions/run.md and its evals.json): documentation and routing text only. None of them touches a token, a trusted actor, a kill switch, a merge hold or a lane's input.
  • Throughput-phase holds: this PR removes none of the owner's named friction holds.
  • Embedded text: the PR description and the closing issues contain no instruction aimed at this lane.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

claude-review reviewed 2c0403f98c7f1570727bf20bb3a94bc84da85cbf: read 10 of 10 changed file(s); 0 finding(s), 0 as inline comments.

Code review: PR #13256, remove resolve-conflicts in favour of the pull-request conflict mode

No findings. I read every hunk of all 10 listed files. I also checked the headers of the deleted resolve-conflicts skill and its ten eval cases, which the diff removes whole.

Closing issues

Where the work now lives

pr-pipeline.yaml:30-39 and docs/conventions/pr-pipeline/examples/claude-code-plugins.yaml:73-75 already point the resolve-conflicts activity at source-control:pull-request with conflicts --ci, so the ordering after #13198 holds. The new README ready bullet and the ship run.md wording match the rules in ready-for-review.md, section "Resolve a conflicted merge": intent before edits, no --ours/--theirs, --abort is not a resolution, and the semantic sweep.

Path-scoped rules

  • .claude/rules/skill-bodies-state-current-rules.md: no ## Next section anywhere still names the removed skill, and the run.md edit states the current rule.
  • .claude/rules/eval-case-transcripts.md: the eval edit is synthetic text only.

Manifest

  • manifest description: pass. It drops /resolve-conflicts and adds "conflict resolution" under /pull-request. The docs/catalog.md line matches it, and the marketplace entry has no reference to the skill.
  • manifest version (fragment bump): pass. It is major for removing a skill. The work-items fragment is a patch bump for a reworded route.
  • manifest keywords: pass. merge-conflict still describes /pull-request.

Other notes

  • No prior findings and no settled threads. This is a full review, not a blocking-only one.
  • No embedded instructions in the PR context.
  • No spend change.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 4, 2026
@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

The pr-verify verifier failed head 2c0403f98c7f1570727bf20bb3a94bc84da85cbf. What it wrote, as data:

What it wrote (56 lines)
Summary: Whole spec, fail: PR #13256 closes #13197 and #13199, and both issues have trusted body
  text. Taken together, chunks 1 and 2 deliver #13197 in full. The skill directory (`SKILL.md` and
  `evals/evals.json`, chunk 2) and all ten `resolve-conflicts-*` eval cases (nine in chunk 1, the
  tenth split across chunks 1 and 2) are deleted, and the major source-control changelog fragment is
  in chunk 1. They also deliver #13199 item 1 in full: chunk 1 updates the README, the cheat sheet
  and `mattpocock-skills.md`, and chunk 2 updates `ship/actions/run.md` and its eval. The manifest
  is consistent with every one of these claims. #13199 item 2 is not plainly delivered. Chunk 1 says
  outright that it cannot tell whether test-node ran the pr-unblock suites. Chunk 2 reports only
  that the test-node job succeeded, without tying it to `node --test
  '.github/scripts/pr-unblock/*.test.mjs'`. Both chunks confirm the `rg` check only for the files
  they changed. Neither confirms the whole-repo search comes back empty, including files this PR
  does not touch, such as the pr-unblock config and its tests that depend on #13198. I found no text
  in the chunk results that tries to steer the verdict.
Chunk 1 of 2, pass: Chunk 1 of 2 for PR #13256, which closes #13197 and #13199. I read all 21 diff
  parts and the 3 manifest parts whole. #13197 item 1 (remove the skill and its ten eval cases) is
  delivered in part here: nine `plugins/source-control/evals/resolve-conflicts-*` case directories
  are deleted in full, along with most of the tenth
  (`resolve-conflicts-revert-concludes-with-revert-continue`). That case's last three samples and
  scaffold.sh, plus `plugins/source-control/skills/resolve-conflicts/` itself, are in chunk 2, so I
  do not claim them. #13197 item 2 (a major changelog fragment for source-control) is delivered in
  full: `.changes/source-control/refactor-remove-resolve-conflicts-skill-ed5d6646.md` is `bump:
  major` with a Removed entry. #13199 item 1 (update the listed references) is delivered in part.
  The `plugins/source-control/README.md` section and contents entry are dropped, and a `ready`
  bullet now covers conflict resolution and `conflicts --ci`. The
  `/source-control:resolve-conflicts` row is gone from `docs/skill-cheat-sheet.md`. In
  `docs/upstream/mattpocock-skills.md`, the implement-spec row now sends conflicts to
  `/source-control:pull-request`'s base-merge rules, and the `resolving-merge-conflicts` row records
  the owner's removal decision (#13138) instead of "keep ours pending an eval". `plug
Chunk 2 of 2, pass: Chunk 2 of 2 for PR #13256, which closes #13197 and #13199. Both issues have
  trusted body text.

#13197, item 1 (remove `plugins/source-control/skills/resolve-conflicts/` and the ten
  `resolve-conflicts-*` eval cases): this chunk delivers part of it. It deletes
  `skills/resolve-conflicts/SKILL.md`, `skills/resolve-conflicts/evals/evals.json`, and the last
  files of the `resolve-conflicts-revert-concludes-with-revert-continue` case (three samples and
  `scaffold.sh`). The manifest puts the other nine cases and the rest of the revert case in chunk 1.
  Each deletion here is a whole-file deletion, and none leaves a dangling file in this chunk.

#13197, item 2 (the major changelog fragment for source-control): not in this chunk. The manifest
  lists it in chunk 1.

#13199, item 1: this chunk delivers the part about
  `plugins/work-items/skills/ship/actions/run.md:81` and its eval. Both now send an
  integration-branch conflict to `/source-control:pull-request ready`'s base-merge rules ("both
  sides' intent first") instead of `/source-control:resolve-conflicts`. The rewording keeps the
  instruction to compose both sides' intent. The README, cheat-sheet and mattpocock-skills parts of
  that item are in chunk 1.

#13199, item 2: no `source-control:resolve-conflicts` reference is left in the files this chunk
  changes
- #13199 done-when item 2: no chunk plainly confirms that `node --test
  '.github/scripts/pr-unblock/*.test.mjs'` exited 0 in this PR's CI (chunk 1 says it cannot settle
  this; chunk 2 only says the test-node job succeeded), or that the whole-repo `rg -n
  'source-control:resolve-conflicts' plugins docs .github ...` returns nothing beyond the changed
  files. Show the pr-unblock suites running and passing in CI on head 2c0403f, and the repo-wide rg
  returning nothing, for example by adding an explicit CI step or check for both.

This pull request leaves the merge queue, and ci-status holds it out while it carries pr-verify-failed. A pr-verify pass removes the label, at a new commit or at this same head: once a trusted person edits the body, and only trusted people have edited it since the fail, this head is judged again, so a fail on the body or the issues it links needs only the body fixed, no new commit.

@github-actions github-actions Bot added the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Nov 4, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 4, 2026
@kyle-sexton

Copy link
Copy Markdown
Member Author

Evidence for #13199 item 2, which the pr-verify note above could not see.
Agent choice, not an owner answer.

Both checks were run on this PR's head 2c0403f98c7f1570727bf20bb3a94bc84da85cbf, in a checkout of that commit:

  • rg -n 'source-control:resolve-conflicts' plugins docs .github --glob '!**/CHANGELOG.md' --glob '!.changes/**' over the whole tree, including files this PR does not touch: no matches (exit 1).
  • node --test '.github/scripts/pr-unblock/*.test.mjs': tests 1326, pass 1326, fail 0.

The verifier's note says chunks 1 and 2 deliver #13197 in full and #13199 item 1 in full. Item 2's evidence is above, so every criterion of both issues is met at this head.

@github-actions github-actions Bot removed the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Nov 4, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 4, 2026
Merged via the queue into main with commit 9b3f10f Nov 4, 2026
86 of 87 checks passed
@kyle-sexton
kyle-sexton deleted the refactor/remove-resolve-conflicts-skill branch November 4, 2026 15:05
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.

refactor\(source-control\)!: remove resolve-conflicts in favour of the pull-request conflict mode - part 1 of 3

1 participant