Repository navigation
chore(distribution): stop syncing trusted-actors and the actions vocabulary - #1127
Conversation
…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]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-review reviewed Code review: no findingsThis PR stops syncing two components,
Checks I ran myself (Grep across the repository, excluding the lane's own folders):
The Closing issue: none. The PR uses 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 checks would be marked: fail (plugin default; no wrapper settings); patterns: 0 Scope: this repository has a separate security lane ( Verifier dropped 0 of 0 candidates. |
|
claude-security-review reviewed Security review: PR #1127, stop syncing trusted-actors and the actions vocabularyI read every hunk of all 3 changed files. The PR does three things:
Trust controls. This repository's trusted-actor list ( standards/components/managed-files-guard/managed-files-guard.yml Lines 20 to 22 in c449ada 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 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 |
) 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]>
Summary
Phase F1 for the
trusted-actorsandgithub-actions-conventions(vocabulary) components: the sync stops copying
.github/standards/trusted-actors/and.github/standards/github-actions-conventions/. Every reader in their twotargets now reads standards
mainand uses the copy only as a fallback.The lanes token broker (azure-iac) reads both from standards
main, withthe caller's copy as fallback until F2 (D21).
Fix
distribution/sync-manifest.yml: drop both component definitions andtheir
managedentries in claude-code-plugins and pr-pipeline-sandbox.Neither has a
requiresedge in or out. Reworded the sandbox target'scomment.
components/managed-files-guard/managed-files-guard.yml: drop the fourpaths. The guard contract test keeps
pathsequal to the union of manageddestinations. The fleet caller listed none of them.
components/trusted-actors/README.md: lanes read the list from thisrepository; 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 grepof each target'sorigin/HEADafter a fetch.take
standards-pathorSTANDARDS_DIRfirst: everyresolve-configcall passes
standards-path, andread-status.mjs:112andlib/trusted-actors.mjstrustedListPathreadSTANDARDS_DIRfirst.check-trusted-trigger/action.yml:26,check-born-triaged:25,select-trusted-text:20) are ignored whenstandards-pathis set.pr-require-checks.yml:252-262(hold lift),:541-552,681(trusted_list)pr-refine.ymlandmaintenance-delete-stale-branches.yml(STANDARDS_DIR)cleanup.mjs:382docs/conventions/work-items.yaml:9(standards:source)check-sync.sh:66,68and comments.STANDARDS_DIRfirst, the.basecopy otherwise:
resolve-config.mjs:37-41,82-90,read-status.mjs:112,lib/trusted-actors.mjs:7pr-require-checks.yml:5145-5155(trusted_list)trusted_actors_source: standards, and claude-code-plugins is(
docs/conventions/source-control.yaml:19; the sandbox's is:6).mainfirst (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-actorsorgithub-actions-conventionsline.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
runner-policy.copy-only readers onto standards.
Refs: #1101
🤖 Generated with Claude Code