Repository navigation
Description
Context
The CI-only standards files synced into this repository (.github/standards/trusted-actors/trusted-actors.json, .github/standards/github-actions-conventions/vocabulary.json, .github/standards/dependabot-policy/policy.json) are to be read from a run-time checkout of melodic-software/standards main that records its SHA, and the synced copies deleted afterwards. Gating files change expand-then-contract: readers move first, copies go last.
This item is the expand step for the libraries and actions only. They learn to read a standards checkout when a caller names one, and keep reading the .base synced copy otherwise, so no existing caller changes behavior. No workflow passes the new input here; repointing workflows is a later item.
Owner decision
Brief acceptance Q2 of the standards-sync "track main" plan, answered by the owner in round 1: "yes; gating files (runner-policy, trusted-actors) change expand-then-contract". Q2 reads: "CI-only files (runner-policy, vocabulary, trusted-actors, dependabot-policy, ...) are read from a run-time checkout of standards main that records its SHA; every reader found ... is repointed". This item changes no gate's verdict and loosens nothing.
Proposed work
.github/scripts/lib/trusted-actors.mjs:trustedListPath(env, fallback)returns$STANDARDS_DIR/components/trusted-actors/trusted-actors.jsonwhenSTANDARDS_DIRis set, elsefallback. Every reader that defaults to the.basecopy (clear-escalations, enable-auto-merge, release-eval-hold, address-feedback, feedback-dispatch, fix-ci-context, dispatch, refine-event-dispatch, review-dependency,gate-source.mjs's same-tree read, the pr-verify replay probe) goes through it.resolve-config: a newstandards-pathinput (envSTANDARDS_DIR). When set, the vocabulary and trusted-actor list are read fromcomponents/github-actions-conventions/vocabulary.jsonandcomponents/trusted-actors/trusted-actors.jsonunder it, with the same realpath containment check as underbase-path; when empty, both stay underbase-path.read-status.mjsloadTrustedActorstakesSTANDARDS_DIRfirst.check-trusted-trigger,check-born-triaged,select-trusted-text: a newstandards-pathinput; when set the list is read from it andtrusted-actors-pathis ignored.dependency-classify.mjs:policyPath(env, fallback)for the Dependabot policy (components/dependabot-policy/policy.json), used bydispatch.mjsandreview-dependency.mjs.
Acceptance criteria
- With
STANDARDS_DIRunset or empty, every changed reader reads the same file it read before (no caller passes the new input in this change). - With
STANDARDS_DIRset, the trusted-actor list, vocabulary and Dependabot policy are read from the standards checkout'scomponents/paths, and.basecopies are not read. - resolve-config rejects a standards-path file whose real path leaves standards-path, as it does for base-path.
- The three trusted-list actions and resolve-config document the
standards-pathinput inaction.ymland README. - Tests cover each case above; the tests of every changed file pass;
scripts/sync-hold-floor.py --checkandnode scripts/sync-credential-legs.mjs --checkpass.
Out of scope
Passing the input from workflows (one standards SHA per run through download-standards), the ci-status trust-list steps, plugin scripts on user machines, the azure-iac token broker, and deleting the synced copies or their hold paths.
Metadata
Metadata
Assignees
Labels
Type
Fields
Work status
Priority
Activity
github-actions commentedon Nov 24, 2026
Size: Medium
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: none
Blast radius: CI libraries and composite actions that read the trusted-actor list, vocabulary and Dependabot policy (
.github/scripts/lib,.github/actions/*,.github/scripts/pr-unblock), which every gate workflow runs. No workflow passes the new input in this change.Reversible: yes; revert the change. With
STANDARDS_DIRunset the readers behave as before.Claims checked:
.github/standards/: held,.github/standards/trusted-actors/trusted-actors.json,.github/standards/github-actions-conventions/vocabulary.jsonand.github/standards/dependabot-policy/policy.json. The issue's path.github/standards/trusted-actors/trusted-actors.jsonmatches the first of these..github/scripts/lib/trusted-actors.mjsexists andtrustedListPathis not there yet: held,.github/scripts/lib/trusted-actors.mjs. A grep of.githubfinds notrustedListPath,policyPathorstandards-path.resolve-config,read-status.mjs,gate-source.mjsanddependency-classify.mjsexist: held, at.github/actions/resolve-config/and.github/scripts/pr-unblock/. The issue names no directory fordependency-classify.mjsorgate-source.mjs.Open questions: none
The issue gives an exact design and done-when, and records the owner decision it relies on (Q2 of the standards-sync plan). The issue is a bounded expand step that changes no gate verdict. I found no open duplicate and no recently merged pull request that already covers it.
Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 24, 2026
Not admitted to the issue lane yet: open pull request #18649 is for it.