Skip to content

Read ci-status's trusted-actor list and lint configs from the run's standards commit #18709

Description

@kyle-sexton

Goal

The required CI Status check (.github/workflows/pr-require-checks.yml) reads the trusted-actor list from a checkout of melodic-software/standards at the run's one commit, and the lint-repo configs that fall back to standards (gitleaks, lychee, editorconfig-checker, zizmor, the changed-links check) read that same commit. The synced copy .github/standards/trusted-actors/trusted-actors.json stays as the fallback when the standards checkout is absent (expand-then-contract; deleting the copy is a later piece).

Basis

Brief acceptance Q2 of the standards sync track (owner decision D1). The owner's answer to Q2, "CI-only policy and config data: track standards main through a runtime checkout and delete the copies fleet-wide?", was verbatim: "yes; gating files (runner-policy, trusted-actors) change expand-then-contract". Q2 names trusted-actors, .gitleaks.toml, lychee.toml, .editorconfig-checker.json and zizmor.yml among the CI-only files whose every reader is repointed. One standards commit per run: the first job resolves it with melodic-software/ci-workflows/.github/actions/download-standards@main and later jobs receive its sha through needs, as that action's description says.

This moves where CI Status reads the list, not what the list holds: the copy is synced from the same standards file. The source is guarded in standards by a required code-owner review (/components/trusted-actors/ @kyle-sexton). It deletes nothing and removes no hold path; the copy and its hold path stay until the contract piece.

Done when

  • select-tests resolves the standards commit once (download-standards with checkout: 'false') and outputs it as standards_sha.
  • ci-status checks out standards at needs.select-tests.outputs.standards_sha (main when select-tests did not run) before any hold step, and every step that reads the trusted-actor list (cost hold, review-lane hold lift, queued hold label, queued author, lanes App hold, review-lane wait) reads components/trusted-actors/trusted-actors.json under that checkout, falling back to the hold config's .github/standards/trusted-actors/trusted-actors.json when the checkout is absent.
  • The exempt_author_ids comment names the standards list.
  • lint-repo checks out standards at the same commit and passes it as standards-ref to the gitleaks, lychee-offline and editorconfig-checker composites, and as STANDARDS_DIR to scripts/run-zizmor.sh and scripts/check-changed-links-online.sh.
  • scripts/run-zizmor.sh reads .github/zizmor.yml from STANDARDS_DIR when the base commit has no zizmor config, before its API fallback; scripts/check-changed-links-online.sh uses $STANDARDS_DIR/lychee.toml when this repository has no lychee.toml and LYCHEE_CONFIG is unset.
  • Tests cover the standards path winning over the copy and a missing list failing closed (ci-hold-lifted-by.test.sh), and both scripts' standards fallbacks (run-zizmor.test.sh, check-changed-links-online.test.sh).

Loosened checks

This spec authorizes two ordinary-check loosenings. Both are ordinary checks, not a security control, billing hold, secret scanner or dependency audit. Owner decision D4, owner-decisions.md row L349: an ordinary check's loosening gives its reason in the PR body's ## Loosened checks section, judged by the review lane, with no per-loosening owner citation. Owner, verbatim: "Sure, let's go with recommendations."

  • scripts/check-docs-only-gate.sh check 5c ("NO JOB-LEVEL CONDITION ON A REQUIRED CONSUMER") applies only to jobs that read a resolver output as something other than a whole data value. ci-status reads standards_sha, a data row, under if: ${{ !cancelled() }}; the gate's property 10 already makes an empty data value mean its default (main), so a skipped or cancelled select-tests leaves ci-status reading main. A consumer that also reads the plan under !cancelled() stays rejected.
  • scripts/lane-coverage-step-opt-outs.txt adds select-tests/standards, lint-repo/standards and ci-status/standards. Each continue-on-error download falls back by design (standards main, or the hold config's copy), and the steps that read its output fail closed or are fed on their own, so feeding it would red a run for a fallback that still reads standards.

Activity

  1. added theissue type on Nov 24, 2026
  2. added
    needs-triage
    on Nov 24, 2026
  3. github-actions commented on Nov 24, 2026

    @github-actions
    Contributor

    Size: Medium
    Complexity: Medium
    Uncertainty: Known
    Flags: none
    Blocked by: none
    Blast radius: pr-require-checks.yml (select-tests, ci-status and lint-repo jobs), scripts/run-zizmor.sh, scripts/check-changed-links-online.sh and their tests. Every pull request's required CI Status check depends on these.
    Reversible: yes; revert the change. The synced copy stays as the fallback, so nothing is deleted.
    Claims checked:

    1. pr-require-checks.yml exists and has no standards checkout yet: held, no standards_sha, download-standards or STANDARDS_DIR match in .github/workflows/pr-require-checks.yml.
    2. The scripts and tests named in the issue exist: held, scripts/run-zizmor.sh, scripts/check-changed-links-online.sh, scripts/ci-hold-lifted-by.test.sh, scripts/run-zizmor.test.sh and scripts/check-changed-links-online.test.sh.
      Open questions: none
      I read this as a bounded change that repoints the CI Status trusted-actor reads and the lint configs to one standards commit per run. The existing synced copy stays as the fallback, and the done-when list is exact. I found no duplicate among the open issues.

    Automated triage. A maintainer reviews it.

  4. removed
    needs-triage
    on Nov 24, 2026
  5. melodic-automation-lanes commented on Nov 24, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"5eca70cc25d2f0822b872d6e4776d8e02361f2f2b7e6088494f4bf59eca923f7","body_sha256":"60268156499910e64b5837f707272094ecaeefa834a5be3941268a850aa836bb"}

  6. melodic-automation-lanes commented on Nov 24, 2026

    @melodic-automation-lanes
    Contributor

    This records a re-fire of an earlier stop, not a new one. The start gate stopped run 45326756789, the work-resolve-issue run that agent-ready started, before any model turn, because the GITHUB_TOKEN budget was under its start-gate share, or the window was projected to have under its start-project share of the header's limit left by the run's expected end (github-token start-gate, start-project and start-run-minutes in rate-limits.json; the run's start-gate notice names which); that run ended at 2026-11-24T04:31:49Z. work-unblock has now removed and added agent-ready back to start a fresh run. A budget stop is the lanes' load, not a fault in this issue: it never counts toward limits.limit-stops-per-issue or the kill-switch wait.

  7. github-actions commented on Nov 24, 2026

    @github-actions
    Contributor
    No description provided.
  8. added
    session-owned
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    session-owned

    Type

    Fields

    Work status

    needs-triage

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions