Repository navigation
feat(runner-policy): register ci-workflows v0.45.0 model-args and repin callers - #797
Conversation
Registers ci-workflows v0.45.0 (3c8a4b2aeff5871cf72d35a686692bc6f0d44815, ci-workflows#763) and repins the callers #796 repinned to it. - policy.json: pr-review and pr-review-security copy their v0.44.1 entries and add `model-args`; intake-triage copies its v0.42.0 entry and adds `claude-args`; maintenance-sync-standards is a verbatim copy. - runner-policy.test.mjs: each v0.45.0 entry is its predecessor plus exactly its new input, and only these four entries exist at the SHA. - README.md: the v0.45.0 rollout record. - Callers: the nine pins #796 touched move to `# v0.45.0`. None passes `model-args`, so their behavior is unchanged. - sync-manifest.yml: claude-code-plugins takes claude-review-hosted-caller and claude-security-review-hosted-caller locally-owned, so its copies can pass resolved `model-args`. It is the only repository with a resolve-config action and a `models:` block. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01YcPjcqFavvzkTGBKXMgdXR
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01YcPjcqFavvzkTGBKXMgdXR
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8faebc8667
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Stand-in review note. Both CI review lanes skipped themselves on this PR: it edits Local fresh-context reviews over this diff at 8faebc8:
The owner signed off v0.45.0 by hand on 2026-10-17. |
…callers Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01YcPjcqFavvzkTGBKXMgdXR
) Refs: melodic-software/claude-code-plugins#7924 ## Summary Registers ci-workflows v0.49.0 `intake-triage.yml` (`ff8cd36321423de961381e608e4a31563e74adb3`) in runner policy. claude-code-plugins#7924 repins its intake caller to that SHA, and its runner-policy gate fails today with `runner-target-contract: ... no reviewed runner-input contract (auto-approval declined: inputs changed since the previously reviewed ...intake-triage.yml@182aca3...)`. **Owner sign-off pending.** The README rollout paragraph says "sign-off pending"; replace that with "signed off by hand on <date>" when you sign it off, then mark this ready. ## Fix - `components/runner-policy/policy.json`: a new `intake-triage.yml@ff8cd36` entry that copies the v0.45.0 entry (`3c8a4b2`) and adds three inputs to `allowedInputs`: `issue-number`, `allowed-author-ids` and `allowed-bot-sender-ids`. Secrets (`CLAUDE_CODE_OAUTH_TOKEN`) and caller permissions (`contents: read`, `issues: write`) are unchanged. - `components/runner-policy/README.md`: the rollout paragraph for v0.49.0, sign-off pending. - `components/runner-policy/runner-policy.test.mjs`: a test that the v0.49.0 entry is exactly the v0.45.0 entry plus those three inputs, and that it is the only v0.49.0 key. ### Input diff, v0.45.0 to v0.49.0 `workflow_call` Read from both files at their SHAs (ci-workflows#773 and #774 are the only intake commits in the range): | Input | v0.45.0 | v0.49.0 | Registered here | |---|---|---|---| | `issue-number` | absent | added | yes | | `allowed-author-ids` | absent | added | yes | | `skipped-label` | absent | added | no: no caller passes it (same rule v0.45.0 applied to `allowed-bot-sender-ids`) | | `allowed-bot-sender-ids` | declared, unregistered | declared | yes: the #7924 caller now passes it | The other seven inputs, the outputs (`triage-failed`, `failure-class`) and the one secret are unchanged. ### Security note - Each new input is a numeric-id allowlist or an issue number. `allowed-author-ids` and `allowed-bot-sender-ids` are comma-separated numeric user ids. The job `if:` rejects an empty list and a leading, trailing or doubled comma, then matches `,<id>,` exactly. `issue-number` is checked against `^[1-9][0-9]{0,9}$` in a "Resolve the issue" step, read from the API, and refused when it is a pull request. - The OWNER or MEMBER `author_association` gate is replaced by the id allowlist. An `opened` issue runs only when its author opened it and the author's id is listed (a bot's sender id in the bot list). - The `workflow_dispatch` path is admitted only for an actor whose `github.actor_id` is in one of the two lists. Only a listed dispatching bot's login reaches `allowed_bots`. - A new `skipped` job (`issues: write`, inside the caller's grant) posts a notice and, when `skipped-label` is set, applies that label after checking it exists. No secret reaches it. - No secret, `runs-on` routing or caller-permission change. ## Verification - Runner-policy tests: `ℹ tests 314`, `ℹ pass 314`, `ℹ fail 0`, including `✔ intake-triage at the v0.49.0 tag copies its v0.45.0 entry and adds only the author-gate inputs`. - `node components/runner-policy/runner-policy.mjs --root .` in this repository: `Runner policy passed.` - Against the claude-code-plugins#7924 worktree (`fix/7886-intake-author-ids`, `--repository-visibility public`): - with its current vendored policy: `.github/workflows/intake-triage.yml#intake-triage: runner-target-contract: the reusable workflow path@SHA has no reviewed runner-input contract (auto-approval declined: inputs changed since the previously reviewed melodic-software/ci-workflows@182aca3)` - with `--policy` set to this branch's `policy.json`: `Runner policy passed.` - with this branch's `runner-policy.mjs`: `Runner policy passed.` - That worktree was not modified (`--policy` flag, no file copy). - Pre-commit hooks: typos, editorconfig, markdownlint, gitleaks and biome clean. ## Related - claude-code-plugins#7924 passes its runner-policy gate once this merges and the policy syncs to that repository. - Precedent: #797 (v0.45.0 entries). 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
Refs: melodic-software/ci-workflows#763
Summary
Registers ci-workflows v0.45.0 (
3c8a4b2aeff5871cf72d35a686692bc6f0d44815) in runner policy and repins the shared callers to it. claude-code-plugins can then pass resolve-config's model arguments into the review lanes and intake triage. claude-code-plugins' two hosted review callers becomelocally-owned, so that repository can add its resolve step without changing the shared component.Fix
components/runner-policy/policy.json, at3c8a4b2:pr-reviewandpr-review-securitycopy their v0.44.1 entries and addmodel-args.intake-triagecopies its v0.42.0 entry and addsclaude-args.maintenance-sync-standardsis a verbatim copy, as in chore(claude-lanes): re-pin callers to ci-workflows v0.44.1 #796.distribution/sync-manifest.yml: claude-code-plugins'pr-review-hosted.ymlandpr-review-security-hosted.ymlmove frommanagedtolocally-owned. Code search finds resolve-config with amodels:block only in claude-code-plugins. azure-iac uses resolve-config only for its token broker, and pr-pipeline-sandbox's config has nomodels:block and is not a sync target. So the resolve step is not reusable today, and the shared job graph stays unchanged.claude-sonnet-5pin. The owner chose this, after research checked against Anthropic's effort guidance.Verification
Runner policy passed.; runner-policy tests: 306 pass, 0 fail.sync-manifest.test.sh: 336 pass, 0 fail;Manifest valid: 44 components, 14 targets.; the repin-policy-lockstep tests pass (23 of 23).Related
model-route.🤖 Generated with Claude Code
https://claude.ai/code/session_01YcPjcqFavvzkTGBKXMgdXR