Repository navigation
chore(claude-lanes): re-pin callers to ci-workflows v0.14.0 - #374
Merged
Merged
Conversation
Carries by hand what claude-lanes-repin cannot open for itself: its App installation lacks workflows:write, so the job now reaches its token step and fails there (#373). The caller half is byte-identical to the script's own output — produced by running `repin-callers.sh apply v0.14.0 62bef7ba` rather than editing the pins by hand. The runner-policy half is the human one the lockstep step deferred: ::warning::`select-runner.yml` changed between revisions; claude-review.yml inputs changed; claude-security-review.yml inputs changed — policy lockstep deferred to a human. Reviewed, and approved on a narrower basis than the copy-forwards before it, because this is the first revision in the sequence whose selector is NOT byte-identical: - select-runner.yml gains one optional input (`billing-minutes-state`, default empty) and a `prefer-hosted-while-free` policy value. Neither reaches a caller: the components' `with:` blocks are unchanged, and the new input is absent from canonicalSelectorInputs and its optional sibling, so no caller can pass it without its own review. - Both lane contracts copy forward unchanged. The lanes gain only additive optional inputs (plugins, plugin-marketplaces, plugin-command, pr-number) — none required, none passed by the components — with secret key sets, allowedCallerPermissions, and routing surface identical. Verified locally, not asserted: `npm run test:runner-policy` (264 pass, 0 fail), `CI_REPOSITORY_VISIBILITY=public npm run lint:runner-policy` ("Runner policy passed"), and `npm run lint:md` (0 issues). Refs #373 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_019HbUs7Pnukq4rrLWw2Y25z
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
kyle-sexton
added a commit
to melodic-software/claude-code-plugins
that referenced
this pull request
Aug 12, 2026
## Summary Re-pins this repository's `claude-review` and `claude-security-review` callers from ci-workflows v0.12.0 to **v0.14.0** (`62bef7bab01e8532fedfa739879034a210e9e67d`). Needed by hand because this repo holds **both** callers as `locally-owned` in the standards sync manifest, so the fleet cascade cannot re-pin them — it delivered only `.github/standards/runner-policy/policy.json` (#2495). dotfiles, github-iac, medley, and provisioning each got their `claude-review.yml` pin bumped automatically; this repo did not, and it is the one where the failure is visible. v0.14.0 carries the `allowed_bots` fix (melodic-software/ci-workflows#442, delivered through melodic-software/standards#374) that admits `cursor[bot]` to both lanes. ## What this fixes `anthropics/claude-code-action` rejects any non-`User` actor absent from `allowed_bots`. Both lanes named only `dependabot[bot]`, so every event whose `github.actor` is `cursor[bot]` hit: ``` Workflow initiated by non-human actor: cursor (type: Bot). Add bot to allowed_bots list or use '*' to allow all bots. ``` The security caller in this repo already predicted the consequence in its own comment: > for an actor the reusable's `allowed_bots` does not permit, the action throws and this lane's fail-closed mapping turns that into a RED required check no push can fix — a merge block, not an extra review Measured, not assumed: **15 of the last 100 `pull_request` runs** of `claude-security-review` failed, every one with a `cursor[bot]` actor, each on `Verify security-review execution evidence` reporting `succeeded in 25s (<45s) with no execution evidence` (#2337). The `claude-review` lane failed silently over the same window — its action step is `continue-on-error`, so the job read green while no review ran. ## What is deliberately NOT changed `skip-actors` stays as it is. `cursor[bot]` should be **reviewed**, not skipped, and the two levers are different: `allowed_bots` (upstream, in the reusable) decides whether the action runs at all; `skip-actors` (here) decides whether this repo wants a review for that actor. Only the former was wrong. Per the standing comment on that line, removing a name there is never a one-line change. ## Verification - Ordering verified rather than assumed: with these pins applied against the **pre-sync** `policy.json`, `CI_REPOSITORY_VISIBILITY=public node .github/standards/runner-policy/runner-policy.mjs --root .` fails both jobs with `runner-target-contract: the reusable workflow path@SHA has no reviewed runner-input contract`. After #2495 merged and this branch was rebased onto it, the same command reports `Runner policy passed.` That is why this PR is sequenced after #2495 rather than opened alongside it. - The v0.14.0 contracts it validates against were reviewed in melodic-software/standards#374: both lane contracts copy forward unchanged (the new lane inputs `plugins`, `plugin-marketplaces`, `plugin-command`, `pr-number` are optional and unpassed), and no secret, caller permission, or routing surface changes. **Not verified here, and cannot be from this PR:** that a `cursor[bot]`-triggered event now actually gets reviewed. That needs this merged and one bot-triggered run afterwards. I will record that proof on melodic-software/ci-workflows#441. ## Related No linked issue — fleet re-pin delivering melodic-software/ci-workflows#442; this repo has no tracking issue of its own for it. Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Re-pins the Claude lane caller components (and this repo's own review caller) from ci-workflows v0.12.0 to v0.14.0 (
62bef7ba), and completes the runner-policy half the automated lockstep deferred to a human.Carried by hand because
claude-lanes-repincannot open this PR for itself: its App installation lacksworkflows: write, so the job now reaches its token step and fails withThe permissions requested are not granted to this installation(#373). The caller half here is the script's own output — produced by runningrepin-callers.sh apply v0.14.0 62bef7ba, not by editing pins by hand.Delivery matters right now because v0.14.0 carries the
allowed_botsfix (melodic-software/ci-workflows#442) that unblocksclaude-security-reviewon everycursor[bot]-triggered PR; until this lands, consumers stay pinned to v0.12.0 and keep failing that required check.Fix
Five files, matching the automated job's
add-pathsplus the README record it leaves to a human:components/claude-lanes/claude-review.yml,components/claude-lanes/claude-security-review.yml— selector and lane pins to62bef7ba(script output).github/workflows/claude-review.yml— this repo's own caller pincomponents/runner-policy/policy.json— selector allowlist entry, selector input contract, and both lane contracts at the new SHAcomponents/runner-policy/runner-policy.test.mjs—BILLING_AWARE_ROUTING_LANE_SHAconstant plus its two allowlist assertionscomponents/runner-policy/README.md— rollout recordWhy the policy half needed a human, and what I concluded
The lockstep script deferred with:
This is the first revision in the sequence whose selector is not byte-identical, so it does not get the copy-forward reasoning the previous records used:
select-runner.ymlgains one optional input,billing-minutes-state(default empty), and aprefer-hosted-while-freepolicy value that routes the selector job onto the managed runner and treats an empty selection as an error instead of silently falling back to hosted (ci-workflows#439). Neither reaches a caller here: the components'with:blocks are unchanged, andbilling-minutes-stateappears in neithercanonicalSelectorInputsnoroptionalCanonicalSelectorInputs, so no caller can start passing it without its own review.plugins,plugin-marketplaces,plugin-command,pr-number— none required, none passed by the components. Secret key sets,allowedCallerPermissions, and routing surface (runs-on: ${{ inputs.runner }}in both) are identical.No privilege widens in this revision.
Verification
Run locally in this worktree — these are commands I ran, not a description of what CI will do:
npm run test:runner-policy-> 264 pass, 0 fail (includes the two allowlist assertions this PR extends)CI_REPOSITORY_VISIBILITY=public npm run lint:runner-policy->Runner policy passed.npm run lint:md->0 issues in 0 filesacross 112 filesrepin-callers.sh applyreportedchanged=true,old-sha=734158c…,old-tags=v0.12.0, and the version noteSame major version as the pin it replaces (v0.12.0 to v0.14.0)Not verified here, and cannot be from this PR: that a
cursor[bot]-triggered event actually gets reviewed on a consumer. That needs this merged,standards-syncto cascade, the consumer PRs merged, and one bot-triggered run. I will record that proof on melodic-software/ci-workflows#441.Related
No linked issue — this is the routine re-pin the
claude-lanes-repinjob would have opened on its own; it closes nothing. Refs #373, the App grant that stops that job opening it.Merging this fires
standards-syncon push tomain, which opens the caller re-pin PRs across the consuming repositories.