Skip to content

feat(runner-policy): register ci-workflows v0.45.0 model-args and repin callers - #797

Merged
kyle-sexton merged 3 commits into
mainfrom
feat/register-model-args
Oct 17, 2026
Merged

kyle-sexton merged 3 commits into
mainfrom
feat/register-model-args

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

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 chore(claude-lanes): re-pin callers to ci-workflows v0.44.1 #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 chore(claude-lanes): re-pin callers to ci-workflows v0.44.1 #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.ai/code/session_01YcPjcqFavvzkTGBKXMgdXR

kyle-sexton and others added 2 commits October 17, 2026 16:48
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
@kyle-sexton
kyle-sexton marked this pull request as ready for review October 17, 2026 20:55
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 17, 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-17T20:57:07.088942Z 8faebc8 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread distribution/sync-manifest.yml Resolved
@kyle-sexton

Copy link
Copy Markdown
Member Author

Stand-in review note. Both CI review lanes skipped themselves on this PR: it edits .github/workflows/pr-review.yml and pr-review-security.yml, and claude-code-action runs only when the caller workflow matches the default branch's copy. So nothing was reviewed in CI.

Local fresh-context reviews over this diff at 8faebc8:

  • Code review: no findings.
    • Each new policy entry equals its predecessor plus one input.
    • All nine pins point at 3c8a4b2… # v0.45.0.
    • The locally-owned manifest entry follows the existing pattern.
    • The ci-workflows v0.44.1...v0.45.0 diff touches only what the README says.
  • Security review: no P1-P3 findings, and no permission or secret widening.
    • model-args is anchored, regex-checked and passed through env.
    • The runner-policy gate still audits the now locally-owned hosted callers.
    • Three P5 notes need write access a caller already has: value-level weakening of one's own review, intake claude-args being free-form, and reading models: from the base ref in the follow-up caller PR.

The owner signed off v0.45.0 by hand on 2026-10-17.

@kyle-sexton
kyle-sexton merged commit 456eca5 into main Oct 17, 2026
20 of 22 checks passed
@kyle-sexton
kyle-sexton deleted the feat/register-model-args branch October 17, 2026 21:07
kyle-sexton added a commit that referenced this pull request Oct 18, 2026
)

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]>
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