Skip to content

ci: reference first-party actions at main and vendor actions by major tag - #18531

Merged
kyle-sexton merged 11 commits into
mainfrom
phase-c-unpin
Nov 24, 2026
Merged

kyle-sexton merged 11 commits into
mainfrom
phase-c-unpin

Conversation

@kyle-sexton

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

Copy link
Copy Markdown
Member

Closes #18556

Summary

Every melodic-software/* ref in this repository's workflows and composite actions moves from a SHA pin to @main, and every official vendor ref (actions/*, the only vendor owner pinned here) to its moving major tag. Third-party refs stay SHA-pinned. ADR 0129 records the decision and supersedes ADR 0085 Decision 4.

Owner, verbatim (architecture owner-decisions L351): "If it's owned by us, it should not be pinned. If it involves an untrusted third-party library ... it should be pinned, as long as those still flow automatically through Dependabot and cooldowns ... official vendor like Microsoft or Anthropic or OpenAI ... those I don't want pinned".

Fix

  • uses: refs rewritten: 1,300 in 40 files. First-party (melodic-software/ci-workflows, from v0.82.1): 749 to @main. Vendor: 551, actions/checkout@v7 (211), upload-artifact@v7 (165), download-artifact@v8 (71), cache@v6 (37), setup-node@v7 (31), setup-python@v7 (23), github-script@v9 (9), create-github-app-token@v3 (4). Each major tag was checked with gh api repos/actions/<name>/git/ref/tags/<tag>.
  • Two ref: checkouts of ci-workflows (the classifier in pr-run-plugin-evals.yml and maintenance-measure-skill-edit-pass.yml) move to main.
  • ci-workflows-at-pin.mjs resolves main to its current tip, so tests that read a ci-workflows file at the workflows' ref keep working. Every read resolves its ref to a full SHA before it caches, and the cache itself still refuses anything but a full SHA. A test proves that a main contract read caches only under the tip's SHA. check-comment-hygiene.sh accepts main or a SHA, so a merge base from before this change still works.
  • The credential legs were regenerated (node scripts/sync-credential-legs.mjs) and so were the hold-floor blocks (python3 -I scripts/sync-hold-floor.py, which drops the deleted repin workflow's floor row). The floor counts and digests in the babysit tests were updated to match.
  • Docs: the pr-pipeline README pin paragraph, the tracker-reference-form contract and the resolve-config README.
  • Skipped as synced by melodic-software/standards: .github/workflows/pr-check-managed-files-hosted.yml (main's sync has since moved it to @main) and .github/standards/github-actions-conventions/vocabulary.json (still lists repin-ci-workflows as in use).
  • Left as is: test fixtures, eval scaffolds and skill examples under plugins/ that show SHA-pinned uses: lines as sample data.

Loosened checks

Verification

  • actionlint over .github/workflows/*.yml: clean. zizmor --offline with .github/zizmor.yml: no findings.
  • node scripts/sync-credential-legs.mjs --check and python3 -I scripts/sync-hold-floor.py --check: both exit 0.
  • 131 node test files that read workflows: 8,135 tests. The 11 failures were fixed and their files re-run (304/304 pass).
  • 46 scripts/*.test.sh suites that read workflows pass, except two that need PyYAML, which is not installed here.
  • babysit-prs Python tests: the same failure set as origin/main in this environment.

Related

Known effects

  • dependency-classify.mjs auto-merges only a full-SHA pin swap in workflow files. A Dependabot vendor major-tag bump (@v7 to @v8) now escalates as dependency-workflow-unpinned instead of auto-merging.

🤖 Generated with Claude Code

… tag

Every melodic-software/* ref in workflows and composite actions moves from a
SHA pin to @main, and every actions/* ref to its moving major tag, per the
owner decision in architecture owner-decisions "Action pinning (D3)".
Third-party refs stay SHA-pinned.

Retires the daily ci-workflows repin workflow and its script and test, the
ci-workflows-commits field of the central lane grants, the Dependabot ignore
for ci-workflows actions, and the tests that required one ci-workflows pin.
Tests that read ci-workflows files at the workflows' ref resolve main to its
tip. ADR 0126 records the decision and supersedes ADR 0085 Decision 4.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 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-23T17:18:53.896749Z a43eb1d PR opened
ℹ️ 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.

The change edits docs/conventions/pr-pipeline/ and source-control tests, so
each needs a fragment: a patch for pr-pipeline, none for the test-only
source-control edit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 72efb424dc6a8a47b2430545340608b330bb6c28: read 87 of 87 changed file(s); 0 finding(s), 0 as inline comments.

Chunk 1 of 4 (40 files)

Security review: chunk 1 of 4 (40 files, blocking only)

No security issues found. This lane already reviewed an earlier head of this pull request, so this was a blocking-only review: it looked only for CRITICAL and IMPORTANT findings, and it found none. All 40 files in .claude-lane/chunks/chunk-1.patch were read in full, every hunk.

What the chunk changes

  1. Workflow and composite-action refs
    • Files: .github/actions/upload-fail-index/action.yml and the 9 workflows from intake-label-outside-actor-activity.yml through maintenance-file-upstream-drift-issues.yml.
    • Every melodic-software/ci-workflows/* ref moves from @c77590135e3a… # v0.82.1 to @main.
    • The actions/* refs move from SHA pins to major tags: checkout@v7, upload-artifact@v7, download-artifact@v8, setup-node@v7 and setup-python@v7.
    • Nothing else in those blocks changes. These are all unchanged in every hunk:
      • every permissions: block, if: gate and kill-switch gate;
      • persist-credentials: false;
      • the ref: ${{ steps.tip.outputs.sha }} and ${{ github.sha }} checkouts;
      • each scan-upload followed by its upload;
      • every secrets.* reference.
    • No trusted-trigger check, lane-token request or kill-switch action changes, so no trust control is widened.
    • Loosened pins are zizmor's supply-chain lane, and under the owner threat model a pin or repin ceremony is a named friction hold.
  2. .github/actions/resolve-config/lane-grants.json and its test
    • The ci-workflows-commits key is dropped from both rows. In the base it was [] in both rows.
    • lanes and trusted-actors are byte-identical, so no lane, activity, effect or actor is added and nothing changes in what gets minted.
    • The README says this action does not read the file.
  3. .github/scripts/pr-merge/merge-holds.mjs
    • It drops only the gate hold-path row for maintenance-repin-ci-workflows.yml, a workflow this PR deletes.
    • That row is a path hold, which is a named friction hold. No other hold logic changes.
  4. .github/dependabot.yml
    • The ignore for melodic-software/ci-workflows/* is removed.
    • With those refs at @main, Dependabot has no pin to bump. This widens nothing.
  5. .github/scripts/lib/ci-workflows-at-pin.mjs (test-time reader)
    • The new commitOf accepts only a 40-hex SHA or the literal main, and throws on anything else.
    • It resolves main through execFileSync("git", ["ls-remote", REMOTE, "refs/heads/main"]) against the hard-coded REMOTE. That is an argument array, so no shell runs.
    • It checks the result against PIN before using it, and pinned() still refuses a non-SHA before building the cache path. There is no path or command injection.
  6. Tests, helper regexes and changelog fragments
    • The ref-matching regexes now follow the new ref forms. This covers model-credential.mjs and pr-verify/probe/replay.mjs.
    • Assertions on permissions, secrets, credentials, isolation and the scan-before-upload order are unchanged.

Owner threat model (named friction holds, nothing held)

  • The pin and repin ceremony for first-party (@main) and official vendor (major-tag) actions is removed.
  • The merge-holds path row for the deleted repin workflow is removed.

Other checks

  • Instruction surfaces: none changed in this chunk.
  • Plugin manifests: none changed in this chunk.
  • Embedded text: none found in the PR context.
  • Spend: none.

Chunk 2 of 4 (17 files)

Security review: chunk 2 of 4 (blocking only)

No security issues found. This lane already reviewed an earlier head of this pull request, so this review was blocking only: it looked only for CRITICAL and IMPORTANT findings, and found none.

I read every hunk of all 17 listed files in .claude-lane/chunks/chunk-2.patch, and the deleted maintenance-repin-ci-workflows.yml as context.

What the chunk changes

  1. Ref rewrites, nothing else. This covers the 17 workflows from maintenance-measure-skill-edit-pass.yml through pr-review-security-hosted.yml.
    • Every melodic-software/ci-workflows/.github/actions/*@c7759013… # v0.82.1 becomes @main.
    • actions/* refs move from SHA pins to major tags: checkout@v7, upload-artifact@v7, download-artifact@v8, setup-node@v7, setup-python@v7, cache/restore@v6 and cache/save@v6.
    • The two classifier checkouts in maintenance-measure-skill-edit-pass.yml move from ref: c7759013… to ref: main. Both still check out with persist-credentials: false and a sparse checkout.
    • In every hunk, the permissions: blocks, if: gates, kill-switch gates, persist-credentials: false, the ref: values for main's tip and the event SHA, the scan-before-upload pairs, gate-path: inputs and credential-leg wiring are context lines this diff does not change.
    • No trusted-trigger check, lane-token request, kill-switch action or select-trusted-text step changes, so no trust control widens. Loosened pins belong to zizmor's supply-chain lane.
  2. maintenance-repin-ci-workflows.yml is deleted. It was the daily repin job, and it minted the release App token with contents, pull-requests and workflows write. Deleting it narrows what holds that token and widens nothing.
  3. pr-require-checks.yml L7475 (the hold-floor hold_patterns block). The regenerated list drops only .github/workflows/maintenance-repin-ci-workflows.yml. The [ "$AUTHOR_ID" = 49699333 ] || hold_patterns=() line and the rest of the list are unchanged.
  4. pr-review-hosted.yml L445 and pr-review-security-hosted.yml L442. Each drops the same deleted workflow from its hold-paths list and nothing else.

Owner threat model (named friction holds, nothing held)

  • Removed the pin or repin ceremony for first-party refs (@main) and official vendor refs (major tags), including the repin workflow.
  • Removed the path-hold rows for the deleted repin workflow (hold_patterns and both review callers' hold-paths).

Other checks

  • Instruction surfaces: none changed in this chunk.
  • Plugin manifests: none changed in this chunk.
  • Embedded text: none found in the PR context.
  • Spend: none.

Chunk 3 of 4 (28 files)

Security review: chunk 3 of 4 (28 files, blocking only)

No security issues found. This lane already reviewed an earlier head of this pull request (blocking only: yes in the prior-findings file). This review therefore looked only for CRITICAL and IMPORTANT findings, and there are none.

I read every hunk of all 28 files in .claude-lane/chunks/chunk-3.patch.

What the chunk changes

  1. Workflow uses: refs. This covers the 12 workflows from pr-run-activity-read.yml through work-unblock.yml.
    • melodic-software/ci-workflows/.github/actions/* moves from @c77590135e3a… # v0.82.1 to @main.
    • actions/* moves from SHA pins to major tags (checkout@v7, setup-node@v7, setup-python@v7, upload-artifact@v7, download-artifact@v8, cache/restore@v6, cache/save@v6, github-script@v9, create-github-app-token@v3).
    • Nothing else in those hunks changes. Every if: gate, with: input, persist-credentials: false, ref: ${{ steps.tip.outputs.sha }} / needs.*.base-sha checkout, scan-before-upload pairing, kill-switch condition and secrets.* / vars.* reference is the same as before.
    • The release App token mint (release-publish-plugins.yml and release-generate-dependabot-changelog-fragments.yml) changes only the action ref. Its client-id and private-key sources are unchanged.
    • No local trust-control action (request-lane-token, check-kill-switch, check-trusted-trigger, select-trusted-text) is touched in this chunk. No permissions: block changes.
  2. pr-run-plugin-evals.yml classifier checkout. ref: moves to main. The step's own comment says it reads contract.cjs and its listed files as data, and persist-credentials: false is unchanged.
  3. docs/conventions/pr-pipeline.yaml. It drops the gate hold-path row for maintenance-repin-ci-workflows.yml, a workflow this PR deletes in chunk 2. That is a path hold, so it is one of the owner's named friction holds. The babysit floor tests (test_diff_risk.py, test_floor_paths.py, test_merge_holds_sync.py, test_babysit_postmerge.py) only update counts and digests to match: gate 74→73, total 168→167, high 100→99.
  4. Check scripts.
    • scripts/check-artifact-retention.mjs SCAN_ACTION now accepts only scan-upload@main (or the local action). A SHA ref no longer counts as a scan, so the check got stricter.
    • scripts/check-read-caller-keys.mjs TIP_USES now accepts only resolve-branch-tip@main. That is also stricter.
    • scripts/check-comment-hygiene.sh now accepts ([0-9a-f]{40}|main). That value goes into a curl raw URL on the hard-coded first-party repository (L117). The regex leaves no way to inject anything into the URL.
    • The test scripts follow the new forms.
  5. Docs. ADR 0129 (new), the supersede note on ADR 0085, tracker-reference-form/README.md and pr-pipeline/README.md change prose only. None of it is a standing instruction to an agent.

Owner threat model (named friction holds, nothing held)

  • The pin and repin ceremony is removed for first-party (@main) and official vendor (major-tag) action refs. Supply-chain hardening of refs is also zizmor's lane.
  • The merge hold-path row for the deleted repin workflow is removed.

Other checks

  • Instruction surfaces: none changed in this chunk. The ADR and README edits are records, not agent rules.
  • Plugin manifests: none changed in this chunk.
  • Embedded text: none found in the PR context.
  • Spend: none.

Chunk 4 of 4 (2 files)

Security review: chunk 4 of 4 (blocking only)

I found no security issues in this chunk. This lane already reviewed an earlier head of this pull request (blocking only: yes), so this review looked only for CRITICAL and IMPORTANT findings. It found none.

I read every hunk of .claude-lane/chunks/chunk-4.patch:

  1. scripts/repin-ci-workflows.sh and scripts/repin-ci-workflows.test.sh are deleted. These files make up the daily repin of the ci-workflows SHA pin. Because the diff deletes them whole, they are not on the scope's file list, but I still read them in full for context.
    • The script resolved the newest published ci-workflows release. It refused any non-SHA or non-vX.Y.Z input, any downgrade, and any release that a compare check showed was not ahead of the current pin. It then rewrote the pins.
    • Deleting the script removes a pin/repin ceremony, which is one of the owner's named friction holds under the throughput-phase threat model, so it is not a finding.
    • It is not a hold on untrusted provenance or an untrusted spec: it only moved first-party (melodic-software/ci-workflows) refs.
    • No trusted-trigger check, lane-token scope, kill switch or merge-hold logic is touched in this chunk.
  2. scripts/suite-seconds.txt drops the timing row for the deleted test. It has no security surface.
  3. scripts/write-runner-never-rules.test.sh, L371: the assertion on the resolve-branch-tip step now expects @main instead of a 40-hex SHA.
    • The other checks on that step are unchanged: branch is still ${{ github.event.repository.default_branch }}, the checkout ref is still ${{ steps.tip.outputs.sha }} under the same if:, persist-credentials is still false, and the step order and the single-checkout count are still asserted.
    • Loosening a first-party pin falls under zizmor's supply-chain lane and the owner's named pin ceremony exemption.

Owner threat model (named friction holds, nothing held): this chunk removes the ci-workflows repin ceremony (the script and its test) and relaxes the test's first-party pin assertion to @main.

Other checks:

  • Instruction surfaces: none changed in this chunk.
  • Plugin manifests: none changed in this chunk.
  • Embedded text: none found in the PR context.
  • Spend: none.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 72efb424dc6a8a47b2430545340608b330bb6c28: read 87 of 87 changed file(s); 0 finding(s), 0 as inline comments.

Chunk 1 of 4 (40 files)

Code-review lane, chunk 1 of 4: no blocking findings. This lane already reviewed an earlier head (blocking only: yes), so this review reports only blocking findings and drops advisory ones. The new head merges origin/main into the branch.

Scope. I read every hunk of the 40 files in .claude-lane/chunks/chunk-1.patch:

  • the two changelog fragments
  • the resolve-config README, callers.test.mjs, lane-grants.json and its test
  • upload-fail-index/action.yml and dependabot.yml
  • ci-workflows-at-pin.mjs and its test, and model-credential.mjs
  • the pin assertions in the .github/scripts/** tests
  • merge-holds.mjs and pr-verify/probe/replay.mjs
  • the uses: rewrites in the nine workflows from intake-label-outside-actor-activity.yml through maintenance-file-upstream-drift-issues.yml

What I checked myself (with Read and Grep only, nothing executed):

  • No SHA pin is left after the merge from main. A grep of .github/ at head for uses: (melodic-software|actions)/…@<40-hex> finds only three test fixture strings, all in pr-merge/workflow.test.mjs (L2168, L2175, L2187). It finds no workflow or composite action, so the merge brought no new first-party or vendor SHA pin into the files these tests read.
  • One main tip per process. commitOf caches mainTip at module scope. All the fetchAtPin calls that contractAtPin makes therefore resolve to the same commit (L79-L94). pinned() still refuses any ref that is not a full SHA, so the cache is keyed only by a commit.
  • The tests match the rewritten workflows. The changed regexes and extractors match the rewritten uses: lines, which no longer have a trailing version comment. That covers selectPin, RUN_CLAUDE_CLI_PIN, CLASSIFIER_PINS, SELECT_PINS and the ref: (\S+) classifier capture. In parity.test.mjs the regex now ends in $ instead of #, which matches the bare @main.
  • The removals are consistent. lane-grants.json drops ci-workflows-commits from both rows, and its test now expects exactly three keys. merge-holds.mjs drops only the floor row of the deleted repin workflow, which chunk 2 deletes.

Closing issue #18556. This chunk covers four of its "Done when" items:

  • ci-workflows-commits and its test are removed.
  • The Dependabot ignore is removed.
  • The pin tests assert the new rule.
  • The first-party and vendor refs in these files are rewritten.

The other items are in later chunks.

Loosened checks. The prompt has no loosened_check_verdict: or loosened_check_patterns: line, so I used fail with no consumer entries. It has no loosened_check_decision_record: line either, so I did not check the citation requirement. The rewritten pin assertions, the removed ci-workflows-commits validation and the removed Dependabot ignore each have a reason in the PR body's ## Loosened checks section. The first two also have one in the closing issue's "Done when" list. Loosened checks would be marked: n/a. I did not re-read the criterion file this round.

Spend. Running first-party actions at @main and vendor actions at moving major tags spends nothing beyond today's CI.

The PR's "Verification" section was not confirmed by this review: it is the author's claim. I ran no tests.

Verifier dropped 0 of 0 candidates.

Chunk 2 of 4 (17 files)

Code-review lane, chunk 2 of 4: no blocking findings. This lane already reviewed an earlier head (blocking only: yes), so this review reports only blocking findings and drops advisory ones.

Scope. I read every hunk of the 17 listed files in .claude-lane/chunks/chunk-2.patch, from maintenance-measure-skill-edit-pass.yml through pr-review-security-hosted.yml. I also read the whole deletion of maintenance-repin-ci-workflows.yml, which is in the diff but not on the file list.

What I checked myself (with Read and Grep only, nothing executed):

  • The uses: rewrites are mechanical. The only changed lines that are not uses: lines are these:

    • the two classifier checkouts in maintenance-measure-skill-edit-pass.yml (ref: <sha> becomes ref: main) and their comment wording;
    • the generated hold_patterns line in pr-require-checks.yml;
    • one list entry each in pr-review-hosted.yml and pr-review-security-hosted.yml.

    Every first-party ref moves to @main. Every vendor ref (checkout@v7, upload-artifact@v7, download-artifact@v8, cache/{restore,save}@v6, setup-node@v7, setup-python@v7) moves to the major tag of its old pinned release. The local uses: ./... refs are unchanged.

  • No pins are left. A grep over .github/workflows at head finds no melodic-software/* or actions/* uses: ref at a 40-hex SHA, and no SHA ref:. That meets "Done when" items 1 and 2 of Reference first-party actions at main and official vendor actions by major tag #18556 for these files.

  • The removal of the deleted workflow is consistent.

    • The regenerated hold_patterns line in pr-require-checks.yml differs from the base only by dropping .github/workflows/maintenance-repin-ci-workflows.yml. That matches chunk 1's merge-holds.mjs floor-row removal.
    • The two hosted review workflows drop the same path from their lists.
    • The only other references at head are: a message string in the review-dependency.test.mjs fixture (sample data); vocabulary.json, which the PR body says the standards sync owns; and ADR 0129, which records the retirement.

Closing issue #18556. This chunk covers "Done when" item 4: the repin workflow is deleted and its floor row is removed. It also covers items 1 and 2 for these 17 workflows. The rest is in other chunks.

Loosened checks. The prompt has no loosened_check_verdict: or loosened_check_patterns: line, so I used fail with no consumer entries. It has no loosened_check_decision_record: line either, so I did not check the citation requirement. Under the criterion's "Which checks" section, deleting the repin workflow, moving refs off SHA pins and dropping a path from the hold list are each a pin, repin or path hold. Those are friction holds and make no finding. The deletion is also named in the spec and in the PR body's ## Loosened checks section. No ordinary check is loosened in this chunk. Loosened checks would be marked: fail (default, no verdict line in the prompt); patterns: 0.

Spend. Running actions at @main and at major tags adds no spend. Deleting the daily repin job removes one small scheduled run.

The PR's "Verification" section (actionlint, zizmor, the sync --check runs, the test counts) is the author's claim and I did not verify it.

Verifier dropped 0 of 0 candidates.

Chunk 3 of 4 (28 files)

Code-review lane, chunk 3 of 4: no blocking findings. This lane already reviewed an earlier head of this PR (blocking only: yes), so this pass reports only blocking findings and drops advisory ones.

Scope. I read every hunk of the 28 files in .claude-lane/chunks/chunk-3.patch:

  • the uses: rewrites in the 12 workflows from pr-run-activity-read.yml through work-unblock.yml
  • ADR 0085's status line and the new ADR 0129
  • the tracker-reference-form contract
  • pr-pipeline.yaml's floor row and the pr-pipeline README
  • the four babysit-prs tests
  • check-affected.test.sh, check-artifact-retention.mjs and its test, check-comment-hygiene.sh, check-read-caller-keys.mjs and its test, and post-merge-demotion-alert.test.sh

What I checked myself (Read only, nothing executed):

  • The workflow edits are only ref swaps. Every hunk in the 12 workflows replaces a melodic-software/ci-workflows/...@<sha> # v0.82.1 ref with @main, or an actions/*@<sha> # vX.Y.Z ref with the matching major tag:

    • checkout@v7, setup-node@v7, setup-python@v7
    • upload-artifact@v7, download-artifact@v8
    • cache/restore@v6, cache/save@v6
    • github-script@v9, create-github-app-token@v3

    No with:, if: or env: line changed. The two classifier checkouts in pr-run-plugin-evals.yml now use ref: main.

  • The scripts still work with main.

    • check-comment-hygiene.sh now captures main or a SHA. It uses that value only in the raw URL $raw_base/$sha/$1 (L117), which accepts a branch name, and in log text.
    • check-affected.test.sh passes main to fetchAtPin, which resolves main to its tip SHA before caching (the prior review checked this in chunk 1).
  • The format checks now require @main. check-artifact-retention.mjs SCAN_ACTION and check-read-caller-keys.mjs TIP_USES accept only @main. Their tests cover these cases:

    • @main passes;
    • a SHA, v1, a short SHA and mainline fail, so the anchor is tested;
    • another owner's action fails.

    This matches the "Done when" rule of Reference first-party actions at main and official vendor actions by major tag #18556: first-party at @main.

  • The floor counts agree with each other. Removing the maintenance-repin-ci-workflows.yml gate row from pr-pipeline.yaml lowers the counts by one everywhere:

    • gate 74 to 73;
    • classes 168 to 167;
    • high 100 to 99;
    • ROWS 167 − 32.

    The high and class digests changed. The review and author_review digests did not, as expected for a gate-class row.

  • The docs match the change. The pr-pipeline README drops the repin workflow from the Release App row and from the pin paragraph.

Closing issue #18556. This chunk covers three of its "Done when" items:

  • the classifier checkouts use ref: main;
  • the repin workflow's floor row is removed by regenerating, and the tests pin the new counts and digests;
  • ADR 0129 records the decision and supersedes ADR 0085 Decision 4. ADR 0085's status line points to it.

The other items are in other chunks.

Loosened checks. The prompt has no loosened_check_verdict: or loosened_check_patterns: line, so I used fail with no consumer entries. It has no loosened_check_decision_record: line either, so I did not check the citation requirement.

  • check-comment-hygiene.sh now accepts main as well as a SHA. The PR body's ## Fix section and the spec's "first-party at @main" rule give the reason, though ## Loosened checks does not list it.
  • The SHA-only patterns in check-artifact-retention.mjs and check-read-caller-keys.mjs become @main-only. That is a rule change the spec requires, not a relaxation.

Loosened checks would be marked: n/a. The criterion file was not re-read this round.

Spend. Running first-party actions at @main and vendor actions at moving major tags adds no CI spend beyond today's.

The PR's "Verification" section (actionlint, zizmor, sync --check runs, test counts) is the author's claim; I did not run any of it.

Verifier dropped 0 of 0 candidates.

Chunk 4 of 4 (2 files)

Code-review lane, chunk 4 of 4: no blocking findings. This lane already reviewed an earlier head (blocking only: yes), so this review reports only blocking findings.

Scope. I read every hunk of .claude-lane/chunks/chunk-4.patch. That covers the two listed files, scripts/suite-seconds.txt and scripts/write-runner-never-rules.test.sh, plus the whole deletions of scripts/repin-ci-workflows.sh and scripts/repin-ci-workflows.test.sh, which I read as context.

What I checked myself (Read and Grep only, nothing executed):

  • write-runner-never-rules.test.sh:313. The assertion now requires resolve-branch-tip@main in place of a 40-hex SHA. Every resolve-branch-tip ref in .github/workflows/*.yml at head is @main, so the new regex matches what the workflows now use. This fits the closing issue's "Done when" item: "The tests that assert pins assert the new rule: first-party at @main…".
  • suite-seconds.txt. The row for the deleted scripts/repin-ci-workflows.test.sh is removed. No other test-runner manifest or script in the repository still names repin-ci-workflows.sh or its test.
  • Leftover references. Only three references to repin-ci-workflows remain, and none breaks anything:
    • a message string in the fixture .github/scripts/pr-unblock/review-dependency.test.mjs:203, which is sample data and is not used to find a file;
    • .github/standards/github-actions-conventions/vocabulary.json:137, which the PR body says the standards sync owns and leaves alone on purpose;
    • ADR 0129, which records the retirement.

Closing issue #18556. This chunk covers part of the item "The repin workflow maintenance-repin-ci-workflows.yml, scripts/repin-ci-workflows.sh and its test are deleted". Both scripts are deleted here. The workflow deletion and the floor row are in chunks 1 and 2.

Loosened checks. The prompt has no loosened_check_verdict: or loosened_check_patterns: line, so I used fail with no consumer entries. It has no loosened_check_decision_record: line either, so I did not check the citation requirement. Deleting repin-ci-workflows.test.sh and moving the pin assertion to @main both have a reason in the closing issue's "Done when" list and in the PR body's ## Loosened checks section. Loosened checks would be marked: n/a. I did not re-read the criterion file this round.

Spend. No spend in this chunk.

The PR's "Verification" section (test runs, actionlint, zizmor) is what the author says they ran; I did not run any of it.

Verifier dropped 0 of 0 candidates.

critical-findings: 0

# Conflicts:
#	.github/workflows/pr-require-checks.yml
#	plugins/source-control/skills/babysit-prs/scripts/tests/test_diff_risk.py
#	plugins/source-control/skills/babysit-prs/scripts/tests/test_floor_paths.py
@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

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

What it wrote (81 lines)
Summary: Whole spec, fail: Issue #18556 (closes): taken together, the chunks deliver seven of the
  eight done-when items but only part of item 7, so the head fails. Delivered: first-party refs at
  @main and the classifier checkouts at `ref: main` (chunks 1, 2 and 3), vendor refs at major tags
  (chunks 1, 2 and 3), third-party refs left SHA-pinned (chunks 1, 2 and 3), and the repin workflow,
  script, test and floor row removed (chunks 1, 2 and 3). Chunk 1 delivers the lane-grants
  `ci-workflows-commits` removal and the Dependabot ignore removal. Chunk 3 delivers ADR 0129, which
  supersedes ADR 0085 Decision 4. Item 7 is the gap: chunk 1 reports that four pin tests still let a
  first-party or vendor ref pinned by SHA pass, so they do not require first-party refs at @main or
  vendor refs at a tag. The PR body says those four tests check the new rule, but chunk 1
  contradicts that. Upstream existence of the vendor tags is shown for checkout@v7, setup-python@v7
  and cache@v6 by the head's green run. For the 
Chunk 1 of 3, pass-notes: Chunk 1 of 3 for issue #18556 (closes). I read all 20 parts whole, plus
  chunk-2 part-001 and chunk-3 part-011, which hold files my parts reference. Nothing blocks. The
  issue's spec text carries the owner-decision link (L351) and the owner's verbatim words, so the
  loosened pin checks and the removed allow-list are authorized. Done-when items in this chunk:
(1) First-party refs at `@main`: delivered in part. Every `melodic-software/ci-workflows` ref in
  this chunk's workflows is now `@main`. Both classifier checkouts in
  `maintenance-measure-skill-edit-pass.yml` now use `ref: main`. The `pr-run-plugin-evals.yml`
  classifier and the remaining workflows are in chunks 2 and 3.
(2) Vendor refs at their major tag: delivered for this chunk's files: checkout@v7,
  upload-artifact@v7, download-artifact@v8, setup-node@v7, setup-python@v7, including the composite
  `upload-fail-index`. The head's own pr-require-checks run used the new tags and went green, which
  shows at least t
Chunk 2 of 3, pass: Chunk 2 of 3 for issue #18556, which this pull request closes. I read all 16
  parts whole, plus the manifest, spec, context and upstream jobs. The chunk covers 11 workflows:
  pr-refine, pr-require-checks, pr-review-hosted, pr-review-main, pr-review-security-hosted,
  pr-run-activity-read, pr-run-activity-write, pr-run-plugin-evals, pr-test-platforms,
  pr-unblock-dispatch and pr-unblock.

Done-when items, for the files in this chunk only:

1. **First-party refs at `@main`: delivered in full for these files.** Every
  `melodic-software/ci-workflows/...@c775901… # v0.82.1` ref becomes `@main`. Both classifier
  checkouts in `pr-run-plugin-evals.yml` (about L509-L521 and L1215-L1222) change from the SHA to
  `ref: main`.
2. **Vendor refs at a moving major tag: delivered for these files.** checkout@v7, setup-node@v7,
  setup-python@v7, cache/restore and cache/save@v6, upload-artifact@v7, download-artifact@v8 and
  github-script@v9 each match the major of the old pinned comment. The ju
Chunk 3 of 3, pass: Chunk 3 of 3 for issue #18556 (reference first-party actions at @main, official
  vendor actions by major tag, third-party by SHA). I read all 13 parts and the manifest whole.
  Nothing in my parts blocks.

The issue counts as the spec. Its body links the owner-decisions record (L351) and gives the owner's
  words in double quotes after "verbatim:", so the loosened pin checks and the repin removal were
  asked for.

What these parts deliver, item by item:

- **Item 1 (first-party at @main), in part.** Every `melodic-software/ci-workflows` action ref in
  these six workflows moves from the v0.82.1 SHA to `@main`: `pr-verify.yml`,
  `release-generate-dependabot-changelog-fragments.yml`, `release-publish-plugins.yml`,
  `upstream-apply-changelog.yml`, `work-resolve-issue.yml` and `work-unblock.yml`. The classifier
  `ref: main` checkouts are in chunk 1/2 files, not here.
- **Item 2 (vendors at major tag), in part.** These files now use `actions/checkout@v7`,
  `upload-artifact@v7`, `do
- .github/scripts/maintenance-monitor-signals/workflow.test.mjs:228: done-when item 7 is only partly
  delivered. The pin regex's catch-all `\S+@[0-9a-f]{40}` also accepts SHA-pinned
  `melodic-software/*` and vendor refs. Make it require `@main` for first-party, a major tag for
  vendors, and a full SHA only for third-party.
- .github/scripts/post-merge-demotion-alert/workflow.test.mjs:59: same item 7 gap. The SHA catch-all
  accepts first-party and vendor SHA pins. Exclude those owners from the SHA branch so the test
  asserts @main and vendor tags.
- .github/scripts/security-outside-actor/workflow.test.mjs:78: same item 7 gap. The SHA catch-all
  accepts first-party and vendor SHA pins. Exclude those owners from the SHA branch so the test
  asserts @main and vendor tags.
- .github/scripts/pr-review-main/workflow.test.mjs:88: same item 7 gap. The SHA catch-all accepts
  first-party and vendor SHA pins. Exclude those owners from the SHA branch so the test asserts
  @main and vendor tags.
- Gap in done-when item 7 (tests assert the new pin rule): the shared regex in
  `.github/scripts/maintenance-monitor-signals/workflow.test.mjs:228`,
  `.github/scripts/post-merge-demotion-alert/workflow.test.mjs:59`,
  `.github/scripts/security-outside-actor/workflow.test.mjs:78` and
  `.github/scripts/pr-review-main/workflow.test.mjs:88` ends in a catch-all `\S+@[0-9a-f]{40}`. A
  `melodic-software/*` or vendor ref pinned by SHA still passes, so these four tests hold
  third-party refs to a full commit but do not require first-party refs at `@main` or vendor refs at
  a tag. Consider excluding first-party and vendor owners from the SHA branch with a negative
  lookahead.
- .github/scripts/lib/ci-workflows-at-pin.test.mjs:166: the new test runs its own `git ls-remote` of
  ci-workflows main after the module has already resolved the tip. If ci-workflows main moves
  between the two calls, `cached.includes(tip)` fails, so the test can flake. Consider asserting
  only that every cached name is a full SHA, or exposing the tip the module resolved.

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 23, 2026
@melodic-automation-lanes melodic-automation-lanes Bot added the needs-session A pr-unblock stop a session builder takes: a change the lane cannot make. Not an owner stop. label Nov 23, 2026
@melodic-automation-lanes

melodic-automation-lanes Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

The pr-unblock lane stopped resolve-conflicts on this pull request: a conflicted path is a workflow, submodule config or a settings file, which the lane does not resolve. The lane labels it needs-session for a session builder, who makes the change this lane cannot, and the run ends in a failing pr-unblock/conflict status on the head the lane gated.

When a retry on this head can change the outcome, the lane runs one on its own, up to its per-head cap, and edits this comment if it stops again; a run that does not stop clears the status. When no retry can (a review thread the lane does not take or settle, or a failing check after the retries are spent), a person resolves the threads or gets the checks green, then dispatches the workflow below: that run finds the cause gone and clears the status. On a pull request the lanes App opened, the dispatchers start that run once per stop; on any other, a person does. A new commit to the branch starts clean.

To run it again on this head now, dispatch the pr-unblock workflow:

gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=18531 -f activity=resolve-conflicts

kyle-sexton and others added 4 commits November 23, 2026 15:00
# Conflicts:
#	.github/scripts/plugin-eval/eval-handoff.test.mjs
#	.github/scripts/plugin-eval/hill-climb-workflow.test.mjs
#	.github/workflows/pr-require-checks.yml
#	plugins/source-control/skills/babysit-prs/scripts/tests/test_diff_risk.py
#	plugins/source-control/skills/babysit-prs/scripts/tests/test_floor_paths.py
# Conflicts:
#	.github/workflows/pr-require-checks.yml
#	plugins/source-control/skills/babysit-prs/scripts/tests/test_diff_risk.py
#	plugins/source-control/skills/babysit-prs/scripts/tests/test_floor_paths.py
#	plugins/source-control/skills/babysit-prs/scripts/tests/test_merge_holds_sync.py
Every read already resolves main to its tip through fetchAtPin, but the cache
helper no longer refused a ref that was not a full SHA itself. Restore that
guard, and test that a main contract read caches only under the tip's SHA.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Main took 0126 for the vendor-routing ADR, so the action-pinning record
becomes 0129, the next free number, and its citations follow.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 23, 2026
@github-actions github-actions Bot removed 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 23, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 23, 2026
@melodic-automation-lanes melodic-automation-lanes Bot removed the needs-session A pr-unblock stop a session builder takes: a change the lane cannot make. Not an owner stop. label Nov 23, 2026
# Conflicts:
#	.github/scripts/plugin-eval/eval-handoff.test.mjs
@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 23, 2026
kyle-sexton and others added 2 commits November 23, 2026 17:38
…rule tests

The third-party branch of the pin-rule regex matched any owner, so a
melodic-software or vendor ref pinned by SHA still passed. It now excludes
those owners, so melodic-software refs must be @main and vendor refs @vn.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@melodic-automation-lanes melodic-automation-lanes Bot added the needs-session A pr-unblock stop a session builder takes: a change the lane cannot make. Not an owner stop. label Nov 23, 2026
# Conflicts:
#	.github/workflows/pr-require-checks.yml
#	plugins/source-control/skills/babysit-prs/scripts/tests/test_diff_risk.py
#	plugins/source-control/skills/babysit-prs/scripts/tests/test_floor_paths.py
@github-actions github-actions Bot removed 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 23, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit cc8970e Nov 24, 2026
72 checks passed
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) needs-session A pr-unblock stop a session builder takes: a change the lane cannot make. Not an owner stop.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reference first-party actions at main and official vendor actions by major tag

1 participant