Skip to content

chore(claude-lanes): re-pin callers to ci-workflows v0.54.0 - #803

Merged
kyle-sexton merged 5 commits into
mainfrom
chore/repin-claude-lanes
Oct 20, 2026
Merged

kyle-sexton merged 5 commits into
mainfrom
chore/repin-claude-lanes

Conversation

@ghost

@ghost ghost commented Oct 18, 2026 •

Copy link
Copy Markdown

No related issue: re-pin to the newest ci-workflows release

Summary

Re-pins every melodic-software/ci-workflows reference under
components/claude-lanes/ and components/claude-lanes-hosted/,
the managed-files-guard caller components, and this repository's own sync-family callers from
v0.48.0 to v0.54.0 (7b362428c76085a160e28656cd2c75c3147a69ff), and approves
intake-triage at the same tag in runner-policy. The repin bot opened this for v0.52.0; it was
moved to v0.54.0 by hand.

Fix

Same major version as the pin it replaces (v0.48.0 to v0.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: approvedReusableWorkflowContracts entries at
    7b362428 for pr-review.yml and pr-review-security.yml (the commit-relative
    report-lane-outcome reference changed) and for the withheld maintenance-sync-standards.yml,
    each a verbatim copy of its v0.48.0 entry; and for intake-triage.yml, a verbatim copy of its
    v0.51.0 entry.
  • components/runner-policy/README.md: rollout record for all four, including the
    intake-triage subscription leg moving to its own GitHub-hosted job (ci-workflows#803).
  • components/runner-policy/runner-policy.test.mjs: REPINE_LANE_SHA_V0_54_0 and a verbatim
    copy-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.yml re-materializes the callers
into every target distribution/sync-manifest.yml marks a lane
caller (fleet or hosted) or a managed-files-guard caller
managed for, as a reviewed pull request per target.

Verification

  • runner-policy tests: 320/320 pass; lint:runner-policy passes.
  • claude-lanes.test.sh, repin-callers.test.sh, managed-files-guard.test.sh: 0 failures;
    repin-policy-lockstep.test.mjs: 23/23.
  • pr-review and pr-review-security cannot review this PR: it edits their caller workflows, so
    claude-code-action skips itself (skipped-validation, the caller differs from the default
    branch's copy). Neither check is required.
  • Post-merge: the per-target sync pull requests are the real acceptance signal.

Related

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xk7Lz7d2twxvA3LfRxnLkT

@ghost
ghost requested a review from kyle-sexton as a code owner October 18, 2026 14:44
@ghost
ghost force-pushed the chore/repin-claude-lanes branch from 2a4b35c to cfb5163 Compare October 19, 2026 14:50
@ghost ghost changed the title chore(claude-lanes): re-pin callers to ci-workflows v0.49.0 chore(claude-lanes): re-pin callers to ci-workflows v0.52.0 Oct 19, 2026
kyle-sexton and others added 2 commits October 20, 2026 04:12
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
@kyle-sexton

Copy link
Copy Markdown
Member

Updated overnight to ci-workflows v0.54.0 (7b362428c76085a160e28656cd2c75c3147a69ff) instead of v0.52.0, in commit 4953eb4e (main merged in first, no force-push):

  • All 9 pins moved to v0.54.0; three approvedReusableWorkflowContracts entries added in components/runner-policy/policy.json (lines 258, 401, 531), each a verbatim copy of its v0.48.0 entry, with a test asserting that; rollout record in components/runner-policy/README.md (sign-off pending).
  • pr-review.yml / pr-review-security.yml interface is unchanged v0.48.0 → v0.54.0 (inputs, secrets, outputs, permissions, jobs, runs-on); new in both: the ci-workflows#796 subprocess-sandbox probe, a Bun check, two report-lane-outcome inputs, claude-code-action v1.0.252.
  • Local: lint:runner-policy pass; runner-policy tests 320/320; claude-lanes, managed-files-guard, repin-callers, lockstep and markdownlint pass.
  • Expect self-hosted security reviews in agent-automations, claude-code-proxy, dotfiles, github-iac, medley and provisioning to fail closed (sandbox-unavailable) until ci-runner#483's follow-up / provisioning#793 is applied. That is the intended behavior.
  • The PR body above still describes v0.52.0. This PR needs a human sign-off and merge; it was not merged overnight. The repin App may overwrite this branch on its next run.

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
@kyle-sexton

Copy link
Copy Markdown
Member

Added in c965fb6d: the approvedReusableWorkflowContracts entry for intake-triage.yml@7b362428 (v0.54.0), a verbatim copy of the @f129f4c (v0.51.0) entry; the v0.54.0 test now asserts it and counts four entries at that SHA. Needed by claude-code-plugins#8587, which moves the intake-triage caller to v0.54.0, the last caller of the in-step credential fallback (GHSA-jrwh-x8hm-xj8g). runner-policy tests 320/320, lint:runner-policy passes.

@kyle-sexton kyle-sexton changed the title chore(claude-lanes): re-pin callers to ci-workflows v0.52.0 chore(claude-lanes): re-pin callers to ci-workflows v0.54.0 Oct 20, 2026
@kyle-sexton
kyle-sexton merged commit 584df89 into main Oct 20, 2026
53 of 56 checks passed
@kyle-sexton
kyle-sexton deleted the chore/repin-claude-lanes branch October 20, 2026 13:37
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant