Skip to content

feat(runner-policy): approve contracts for the renamed ci-workflows v0.34.0 reusables - #683

Merged
kyle-sexton merged 2 commits into
mainfrom
feat/runner-policy-v0.34.0-contracts
Oct 4, 2026
Merged

kyle-sexton merged 2 commits into
mainfrom
feat/runner-policy-v0.34.0-contracts

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

No related issue: the contract step of the Actions naming migration; the rename and release are tracked through the PRs under Related.

Summary

ci-workflows v0.34.0 (7446b51) renamed eight reusable workflows. A reusable workflow at a new path has no runner-policy contract, so no consumer repo can call it yet. This adds one approvedReusableWorkflowContracts entry per renamed path at 7446b51.

Old path New path
checks.yml pr-run-checks.yml
claude-intake-triage.yml intake-triage.yml
claude-review.yml pr-review.yml
claude-security-review.yml pr-review-security.yml
issue-triage-label.yml intake-label-needs-triage.yml
osv-scanner.yml pr-scan-dependencies.yml
standards-sync.yml maintenance-sync-standards.yml
zizmor.yml pr-audit-workflows.yml

Fix

Each new entry is copied verbatim from the old path's contract at the SHA that was last reviewed. The diff between that SHA and 7446b51 changes no inputs, secrets, permissions or runner input. Each diff was hand-reviewed and approved on 2026-10-04. Four rows also carry pin changes outside the rename, and all four were approved:

  • pr-review.yml, pr-review-security.yml: anthropics/claude-code-action v1.0.235 → v1.0.240 (ed670b4, matches the upstream tag).
  • pr-audit-workflows.yml: github/codeql-action/upload-sarif v4.38.0 → v4.38.1 (1c5b675, matches the upstream tag).
  • pr-run-checks.yml: its composites now resolve through $/ at 7446b51 instead of being pinned to v0.27.0.

The old keys stay, so consumers pinned to v0.33.0 or earlier keep resolving. The diff only adds lines: 111 insertions, 0 deletions.

Verification

  • npm run lint:runner-policy: Runner policy passed.
  • node --test components/runner-policy/runner-policy.test.mjs: 296 pass, 0 fail.
  • A deep-equality check confirms each new entry matches its source contract (all 8 true).

Related

🤖 Generated with Claude Code

…0.34.0 reusables

Adds eight approvedReusableWorkflowContracts entries keyed at
ci-workflows 7446b51 (v0.34.0), each copied verbatim from the old
path's contract at its last reviewed SHA. The old keys stay for
consumers pinned to v0.33.0 or earlier.

Co-authored-by: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review October 4, 2026 12:55
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 4, 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-04T12:58:27.461826Z f13a195 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.

@claude

claude Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Claude finished @kyle-sexton's task in 1m 21s —— View job


Security review — no issues found

  • Gather context (PR diff, changed files)
  • Apply skip gate
  • Review components/runner-policy/policy.json diff for security-relevant surface
  • Check for instruction-surface deletions (none — diff is additions only, 0 deletions)
  • Post findings / no-issues conclusion

Scope: this PR only touches components/runner-policy/policy.json, adding one approvedReusableWorkflowContracts entry per renamed ci-workflows reusable workflow path (8 entries, 111 insertions, 0 deletions, no keys removed). This file is the authorization policy gating which reusable workflows a consumer repo may call and with what inputs/secrets/permissions, so it's squarely in scope for this lane despite being pure JSON data.

Verification performed: for each of the 8 new entries, I diffed it against the most-recently-approved entry for its old path (the entry the PR claims it was copied from):

New key (@7446b51) Compared against Result
pr-run-checks.yml checks.yml@4610c31e... identical allowedInputs/allowedSecrets/minimumCallerPermissions
intake-triage.yml claude-intake-triage.yml@632130a9... identical
pr-review.yml claude-review.yml@0a99a329... identical
pr-review-security.yml claude-security-review.yml@0a99a329... identical
intake-label-needs-triage.yml issue-triage-label.yml@4610c31e... identical
pr-scan-dependencies.yml osv-scanner.yml@4610c31e... identical
maintenance-sync-standards.yml standards-sync.yml@35880dcb... identical
pr-audit-workflows.yml zizmor.yml@4610c31e... identical

No entry widens allowedInputs, allowedSecrets, allowedCallerPermissions/minimumCallerPermissions, or routing/runnerInput relative to its predecessor. The action-version pin bumps called out in the PR body (claude-code-action, codeql-action/upload-sarif) live inside the reusable workflows themselves, not in this policy file, and don't change the shape of any entry here. No permissions:/config widening, no new secrets exposure, no injection surface, and no removed guardrail (additions only — old keys for the pre-rename paths are untouched, so pinned v0.33.0-and-earlier consumers still resolve).

No security issues found in this change.

@claude

claude Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Claude finished @kyle-sexton's task in 2m 23s —— View job


Claude's review

  • Gather context (diff, CLAUDE.md/AGENTS.md/REVIEW.md, policy.json)
  • Review components/runner-policy/policy.json diff for correctness
  • Check cross-file consistency / contract expectations
  • Post findings

Scope: single file, components/runner-policy/policy.json, +111/-0 — eight new approvedReusableWorkflowContracts entries at ci-workflows@7446b5165511796b7b0d30b68d341689ebb8de61, one per renamed reusable workflow.

Verification performed: For each of the 8 new entries I located the prior entry for the corresponding old path with the highest line number in the file (i.e. its last-reviewed SHA) and diffed the two by hand:

New key (@7446b51) Matches last entry for
pr-run-checks.yml checks.yml@4610c31e… (line 881)
intake-triage.yml claude-intake-triage.yml@632130a9… (line 1330)
pr-review.yml claude-review.yml@0a99a329… (line 1304)
pr-review-security.yml claude-security-review.yml@0a99a329… (line 1317)
intake-label-needs-triage.yml issue-triage-label.yml@4610c31e… (line 929)
pr-scan-dependencies.yml osv-scanner.yml@4610c31e… (line 956)
maintenance-sync-standards.yml standards-sync.yml@35880dcb… (line 1295)
pr-audit-workflows.yml zizmor.yml@4610c31e… (line 994)

All 8 are byte-for-byte identical copies of their source (routing, runnerInput, allowedInputs, allowedSecrets, and allowedCallerPermissions/minimumCallerPermissions), confirming the PR's deep-equality claim. Each entry also satisfies policy.schema.json's runnerInputContract shape (required fields present, no extra properties) and runner-policy.mjs's caller-permission rule (minimumCallerPermissions stays read-only on pr-run-checks.yml/pr-scan-dependencies.yml; allowedCallerPermissions carries a write scope everywhere it's used). The diff is purely additive and the old keys are untouched, so pinned-older consumers are unaffected, consistent with the PR description. No correctness issues found in the file changed.

Not independently verified (author-claimed only, outside what I can check from this repo/sandbox):

  • The anthropics/claude-code-action v1.0.235→v1.0.240 and github/codeql-action/upload-sarif v4.38.0→v4.38.1 pin bumps, and the pr-run-checks.yml composite-resolution change — these live in the ci-workflows repo's workflow source, not in this diff.
  • npm run lint:runner-policy and node --test components/runner-policy/runner-policy.test.mjs results — I did not have tool access to execute these in this session, so I'm not restating the author's reported pass counts as independently confirmed.

No blocking or high-signal findings to raise on the changed lines.

@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: f13a195874

ℹ️ 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 components/runner-policy/policy.json Resolved
@claude

claude Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Claude finished @kyle-sexton's task in 1m 59s —— View job


Security review — no issues found

  • Gather context (PR diff, changed files)
  • Apply skip gate
  • Review components/runner-policy/policy.json diff for security-relevant surface
  • Review components/runner-policy/README.md diff (instruction-surface check)
  • Post findings / no-issues conclusion

Scope: two files, components/runner-policy/policy.json (+111/-0) and components/runner-policy/README.md (+18/-0). The JSON file is the authorization policy gating which ci-workflows reusable workflows a consumer repo may call and with what inputs/secrets/permissions, so it's in scope for this lane despite being pure data; the README addition is narrative documentation.

Verification performed: diffed each of the 8 new @7446b5165511796b7b0d30b68d341689ebb8de61 entries against the last-reviewed entry for its claimed predecessor path:

New key Compared against (line) Result
pr-run-checks.yml checks.yml@4610c31e… (L881) byte-identical
intake-triage.yml claude-intake-triage.yml@632130a9… (L1330) byte-identical
pr-review.yml claude-review.yml@0a99a329… (L1304) byte-identical
pr-review-security.yml claude-security-review.yml@0a99a329… (L1317) byte-identical
intake-label-needs-triage.yml issue-triage-label.yml@4610c31e… (L929) byte-identical
pr-scan-dependencies.yml osv-scanner.yml@4610c31e… (L956) byte-identical
maintenance-sync-standards.yml standards-sync.yml@35880dcb… (L1295) byte-identical
pr-audit-workflows.yml zizmor.yml@4610c31e… (L994) byte-identical

None of the 8 new entries widens allowedInputs, allowedSecrets, allowedCallerPermissions/minimumCallerPermissions, or routing/runnerInput relative to its predecessor — confirming the PR body's deep-equality claim. No entry lists standards-ref or STANDARDS_REVIEW_APP_* on the public-repo-sensitive pr-review.yml/pr-review-security.yml paths, so the visibility invariant documented at README.md#L1238-L1241 is not implicated. The diff is additions only (0 deletions): old keys for every pre-rename path stay in place, so consumers pinned to v0.33.0 or earlier keep resolving — no instruction-surface deletion/narrowing to evaluate under the instruction-exception-register lens.

The action-version pin bumps named in the PR body (claude-code-action v1.0.235→v1.0.240, codeql-action/upload-sarif v4.38.0→v4.38.1) and the composite-resolution change for pr-run-checks.yml live inside the ci-workflows reusable workflows themselves, not in this policy file's shape, and this lane defers Actions supply-chain/pin-hardening concerns to zizmor's advisory lane per this skill's criteria.

One of Codex's review comments flags a missing "review note" for the v0.34.0 contract revision per the lockstep procedure at README.md#L1265-L1267. That appears to be a false positive: the README diff in this PR does add a review-note paragraph in the same narrative/chronological style used for every other entry in the file (README.md#L1034-L1052), naming the new SHA, each new path's source entry, and confirming no input/secret/permission/routing change. This is a documentation-completeness observation, not a security finding, so it's noted here only for context and not raised as a finding under this lane's scope.

No security issues found in this change.

@claude

claude Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Claude finished @kyle-sexton's task in 4m 40s —— View job


Claude's review

  • Gather context (diff, CLAUDE.md/AGENTS.md/REVIEW.md, policy.json, README.md)
  • Apply skip gate (not applicable — PR is open, not draft, has a real review surface)
  • Review components/runner-policy/policy.json and README.md diff
  • Check cross-file consistency / contract expectations
  • Post findings

Scope: two files — components/runner-policy/policy.json (+111/-0, eight new approvedReusableWorkflowContracts entries keyed at ci-workflows@7446b5165511796b7b0d30b68d341689ebb8de61) and components/runner-policy/README.md (+18/-0, the review note for those entries). Security-relevant aspects of this policy change are covered by this repo's dedicated security lane (see the existing claude-security-review comment on this PR), so this lane sticks to correctness/maintainability.

Verification I ran myself: for each of the 8 new entries I used jq -S to pull the claimed source entry (the old path's last-reviewed SHA) and the new entry out of policy.json and compared them directly:

New key (@7446b51) Source entry Result
pr-run-checks.yml checks.yml@4610c31e… byte-identical
intake-triage.yml claude-intake-triage.yml@632130a9… byte-identical
pr-review.yml claude-review.yml@0a99a329… byte-identical
pr-review-security.yml claude-security-review.yml@0a99a329… byte-identical
intake-label-needs-triage.yml issue-triage-label.yml@4610c31e… byte-identical
pr-scan-dependencies.yml osv-scanner.yml@4610c31e… byte-identical
maintenance-sync-standards.yml standards-sync.yml@35880dcb… byte-identical
pr-audit-workflows.yml zizmor.yml@4610c31e… byte-identical

All 8 also satisfy policy.schema.json's runnerInputContract shape (routing/runnerInput/allowedInputs/allowedSecrets required, no extra properties). This independently confirms the PR's deep-equality claim — I did not just restate it.

On the earlier Codex P1 ("record the required contract review note"): that finding was raised against commit f13a195 (the first commit, JSON-only). The second commit, 540b93d, adds the 18-line review note to README.md documenting exactly this revision (sources, SHAs, and the four pin-bump rows) under the running narrative of prior contract revisions. That satisfies the "record its review note above" step in the contract-revision procedure. At current HEAD (540b93d) this is already resolved — no action needed.

Not independently verifiable from this repo/sandbox (author-claimed only):

  • The four pin bumps called out in the PR body/README (claude-code-action v1.0.235→v1.0.240, codeql-action/upload-sarif v4.38.0→v4.38.1, and the composite-resolution change) and the v0.27.1/v0.32.0/v0.33.0/v0.30.1 tag correspondences — these live in the ci-workflows repo's history, not in this diff.
  • npm run lint:runner-policy and the runner-policy.test.mjs run — I did not have tool access to execute node/npm in this session, so I'm not restating the author's reported pass counts as independently confirmed.

One minor readability note (not a blocking finding): the new README sentence pairs new-path and old-path names across two lists ("pr-run-checks from checks and intake-label-needs-triage, pr-scan-dependencies and pr-audit-workflows from issue-triage-label, osv-scanner and zizmor at v0.27.1") — the mapping is correct when read as parallel ordered lists, but it's easy to misparse as intake-label-needs-triage deriving from checks. Not raising as a finding since the content is factually correct.

No blocking correctness issues found in the changed lines.

@kyle-sexton
kyle-sexton merged commit 70ab7d9 into main Oct 4, 2026
2 checks passed
@kyle-sexton
kyle-sexton deleted the feat/runner-policy-v0.34.0-contracts branch October 4, 2026 13:30
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