Skip to content

docs(target-scope): list each adopter in its own file so adopter PRs stop conflicting - #17466

Merged
kyle-sexton merged 4 commits into
mainfrom
docs/target-scope-adopter-files
Nov 19, 2026
Merged

kyle-sexton merged 4 commits into
mainfrom
docs/target-scope-adopter-files

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

No related issue: a merge-friction fix found by the hub monitor. It serves the open target-scope adopter issues (#17230 to #17247) and closes none of them.

Summary

#17398 moved the target-scope Adopters table into one shared file, docs/contracts/target-scope/adopters.md. Every adopter PR still appends a row at the end of that table, so any two open adopter PRs conflict there. On 2026-11-19, #17295, #17302, #17358, #17360, #17362, #17418 and #17419 each needed main merged in at least once, and each merge voided the PR's rating and pr-verify result. #17362, #17419 and #17358 were UNMERGEABLE in the merge queue.

A second conflict sits in the same PRs: each one adds its copy's scripts/shared-copies.txt line after the last target-scope line. That file is merge=union, but GitHub's server-side merge ignores the attribute. A probe on 2026-11-19 (two scratch branches each adding a line at that spot, then POST /repos/.../merges) returned 409 Merge conflict.

Fix

  • One file per adopting plugin: docs/contracts/target-scope/adopters/<plugin>.md, holding that plugin's rows from the old table, copied verbatim. adopters.md is deleted. Nothing generates or aggregates the files. A committed aggregate would be a shared, contended file again, and nothing machine-reads the list: the only readers of adopters.md were the README's ## Adopters pointer and its plugin-shipped copies.
  • The README's ## Adopters section now says to add a file, never a table row. That is the text the adopter lanes follow.
  • The README's ## Plugin-shipped copies section asks an adopter to put its shared-copies.txt line at its alphabetical place among the target-scope lines, and this change sorts those lines. The registry format is unchanged, because about 15 readers parse it directly.
  • The 8 copies are regenerated, with one patch fragment per carrying plugin.

Residual: two adopters whose copy lines sort into the same gap still conflict in shared-copies.txt. For the 13 queued adopter plugins, that is 6 of 66 pairs, down from 66 of 66. Lines one line apart merge cleanly (simulated below).

Verification

  • Test first. .work/adopter-merge-sim.sh (local) builds two synthetic adopter commits off a base and merges them with merge drivers off, as GitHub does:
    • on origin/main, using the table form: conflicts in adopters.md and shared-copies.txt (red);
    • on this branch, using files plus sorted insert: harness-config with testing merges clean, and so does codebase-health with discipline, whose lines are one line apart (green);
    • harness-config with harness-memory, which share a gap, conflicts in shared-copies.txt only: the residual above.
  • scripts/sync-shared-copies.sh --check: "All 977 registered copies match their canonical sources."
  • scripts/sync-shared-copies.sh --check-bump origin/main: "every carrying plugin bumped its version."
  • scripts/check-changelog-fragments.sh --check-required origin/main: 8 of 8 changed plugins have a fragment.
  • markdownlint-cli2 on the 17 changed markdown files: 0 issues. The pre-push check-affected passed.

No eval case reads the changed text.

Related

🤖 Generated with Claude Code

https://claude.ai/code/session_01KeBVgbERyakZ33T4AetfRj

…stop conflicting

The target-scope Adopters table was one shared file (adopters.md) that
every adopter PR appended a row to, so any two open adopter PRs
conflicted there. Each plugin now has its own file under
docs/contracts/target-scope/adopters/, and the README tells an adopter
to register its copy at its alphabetical place in shared-copies.txt,
which this change sorts.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KeBVgbERyakZ33T4AetfRj
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 19, 2026 16:22
@chatgpt-codex-connector

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

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-19T16:24:26.106533Z 9f0e0fc 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

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/fix-docs
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none (read lane)
Run 44565850488

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 0423e779add8ac6cd089d672646af4c994b47ce1: read 29 of 29 changed file(s); 0 finding(s), 0 as inline comments.

Security review: no security issues found

This was a blocking-only review: the lane already reviewed an earlier head, so only CRITICAL and IMPORTANT findings would be reported. I found none.

The change is documentation only. It deletes the shared target-scope Adopters table (docs/contracts/target-scope/adopters.md) and moves its 17 rows, unchanged, into 9 files under docs/contracts/target-scope/adopters/, one file per adopting plugin.

What I checked

  • docs/contracts/target-scope/README.md and its 9 byte-identical copies at plugins/*/reference/target-scope.md: only the ## Adopters and ## Plugin-shipped copies paragraphs change. They now say to add a file for each plugin and to put a copy's registry line in alphabetical order. No rule is removed, narrowed or softened, so no deleted instruction needed checking against the instruction exception register. Every copy is a reference/ doc. It is not a hook, manifest, settings or workflow path, so the same content does the same thing at each path.
  • scripts/shared-copies.txt: two lines move (code-metrics and work-items) to sorted places among the target-scope lines. The source-to-copy pairs are the same set as before, so the sync script reads and writes no new path.
  • .changes/* fragments: 9 identical changelog notes asking for a patch bump. They are text only.

Not touched: no workflow, action, script, trust control, merge hold, token scope, kill switch, hook or plugin manifest. No changed file matches a trusted-path glob.

Prior findings: this lane's earlier summary on head edca1fff found no issues, so there is nothing to carry forward.

PR context: it contains no embedded instructions aimed at the review lane.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 0423e779add8ac6cd089d672646af4c994b47ce1: read 29 of 29 changed file(s); 0 finding(s), 0 as inline comments.

Code review: no blocking findings. This review covered blocking issues only, because this lane already reviewed an earlier head (edca1fff). The new head (0423e779) is a merge from main. The PR's diff is unchanged in substance: 9 adopter plugins, 9 copies regenerated and 9 patch fragments.

What I checked:

  • Rows carried over. Each of the 17 rows in the deleted docs/contracts/target-scope/adopters.md appears word for word in exactly one of the 9 new adopters/<plugin>.md files. No row was dropped or duplicated.
  • Registry order. The target-scope lines in scripts/shared-copies.txt are now in alphabetical order. code-metrics moved ahead of coupling and work-items moved after repo-hygiene. No line was added or lost.
  • Copies. All 9 plugins/*/reference/target-scope.md copies carry the same hunk as the README's ## Adopters and ## Plugin-shipped copies sections.
  • Fragments. The 9 .changes/* fragments are identical, and each declares bump: patch. That fits a wording change to a shipped reference doc.
  • Closing issue. The PR closes no issue, so there were no acceptance criteria to check.
  • Embedded instructions. The PR text tells the lane nothing about how to review.
  • Verification. The merge simulation and the sync-shared-copies.sh and changelog-fragment checks are the author's claims. I could not run them, so they are unverified.

Other notes:

  • Loosened checks. The prompt had no loosened_check_verdict:, loosened_check_patterns: or loosened_check_decision_record: lines. I used the default fail with no consumer entries and did not check the citation requirement. Loosened-check verdict: fail (the default; nothing in this diff loosens a check).
  • Manifests. No plugin.json or marketplace.json changed, so no manifest lines apply.
  • Spend. The change adds no new spending.

Verifier dropped 0 of 0 candidates.

Move the /work-items:scan-todos row from #17358 into its own
adopters/work-items.md, keep the target-scope registry lines sorted, and
add the work-items fragment for its regenerated copy.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KeBVgbERyakZ33T4AetfRj
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

The pr-unblock lane stopped resolve-conflicts on this pull request: the lane could not resolve every conflict. The lane sets no label: the run ends in a failing pr-unblock/conflict status on the head the lane gated.

When a retry on this head can change the outcome, the lane runs one on its own, up to its per-head cap, and edits this comment if it stops again; a run that does not stop clears the status. When no retry can (a review thread the lane does not take or settle, or a failing check after the retries are spent), a person resolves the threads or gets the checks green, then dispatches the workflow below: that run finds the cause gone and clears the status. On a pull request the lanes App opened, the dispatchers start that run once per stop; on any other, a person does. A new commit to the branch starts clean.

To run it again on this head now, dispatch the pr-unblock workflow:

gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=17466 -f activity=resolve-conflicts

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/report-escalation
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none recorded
Run 44578717992

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 19, 2026
Merged via the queue into main with commit 2df8f80 Nov 19, 2026
53 checks passed
@kyle-sexton
kyle-sexton deleted the docs/target-scope-adopter-files branch November 19, 2026 18:55
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant