Skip to content

ci: read the trusted list and policies from a standards checkout in workflows - #18719

Merged
kyle-sexton merged 5 commits into
mainfrom
ci/workflows-read-standards-sha
Nov 24, 2026
Merged

kyle-sexton merged 5 commits into
mainfrom
ci/workflows-read-standards-sha

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Closes #18717

Summary

The workflow half of the standards reader move (D2 P4). Every workflow job that reads the trusted-actor list, the Actions vocabulary or the Dependabot policy now reads it from a run-time checkout of melodic-software/standards, at one commit per run where the job graph allows. Before this, they read the synced .base/.github/standards/ copy. The copies stay until the contract change. #18649 taught the libraries and actions to take a standards checkout, and this PR passes it to them.

Out of scope: pr-require-checks.yml, the synced pr-check-managed-files-hosted.yml, the plugin scripts that run on user machines, and removing any copy or hold path.

Fix

  • 25 workflows. In each reading job, melodic-software/ci-workflows/.github/actions/download-standards@main (id standards) runs right after the .base checkout and before any head code, under that checkout's if: and continue-on-error. The job's reads then point at the checkout:
    • TRUSTED_ACTORS_PATH, TRUSTED_ACTORS, LIST and DEPENDABOT_POLICY name ${{ steps.standards.outputs.path }}/components/....
    • resolve-config, check-trusted-trigger, select-trusted-text, check-born-triaged and check-wip-cap get standards-path, which replaces trusted-actors-path.
    • Each step that runs a script importing a list or config reader sets STANDARDS_DIR.
  • One commit per run. The first reading job resolves main and exports standards-sha. Later jobs pass it as ref through needs, and intermediate jobs forward it where needed. The gates check-dispatcher-current (pr-unblock), check-range (post-merge-test-mutation) and dispatch-post-merge-runs (pr-merge) only resolve it (checkout: 'false'). An empty SHA (source job skipped) falls back to main (download-standards resolve.sh, ${STANDARDS_REF:-main}). The commit comes only from a step that ran before any head code, the same class as base-sha (pr-run-activity-read.yml, the run job's outputs: comment). generate-reuse-summary takes it through check-issue-fields, never the run job.
  • Credential legs are regenerated from their key jobs. scripts/credential-legs/{pr-verify,pr-rate-merge-risk,pr-review-main,maintenance-audit-lane-runs}.mjs map the ref each leg can see and drop outputs that nothing reads.
  • Run-text reads:
    • post-merge-file-demotion-issues.yml checks the sender against the checkout's list. It used to read this repository's copy through the contents API.
    • The pr-merge.yml candidate listing and the pr-run-activity-write.yml reply-actors copy read $TRUSTED_ACTORS_PATH.
  • Base-only resolve-config callers now pass STANDARDS_DIR: declare-test-scope.mjs, post-merge-demotion-alert/{merge-path,report}.mjs, branch-cleanup/cleanup.mjs, pr-refine/write-pass-plan.mjs and check-wip-cap.mjs. check-wip-cap gets a standards-path input.
  • Tests: those that pin these workflow lines now expect the standards paths. .github/scripts/lib/trusted-actors.fixtures.mjs lays out a standards checkout for the tests that run step scripts.

Basis: Brief acceptance Q2 of the standards sync track. Owner's words: "yes; gating files (runner-policy, trusted-actors) change expand-then-contract". The one-commit rule follows ci-workflows download-standards/action.yml:7-9.

Hold

This PR changes hold-floor paths: the lane workflows, resolve-config callers, and pr-merge and pr-unblock scripts. CI Status holds it for a listed human's approving review. The lane workflows are broker trust roots, so every lane switches at merge.

Verification

  • actionlint and zizmor --offline on the changed workflows: no findings.
  • node scripts/sync-credential-legs.mjs --check and scripts/sync-hold-floor.py --check pass. check-workflow-template-size.mjs --check passes: pr-unblock is 390102 bytes under the fail line.
  • node --test over the 134 node test files that name a changed file: all pass, except two plugins/knowledge/skills/course-digest/extraction/cli-*.test.js files. Those two fail the same way on origin/main.
  • Shell tests: post-merge-demotion-alert, write-runner-never-rules, ci-rerun-ci-status, dispatcher-current, check-read-caller-keys, read-lane-broker-check, read-runner-dispatcher-gate, pr-unblock-trusted-base, act-turns-denied, write-runner-hold-labels, write-runner-revoke-step, ci-review-lanes, check-comment-hygiene, check-app-key-references, check-artifact-retention, sync-shared-copies, sync-credential-legs and unattended-callers. All pass.
  • After merging origin/main, the transform was rerun from main's workflows. It matched the merge except for two reader steps main had added, which this PR now covers.

Related

🤖 Generated with Claude Code

kyle-sexton and others added 3 commits November 23, 2026 23:57
…orkflows

Each workflow job that reads the trusted-actor list, the Actions vocabulary
or the Dependabot policy now checks out melodic-software/standards with
download-standards right after its .base checkout and reads the
components/ files from it. The first reading job of a run resolves main and
passes its commit to later jobs through needs, so a run reads one commit.
The synced .github/standards copies stay until the contract change.

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

chatgpt-codex-connector Bot commented Nov 24, 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-24T05:13:26.603311Z 7ab5dcf 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 commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 01a86fbe1b82d4ddcc75d1be7271a3b0d478463f: read 50 of 50 changed file(s); 0 finding(s), 0 as inline comments.

Chunk 1 of 2 (40 files)

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

I found no security issues in this chunk. This lane already reviewed an earlier head, so the review looked for CRITICAL and IMPORTANT findings only.

What changed

  • Where the trust data is read from. The trusted-actor list, the vocabulary and the Dependabot policy are now read from a melodic-software/standards checkout. The checkout comes from ci-workflows/.github/actions/download-standards@main, which runs right after the .base checkout.
  • How the readers get it. TRUSTED_ACTORS_PATH, TRUSTED_ACTORS, LIST and DEPENDABOT_POLICY now point into that checkout. Gate actions get a standards-path input, and scripts get STANDARDS_DIR.
  • One commit per run. The first job that reads the data resolves the standards commit and passes it to later jobs as standards-sha.

Trust controls checked

  • check-trusted-trigger, select-trusted-text, check-born-triaged and resolve-config. An empty standards-path falls back to the .base copy of the list, which is the default-branch checkout (.github/actions/check-trusted-trigger/action.yml:21-33, select-trusted-text/action.yml:17-27, lib/trusted-actors.mjs:7, trustedListPath). A skipped or failed download (for example continue-on-error in pr-review-main.yml collect-trusted-text) therefore keeps the same base-side list. It does not open the check.
  • Raw TRUSTED_ACTORS* / LIST env readers. With an empty path the value becomes /components/..., a file that does not exist, so these checks fail closed. Example: rerun-ci-status.sh:11-14 treats an unreadable list as "not a listed human" and lifts no hold. In the jobs where the download is conditional, the checks that read LIST stop on a missing file.
  • Where the commit comes from. Every ref: passed to download-standards comes from needs.<job>.outputs.standards-sha, and that output maps to steps.standards.outputs.sha in a job where the download step runs before any head code. Head code cannot set an output for a step that has already finished. No PR-, issue- or event-controlled value reaches ref.
  • Read order. Each new read sits where the old .base read was, after a download made before head code runs. The $RUNNER_TEMP checkout is no more writable by head code than .base was, so read order is unchanged.
  • Merge holds. Holds in pr-merge.yml (who, superseded, clear-escalations, release-eval-hold, refire-refused, the candidate-listing ids) and in pr-unblock.yml (lane-hold, dependency select with DEPENDABOT_POLICY) now read the same data from the new source. Their download steps have no continue-on-error, so a failed download fails the job and cannot slip past a hold. No hold condition changed.
  • post-merge-file-demotion-issues.yml sender check. It used to read this repository's list through the contents API at main. It now reads the checkout's list with the same jq predicate. The download step has no if: or continue-on-error.
  • No widening of token scope, permissions: or the kill switch. No permissions: block, token request or kill-switch step changed in this chunk.

Throughput-phase note

The trusted-actor list and the policies take effect from melodic-software/standards main. Before, a list change had to reach this repository's synced copy through a pull request held on its trust path. Under the owner's throughput-phase threat model, a narrowed trust-path hold is not a finding. The owner decision is quoted in the PR body ("gating files ... change expand-then-contract"), and the code admits no new actor itself.

Spend

Each reading job adds one download-standards step: a little more Actions runtime per run, with no billing setting changed. This is not a hold.

Not covered

Actions hardening for the unpinned download-standards@main reference is left to zizmor. Every other ci-workflows action here is also referenced at @main.

Chunk 2 of 2 (10 files)

Security review, chunk 2 of 2 (blocking only)

I found no security issues in this chunk. This lane already reviewed an earlier head of this PR, so this review reports only CRITICAL and IMPORTANT findings. None came up.

What I read

I read every hunk of the 10 files in this chunk:

  • Three workflows: upstream-apply-changelog.yml, work-resolve-issue.yml and work-unblock.yml.
  • Four credential-leg generators: scripts/credential-legs/{maintenance-audit-lane-runs,pr-rate-merge-risk,pr-review-main,pr-verify}.mjs.
  • Three shell tests: ci-rerun-ci-status.test.sh, post-merge-demotion-alert.test.sh and write-runner-never-rules.test.sh.

Trust controls checked

  • Who passes the trusted-trigger check. check-trusted-trigger in work-resolve-issue.yml now takes standards-path in place of trusted-actors-path. The list's location changed. The code that decides who is trusted did not.

    • The work-unblock human check (jq ... .kind == "human") still reads one file from TRUSTED_ACTORS_PATH.
    • The same holds for every TRUSTED_ACTORS_PATH / STANDARDS_DIR env change in these workflows.
  • A failed download falls back to the old copy. In the WIP-cap job of work-resolve-issue.yml, the download step has continue-on-error: true (L261-L267). When it fails, the standards-path it passes to check-wip-cap and resolve-config is empty.

    • trustedListPath returns the fallback (the .base copy) on an empty STANDARDS_DIR (trusted-actors.mjs#L7). So a failed download reads what the base read, and widens nothing.
    • The WIP hold also stays fail-closed when capped is unset.
  • Where each standards SHA comes from. The ref: values these jobs pass all trace back to a download-standards step's own output, either directly or forwarded through needs.*.outputs.standards-sha. I checked the producers by grep, from their output lines:

    • pr-review-main.yml L136/L618
    • pr-verify.yml L127
    • pr-rate-merge-risk.yml L81/L558
    • maintenance-audit-lane-runs.yml L74/L210/L634/L1013
    • in this chunk: select-release, check-admission, run-checks and label-unblocked

    A later step in the same job cannot rewrite an earlier step's outputs. So pull request or issue text cannot choose which standards commit a job reads.

  • Credential-leg generators. They only rewrite which job a ref: comes from, and add or drop standards-sha outputs and STANDARDS_DIR. No token scope, permissions: block, secret or credential selection changed.

  • Lane token and kill switch. No lane-token request or kill-switch step changed. Every job still runs its kill-switch step at the same point.

  • Tests. The three shell test edits only update assertions to the new step order and paths. write-runner-never-rules.test.sh now also checks that the standards step comes before reply-actors, so that check is stricter.

Note (not a finding)

This PR moves the trusted-actor list, a trust root, from this repository's synced .base/.github/standards/ copy to a run-time checkout of melodic-software/standards at main, through download-standards@main. The owner's PR and repositories already pin their ci-workflows actions to @main the same way, and the list's content is the same source the sync copied. The change in who can change the list depends on that repository's branch protection, which this review cannot read. The full diff (chunk 1) holds most of this move.

Spend

The new steps run one extra standards download per reading job, on GitHub-hosted runner minutes the jobs already use. There is no new paid resource.

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 7ab5dcf588216aa7bf879ebba7678e7ac0b33e36; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 01a86fbe1b82d4ddcc75d1be7271a3b0d478463f: read 50 of 50 changed file(s); 0 finding(s), 0 as inline comments.

Chunk 1 of 2 (40 files)

Code review: chunk 1 of 2, blocking only

This lane already reviewed two earlier heads of this pull request (prior findings: blocking only: yes), so this pass reports only blocking findings. I read every hunk of all 40 files in .claude-lane/chunks/chunk-1.patch: the check-wip-cap action, the resolve-config callers (cleanup.mjs, merge-path.mjs, report.mjs, write-pass-plan.mjs, declare-test-scope.mjs), the new trusted-actors.fixtures.mjs, the workflow tests, and the 22 workflow files in this chunk.

No blocking findings. What I checked against the closing issue's "Done when" list and the workflow graph:

  • Step placement. Each added Download standards / Resolve the standards commit step sits right after its .base checkout and before any head code. Where the checkout has an if: or continue-on-error, the standards step copies them. I compared these against the files at head:
    • pr-run-activity-read.yml: the release job and generate-reuse-summary.
    • pr-run-plugin-evals.yml: the three jobs.
    • pr-review-main.yml: collect-trusted-text.
  • needs wiring. Every ref: ${{ needs.<job>.outputs.standards-sha }} names a job that the consuming job lists in needs, and that job exports standards-sha. I checked merge and enable-auto-merge against dispatch-post-merge-runs in pr-merge.yml, and review-subscription and review-fallback against collect-trusted-text in pr-review-main.yml. In maintenance-audit-lane-runs.yml, the intermediate handoff jobs pass the SHA on from the job before them.
  • Fallbacks. When standards-path is empty, select-trusted-text, check-trusted-trigger, check-born-triaged, resolve-config and check-wip-cap all fall back to the .base copy. So a standards step that was skipped or failed under continue-on-error leaves the earlier behavior in place. In that case TRUSTED_ACTORS_PATH points at a missing absolute path, so a direct jq or cp read fails closed rather than open.
  • The run-text change in post-merge-file-demotion-issues.yml. The sender check now runs jq on "$TRUSTED_ACTORS_PATH" instead of reading this repository's copy through the contents API. The jq filter is unchanged, so the check is no looser.

Not re-checked here. The earlier advisory still stands: nothing tests that the standards step comes right after the .base checkout. It was advisory, so this blocking-only review drops it again.

Loosened checks. The prompt has no loosened_check_verdict: or loosened_check_patterns: line, so I used verdict fail with no consumer entries. It also has no loosened_check_decision_record: line, so the citation requirement was not checked. No changed line in this chunk loosens a check: the reads point at a different source, and every gate keeps its condition.
Loosened checks would be marked: fail (default, no settings line); patterns: 0

Spend. Each affected job adds one standards download per run, using Actions minutes on the existing runners. Nothing here can start a new charge.

I ran no commands. The PR's verification (actionlint, zizmor, sync-credential-legs --check, the node and shell tests) is the author's claim, and I have not checked it.

Verifier dropped 0 of 0 candidates.

Chunk 2 of 2 (10 files)

Code review, chunk 2 of 2 (blocking only)

This lane already reviewed an earlier head of this pull request, so this pass looked only for blocking problems. I read every hunk of all 10 files in this chunk:

  • upstream-apply-changelog.yml, work-resolve-issue.yml and work-unblock.yml
  • the four scripts/credential-legs/*.mjs generators
  • ci-rerun-ci-status.test.sh, post-merge-demotion-alert.test.sh and write-runner-never-rules.test.sh

No blocking findings. Here is what I checked against the head files.

The one standards commit reaches each job. Every ref: ${{ needs.<job>.outputs.standards-sha }} added in this chunk names a job that is in that job's direct needs::

  • In upstream-apply-changelog.yml, every consumer names select-release.
  • In work-resolve-issue.yml, pick-slot and run-checks name check-admission, and report-statuses names run-checks.
  • In work-unblock.yml, publish-lane-level names label-unblocked.

Each source job exports standards-sha from steps.standards.outputs.sha. Some jobs download standards with no ref: check-human-pull, prune-lane-branches, label-unblocked and sync-status. None of them has a direct needs on a job that resolves the commit, so they read main. The closing issue allows this.

Credential-leg generators match the generated workflows.

  • pr-rate-merge-risk.mjs (standardsFrom) leaves exactly one with: ref: on each leg's download step: pr-rate-merge-risk.yml lines 572-576 and 917-921.
  • The subscription leg keeps its standards-sha output, and the fallback leg reads it.
  • pr-verify.mjs points both legs at needs.check-intent.outputs.standards-sha, and both legs list check-intent in needs (pr-verify.yml lines 2177 and 3980).
  • The extra standards-sha output is dropped from the legs.

Reader env. The work-unblock.yml "Label the unblocked issues" step runs label-unblocked.mjs. That script imports resolve-config/read-status.mjs, lane-vocabulary.mjs and the trusted-trigger readers, and the step sets both TRUSTED_ACTORS_PATH and STANDARDS_DIR.

Tests.

  • write-runner-never-rules.test.sh still requires standards >= 0 && standards < actors, so the earlier inline finding stays fixed.
  • post-merge-demotion-alert.test.sh drops the contents-API stub and passes TRUSTED_ACTORS_PATH instead, matching the new workflow read.

I ran nothing. The PR's verification (actionlint, zizmor, sync-credential-legs --check, sync-hold-floor.py --check, the test runs) is the author's claim and unverified.

Carried-over advisory. The earlier summary finding still stands: no test fails if the Download standards step moves away from right after the .base checkout. It is advisory, so this blocking-only review does not restate it as a finding.

Spend. Each affected job gets one extra download-standards step, which adds a little Actions run time on existing runners. This is not a hold.

Loosened checks. The prompt has no loosened_check_verdict: or loosened_check_patterns: line, so I used verdict fail with no consumer entries. It also has no decision-record line, so I did not check the citation requirement. Nothing in this chunk loosens a check. This lane did not open the criterion file, so this summary does not include its Loosened checks would be marked: line.

Embedded text. I found no embedded instructions in the PR context or the prior-findings file.

Verifier dropped 0 of 0 candidates.

critical-findings: 0

at() returns -1 when no step has id standards, so the ordering check
passed with the step missing. Bind the index and require it to be found.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 24, 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 24, 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 24, 2026
@melodic-automation-lanes

melodic-automation-lanes Bot commented Nov 24, 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=18719 -f activity=resolve-conflicts

…ndards-sha

Main's #18745 moved the recent-pass step back after the pacer and dropped
its follow-up path; keep that, and keep this branch's standards reads on
the find and reconcile steps. recent-pass.mjs reads no trusted list, so
its step needs no STANDARDS_DIR.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@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 24, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 24, 2026
Merged via the queue into main with commit f8f9691 Nov 24, 2026
114 of 115 checks passed
@kyle-sexton
kyle-sexton deleted the ci/workflows-read-standards-sha branch November 24, 2026 08:52
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 24, 2026
kyle-sexton added a commit to melodic-software/pr-pipeline-sandbox that referenced this pull request Nov 24, 2026
No linked issue: resync from ccp fbaa789

## Summary

Brings every `scripts/lanes/check-sync.sh` SYNCED path to
claude-code-plugins main at `fbaa789fc3d4dd4c13b94d46841a11926b928733`,
from `ac4f20988f97481085e38d05d563ccc00a2bc888`, the source of #406. The
source carries the D2 pull requests
(melodic-software/claude-code-plugins#18649,
melodic-software/claude-code-plugins#18715,
melodic-software/claude-code-plugins#18719,
melodic-software/claude-code-plugins#18712,
melodic-software/claude-code-plugins#18695,
melodic-software/claude-code-plugins#18697), which repoint the lane
files to read trusted-actors, vocabulary, runner-policy and the
Dependabot policy from a standards-main checkout instead of the synced
`.github/standards/` copies.

This one is large: 821 files (816 byte copies, 5 sandbox-own files),
against #406's 46. Expect both review lanes to report
`failure-class=partial`.

Upstream also switched its ci-workflows references from SHA pins (#406:
141 on v0.78.0) to `@main` throughout the synced workflows; the copy
carries that change as is.

## Fix

- SYNCED, byte copy from `fbaa789f` with the ADAPTED, LEFT_OUT and
PINNED paths excluded: 91 added, 15 deleted, 707 modified, 3 renamed
(`babysit_risk*.py` to `diff_risk*.py`). Deleted upstream: the local
actions `scan-upload`, `setup-pinned-node` and `upload-lane-transcript`,
`.github/scripts/pr-review-main/split-diff.py` and
`plugins/discovery/scripts/check-hook-registration.test.sh`.
- The copy drops the stale repin literal
`[".github/workflows/maintenance-repin-ci-workflows.yml", "gate"]` from
`.github/scripts/pr-merge/merge-holds.mjs` (line 492 on main).
- ADAPTED and PINNED: no edit. `.github/standards/` is untouched; phase
F removes it.

Sandbox-own edits, each mirroring claude-code-plugins at `fbaa789f`:

1. `.github/workflows/pr-require-checks.yml`: the merge-queue Set up
Node step uses
`melodic-software/ci-workflows/.github/actions/setup-pinned-node@main`,
and `/.github/actions/setup-pinned-node/` leaves its sparse checkout, as
claude-code-plugins' own `pr-require-checks.yml` does. The local action
it used is gone upstream, so without this every merge-queue run fails.
2. `scripts/lanes/check-sync.sh`: four paths join SYNCED under the
existing "Modules the synced scripts and tests import from outside those
folders" rule, since copied code now reads them:
- `.github/scripts/pr-dispatch-feedback/rerun-ci-status.sh`, which
`pr-dispatch-feedback.yml` runs.
- `.github/scripts/intake-triage/size-split.mjs` and `issue-spec.mjs`,
imported by `admit.mjs`, `work-resolve-issue/check-blockers.mjs`,
`write-issue.mjs` and `pr-verify/resolve-pr.mjs`.
- `.github/lane-registry.json`, read when `lib/lane-registry.mjs` loads
(imported by `pr-merge/refire-refused.mjs`).
3. `docs/conventions/source-control.yaml`: adds `trusted_actors_source:
standards` and `standards_repository: melodic-software/standards`, as
claude-code-plugins' file sets them.
4. Lint config for the copied files, taken from claude-code-plugins' own
configs: `.shellcheckrc` with its `shell=bash`, `external-sources=true`
and `source-path=SCRIPTDIR` lines (shellcheck follows sourced files,
which clears the SC2034 and SC2154 warnings on the copied
`check-hook-registration.sh`, `fetch-docs.sh` and
`provision-prerequisites.test.sh`), and `_typos.toml` with its `abd`
identifier, which `.github/scripts/lib/gate-expression.test.mjs` uses.
No check is disabled.

## Verification

- `scripts/lanes/check-sync.sh fbaa789fc3d4dd4c13b94d46841a11926b928733
--repo <claude-code-plugins clone>` exits 1 with only the four PINNED
lines, as in #406:

  ```text
check-sync: .github/standards/dependabot-policy/policy.json differs from
add8219a557d432d9f4dbd1cac98b0e8a2114b10 (100644
0763ab8, want 100644
a3fa7c3)
check-sync: .github/standards/runner-policy/package-lock.json differs
from 4ac70b2c402920d9c42b9a9f00e86c14d7f785ea (100644
d84d4e7, want 100644
53bb20a)
check-sync: .github/standards/runner-policy/policy.json differs from
9329c4cd64765267e43aef0ceef58c40961cd676 (100644
0eec702, want 100644
b8c22e8)
check-sync: .github/standards/runner-policy/runner-policy.mjs differs
from c277271481af37c9761bcf802a3bc692540bb53a (100755
4d632ca, want 100755
105e36d)
  ```

- Local paths the workflows name (`.base/...`, `./.github/...`): none
newly missing. Three were already missing on main and stay so:
`.base/.github/verify-legacy-fails.json` in `pr-dispatch-feedback.yml`,
`pr-merge.yml` and `pr-unblock-dispatch.yml`, and `.base/lib/cdn-pins`,
read behind an `[ -f ]` guard.
- Relative imports and `new URL(..., import.meta.url)` targets in every
non-test `.github/**/*.mjs`: all resolve but two, both read guarded or
already on main (`scripts/upstream-drift-vendored-report.sh` inside a
try/catch, `docs/upstream/` in `resolve-pr.mjs`).
- `actionlint` over the 9 changed workflows: no findings.
- `node --test --test-concurrency=4` over the 90 changed
`.github/scripts/**/*.test.mjs`: 2795 tests, 2709 pass, 84 fail. The
failures read workflows, scripts or packages this repository does not
carry or install here (`ajv`, `yaml`, `scripts/selection-audit.sh`,
`scripts/affected-tests.sh`, `scripts/plan-test-lanes.sh`,
`security-outside-actor/flag.mjs`, `pr-review-comment-relay.yml`,
`intake-triage.yml` and others), plus two that test this repository's
own `pr-require-checks.yml` concurrency groups. Not compared against
main, since most of these files are new. `merge-holds.test.mjs` alone:
77 of 78 pass; the one failure imports
`security-outside-actor/flag.mjs`. No workflow here runs `node --test`.
- Pre-commit and pre-push hooks pass, none skipped. Added lines scanned
for machine paths and secrets: none.

Not verified: no lane run has exercised this head here.

## Related

- Previous resyncs: #406, #403 and #402.

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

---------

Co-authored-by: Claude Opus 5.5 <[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.

ci: workflows read the trusted list and policies from a standards checkout at one commit

1 participant