Skip to content

ci(review): count the bedroom sound recordings as generated data - #17681

Closed
kyle-sexton wants to merge 2 commits into
mainfrom
claude/binary-files-ci-status-d623ca
Closed

kyle-sexton wants to merge 2 commits into
mainfrom
claude/binary-files-ci-status-d623ca

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

No related issue: the follow-up the owner asked for after PR #17675 was admin-merged.

Summary

The next pull request that changes a bedroom sound recording passes both review lanes instead of being reviewed as partial.

Fix

  • Lists plugins/themes/sounds/bedroom/*.wav in scripts/review-generated-data.txt as standing entries. The lanes read this list at the merge base, so it has to be on main before the next sound change.
  • Cause, from code-review run 44778732297 on feat(themes): give the bedroom time of day, weather, a hallway, a television that reacts to Claude and sound #17675: cicadas-1.wav: one hunk of 884099 bytes with its header is larger than one chunk of 300000 bytes, so the file cannot be cut at its hunks; the diff is reviewed unsplit, as a partial review. The split refused, so the 65 text files went unreviewed along with the audio. With the recordings removed, the same pull request reviewed complete at 65 of 65, silence.wav included.
  • What a listed file still gets: the lane skips it only when it is a non-executable regular-file addition or modification at a plain path, outside hold-paths and SENSITIVE_PATHS, with a diff over 7,500 bytes (ci-workflows pr-review-cli.yml lines 1594-1626). The review summary names every file it skips.

Verification

  • The glob, converted the way the lane's awk globs function converts it, matches all 17 .wav files under plugins/themes/sounds/bedroom/ and skips sources.md.

Related

🤖 Generated with Claude Code

kyle-sexton and others added 2 commits November 20, 2026 13:19
Each recording is one --text hunk over the 300,000-byte read budget, so
the chunk split refuses it and the whole pull request is reviewed
unsplit, as a partial review (PR 17675). The list is read at the merge
base, so this entry must land before the next sound change.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 20, 2026 18:21
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 20, 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-20T18:22:46.476649Z 3e28053 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 3e2805345f188433985c0fcb67802ab920215716: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #17681

I found no security issues.

What changed. scripts/review-generated-data.txt now has one standing glob, plugins/themes/sounds/bedroom/*.wav, so the review lanes count bedroom audio recordings as read without reading them. The header comment now allows a glob as well as a path.

What I checked

  • Trust controls. The list is not one of the trust controls this lane tracks. It does not change who passes the trusted-trigger check, the scope of the lane token, the kill switch, the broker's grants or any merge-hold script. It lets no untrusted text into a credentialed lane. The change goes the other way: it stops the lanes from reading some files.
  • What the lane can no longer see. A skipped file only matters if something runs it. A .wav file under plugins/themes/sounds/bedroom/ is data. The PR describes the lane's skip conditions: it skips a listed file only when the file is a non-executable regular-file addition or modification at a plain path, outside hold-paths and SENSITIVE_PATHS, with a diff over 7,500 bytes. I took that from the PR text and did not read the ci-workflows code. Any hook, script or manifest that would play or run such a file is outside the glob, so the lanes still review it in full. The review summary also names every file it skips. I see no concrete way to use this entry to slip code past review. The only remaining risk is malformed audio aimed at a media parser on a user's machine, and nothing in this diff makes that path concrete.
  • Glob breadth. The glob matches only .wav names under one themes directory. The PR's verification says it matches the 17 recordings and skips sources.md. It cannot cover a code or config file unless that file is misnamed .wav, and a misnamed file only matters if a reviewed consumer runs it.
  • Instruction surface. The header comment's rule, that a path stays listed only until the commit adding it lands, gets a stated exception for standing audio entries. That is a policy change to how the list is maintained, not a guardrail in a protected class. The skip conditions in the lane itself are unchanged.

There are no manifest changes and no prior findings. This is the first review of this PR (blocking only: no).

Spend. No charge. Reviews of PRs that change sounds will spend slightly less prepaid review usage, because the audio hunks are no longer read.

critical-findings: 0

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

claude-review: 1 inline finding(s) on 3e2805345f188433985c0fcb67802ab920215716; the summary is in this lane's pull request comment.

claude-lane: claude-review

Comment thread scripts/review-generated-data.txt Resolved
@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 3e2805345f188433985c0fcb67802ab920215716: read 1 of 1 changed file(s); 1 finding(s), 1 as inline comments.

Code review: PR #17681

This PR adds a standing glob entry, plugins/themes/sounds/bedroom/*.wav, to scripts/review-generated-data.txt. It also rewords the header to say a line can hold a path or a glob. Both hosted review lanes read the list through their generated-data input (.github/workflows/pr-review-hosted.yml:289 and .github/workflows/pr-review-security-hosted.yml:286). At this head the glob matches 17 .wav files under plugins/themes/sounds/bedroom/ and leaves out sources.md, which agrees with the PR body.

These claims come from the author and I did not verify them, because the code is in ci-workflows and outside this checkout:

  • The consumer's awk globs function turns the glob into a match the way the PR says.
  • A # comment line in the middle of the file is ignored, the same as the header comments.
  • The lane skips a file only when its diff is over 7,500 bytes.

Blocking: under "Fail a change that loosens a check", the new entry is an allowlist entry added to a CI check (kind 4). Before this change, a pull request that changed a bedroom recording was reviewed as partial. After it, the review lanes count those files as read without reading them. This PR closes no issue, so no spec names this exception and gives a reason for it. The PR body's reason does not count under the criterion. See the inline comment.

No closing issue, so I report no acceptance criteria. I found no embedded instructions in the PR context or the prior-findings file. No settled-threads file was supplied, so no thread counts as settled.

Loosened checks would be marked: fail (default; the prompt had no loosened_check_verdict: or loosened_check_patterns: line); patterns: 0. The prompt had no loosened_check_decision_record: line either, so I did not check the citation requirement.

Verifier dropped 0 of 1 candidates.

@github-actions

Copy link
Copy Markdown
Contributor

The pr-verify verifier failed head 3e2805345f188433985c0fcb67802ab920215716. What it wrote, as data:

What it wrote (22 lines)
Summary: There is no linked issue, so the spec is the PR #17681 title and body, written by a trusted
  author: list the bedroom sound recordings as generated data so later sound changes pass both
  review lanes instead of getting a partial review. The diff does that with one glob line in
  scripts/review-generated-data.txt. It also turns that list's rule, that an entry is temporary and
  comes off once its adding commit is on main, into a standing exemption. From then on, every later
  change to any plugins/themes/sounds/bedroom/*.wav file passes both review lanes without being
  read. That loosens the review check. Only a closes or refs issue that links the owner's decision
  in docs/owner-decisions.md and quotes the owner's words after `verbatim:` can ask for that. This
  spec is the PR body itself, which only says the owner asked for it and gives neither. No test
  suite covers this data file. Select Tests, the Check jobs and Lint Repo passed (run 44791994688),
  and the skipped test jobs are expected for this path. The file header now says entries may be
  globs. The diff does not contain the lane's glob handling (it lives in ci-workflows
  pr-review-cli.yml), so I could not check it here.
- scripts/review-generated-data.txt:17: the 'Standing entries ... Keep these listed' block and
  `plugins/themes/sounds/bedroom/*.wav` make a permanent review exemption, which breaks the file's
  own rule (lines 12-15) that an entry stays only until its adding commit is on main. Either remove
  the standing glob and list each recording only while the commit that adds it lands, or tie the
  change to a closes/refs issue that links the owner's decision in docs/owner-decisions.md and
  quotes the owner's words after `verbatim:`.
- PR body: says 'the follow-up the owner asked for' to justify skipping review, but gives no link to
  the owner's decision and no quoted words. Read it as an unsupported claim of approval, not as
  approval of the looser check; add the link and quote through a linked issue.

This pull request leaves the merge queue, and ci-status holds it out while it carries pr-verify-failed. A pr-verify pass removes the label, at a new commit or at this same head: once a trusted person edits the body, and only trusted people have edited it since the fail, this head is judged again, so a fail on the body or the issues it links needs only the body fixed, no new commit.

@github-actions github-actions Bot added the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Nov 20, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 20, 2026
@kyle-sexton kyle-sexton added the do-not-merge Hard merge gate: do not merge while applied. label Nov 20, 2026
@kyle-sexton

Copy link
Copy Markdown
Member Author

Superseded. The owner chose metadata review for binary files (option A) in the session that opened this pull request; their instruction to add this glob applied only "if that remains the mechanism", and it no longer does. The change goes to melodic-software/ci-workflows pr-review-cli.yml: a binary whose extension and magic bytes agree gets a header-only section, so a recording no longer makes the review partial and no file needs a standing exemption. pr-verify's finding (a standing exemption with no linked owner decision) is correct and stands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge Hard merge gate: do not merge while applied. pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant