Repository navigation
chore(distribution): arm sync automerge for agent-plugins, cursor-plugins and claude-code-proxy - #524
Conversation
…gins and claude-code-proxy All three now carry the four ci-gate contexts on main (agent-plugins#11, cursor-plugins#24, claude-code-proxy#214), each verified by an empty-commit probe PR showing pr-title, do-not-merge, pr-issue-linkage and ci-status SUCCESS, and github-iac#367 extends the org ci-gate ruleset to them. The removal trigger recorded on each `automerge: false` key has fired, so the keys go and the codex-plugins note no longer describes lone coverage. Co-Authored-By: Claude Fable 5.1 <[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 23s —— View job Code review complete
The three per-target rewrites ( Finding (not anchorable to a changed line — see contract note)Stale preamble now contradicts the file it introduces. distribution/sync-manifest.yml#L322-L328, just above
This block wasn't touched by this PR, but the PR removes the last three No other issues found in the diff itself — the mechanical edits (comment removal + |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 769c695f71
ℹ️ 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 has reviewed this PR 1 time. The lane skips further automatic reviews after 5; deleting this comment resets the count. |
|
Held with |
…ion (#593) Refs: melodic-software/github-iac#528 No related issue: follow-up recorded on the disarmed target's own comment in sync-manifest.yml; its removal trigger has fired. Same shape as #524, which armed the previous three. **Draft, and deliberately so: this depends on melodic-software/github-iac#528 being merged AND applied (`pulumi up`, dispatched by a human as `github-iac-production-deploy-v1` from `main`). Merging this first would arm sync pull requests into a repository the org `ci-gate` ruleset does not yet cover, which is exactly the defect the `automerge: false` key existed to prevent.** Before marking this ready: set the `Armed as of` date in the target comment to the date github-iac#528 is applied. The sibling targets date that line by their apply day (2026-09-04, when github-iac#367 applied); the 2026-09-22 written here is the day the emitter landed and this branch was cut. ## Summary `melodic-software/claude-code-account-rotation` was the last sync target carrying `automerge: false`. The key was there for one stated reason: the repository sat outside the org `ci-gate` ruleset until github-iac flipped its `requires-ci`, so an armed sync pull request would have merged with nothing gating it. The stated removal trigger was that flip, in the change that lands the `ci.yml` emitting `ci-status`. Both halves have now happened. claude-code-account-rotation#95 landed the `ci.yml` whose `ci-status` job aggregates every lane and carries the pull-request contract as steps of that one check, and github-iac#528 flips `RequiresCi: true` so the property-gated `ci-gate` ruleset makes `ci-status` required there. ## Fix - Remove the `automerge: false` key and its disarm rationale from the `melodic-software/claude-code-account-rotation` target. Removal rather than `automerge: true`: the manifest documents absent-means-true as opt-out policy-as-data (`distribution/sync-manifest.mjs`, "Absent means true"; `distribution/README.md` "Ownership model"), so the target inherits the fleet default arming. - Replace it with the dated arming evidence each sibling target carries, which is the shape the file's own header comment requires ("their keys were dropped with the dated evidence recorded at each target"). No other key changes. The file header's "No per-target opt-out remains" line becomes true again with this removal, so it needs no edit. ## Verification - `bash distribution/sync-manifest.sh validate` — `Manifest valid: 35 components, 13 targets`, exit 0, with the edited manifest staged. - `bash distribution/sync-manifest.test.sh` — 308 PASS. The 7 failures are pre-existing on unmodified `main` in this Windows checkout (symlink rejection, Git index-inspection failure injection, and the two call-batching instrumentation assertions); `main` fails the same 7 plus 4 more that a `npm ci --prefix distribution` in this branch's worktree resolves. No failure is attributable to this change. - `bash harness/shell/run-tests.sh distribution/check-claude-settings-targets.test.sh` — one failure, case [5], byte-identical on unmodified `main`. - `grep -c "automerge: false" distribution/sync-manifest.yml` — 0, the post-restore check #299 pre-registered for this shape. - lefthook `pre-commit` (editorconfig, typos, gitleaks) clean. ## Related - melodic-software/github-iac#528 and #527 — the `requires-ci` flip this waits on. Do not mark this ready before that apply lands. - melodic-software/claude-code-account-rotation#95 (issue #93) — the `ci.yml` that emits `ci-status`. - #524 — the same change for `agent-plugins`, `cursor-plugins` and `claude-code-proxy`, and the precedent for the arming-evidence comment. - `runner-policy` enrollment for this target is deliberately NOT in this PR. The entry's own comment names the requires-ci flip as the moment to take it up, and it is warranted: `distribution/README.md` "Runner-policy consumer handoff" makes the enrolled set an adoption list rather than a visibility class, `claude-code-plugins` is the public precedent, and the hosted-only shape (`selfHostedCi: false`, `exceptions: {}`, a fixed `ubuntu-24.04` gate job) is explicitly supported. It stays out because the README requires the repo-local `.github/runner-policy.json` and the gate job to land in the target's own integration PR in the same change that adds the component here; today that repository's `.github/` contains only `workflows/`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Refs: melodic-software/github-iac#367
No related issue: follow-up recorded on each disarmed target's own comment in sync-manifest.yml; its removal trigger has fired.
Summary
Drops
automerge: falsefrom the three Phase 4 sync targets that were disarmed only because their default branches carried no required status checks: agent-plugins, cursor-plugins and claude-code-proxy. Each now emits the four ci-gate contexts, and github-iac#367 makes them required.Fix
automerge: falsekeys and replace each "Disarmed" comment with the dated evidence that armed it.Merge order: after github-iac#367 is merged and deployed, so the first armed sync PR into each repository is gated by the four required contexts from the start.
Verification
bash distribution/sync-manifest.test.sh: 312 PASS, 0 FAIL, with the edited manifest.pr-title / pr-title,do-not-merge / do-not-merge,pr-issue-linkage / pr-issue-linkageandci-statusSUCCESS after the callers landed on main.gh api repos/melodic-software/<repo>/rules/branches/mainlists the four contexts underrequired_status_checksfor all three.Related