Skip to content

fix(source-control): accept the Title Case reusable check names - #16122

Merged
kyle-sexton merged 2 commits into
mainfrom
fix/accept-title-case-reusable-check-names
Nov 14, 2026
Merged

kyle-sexton merged 2 commits into
mainfrom
fix/accept-title-case-reusable-check-names

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Refs: melodic-software/standards#985

Summary

ci-workflows gives every job in its reusable workflows a Title Case display name (ci-workflows 93863dd). GitHub names a called job's check <caller job name or id> / <called job name>, and the callers pin @main, so the moment that rename merges the readers here would stop matching:

  • pr-review-cli.yml review-status becomes Status
  • pr-review.yml claude-review-status and pr-review-security.yml security-review both become Claude
  • intake-triage.yml claude-intake-triage-apply becomes Apply

Without this PR, CI Status would fail every pull request with "'PR Review / review-status' did not run", and the babysit merge gate would read both review lanes as not succeeded. This PR makes every live reader accept the new names. The old names stay accepted, because SHA-pinned callers and finished runs keep emitting them.

Fix

  • ci-status (.github/workflows/pr-require-checks.yml, the review-lanes step and the cost-hold step): each lane accepts PR Review / Status and pr-review / Status (security: PR Review Security / Status and pr-review-security / Status) beside the two review-status names. The new display name comes first, so the step's messages name the current check.
  • merge-holds.mjs REVIEW_LANES and clear-escalations.mjs LANE_RECORDS: the same Status names.
  • babysit (babysit_merge.py AI_REVIEW_CHECKS, babysit_review_evidence.py LANES, babysit_merge_policy.py REVIEW_LANES):
    • add <caller> / Status and <caller> / Claude.
    • AI_REVIEW_CHECKS also covers the sandbox's pr-review.yml caller as pr-review-no-bots / Claude.
    • Both lanes share each new segment, so a name counts only in full under its own lane's callers. No reader matches a bare Claude or Status.
    • The review-evidence lists keep an old name first, because babysit_gh.py keys its lane-run cache on the first name's last segment.
  • triage-sweep.mjs: INTAKE_APPLY_JOB matches Intake Triage / Apply as well as .../...-apply.
  • Docs agents act on: the /source-control:pull-request merge jq script (reference/providers/github/pull-request/merge.md), pull-request/reference/merge.md, babysit reference/safety.md, and the pr-pipeline README's lane rule.
  • Changelog: fragments for source-control and pr-pipeline.

Verification

Each reader has a case showing the new name is accepted, the old name still is, and the new name is refused under another caller, under the other lane, or as a bare segment:

  • node --test on triage-sweep.test.mjs (69 tests), merge-holds.test.mjs (71), clear-escalations.test.mjs (123), clear-escalations-recheck/stale-hold (37) and reconcile.test.mjs (183): all pass.
  • Python unittest on test_babysit_merge.py (167), test_babysit_review_evidence.py (283), test_merge_holds_sync.py (21, the JS/Python parity cases), test_babysit_merge_cost.py (35) and test_babysit_gh_lane*.py (13): all pass.
  • scripts/ci-review-lanes.test.sh (275), scripts/ci-hold-cost-decision.test.sh (187) and scripts/ci-lanes-pr-hold.test.sh (345): all pass.
  • scripts/run-ruff.sh check on the changed Python passes, and markdownlint on the changed docs reports nothing.

Related

  • Owner rule: complete naming uniformity, so no old name is kept as an exception.
  • Callers covered:
    • pr-review.yml: pr-review (standards components/claude-lanes*/claude-review.yml, standards' own .github/workflows/pr-review.yml) and pr-review-no-bots (pr-pipeline-sandbox, SHA-pinned).
    • pr-review-security.yml: pr-review-security.
    • pr-review-cli.yml: this repo's PR Review and PR Review Security, and the sandbox's pr-review and pr-review-security.
  • Left unchanged on purpose:
    • The stale check-name comments at .github/workflows/pr-review-hosted.yml:24 and pr-review-security-hosted.yml:23. Editing a review caller makes the lane broker refuse this PR's review tokens as workflow-modified.
    • The sync-managed .github/standards/**.

🤖 Generated with Claude Code

ci-workflows is renaming every job in its reusable workflows to a Title
Case display name: pr-review-cli.yml's status job becomes `Status`, the
pr-review.yml and pr-review-security.yml job `Claude`, and the
intake-triage apply job `Apply`. Callers pin @main, so the check names
the readers here match exactly change the moment that rename merges.

Every reader now accepts the new names beside the old ones:

- ci-status's review-lanes and cost-hold steps, merge-holds.mjs
  REVIEW_LANES and clear-escalations.mjs LANE_RECORDS: `<caller> /
  Status` for both lanes.
- babysit_merge.py AI_REVIEW_CHECKS, babysit_review_evidence.py LANES
  and babysit_merge_policy.py REVIEW_LANES: `<caller> / Status` and
  `<caller> / Claude`, whole names only, since both lanes share each
  segment. The review-evidence lists keep an old name first, which the
  lane-run cache key reads.
- triage-sweep.mjs: `Intake Triage / Apply`.
- The pull-request merge script and the gate docs.

Refs: melodic-software/standards#985

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

chatgpt-codex-connector Bot commented Nov 14, 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-14T03:49:02.081316Z 3281360 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 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 32813604a3551e57f7e5e986dec9489d15a91756; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 040b01c9ab84600bd085d5de582a077637894c65: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Code review (incremental, blocking only): 3281360 → 040b01c

Scope: this lane already reviewed an earlier head of this pull request, so this review reports blocking findings only. I read every hunk of the 2 files changed since 3281360:

  • plugins/source-control/reference/providers/github/pull-request/merge.md
  • plugins/source-control/skills/pull-request/reference/merge.md

What changed: this push fixes this lane's earlier advisory finding (discussion_r4571330877). That thread is settled: the owner resolved it and replied.

  • The jq script: the code-review lane([...]) list in the merge-after-AI-review script now includes pr-review-no-bots / Claude and pr-review-no-bots / claude-review-status.
  • The gate doc: the prose list in skills/pull-request/reference/merge.md now names the same two checks.

Check against babysit_merge.py: I compared the new names with AI_REVIEW_CHECKS (babysit_merge.py#L327-L339). It lists pr-review-no-bots / Claude by full name. It also accepts claude-review-status as a bare segment, so pr-review-no-bots / claude-review-status passes there too.

The doc and the jq script now match what babysit accepts for the sandbox caller, which fits the doc's claim to list "the names babysit_merge.py accepts". The jq list is still valid syntax (comma-separated strings in an array literal). The security-lane list is unchanged.

Findings: none at the blocking level in this change.

Closing issue: none (the PR only references melodic-software/standards#985).

Manifests: no plugin or marketplace manifest changed.

Security: left to the security lane.

Verification: I ran no tests.

Verifier dropped 0 of 0 candidates.

@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 040b01c9ab84600bd085d5de582a077637894c65: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Security review (incremental, blocking only): no security issues found

Scope: I read every hunk of both files in .claude-lane/incremental.diff. That covers the change from 32813604 to 040b01c9. This lane already reviewed an earlier head, so this review reports only CRITICAL and IMPORTANT findings.

What changed: Both changed files are docs. The "Merge after AI review" gate in plugins/source-control/reference/providers/github/pull-request/merge.md#L200-L204 and the matching prose in plugins/source-control/skills/pull-request/reference/merge.md now accept two more names for the code-review lane: pr-review-no-bots / Claude and pr-review-no-bots / claude-review-status. The diff calls pr-review-no-bots the sandbox's pr-review.yml caller.

Trust controls checked:

  • Merge gate: The gate is the lane() jq predicate in that merge.md, lines 196-198. For each lane it still requires at least one matching check run, and every matching run must be completed with success.
  • Names: The new entries are full caller-qualified names. They are added only to the code-review lane list. The security lane list (lines 205-210) is unchanged, so a run under the new names cannot satisfy the security lane.
  • Other gates still apply: The base-ruleset check for CI Status/ci-status (lines 191-194) is unchanged. So are the mergeable_state == clean check at the pinned head (lines 212-218) and the full-pagination guard ($r | length) == .[0].total_count.
  • Name matching: Matching a check run by name was already possible before this change, and the previous round covered it. Under the owner threat model, only the owner's own actors open pull requests. This change creates no new kind of path.

Instruction surfaces: No rule is deleted, narrowed or softened. The prose change only adds the new names to the list of accepted checks.

Trust widening: None. The trusted-actor list, lane token scope, kill switch, token broker and plugin manifests are untouched.

Spend: None.

critical-findings: 0

…ew gate

The pull-request merge doc and its jq gate say they list the names
babysit_merge.py accepts, but left out the sandbox's pr-review.yml
caller, `pr-review-no-bots`, which the babysit gate accepts as
`pr-review-no-bots / Claude` and (through the bare segment)
`pr-review-no-bots / claude-review-status`. Add both.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 14, 2026
Merged via the queue into main with commit 24cea66 Nov 14, 2026
71 checks passed
@kyle-sexton
kyle-sexton deleted the fix/accept-title-case-reusable-check-names branch November 14, 2026 04:26
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 14, 2026
kyle-sexton added a commit to melodic-software/standards that referenced this pull request Nov 14, 2026
#1008)

No related issue: display names for the four synced review callers,
found by running naming-lint over every consumer.

## Summary

The four review callers this repository distributes left their caller
job unnamed. Each consumer's review checks therefore read `pr-review /
...` and `pr-review-security / ...`, and naming-lint reports a
`job-name` finding for each of the 26 synced copies. The caller jobs are
now named `PR Review` and `PR Review Security`.

**Check names change in every consumer on the sync.** `pr-review /
Claude` becomes `PR Review / Claude`, `pr-review-security / Claude`
becomes `PR Review Security / Claude`, and the `pr-review-cli` rows
under the same prefixes change the same way. `CI Status` stays the only
required check.

## Fix

- `components/claude-lanes/claude-review.yml`,
`components/claude-lanes-hosted/claude-review.yml`: `name: PR Review` on
the caller job.
- `components/claude-lanes/claude-security-review.yml`,
`components/claude-lanes-hosted/claude-security-review.yml`: `name: PR
Review Security` on the caller job, and the header comment names the
check as `PR Review Security / Claude`.

## Verification

- `naming-lint --mode enforcing` on this branch: 0 findings.
- Readers of the old names, by search of the default branch of every
local clone of the org's repositories: claude-code-plugins and
pr-pipeline-sandbox only. claude-code-plugins lists both forms
(melodic-software/claude-code-plugins#16122). pr-pipeline-sandbox has
its own callers and does not take these files.
- `node --test components/runner-policy/runner-policy.test.mjs`: pass.
- Left out: `components/claude-lanes/claude-lanes.test.sh` and
`components/trusted-actors/trusted-actors.test.mjs` did not run cleanly
on this machine (a missing temp directory and a load error); CI runs
them on this pull request.

## Related

- #1005 (job-name and step-name are blocking)
- melodic-software/ci-workflows#1091 (reusable job names)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Fable 5.2 <[email protected]>
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