Skip to content

ci(review): repin pr-review-cli to v0.66.1 - #10782

Merged
kyle-sexton merged 2 commits into
mainfrom
ci/repin-pr-review-cli-v0.66.1
Oct 29, 2026
Merged

kyle-sexton merged 2 commits into
mainfrom
ci/repin-pr-review-cli-v0.66.1

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Refs: #10757

Summary

The two AI review lane callers pin pr-review-cli.yml at v0.65.17, whose key-credit gate kept running the API-key leg into a credit stop that a recent run had already recorded. On #10757 that happened in 5 of 6 code-lane rounds and cost 34-75 s per round before the subscription leg did the review. ci-workflows#906 fixed the gate and shipped in v0.66.1.

Fix

  • pr-review-hosted.yml and pr-review-security-hosted.yml: repin pr-review-cli.yml from 81a603a (v0.65.17) to 20a822d (v0.66.1).
  • These callers are locally-owned in standards' sync manifest, so the standards repin lane does not reach them; this is the hand repin the release workflow's header calls for.

Verification

Related

🤖 Generated with Claude Code

v0.66.1 carries ci-workflows#906: the key-credit gate no longer spends
its 3 job reads on skipped runs, so the review lanes stop running the
API-key leg into a known credit stop (5 of 6 code-lane rounds on #10757,
34-75 s each). It also carries ci-workflows#904, whose status job needs
actions: read and checks: read; both callers already grant them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kyle-sexton
kyle-sexton marked this pull request as ready for review October 28, 2026 22:38
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-28T22:39:50.756420Z d4b21de Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

claude-review needs no new review of fa6ee850d682ea6e16cdbc40ffbcb8084284bd60: no file of this pull request changed since the review of d4b21de.

No findings. The PR changes one line in each of two workflows: pr-review-hosted.yml and pr-review-security-hosted.yml repin pr-review-cli.yml from the v0.65.17 SHA to 20a822d (v0.66.1), and nothing else.

@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review needs no new review of fa6ee850d682ea6e16cdbc40ffbcb8084284bd60: no file of this pull request changed since the review of d4b21de.

No security issues found.

The diff changes one line in each of two caller workflows (pr-review-hosted.yml and pr-review-security-hosted.yml). Each line repins melodic-software/ci-workflows/.github/workflows/pr-review-cli.yml from 81a603a (v0.65.17) to 20a822d (v0.66.1).

critical-findings: 0

kyle-sexton added a commit to melodic-software/standards that referenced this pull request Oct 28, 2026
…contract (#902)

Refs: melodic-software/claude-code-plugins#10782

## Summary

Registers the reviewed
`pr-review-cli.yml@20a822d73b6e2d7e21d48e609a01b427e0e161e7` (v0.66.1)
contract. The claude-code-plugins repin fails `runner-target-contract`
because surface-diff auto-approval declines: `jobPermissions changed
since the previously reviewed
...pr-review-cli.yml@3180217076b19bbdfccc43026c7f91c604da673d`.

## Fix

- `policy.json`: the new entry copies the v0.65.14 (`3180217`) entry
forward unchanged. From `3180217` to `20a822d`, the workflow changes in
three non-comment lines, all from melodic-software/ci-workflows#904: the
`status` job adds `actions: read` and `checks: read` (the hold step
reads this workflow's earlier runs and their check-run cost notices),
and that step takes a `STATUS_JOB` env built from the `lane` input. No
input, secret, write scope or routing change. A hosted-only contract
records no job permissions and checks no caller permissions, so the
callers' existing read grants need no entry.
- `README.md`: a v0.66.1 paragraph that names ci-workflows#904 and the
permission change.
- `runner-policy.test.mjs`: pins the new entry as equal to its v0.65.14
entry.

## Verification

- `node --test components/runner-policy/runner-policy.test.mjs`: 371
pass, 0 fail.
- `npm run lint:runner-policy` on this repo: `Runner policy passed.`
- On the claude-code-plugins repin branch
`ci/repin-pr-review-cli-v0.66.1`:
- before (its synced policy): both review callers fail
`runner-target-contract` with the auto-approval decline above, exit 1.
- after (`--policy` pointed at this branch's `policy.json`): `Runner
policy passed.`, exit 0.

## Related

- melodic-software/claude-code-plugins#10782 (the repin this unblocks)
- melodic-software/ci-workflows#904 (the permission change)
- #893 (precedent)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@kyle-sexton
kyle-sexton added this pull request to the merge queue Oct 29, 2026
Merged via the queue into main with commit f9f10cf Oct 29, 2026
42 checks passed
@kyle-sexton
kyle-sexton deleted the ci/repin-pr-review-cli-v0.66.1 branch October 29, 2026 00:06
kyle-sexton added a commit to melodic-software/standards 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 <noreply@anthropic.com>
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