Skip to content

feat(review): pass the review lanes a binary allowlist - #17711

Merged
kyle-sexton merged 2 commits into
mainfrom
claude/review-binary-allowlist
Nov 21, 2026
Merged

kyle-sexton merged 2 commits into
mainfrom
claude/review-binary-allowlist

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

No related issue: the caller half of melodic-software/ci-workflows#1162, which the owner approved (executables and archives need human review by default, with a path and SHA-256 allowlist).

Summary

Since ci-workflows#1162, a pull request that changes an executable or an archive is held for a person with needs-human. This gives that hold an allowlist, so a file that should change without a person's review can pass with one earlier pull request instead of three.

Fix

  • scripts/review-binary-allowlist.txt: the allowlist, with a header and no entries. Each line is <sha256> <path> as sha256sum prints it, and both must match the changed file. The lanes read it at the merge base, so a pull request cannot list its own file.
  • Both review callers pass binary-allowlist: scripts/review-binary-allowlist.txt.
  • scripts/affected-tests-no-suite.txt lists the new file beside the other two lane lists.

No entry yet: the repository tracks two archives, schemas/github/schema.docs.graphql.gz and the vendored tzdata-zoneinfo.zip, and each has changed once, by hand. A change to either is held for a person, which is the default the owner chose.

Verification

  • bash scripts/ci-review-lanes.test.sh: PASS=295 FAIL=0.
  • scripts/check-affected.sh: 14 passed, 6 skipped over the 4 changed files.

Related

🤖 Generated with Claude Code

@kyle-sexton kyle-sexton added the do-not-merge Hard merge gate: do not merge while applied. label Nov 20, 2026
@kyle-sexton kyle-sexton removed the do-not-merge Hard merge gate: do not merge while applied. label Nov 21, 2026
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 21, 2026 00:12
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-21T00:16:50.124499Z 17d246f 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

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 17d246fac27485b98479a30f4d94a4df83a2b89e: read 4 of 4 changed file(s); 0 finding(s), 0 as inline comments.

Security review: no security issues found

I read all 4 changed files in full.

What the change does. Both review callers (.github/workflows/pr-review-hosted.yml and .github/workflows/pr-review-security-hosted.yml, both on the trusted-path list) now pass a new reusable-workflow input, binary-allowlist: scripts/review-binary-allowlist.txt. The new allowlist file has only a header comment and no entries. scripts/affected-tests-no-suite.txt adds the new file to its list.

Trust-control check.

  • Hold not widened today. The allowlist is the only way past the ci-workflows needs-human hold on executables and archives. It has no entries at this head, so every changed executable or archive is still held. Nothing new gets through.
  • No token, permission, trigger or trusted-actor change. The diff adds one with: input to each caller. It changes no permissions: block, no token request, no trigger, no if: condition and no hold-paths block.
  • Future entries. Each entry must match both the path and the SHA-256 of the file's new bytes. The PR says the lanes read the file at the merge base, so a pull request cannot allow its own binary. An entry has to come from an earlier merged pull request, which the review lanes check like any other change.
  • Allowlist not in hold-paths. scripts/review-binary-allowlist.txt is not named in the callers' hold-paths, unlike the trusted-actor list. Under the owner's throughput-phase threat model (the only actors are the owner, its bots, agents and Apps), this binary hold is a friction hold rather than a provenance control. An entry added later would narrow that hold, and that is not a finding. This is advisory only.

Instruction surface. No standing instruction is deleted, narrowed or softened.

Embedded text. The PR context has no directive aimed at the review lane.

Spend. None beyond what the review lanes already use.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 17d246fac27485b98479a30f4d94a4df83a2b89e: read 4 of 4 changed file(s); 0 finding(s), 0 as inline comments.

Code review: no findings

I read all four changed files in full.

What the change does

  • It adds scripts/review-binary-allowlist.txt. The file has a header only and no entries yet.
  • Both review callers now pass binary-allowlist: scripts/review-binary-allowlist.txt to the shared review workflow, in .github/workflows/pr-review-hosted.yml and .github/workflows/pr-review-security-hosted.yml. The new line sits next to media-paths and is the same in both files.
  • scripts/affected-tests-no-suite.txt now lists the new file next to the other two lane list files. Its comment was updated to match.

This follows the pattern #17694 used to add media-paths. Nothing in the diff breaks correctness or maintainability.

Not checked

  • Both callers run pr-review-cli.yml@main from ci-workflows, which isn't in this checkout. If binary-allowlist isn't yet a declared input of that workflow on main, both review lanes fail with an unexpected-input error. The PR description says ci-workflows#1162 adds the input and standards#1080 lets callers pass it. That is the author's claim; I couldn't confirm either.
  • The author also reports ci-review-lanes.test.sh at PASS=295 and check-affected.sh at 14 passed. Those results are the author's claim, and I didn't run either script.

Note for the security lane (not counted as a finding)

  • scripts/review-binary-allowlist.txt decides which executables and archives can skip the needs-human hold, but it isn't in hold-paths.
  • So one pull request that adds an entry, merged before a second that changes the binary, could get past the hold with no person reviewing either.
  • A separate security lane runs on this repository, so that judgment is its to make.

Closing issue

  • None. The PR says it has no related issue in this repository, so there were no acceptance criteria to check.

Checks with no input

  • The prompt gave no loosened_check_verdict: or loosened_check_patterns: line, so I used fail with no consumer entries.
  • It gave no decision-record line, so I didn't check the citation requirement.
  • No changed line loosens a check, so this produced no finding.

Other

  • Cost: none. The change adds no billable resource and no extra lane spend.
  • The diff changes no plugin manifests.

Verifier dropped 0 of 0 candidates.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 21, 2026
Merged via the queue into main with commit cd2c16b Nov 21, 2026
129 of 131 checks passed
@kyle-sexton
kyle-sexton deleted the claude/review-binary-allowlist branch November 21, 2026 00:30
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant