Repository navigation
chore(claude-lanes): re-pin callers to ci-workflows v0.65.14 - #844
Merged
Merged
Conversation
kyle-sexton
added a commit
that referenced
this pull request
Oct 22, 2026
…contracts (#846) No related issue: registers the ci-workflows v0.62.0 contracts so claude-code-plugins can repin to it. ## Summary Registers the ci-workflows [v0.62.0](https://github.com/melodic-software/ci-workflows/releases/tag/v0.62.0) tag (`2fe38c031867900824c164e33a140a335ed9ecf0`) contracts for `intake-triage.yml`, `pr-review.yml` and `pr-review-security.yml`, in the same shape as [#843](#843) (v0.61.0) and [#842](#842) (v0.60.0). v0.62.0 adds only [ci-workflows#858](melodic-software/ci-workflows#858), which bounds the subprocess isolation install that timed out in two hosted security-review runs on claude-code-plugins. ## Fix - `components/runner-policy/policy.json`: three entries keyed `@2fe38c03…`, verbatim copies of the `@164c2809…` (v0.61.0) entries, each placed right after its v0.61.0 entry. - `components/runner-policy/README.md`: a v0.62.0 rollout paragraph after the v0.61.0 one. - `components/runner-policy/runner-policy.test.mjs`: `REPINE_LANE_SHA_V0_62_0` and a test that the three v0.62.0 contracts equal their v0.61.0 entries and that exactly three v0.62.0 contracts exist. ### Review basis `git diff 164c2809 2fe38c03` (ci-workflows compare API) touches four files: the three workflows and `.github/scripts/claude-lane-install-isolation.test.cjs`. No commit-relative action changes. - For each workflow, `yq` comparison of `.on` (`workflow_call` inputs and secrets), `.permissions`, each job's `permissions`, `runs-on` and `timeout-minutes`, the job list, and every step's `uses`: identical between the two tags. - The only hunks are the "Install subprocess isolation" step (`pr-review.yml`, `pr-review-security.yml`) and the two "Isolate the runner" steps (`intake-triage.yml`): apt is skipped when `bwrap` and `socat` are present, every `apt-get` call runs under `sudo timeout` against one shared deadline (50 s in the review lanes, 100 s in intake), and the final check requires both tools. ## Verification - `npm run test:runner-policy`: 335 tests, 335 pass, 0 fail, including `✔ the intake-triage and review contracts at the v0.62.0 tag copy their v0.61.0 entries forward verbatim`. - `npm run lint:runner-policy`: `Runner policy passed.` - Against the claude-code-plugins repin worktree (three callers moved to `@2fe38c03…`): its vendored policy gives three `runner-target-contract` failures (auto-approval declined); this branch's `runner-policy.mjs` and `policy.json` give `Runner policy passed.` - lefthook pre-commit (typos, editorconfig, markdownlint, gitleaks, biome): clean. - Left out: nothing. ## Related - [ci-workflows#858](melodic-software/ci-workflows#858), released in [v0.62.0](https://github.com/melodic-software/ci-workflows/releases/tag/v0.62.0). - The claude-code-plugins repin PR passes its runner-policy gate once this merges and syncs. - [#844](#844) (automated repin of the standards lane components to v0.61.0) is separate and not touched here. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
ghost
force-pushed
the
chore/repin-claude-lanes
branch
from
October 23, 2026 14:51
371a49a to
ce7108b
Compare
ghost
force-pushed
the
chore/repin-claude-lanes
branch
from
October 24, 2026 14:45
ce7108b to
0093205
Compare
ghost
force-pushed
the
chore/repin-claude-lanes
branch
from
October 25, 2026 14:45
0093205 to
79716a8
Compare
kyle-sexton
added a commit
that referenced
this pull request
Oct 26, 2026
…lows v0.65.14 (#889) Refs: #844 ## Summary This PR registers the runner-policy contracts that the claude-lanes re-pin ([#844](#844)) needs at [ci-workflows v0.65.14](https://github.com/melodic-software/ci-workflows/releases/tag/v0.65.14) (`3180217076b19bbdfccc43026c7f91c604da673d`). The lockstep declined `pr-review.yml` and `pr-review-security.yml`, because their inputs changed since `3a2c748` (v0.55.0). It withheld `maintenance-sync-standards.yml`. Each of the three is registered at the new SHA as a verbatim copy of its newest entry. ## Fix - `policy.json`: `pr-review` and `pr-review-security` at `3180217` copy their v0.62.0 (`2fe38c0`) entries. `maintenance-sync-standards` at `3180217` copies its v0.55.0 (`3a2c748`) entry. Every earlier entry stays. - `README.md`: one rollout record after the existing v0.65.14 `pr-review-cli` record. - `runner-policy.test.mjs`: adds `REPINE_LANE_SHA_V0_65_14` and a verbatim copy-forward test for the three paths. The #885 v0.65.14 `pr-review-cli` test asserted that exactly one contract sits at `3180217`, and this PR adds three more. That count is dropped. The test's `deepEqual` copy-forward assertion stays. ### Security review, v0.55.0 (`3a2c748`) to v0.65.14 (`3180217`) Both revisions of each file were parsed and compared on `on`, `workflow_call` inputs, secrets and outputs, top-level and job `permissions`, `runs-on`, `needs`, job `if`, and which steps reference which secrets. | Change | Class | Evidence | |---|---|---| | New input `credential-name` (string, default `CLAUDE_CODE_OAUTH_TOKEN`). It holds a secret's name, never its value | (a) optional, not passed by any caller, not allowed | `pr-review.yml@3180217:205-214`, `pr-review-security.yml@3180217:183-192` | | New input `fallback-credential-name` (string, default empty) | (a) optional, not passed, not allowed | `pr-review.yml@3180217:215-222`, `pr-review-security.yml@3180217:193-200` | | New step `first-attempt-outcome` (report-lane-outcome, no secret). It runs only when the fallback attempt runs, which needs `fallback-claude-code-oauth-token`, and no allowed caller maps that secret | (a) no new trust | `pr-review.yml@3180217:1030-1043` | | claude-code-action `f27be6b` (v1.0.252) to `5eb090f3` (v1.0.253) in both credential steps. It is one upstream commit that bumps the Claude Code and Agent SDK versions | none. Already hand-reviewed at v0.59.1 (README record) | `pr-review.yml@3180217:861,1050` | | Isolation install step: gains `id: isolate`, uses one bounded apt-get deadline, and fails without socat. The status job classifies a failure there as `install-failed` | none, no secret, no permission | `pr-review.yml@3180217:804-838,1397,1421-1425` | | The result step raises a findings count that is below the summary's `manifest <field>: flag` lines | none | `pr-review.yml@3180217:1227-1241` | | report-lane-outcome (`$/` action) writes the lane-outcome record. It uses no new secret, network call or exec, and keeps the same `actions/github-script` pin | none | `.github/actions/report-lane-outcome/action.yml@3180217:191` | | `workflow_call` secrets, outputs, `on`, workflow permissions (`contents: read`), job permissions (`contents: read`, `pull-requests: write`, `id-token: write`) | unchanged | parsed at both SHAs | | `maintenance-sync-standards.yml` | unchanged. The blob `93c4c18` is the same at both SHAs | contents API | There is no class (b), meaning a removed or renamed input that a component still passes, and no class (c), meaning a change that widens trust. ## Verification - At this commit, `node --test components/runner-policy/*.test.mjs components/claude-lanes/*.test.mjs` passes 391 of 391, `claude-lanes.test.sh` passes 86 of 86, and `repin-callers.test.sh` passes 165 of 165. - I applied a simulated re-pin in a scratch worktree: all nine caller pins moved from `3a2c748` to `3180217`. On top of this commit, the same suites pass, and so does `managed-files-guard.test.sh` (175 of 175). With this PR's `policy.json` reverted, 5 runner-policy tests fail, including "every managed target of a claude lane caller admits that caller". ## Related - [#844](#844) is the re-pin this PR unblocks. - [#589](#589) set the shape that #844's lockstep note names. - [#885](#885) registered `pr-review-cli` at the same tag. ### Owner decisions not taken here - The allowed inputs are copied verbatim, so they still admit some inputs that no synced component passes: `incremental-review` and `model-args` on both lanes, and `manifest`, `standards-ref` and `environment` on the sync reusable. This keeps the copy-forward shape. It also keeps admitting any consumer-owned caller that passes them. Narrowing them is a separate decision. - No component maps `fallback-claude-code-oauth-token`. Only the `pr-review-cli` contracts (v0.65.12 and later) allow `FALLBACK_CLAUDE_CODE_OAUTH_TOKEN`. The #844 re-pin alone therefore gives the `pr-review` and `pr-review-security` lanes no fallback attempt. Getting one takes a component change plus an allowed-secret addition. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-Authored-By: claude-lanes-repin <[email protected]>
ghost
force-pushed
the
chore/repin-claude-lanes
branch
from
October 26, 2026 09:59
79716a8 to
b36dc2f
Compare
kyle-sexton
added a commit
that referenced
this pull request
Oct 26, 2026
…sfying lockstep (#890) No related issue: the defect was found while the claude-lanes repin lane PR (#844) stayed on the human checklist after the contracts were registered (#889). ## Summary `planLockstep` declined any re-pinned caller whose security surface changed from its old pin. It never checked whether `policy.json` already holds a reviewed contract for `<workflowPath>@<newSha>`, though `copyReusableContract` does. The repin lane PR (#844) carried "Runner-policy lockstep requires a human" from 2026-10-22 and kept it after #889 registered the v0.65.14 contracts, with CI green. ## Fix `planLockstep` takes a `hasContract(path, sha)` predicate (default: none). After the renamed-path decline, a pin whose new-SHA contract exists is skipped: neither declined nor copied, and no upstream fetch. The renamed-path decline is unchanged, since a rename always needs a hand-reviewed entry. `main` passes a lookup into `policy.approvedReusableWorkflowContracts`. ## Verification - `node --test components/claude-lanes/repin-policy-lockstep.test.mjs`: 26 pass, including three new cases (surface changed with an existing contract is satisfied; surface changed with none is still declined; a rename with a contract at the new path is still declined). - `bash harness/shell/run-tests.sh components/claude-lanes/repin-callers.test.sh`: pass. - `npx biome check components/claude-lanes/`: clean. ## Related Refs: #844, #889 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01DpzEJAE4EMndcWQXiKSZYn --------- Co-authored-by: Claude Sonnet 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.55.0to
v0.65.14(
3180217076b19bbdfccc43026c7f91c604da673d), the newest ci-workflowsrelease. Opened by
.github/workflows/maintenance-repin-ci-workflows.yml.Fix
Same major version as the pin it replaces (
v0.55.0tov0.65.14).Moved because v0.65.14 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.Warning
Runner-policy lockstep requires a human. melodic-software/ci-workflows/.github/workflows/pr-review.yml melodic-software/ci-workflows/.github/workflows/pr-review.yml inputs changed between revisions (from 3a2c748); melodic-software/ci-workflows/.github/workflows/pr-review-security.yml melodic-software/ci-workflows/.github/workflows/pr-review-security.yml inputs changed between revisions (from 3a2c748). Before merging, register one
approvedReusableWorkflowContractsentry for each declined workflow named above, add the rollout record incomponents/runner-policy/README.md, and addREPINE_LANE_SHA_V0_65_14plus a verbatim copy-forward assertion incomponents/runner-policy/runner-policy.test.mjs(same shape as the v0.25.0 registration, PR #589). These surfaces were unchanged and were not copy-forwarded, because any decline suppresses every write: melodic-software/ci-workflows/.github/workflows/maintenance-sync-standards.yml. Register oneapprovedReusableWorkflowContractsentry for each of those withheld paths too. This pull request is never auto-merged.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=manual).acceptance signal.
Related
melodic-software/ci-workflowsreview-lanes plan.https://github.com/melodic-software/ci-workflows/releases/tag/v0.65.14