Repository navigation
chore(claude-lanes): re-pin callers to ci-workflows v0.54.0 - #803
Merged
Merged
Conversation
Co-Authored-By: claude-lanes-repin <[email protected]>
ghost
force-pushed
the
chore/repin-claude-lanes
branch
from
October 19, 2026 14:50
2a4b35c to
cfb5163
Compare
Moves every v0.52.0 pin to v0.54.0 (7b362428c76085a160e28656cd2c75c3147a69ff) and registers pr-review, pr-review-security and maintenance-sync-standards at that SHA, each a verbatim copy of its v0.48.0 contract. Between the two tags neither review lane changes a workflow_call input, secret, output, permission or runs-on; both add the fail-closed subprocess-sandbox probe (ci-workflows#796) and a Bun install check. maintenance-sync-standards changes only a comment. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Xk7Lz7d2twxvA3LfRxnLkT
Member
|
Updated overnight to ci-workflows v0.54.0 (
|
claude-code-plugins moves its intake-triage caller from v0.51.0 (f129f4c) to v0.54.0 (7b362428), the last caller of the in-step credential fallback. The reusable's inputs, secrets and caller permissions are unchanged, so the contract is a verbatim copy of the f129f4c entry; the test asserts that. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Xk7Lz7d2twxvA3LfRxnLkT
Member
|
Added in |
…ntract Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Xk7Lz7d2twxvA3LfRxnLkT
kyle-sexton
added a commit
that referenced
this pull request
Oct 20, 2026
…828) Closes #826 ## Summary Re-pins every ci-workflows caller that `maintenance-repin-ci-workflows` manages to [v0.55.0](https://github.com/melodic-software/ci-workflows/releases/tag/v0.55.0) (`3a2c748fdef9cfb9ceec5a66289e21842189689f`). Both `claude-review` components and standards' own `pr-review.yml` now pass `allowed-author-ids`, added in [ci-workflows#828](melodic-software/ci-workflows#828), so the code-review lane reads the title and body of a closing issue written by a trusted person. Without it, every such issue is replaced by a placeholder. The scheduled repin bot has not opened a v0.55.0 PR yet. The release was published at 22:01 UTC, after that day's 14:41 run. This PR makes the same edits by running the same scripts (`repin-callers.sh apply`, then `repin-policy-lockstep.mjs`). The lockstep script declined to apply (`pr-review` inputs and `pr-review-security` credential references changed), so the runner-policy registration below was done by hand. ## Fix - **Repin** (`repin-callers.sh apply v0.55.0`): the same nine callers as #803, moved from v0.54.0 to v0.55.0: `components/claude-lanes/{claude-review,claude-security-review}.yml`, `components/claude-lanes-hosted/{claude-review,claude-security-review}.yml`, `components/managed-files-guard/{managed-files-guard,managed-files-guard-fleet}.yml`, and `.github/workflows/{pr-review,pr-review-security,maintenance-sync-standards}.yml`. - **`allowed-author-ids: '153232337'`** in `components/claude-lanes/claude-review.yml`, `components/claude-lanes-hosted/claude-review.yml` and `.github/workflows/pr-review.yml`. These are the `human` entries of `components/trusted-actors/trusted-actors.json`, the same list the intake-triage callers pass (claude-code-plugins' `intake-triage.yml` reads `human-ids` from it through `check-born-triaged`). The ids are written into the file rather than read at run time because many targets that receive a review caller do not receive `trusted-actors` (for example the hosted-only targets in `distribution/sync-manifest.yml`). Reading the file at run time would also need an extra job, with its own runner and runner-policy routing. A new test in `trusted-actors.test.mjs` fails when any of the three callers differs from the list's human ids. I checked that it fails when the value is emptied. - **runner-policy** (`policy.json`, `README.md`, `runner-policy.test.mjs`), contracts at `3a2c748`: - `pr-review`: the v0.54.0 entry plus `allowed-author-ids`. - `pr-review-security`: a verbatim copy. Its checkout now persists no credential, and its scope step passes `github.token` to git through the environment ([ci-workflows#818](melodic-software/ci-workflows#818)). That is the credential-reference change the lockstep script flagged. - `maintenance-sync-standards`: a verbatim copy. - `intake-triage`: a verbatim copy, following the precedent in #803. Inputs, secrets and caller permissions are unchanged. The model jobs drop to `issues: read`, and a new model-free `apply` job runs on GitHub-hosted `ubuntu-24.04` ([ci-workflows#821](melodic-software/ci-workflows#821), [#830](melodic-software/ci-workflows#830)). With this entry, claude-code-plugins can repin its intake caller. - A new test asserts that each v0.55.0 entry equals its v0.54.0 entry plus exactly its new inputs, and that there are exactly four entries at that SHA. - The README rollout record says the contracts are **pending owner sign-off**. Please confirm or amend that line before merging. - **ci-status `timeout-minutes`: not changed.** Standards has no synced ci-status caller. Its `ci-status` job lives in the repo-local `.github/workflows/pr-require-checks.yml` and pins the `check-contract` and `aggregate-results` actions at v0.39.8, which predates the rate-limit waits from [ci-workflows#833](melodic-software/ci-workflows#833). The `timeout-minutes: 5` guidance applies once those actions are bumped to v0.55.0 or later, which this PR does not do. ## Verification - `npm run lint:runner-policy`: `Runner policy passed.` - `npm run test:runner-policy`: 321 pass, 0 fail. - `repin-policy-lockstep.test.mjs`: 23 of 23 pass. - `trusted-actors.test.mjs`: 7 of 7 pass, including the new lockstep test. - `claude-lanes.test.sh`, `managed-files-guard.test.sh`, `repin-callers.test.sh`, `pin-comment-convention.test.sh`: all exit 0. - `sync-manifest.sh validate`: `Manifest valid: 44 components, 14 targets`. - naming-lint: 0 findings. Concurrency policy passed. actionlint is clean on the three edited workflows. - lefthook pre-commit (editorconfig, typos, markdownlint, gitleaks, biome): clean. - `pr-review` and `pr-review-security` cannot review this PR because it edits their caller workflows, so claude-code-action skips itself. Neither check is required. - Post-merge acceptance (#826): in a synced repository, a code-review run on a PR that closes an issue written by a trusted person shows that issue's title and body in the lane's context. ## Related - Upstream: [ci-workflows v0.55.0](https://github.com/melodic-software/ci-workflows/releases/tag/v0.55.0), [ci-workflows#771](melodic-software/ci-workflows#771), [#828](melodic-software/ci-workflows#828). - Follow-ups in other repositories (not changed here), each to pass `allowed-author-ids` with that repository's trusted human ids once its caller is on v0.55.0 or later: - melodic-software/songwriting `.github/workflows/pr-review.yml` - melodic-software/pr-pipeline-sandbox `.github/workflows/pr-review-hosted.yml` - melodic-software/pr-pipeline-sandbox `.github/workflows/pr-review-no-bots.yml` - Merging cascades through `maintenance-sync-standards.yml` to every target that manages a lane caller or a managed-files-guard caller. The next scheduled repin run will then find nothing to do. 🤖 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 30, 2026
…r-input legs (#921) Closes #817 ## Summary Decision: add an optional `fixedRunsOn` field to the runner-input contract shape, and require a hosted exception when an enrolled private repository passes the fleet label to a reusable that records it. Record `fixedRunsOn: ["ubuntu-24.04"]` on intake-triage. The issue still applies after #911, and it now covers more of the workflow than when it was filed. On ci-workflows main (`a52dbe5`), three jobs in `intake-triage.yml` ignore `inputs.runner` and run on `ubuntu-24.04`: `subscription`, `fallback` and `apply`. `apply` runs on every triage. The contract still said `routing: runner-input`. A caller that passed the fleet label classified as `managed-literal`, which the private-repository pass skipped (`runner-policy.mjs`, "an admitted fleet literal needs no exception entry"). The billed hosted legs therefore produced no finding, and a caller could not even declare an exception, because an unconsumed one fails as `exception-inventory-drift`. Options considered: 1. **Free-text note on the contract.** Both contract shapes are `additionalProperties: false`, so this still needs a schema change. No code reads the note, so runner-policy would still not flag the call, which is the impact the issue describes. 2. **Per-job routing map naming callee job ids.** runner-policy reads only caller files and never sees callee job names, so it cannot verify the map. The map would also drift as legs are added, which has already happened: the issue named one job and there are now three. 3. **Reclassify intake-triage as `hosted-only`.** That is wrong for the `claude` and `status` jobs, which do honor the runner input. It would also drop the contract's `role`, `allowedCallerPermissions` and secret-mapping checks, which the hosted-only shape does not carry. 4. **Contract-level `fixedRunsOn` on runner-input contracts (chosen).** It reuses the field name and the known-hosted-label validation that hosted-only contracts already have. It feeds the existing `hosted-exception-required` and exception-inventory path, so no new finding rule or mechanism is added. 5. **Route the fixed legs onto `inputs.runner` in ci-workflows.** Rejected. Those jobs stay on a fresh hosted VM so that a caller's runner cannot carry state into the credential-bearing jobs (`intake-triage.yml` header and the `subscription` and `apply` job comments). Basis: `components/runner-policy/runner-policy.mjs` (the `managed-literal` early `continue` in the private pass, and the hosted-only `fixedRunsOn` label check in policy loading); `components/runner-policy/policy.schema.json` (`runnerInputContract` and `hostedOnlyContract`); ci-workflows `.github/workflows/intake-triage.yml` at `a52dbe5f5ae227da6bd3f07d7f1eed8b03ec259b` (`subscription`, `fallback` and `apply` all set `runs-on: ubuntu-24.04`, and `apply` writes with its own `permissions: issues: write` `GITHUB_TOKEN`, not a broker token, so a private repository can adopt the reusable without a broker change). ## Fix - `policy.schema.json`: `runnerInputContract` accepts an optional `fixedRunsOn`. - `runner-policy.mjs`: `fixedRunsOn` labels are validated against the known GitHub-hosted labels for either contract shape. On an enrolled private repository, a fleet-label call to a contract that has `fixedRunsOn` consumes a hosted exception, or reports `hosted-exception-required` when there is none. - `policy.json`: intake-triage records `fixedRunsOn: ["ubuntu-24.04"]`. - `README.md`: the runner-input bullet describes the field, and the lockstep section names which jobs ignore the runner input as part of the routing surface. Blast radius: none today. The only caller is claude-code-plugins, which is public (an org code search for `intake-triage.yml` found no private caller). On a public repository `routingEnabled` is false, so a public caller gets no new finding. ## Verification - `node --test components/runner-policy/runner-policy.test.mjs`: 225 pass, 0 fail. The four new tests cover a private fleet-label call with no exception (flagged), the same call with an exception (clean), a public hosted call (clean), and an unknown label in `fixedRunsOn` (refused at load). Three of them fail against the origin/main `runner-policy.mjs`. - `node components/runner-policy/runner-policy.mjs --root .` with `CI_REPOSITORY_VISIBILITY=public`: passed. - `markdownlint-cli2` on the README, and `biome check` on the four changed files: clean. - Other readers of `policy.json` contracts: `node --test components/dependabot-policy/automerge-lockstep.test.mjs` (14 pass) and `harness/shell/run-tests.sh components/claude-lanes/repin-callers.test.sh` (passed). - `schemaVersion` stays 5. The precedent is #385 (`536252a`), which added `minimumCallerPermissions` as an optional field without a version bump. The sync manifest ships `policy.json`, `policy.schema.json` and `runner-policy.mjs` together (`distribution/sync-manifest.yml`, `runner-policy` entry), so a consumer never sees the new key with an old schema. ## Related - #803: the security review that raised this. - #911: re-keyed contracts by path and moved first-party reusables to float on `@main`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01VcupojYKhHyDni9LuAXBuX --------- 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: re-pin to the newest ci-workflows release
Summary
Re-pins every
melodic-software/ci-workflowsreference undercomponents/claude-lanes/andcomponents/claude-lanes-hosted/,the
managed-files-guardcaller components, and this repository's own sync-family callers fromv0.48.0tov0.54.0(7b362428c76085a160e28656cd2c75c3147a69ff), and approvesintake-triageat the same tag in runner-policy. The repin bot opened this forv0.52.0; it wasmoved to
v0.54.0by hand.Fix
Same major version as the pin it replaces (
v0.48.0tov0.54.0).Runner-policy lockstep, applied by hand (owner signed off on the v0.54.0 contracts on 2026-10-20):
components/runner-policy/policy.json:approvedReusableWorkflowContractsentries at7b362428forpr-review.ymlandpr-review-security.yml(the commit-relativereport-lane-outcomereference changed) and for the withheldmaintenance-sync-standards.yml,each a verbatim copy of its v0.48.0 entry; and for
intake-triage.yml, a verbatim copy of itsv0.51.0 entry.
components/runner-policy/README.md: rollout record for all four, including theintake-triagesubscription leg moving to its own GitHub-hosted job (ci-workflows#803).components/runner-policy/runner-policy.test.mjs:REPINE_LANE_SHA_V0_54_0and a verbatimcopy-forward assertion for all four entries, plus a count of exactly four at that SHA (same
shape as the v0.25.0 registration, chore(claude-lanes): re-pin callers to ci-workflows v0.25.0 #589).
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.
Verification
runner-policytests: 320/320 pass;lint:runner-policypasses.claude-lanes.test.sh,repin-callers.test.sh,managed-files-guard.test.sh: 0 failures;repin-policy-lockstep.test.mjs: 23/23.pr-reviewandpr-review-securitycannot review this PR: it edits their caller workflows, soclaude-code-action skips itself (
skipped-validation, the caller differs from the defaultbranch's copy). Neither check is required.
Related
🤖 Generated with Claude Code
https://claude.ai/code/session_01Xk7Lz7d2twxvA3LfRxnLkT