Skip to content

chore(distribution): stop syncing trusted-actors and the actions vocabulary - #1127

Merged
kyle-sexton merged 1 commit into
mainfrom
chore/f1-trusted-actors-vocabulary
Nov 24, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
chore/f1-trusted-actors-vocabulary

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Summary

Phase F1 for the trusted-actors and github-actions-conventions
(vocabulary) components: the sync stops copying
.github/standards/trusted-actors/ and
.github/standards/github-actions-conventions/. Every reader in their two
targets now reads standards main and uses the copy only as a fallback.
The lanes token broker (azure-iac) reads both from standards main, with
the caller's copy as fallback until F2 (D21).

Fix

  • distribution/sync-manifest.yml: drop both component definitions and
    their managed entries in claude-code-plugins and pr-pipeline-sandbox.
    Neither has a requires edge in or out. Reworded the sandbox target's
    comment.
  • components/managed-files-guard/managed-files-guard.yml: drop the four
    paths. The guard contract test keeps paths equal to the union of managed
    destinations. The fleet caller listed none of them.
  • components/trusted-actors/README.md: lanes read the list from this
    repository; a leftover copy is no longer updated.

Dropping a component deletes no target copy (distribution/README.md,
"Deselection never implies deletion"). Each target's F2 PR deletes it.

Verification

Readiness method: git grep of each target's origin/HEAD after a fetch.

  • pr-pipeline-sandbox at e8fd79d:
    • Synced lane files are byte-identical to claude-code-plugins (ci: resync from claude-code-plugins at fbaa789f pr-pipeline-sandbox#430). They
      take standards-path or STANDARDS_DIR first: every resolve-config
      call passes standards-path, and read-status.mjs:112 and
      lib/trusted-actors.mjs trustedListPath read STANDARDS_DIR first.
    • The action defaults (check-trusted-trigger/action.yml:26,
      check-born-triaged:25, select-trusted-text:20) are ignored when
      standards-path is set.
    • Sandbox-owned readers now fall back the same way (ci: read trusted-actors and the vocabulary from standards in sandbox-owned files pr-pipeline-sandbox#434):
      • pr-require-checks.yml:252-262 (hold lift), :541-552,681 (trusted_list)
      • pr-refine.yml and maintenance-delete-stale-branches.yml (STANDARDS_DIR)
      • cleanup.mjs:382
      • docs/conventions/work-items.yaml:9 (standards: source)
    • Remaining hits are hold patterns, deny rules, sparse lists,
      check-sync.sh:66,68 and comments.
  • claude-code-plugins at d01edcc4536: STANDARDS_DIR first, the .base
    copy otherwise:
    • resolve-config.mjs:37-41,82-90, read-status.mjs:112,
      lib/trusted-actors.mjs:7
    • pr-require-checks.yml:5145-5155 (trusted_list)
    • babysit reads standards for repositories opted in with
      trusted_actors_source: standards, and claude-code-plugins is
      (docs/conventions/source-control.yaml:19; the sandbox's is :6).
  • azure-iac broker: standards main first (binding.mjs:9-16,
    standards-lists.mjs), the caller's copy as fallback.

Commands:

  • sync-manifest.sh validate: Manifest valid: 50 components, 19 targets.
  • sync-manifest.sh plan --targets melodic-software/pr-pipeline-sandbox,melodic-software/claude-code-plugins:
    no trusted-actors or github-actions-conventions line.
  • harness/shell/run-tests.sh distribution/sync-manifest.test.sh components/managed-files-guard/managed-files-guard.test.sh: 2 passed.
  • node --test components/trusted-actors/trusted-actors.test.mjs: 7 passed.

Related

Refs: #1101

🤖 Generated with Claude Code

…bulary

Phase F1 for trusted-actors and github-actions-conventions. Every lane in
their two targets (claude-code-plugins, pr-pipeline-sandbox) reads both
lists from a standards checkout, with the copy only as a fallback, and the
lanes token broker reads them from standards main. The sync stops copying
.github/standards/trusted-actors/ and
.github/standards/github-actions-conventions/. Neither component has a
requires edge in or out. The managed-files guard drops the four paths.
Target copies stay until each target's F2 PR.

Refs: #1101

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 24, 2026 15:57
@kyle-sexton
kyle-sexton enabled auto-merge (squash) November 24, 2026 15:57
@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-24T15:59:26.169186Z c449ada 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

Copy link
Copy Markdown

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

Code review: no findings

This PR stops syncing two components, trusted-actors and github-actions-conventions (the vocabulary files). It makes three edits, and each one matches what the PR body says:

  • distribution/sync-manifest.yml: both component definitions are removed, along with their managed entries in the claude-code-plugins and pr-pipeline-sandbox targets. The sandbox target's comment is reworded to match.
  • components/managed-files-guard/managed-files-guard.yml: the four .github/standards/... paths that are no longer managed are removed from the pull_request.paths trigger. The trigger list still matches the managed set.
  • components/trusted-actors/README.md: it now says lanes read the list from standards main and that any copy left in a repository is no longer updated.

Checks I ran myself (Grep across the repository, excluding the lane's own folders):

  • Nothing in the repository still points at .github/standards/trusted-actors/ or .github/standards/github-actions-conventions/, other than the README sentence that says the copy is stale.
  • No other entry in sync-manifest.yml refers to either removed component, so no requires edge or target list is left dangling.

The sync-manifest.sh validate, plan and test-run results in the PR body are the author's claims. I did not run them.

Closing issue: none. The PR uses Refs: #1101 and closes no issue, so there are no acceptance criteria to check.

Loosened checks: removing paths from the managed-files-guard trigger is not judged a loosening. Those files are no longer sync-managed, so the guard's action would not treat them as managed anyway. The trigger is also a path hold, which this criterion does not judge. The prompt had no loosened_check_verdict: or loosened_check_patterns: line, so the review used fail with no consumer entries. It had no loosened_check_decision_record: line either, so the citation requirement was not checked.

Loosened checks would be marked: fail (plugin default; no wrapper settings); patterns: 0

Scope: this repository has a separate security lane (.github/workflows/pr-review-security.yml). Security questions are left to it, for example whether a lane that falls back to a frozen trusted-actors copy would miss a revoked account.

Verifier dropped 0 of 0 candidates.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-security-review: 1 inline finding(s) on c449ada790012cc33e465d79593a96b6382fd5f1; the summary is in this lane's pull request comment.

claude-lane: claude-security-review

Comment thread components/trusted-actors/README.md Resolved
@github-actions

Copy link
Copy Markdown

claude-security-review reviewed c449ada790012cc33e465d79593a96b6382fd5f1: read 3 of 3 changed file(s); 1 finding(s), 1 as inline comments.

Security review: PR #1127, stop syncing trusted-actors and the actions vocabulary

I read every hunk of all 3 changed files. The PR does three things:

  • It removes the trusted-actors and github-actions-conventions components from distribution/sync-manifest.yml, along with their managed entries in claude-code-plugins and pr-pipeline-sandbox.
  • It drops the 4 destination paths from the advisory managed-files-guard trigger.
  • It rewords the trusted-actors README.

Trust controls. This repository's trusted-actor list (components/trusted-actors/trusted-actors.json) is unchanged, so no newly trusted actor gets in. The diff touches no check-trusted-trigger, token request or broker scope, kill switch, or merge-hold code. The paths filter removal only affects the managed-files guard. That guard is advisory: per its header at

# ADVISORY during soak (standards#496): this check is NOT aggregated into
# `ci-status` and is not a required context. Promotion is a per-target
# decision taken after a clean soak, recorded in the component README.
it is "NOT aggregated into ci-status and is not a required context". Removing those paths therefore weakens no merge gate. None of this widens anything, so there is no CRITICAL finding and no hold.

Finding (SUGGESTION). Once this PR merges, each consumer's leftover copy at .github/standards/trusted-actors/trusted-actors.json stops being updated, but consumer readers still fall back to it. A future revocation in standards then never reaches that fallback. The inline comment on the README has the details.

Not consulted. The consumer repositories' reader code (claude-code-plugins, pr-pipeline-sandbox, azure-iac) is outside this checkout. I could not check its fallback conditions and rated the finding from the PR's own description of them.

The instruction-surface lens does not apply: the README is documentation, not a standing instruction. The diff has no plugin manifest changes.

critical-findings: 0

@kyle-sexton
kyle-sexton merged commit 8e453b0 into main Nov 24, 2026
36 checks passed
@kyle-sexton
kyle-sexton deleted the chore/f1-trusted-actors-vocabulary branch November 24, 2026 20:01
kyle-sexton added a commit that referenced this pull request Nov 25, 2026
)

No linked issue: phase F1 of moving the Dependabot policy readers to
standards `main`, after the readers moved in the two pull requests under
Related.

## Summary

The sync stops copying `components/dependabot-policy/policy.json` to
`.github/standards/dependabot-policy/policy.json`. The readers moved
first and now read standards `main` and fail closed:
[claude-code-plugins#18988](melodic-software/claude-code-plugins#18988)
and
[ci-workflows#1225](melodic-software/ci-workflows#1225),
both merged. Every one of the 18 targets sets `standards_repository:
melodic-software/standards` in `docs/conventions/source-control.yaml`,
so every reader finds the policy.

The component's source files stay at `components/dependabot-policy/`,
because the readers read them there. Only the distribution stops.
Deselection never deletes, so each target keeps its copy until its own
F2 pull request deletes it.

Reader paths, on each repository's `origin/main` after a fetch:

- ci-workflows 427caa8: `automerge-dependabot/gate.cjs:91`,
`bump-versions/bump.py:43`,
`check-dependabot-policy/check-dependabot-policy.mjs:41` and
`policy.sh:24` all read `components/dependabot-policy/policy.json`.
- claude-code-plugins 9819a0f3397:
`pr-unblock/dependency-classify.mjs:785`, `pr-unblock.yml:3314`
(`DEPENDABOT_POLICY`) and `babysit_dependabot.py:86` read the same path.

## Fix

- `distribution/sync-manifest.yml`: removes the `dependabot-policy`
component, its `managed` entry in all 18 targets, and the `requires:
dependabot-policy` edge on `dependabot-automerge-caller` and
`dependabot-automerge-fleet-caller`. Rewords the comments that described
the copy (the callers' block, architecture, knowledge-corpus,
songwriting, pr-pipeline-sandbox, the Phase 4 note). The managed-files
guard resolves destinations at run time and lists no paths, so it has no
guard paths to prune.
- `components/dependabot-automerge/dependabot-automerge.yml` and
`-fleet.yml`: the header says the reusable reads the policy from
standards `main` when `source-control.yaml` names it, not from a synced
copy.
- `components/dependabot-automerge/README.md`, `distribution/README.md`:
same correction; drops the `requires` wording.
- `components/dependabot-policy/README.md`: replaces the sync-component
admission evidence and the stale `.github/standards/dependabot-policy/`
install and gate snippets with a "Readers" section and a pointer to
ci-workflows' `check-dependabot-policy` action.
- `distribution/sync-manifest.test.sh`: the retired-component loop gains
`dependabot-policy`. Also restores the two lefthook-powershell mapping
assertions: they called `assert_component_mappings`, which #1126
deleted, so they printed `command not found` and never ran.
- `components/dependabot-automerge/dependabot-automerge.test.sh`:
"requires dependabot-policy" becomes "requires no component".

Standards ships no `pr-check-managed-files.yml` with a `paths:` entry
for the copy: both guard callers carry no `paths` filter. The `paths:`
entries are repo-local in azure-iac and dotfiles (F2 below).

## Verification

- `distribution/sync-manifest.sh validate`: `Manifest valid: 37
components, 19 targets` (38 before).
- `harness/shell/run-tests.sh distribution/sync-manifest.test.sh
components/dependabot-automerge/dependabot-automerge.test.sh
components/managed-files-guard/managed-files-guard.test.sh`: 3 passed.
sync-manifest.test.sh: 336 assertions pass, including `PASS: [170] no
component named dependabot-policy exists (retired)` and the two restored
lefthook-powershell mappings.
- The new retired assertion fails if the name returns: its expression
counts `dependabot-policy` components as 0 on this branch and 1 on
`origin/main`'s manifest.
- `node --test components/runner-policy/runner-policy.test.mjs
components/dependabot-policy/automerge-lockstep.test.mjs
components/dependabot-policy/dependabot-policy.test.mjs`: 315 passed, 0
failed, including both dependabot-automerge caller audits.
- `npm run lint:dependabot-automerge-lockstep`: allowlist default at
main matches `policy.json`.
- `actionlint` on both callers: clean. markdownlint-cli2 on the three
READMEs: 0 issues.

## Loosened checks

- Removed: `<component> requires dependabot-policy` in
`dependabot-automerge.test.sh`. It asserted the edge this PR removes;
the replacement asserts the callers require no component.

## Related

- Readers moved first:
[melodic-software/claude-code-plugins#18988](melodic-software/claude-code-plugins#18988),
[melodic-software/ci-workflows#1225](melodic-software/ci-workflows#1225).
- Same F1 procedure as
[#1127](#1127);
retired-name assertion as in
[#1136](#1136) and
[#1139](#1139).
- Next (F2), once this merges: each of the 18 targets deletes
`.github/standards/dependabot-policy/policy.json`; pr-pipeline-sandbox
also drops the pin in `scripts/lanes/check-sync.sh`, and azure-iac and
dotfiles drop the `paths:` entry in
`.github/workflows/pr-check-managed-files.yml`.

🤖 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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant