Skip to content

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

Merged
kyle-sexton merged 1 commit into
mainfrom
chore/repin-claude-lanes
Oct 26, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
chore/repin-claude-lanes

Conversation

@ghost

@ghost ghost commented Oct 22, 2026 •

Copy link
Copy Markdown

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

Summary

Re-pins each 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
whose pinned path the release changed, from
v0.55.0
to v0.65.14
(3180217076b19bbdfccc43026c7f91c604da673d), the newest ci-workflows
release. Opened by .github/workflows/maintenance-repin-ci-workflows.yml.

Fix

Same major version as the pin it replaces (v0.55.0 to v0.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 approvedReusableWorkflowContracts entry for each declined workflow named above, add the rollout record in components/runner-policy/README.md, and add REPINE_LANE_SHA_V0_65_14 plus a verbatim copy-forward assertion in components/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 one approvedReusableWorkflowContracts entry for each of those withheld paths too. This pull request is never auto-merged.

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. This pull request is never auto-merged.

Verification

  • pin-comment-convention covers components/claude-lanes/*.yml
    and validates the rewritten pin comments' form.
  • claude-lanes component tests materialize and lint the callers.
  • runner-policy lints and tests pass when lockstep applied
    (policy-lockstep=manual).
  • Post-merge: the per-target sync pull requests are the real
    acceptance signal.

Related

@ghost
ghost requested a review from kyle-sexton as a code owner October 22, 2026 14:49
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
ghost force-pushed the chore/repin-claude-lanes branch from 371a49a to ce7108b Compare October 23, 2026 14:51
@ghost ghost changed the title chore(claude-lanes): re-pin callers to ci-workflows v0.61.0 chore(claude-lanes): re-pin callers to ci-workflows v0.64.1 Oct 23, 2026
@ghost
ghost force-pushed the chore/repin-claude-lanes branch from ce7108b to 0093205 Compare October 24, 2026 14:45
@ghost ghost changed the title chore(claude-lanes): re-pin callers to ci-workflows v0.64.1 chore(claude-lanes): re-pin callers to ci-workflows v0.65.5 Oct 24, 2026
@ghost
ghost force-pushed the chore/repin-claude-lanes branch from 0093205 to 79716a8 Compare October 25, 2026 14:45
@ghost ghost changed the title chore(claude-lanes): re-pin callers to ci-workflows v0.65.5 chore(claude-lanes): re-pin callers to ci-workflows v0.65.9 Oct 25, 2026
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]>
@ghost
ghost force-pushed the chore/repin-claude-lanes branch from 79716a8 to b36dc2f Compare October 26, 2026 09:59
@ghost ghost changed the title chore(claude-lanes): re-pin callers to ci-workflows v0.65.9 chore(claude-lanes): re-pin callers to ci-workflows v0.65.14 Oct 26, 2026
@kyle-sexton
kyle-sexton merged commit cb0ac91 into main Oct 26, 2026
55 of 56 checks passed
@kyle-sexton
kyle-sexton deleted the chore/repin-claude-lanes branch October 26, 2026 10:07
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]>
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