Repository navigation
chore(claude-lanes): re-pin callers to ci-workflows v0.66.0 - #895
Merged
Merged
Conversation
ghost
force-pushed
the
chore/repin-claude-lanes
branch
2 times, most recently
from
October 28, 2026 14:45
353ad3b to
f1fcd59
Compare
Co-Authored-By: claude-lanes-repin <[email protected]>
ghost
force-pushed
the
chore/repin-claude-lanes
branch
from
October 28, 2026 22:14
f1fcd59 to
09f6f35
Compare
…step The lockstep writer serializes with JSON.stringify, which expands the short allowedInputs arrays biome keeps inline, failing check-typescript. Co-Authored-By: Claude Opus 5.5 <[email protected]>
kyle-sexton
added a commit
that referenced
this pull request
Oct 29, 2026
…tatus job reads (#900) Refs: melodic-software/claude-code-plugins#9635 ## Summary This PR registers the reviewed `pr-review-cli.yml` contract at the [ci-workflows v0.66.1](https://github.com/melodic-software/ci-workflows/releases/tag/v0.66.1) tag (`20a822d73b6e2d7e21d48e609a01b427e0e161e7`), so callers can pin that release. Auto-approval declines it today: "jobPermissions changed since the previously reviewed ...pr-review-cli.yml@3180217". The change is [ci-workflows#904](melodic-software/ci-workflows#904): the status job adds `actions: read` and `checks: read` so the cost hold can read its earlier runs' check-run notices. The owner approved those read-only scopes for this lane (claude-code-plugins#9635, Q1(a)). ## Fix - `policy.json`: the v0.66.1 `pr-review-cli.yml` entry copies its v0.65.14 (`3180217`) entry forward unchanged. A hosted-only contract has no field for caller permissions (the schema refuses `minimumCallerPermissions` without `runnerInput`), so the reviewed change is recorded in the README and test, not in the entry. - `README.md`: one paragraph on the v0.66.1 contract and the reviewed permission change. - `runner-policy.test.mjs`: a test that the v0.66.1 entry equals the v0.65.14 entry. ## Verification - Surface diff of `pr-review-cli.yml` between `3180217` and `20a822d` (comments excluded): the status job's `actions: read` and `checks: read` lines and one `STATUS_JOB` step env value. `on.workflow_call` inputs, secrets and `runs-on` do not change. - `node --test components/runner-policy/runner-policy.test.mjs components/claude-lanes/repin-policy-lockstep.test.mjs`: 398 pass, 0 fail. - `runner-policy.mjs --root <claude-code-plugins#10782 head d4b21de>`: - with this `policy.json`: `Runner policy passed.` - with the currently synced `policy.json`: the two `pr-review-cli.yml@20a822d` runner-target-contract findings that fail #10782's `lint-repo`. - Left out: `pr-review-cli.yml@9a886d5` (v0.66.0). No caller pins it. ## Related - [claude-code-plugins#10782](melodic-software/claude-code-plugins#10782): repins the review callers to v0.66.1. Its `lint-repo` and `ci-status` fail on this missing contract and pass once it syncs. - [#895](#895): the claude-lanes re-pin to v0.66.0. It copies forward `pr-review.yml`, `pr-review-security.yml` and `maintenance-sync-standards.yml` but not `pr-review-cli.yml`. - [#885](#885): the v0.65.14 `pr-review-cli.yml` registration, which this follows. - [ci-workflows#904](melodic-software/ci-workflows#904): the permission change reviewed here. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
kyle-sexton
added a commit
that referenced
this pull request
Oct 29, 2026
…#901) Refs: melodic-software/claude-code-plugins#9635 ## Summary Every re-pin pull request whose lockstep copies a runner-policy contract forward fails `check-typescript`, because `repin-policy-lockstep.mjs` writes `policy.json` with `JSON.stringify(policy, null, 2)`. That spreads short arrays such as `allowedInputs` over one line per item, and Biome's format check (`File content differs from formatting output`) rejects the file. #895 failed this way at 09f6f35. ## Fix `maintenance-repin-ci-workflows.yml` gains a step after the lockstep step, gated on the same `steps.repin.outputs.changed == 'true'`. It runs `npm ci --ignore-scripts` at the root and `node_modules/.bin/biome format --write --config-path=components/biome/biome.json` on `components/runner-policy/policy.json`. The root lockfile pins `@biomejs/biome` 2.5.15, the version `check-typescript`'s biome action derives from the root `package.json`, and the config is the one `check-typescript` passes. No new action and no new permission. ## Verification - Ran the step's commands on #895's unformatted `policy.json` (09f6f35): the output is byte-identical to the hand-formatted fix cc1d460, on which `check-typescript` and `ci-status` pass. - `actionlint` and `zizmor` (offline) report nothing for the workflow. - No existing test covers this workflow's step list; `repin-callers.test.sh` covers the script. ## Related - #895, the re-pin pull request this failure blocked. - #900, which also edits `components/runner-policy/policy.json`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[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.
No related issue: automated re-pin to the newest ci-workflows release
Summary
Re-pins each
melodic-software/ci-workflowsreference undercomponents/claude-lanes/andcomponents/claude-lanes-hosted/,the
managed-files-guardcaller components, and this repository's own sync-family callerswhose pinned path the release changed, from
v0.65.14,v0.65.16to
v0.66.0(
9a886d552706ad0a626e64da0dc27be2f2d0b437), the newest ci-workflowsrelease. Opened by
.github/workflows/maintenance-repin-ci-workflows.yml.Fix
Same major version as the pin it replaces (
v0.65.14,v0.65.16tov0.66.0).Moved because v0.66.0 changed what they run:
.github/actions/check-managed-files,.github/workflows/maintenance-sync-standards.yml,.github/workflows/pr-review-security.yml,.github/workflows/pr-review.yml.Runner-policy lockstep applied automatically: every pinned reusable workflow's security surface is unchanged, so each matching
approvedReusableWorkflowContractsentry incomponents/runner-policy/policy.jsonwas copy-forwarded. Operator: before merging, add the rollout record incomponents/runner-policy/README.mdandREPINE_LANE_SHA_V0_66_0plus a verbatim copy-forward assertion incomponents/runner-policy/runner-policy.test.mjs(same shape as the v0.25.0 registration, PR #589). This script writes neither of those two files.Merging this cascades:
maintenance-sync-standards.ymlre-materializes the callersinto every target
distribution/sync-manifest.ymlmarks a lanecaller (fleet or hosted) or a
managed-files-guardcallermanaged for, as a reviewed pull
request per target. This pull request is never auto-merged.
Verification
pin-comment-conventioncoverscomponents/claude-lanes/*.ymland validates the rewritten pin comments' form.
claude-lanescomponent tests materialize and lint the callers.runner-policylints and tests pass when lockstep applied(
policy-lockstep=applied).acceptance signal.
Related
melodic-software/ci-workflowsreview-lanes plan.https://github.com/melodic-software/ci-workflows/releases/tag/v0.66.0