Repository navigation
feat(review): accept resolved model args from the caller - #763
Conversation
pr-review.yml and pr-review-security.yml take an optional model-args input, default empty. When set, the compose step requires resolve-config's claude-args shape ([--model <alias>] --max-turns <n> [--effort <level>]), fails the job on any other value, and appends it after claude-args in place of the --model and --effort from the model and effort inputs. With it empty the composed args are unchanged, so callers without resolve-config keep today's behavior. intake-triage.yml's claude-args default moves from the stale claude-sonnet-5 pin to --model sonnet --effort medium --max-turns 30, the same shape, so a caller can pass resolve-config's claude-args into it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01YcPjcqFavvzkTGBKXMgdXR
With model-args set, only the flags it carries are appended, so a --model or --effort in claude-args stays in effect when model-args leaves it out. model-args carries Claude args only; a resolve-config subagent-model is not supported, so routes feeding it keep subagent-model at inherit. 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. |
|
Claude finished @kyle-sexton's task in 4m 19s —— View job Security review — no issues found
Reviewed only the files changed in this PR ( No security issues found. This is a logic/trust-boundary focused pass (Actions hardening such as pin/permission widening is zizmor's lane and is out of scope here):
An independent hunter pass (adversarial verification, separate agent) tried locale-dependent |
|
Claude finished @kyle-sexton's task in 4m 56s —— View job Code review in progress
|
|
claude-security-review has reviewed this pull request through a3263fc; a later push is reviewed from there. |
|
claude-review has reviewed this pull request through a3263fc; a later push is reviewed from there. |
…me config Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01YcPjcqFavvzkTGBKXMgdXR
|
Claude finished @kyle-sexton's task in 22s —— View job Security review (incremental) — no issues found
Scope: per the lane header, this is an incremental review against Finding: none. The diff in No logic, trust-boundary, or Actions-hardening changes to report in this increment. |
|
Claude finished @kyle-sexton's task in 1m 10s —— View job Code review complete
Review scope: incremental — last reviewed at Skip gate applied: comparing Everything else in the diff is the repo's biome formatter switching the file from 2-space to tab indentation, matching the commit message ( |
Restores the two-space indentation the previous commit replaced with tabs, and wraps the one line biome reported. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01YcPjcqFavvzkTGBKXMgdXR
|
Claude finished @kyle-sexton's task in 39s —— View job Security review (incremental) — no issues found
Scope: incremental, last reviewed at Finding: none. This file is also test-only code ( No logic, trust-boundary, or Actions-hardening changes to report in this increment. |
|
Claude finished @kyle-sexton's task in 1m 7s —— View job Code review complete
Review scope: incremental — last reviewed at Skip gate applied. This is a trivial, automated formatting pass with no meaningful review surface, so no findings are reported for this increment. |
…in callers (#797) 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 become `locally-owned`, so that repository can add its resolve step without changing the shared component. ## Fix - `components/runner-policy/policy.json`, at `3c8a4b2`: - `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, as in #796. - Permissions and secrets are unchanged. - A new test checks that each entry is exactly its predecessor plus its one new input. - Repins the same nine callers #796 repinned, from v0.44.1 to v0.45.0. - `distribution/sync-manifest.yml`: claude-code-plugins' `pr-review-hosted.yml` and `pr-review-security-hosted.yml` move from `managed` to `locally-owned`. Code search finds resolve-config with a `models:` block only in claude-code-plugins. azure-iac uses resolve-config only for its token broker, and pr-pipeline-sandbox's config has no `models:` block and is not a sync target. So the resolve step is not reusable today, and the shared job graph stays unchanged. - Behavior change for every intake-triage caller that relies on the default: v0.45.0 runs Sonnet 5.5 at effort medium for 30 turns, replacing the `claude-sonnet-5` pin. 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). - The claude-lanes, managed-files-guard and repin-callers shell tests: 3 passed, 0 failed. - naming-lint, markdownlint, gitleaks and biome are clean. ## Related - The owner signed off v0.45.0 by hand on 2026-10-17 (README rollout paragraph). - Next: the sync into claude-code-plugins, then that repository's callers pass `model-route`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01YcPjcqFavvzkTGBKXMgdXR --------- Co-authored-by: Claude Opus 5.5 <[email protected]>

Refs: melodic-software/claude-code-plugins#7797
Summary
The review lanes and intake triage can take resolved model args from the caller. A repository with a
models:block (claude-code-plugins, via itsresolve-configaction) can then route lane models from one config instead of these workflows' pins. Review-lane callers that pass nothing behave exactly as today. Intake triage changes for every caller that relies on its defaultclaude-args: Sonnet 5.5 at effort medium instead of theclaude-sonnet-5pin (see Fix). The release notes must say so.Fix
pr-review.yml,pr-review-security.yml:model-argsinput (default empty).^(--model [a-z]+ )?--max-turns [1-9][0-9]*( --effort [a-z]+)?$, the resolve-config claude-args shape, and fails the step otherwise.--model/--effortthat come from themodel/effortinputs.modelandeffortinputs and their defaults stay for repositories with no resolve-config.intake-triage.yml: the defaultclaude-argsbecomes--model sonnet --effort medium --max-turns 30, replacing the staleclaude-sonnet-5pin. This is the owner's choice for Sonnet 5.5, made after research checked against Anthropic's effort guidance. A caller'sclaude-argsstill replaces the default entirely.Verification
node --test .github/scripts/*.test.cjs .github/actions/report-lane-outcome/*.test.cjs: 461 pass, 0 fail. That includes 7 new cases that run the actual composerun:block.model-argsempty, both review lanes compose exactly today's args.;,--allowedTools, a newline,$(id), a missing or zero--max-turns, an uppercase alias, a trailing space, and--dangerously-skip-permissions.artipackedfindings are on checkout steps this change does not touch.Related
policy.jsonentry registeringmodel-args(both review lanes) andclaude-args(intake) at the release SHA before callers can pass them.🤖 Generated with Claude Code
https://claude.ai/code/session_01YcPjcqFavvzkTGBKXMgdXR