Repository navigation
fix(pr-pipeline): read the Dependabot policy only from standards - #18988
Conversation
pr-unblock's dispatch no longer defaults to the base's synced .github/standards/dependabot-policy copy: with no standards checkout and no DEPENDABOT_POLICY the policy is unreadable and every Dependabot PR is tier review. The babysit merge gate reads the policy only from the repository standards_repository names; with none named it reads no policy and merges no Dependabot update, and never reads the copy. Closes #18982 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. |
|
Held (do-not-merge) for ordering, not for a defect. GitHub code search finds only claude-code-plugins and pr-pipeline-sandbox setting |
|
claude-security-review reviewed Security review: no findings (blocking only)This lane already reviewed an earlier head ( The PR stops two readers from falling back to the synced Dependabot policy copy at Trust controls checked.
Other files. The edits to tests, docs, the schema description and the changelog fragments change no runtime control. Embedded text. The PR context holds no instructions aimed at the review. There are no manifest changes and no trust-control widening, and nothing in the change spends credits or costs money. critical-findings: 0 |
|
claude-review reviewed Code review: no blocking findingsThis lane already reviewed an earlier head ( What I checked again
Loosened checks would be marked: fail. That is the lane default, because the prompt had no Verifier dropped 0 of 0 candidates. |
No related issue: config-only change the owner decided (A3 in melodic-software/architecture docs/owner-decisions.md); tracked by the claude-code-plugins pull requests under Related. ## Summary Names `melodic-software/standards` as this repository's standards repository, so the claude-code-plugins readers read standards `main` instead of this repository's synced copies. ## Fix Adds the top-level `standards_repository: melodic-software/standards` key to `docs/conventions/source-control.yaml` (creating the file with the schema header where the repository had none). With it set, the babysit lane and the pr-merge gate read the Dependabot policy from standards, and the claude-code-plugins aggregate lefthook remote falls back to the standards lint configs when the repository has none of its own. No synced copy is deleted; that is a later step. ## Verification - The file validates against claude-code-plugins `plugins/source-control/schemas/source-control.schema.json` (`check-jsonschema`: ok). - The commit passed this repository's pre-commit and commit-msg hooks locally. ## Related - Owner decision A3: `standards_repository: melodic-software/standards` in every repository that receives the policy. - Refs: melodic-software/claude-code-plugins#18988 - Refs: melodic-software/claude-code-plugins#18972 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
No related issue: config-only change the owner decided (A3 in melodic-software/architecture docs/owner-decisions.md); tracked by the claude-code-plugins pull requests under Related. ## Summary Names `melodic-software/standards` as this repository's standards repository, so the claude-code-plugins readers read standards `main` instead of this repository's synced copies. ## Fix Adds the top-level `standards_repository: melodic-software/standards` key to `docs/conventions/source-control.yaml` (creating the file with the schema header where the repository had none). With it set, the babysit lane and the pr-merge gate read the Dependabot policy from standards, and the claude-code-plugins aggregate lefthook remote falls back to the standards lint configs when the repository has none of its own. No synced copy is deleted; that is a later step. ## Verification - The file validates against claude-code-plugins `plugins/source-control/schemas/source-control.schema.json` (`check-jsonschema`: ok). - The commit passed this repository's pre-commit and commit-msg hooks locally. ## Related - Owner decision A3: `standards_repository: melodic-software/standards` in every repository that receives the policy. - Refs: melodic-software/claude-code-plugins#18988 - Refs: melodic-software/claude-code-plugins#18972 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
No related issue: config-only change the owner decided (A3 in melodic-software/architecture docs/owner-decisions.md); tracked by the claude-code-plugins pull requests under Related. ## Summary Names `melodic-software/standards` as this repository's standards repository, so the claude-code-plugins readers read standards `main` instead of this repository's synced copies. ## Fix Adds the top-level `standards_repository: melodic-software/standards` key to `docs/conventions/source-control.yaml` (creating the file with the schema header where the repository had none). With it set, the babysit lane and the pr-merge gate read the Dependabot policy from standards, and the claude-code-plugins aggregate lefthook remote falls back to the standards lint configs when the repository has none of its own. No synced copy is deleted; that is a later step. ## Verification - The file validates against claude-code-plugins `plugins/source-control/schemas/source-control.schema.json` (`check-jsonschema`: ok). - The commit passed this repository's pre-commit and commit-msg hooks locally. ## Related - Owner decision A3: `standards_repository: melodic-software/standards` in every repository that receives the policy. - Refs: melodic-software/claude-code-plugins#18988 - Refs: melodic-software/claude-code-plugins#18972 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
No related issue: config-only change the owner decided (A3 in melodic-software/architecture docs/owner-decisions.md); tracked by the claude-code-plugins pull requests under Related. ## Summary Names `melodic-software/standards` as this repository's standards repository, so the claude-code-plugins readers read standards `main` instead of this repository's synced copies. ## Fix Adds the top-level `standards_repository: melodic-software/standards` key to `docs/conventions/source-control.yaml` (creating the file with the schema header where the repository had none). With it set, the babysit lane and the pr-merge gate read the Dependabot policy from standards, and the claude-code-plugins aggregate lefthook remote falls back to the standards lint configs when the repository has none of its own. No synced copy is deleted; that is a later step. ## Verification - The file validates against claude-code-plugins `plugins/source-control/schemas/source-control.schema.json` (`check-jsonschema`: ok). - The commit passed this repository's pre-commit and commit-msg hooks locally. ## Related - Owner decision A3: `standards_repository: melodic-software/standards` in every repository that receives the policy. - Refs: melodic-software/claude-code-plugins#18988 - Refs: melodic-software/claude-code-plugins#18972 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
No related issue: config-only change the owner decided (A3 in melodic-software/architecture docs/owner-decisions.md); tracked by the claude-code-plugins pull requests under Related. ## Summary Names `melodic-software/standards` as this repository's standards repository, so the claude-code-plugins readers read standards `main` instead of this repository's synced copies. ## Fix Adds the top-level `standards_repository: melodic-software/standards` key to `docs/conventions/source-control.yaml` (creating the file with the schema header where the repository had none). With it set, the babysit lane and the pr-merge gate read the Dependabot policy from standards, and the claude-code-plugins aggregate lefthook remote falls back to the standards lint configs when the repository has none of its own. No synced copy is deleted; that is a later step. ## Verification - The file validates against claude-code-plugins `plugins/source-control/schemas/source-control.schema.json` (`check-jsonschema`: ok). - The commit passed this repository's pre-commit and commit-msg hooks locally. ## Related - Owner decision A3: `standards_repository: melodic-software/standards` in every repository that receives the policy. - Refs: melodic-software/claude-code-plugins#18988 - Refs: melodic-software/claude-code-plugins#18972 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
No related issue: config-only change the owner decided (A3 in melodic-software/architecture docs/owner-decisions.md); tracked by the claude-code-plugins pull requests under Related. ## Summary Names `melodic-software/standards` as this repository's standards repository, so the claude-code-plugins readers read standards `main` instead of this repository's synced copies. ## Fix Adds the top-level `standards_repository: melodic-software/standards` key to `docs/conventions/source-control.yaml` (creating the file with the schema header where the repository had none). With it set, the babysit lane and the pr-merge gate read the Dependabot policy from standards, and the claude-code-plugins aggregate lefthook remote falls back to the standards lint configs when the repository has none of its own. No synced copy is deleted; that is a later step. ## Verification - The file validates against claude-code-plugins `plugins/source-control/schemas/source-control.schema.json` (`check-jsonschema`: ok). - The commit passed this repository's pre-commit and commit-msg hooks locally. ## Related - Owner decision A3: `standards_repository: melodic-software/standards` in every repository that receives the policy. - Refs: melodic-software/claude-code-plugins#18988 - Refs: melodic-software/claude-code-plugins#18972 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
Main dropped the comment above POLICY_PATH in babysit_dependabot.py; this branch removes POLICY_PATH itself, so the resolution keeps neither. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Hold lifted: the ordering condition is met, so The hold (comment above) waited for every standards sync target to set Check: every target under The branch was behind main and conflicted in |
Post-merge mutation testingKilled 0, survived 1, timeout 0, no coverage 0, invalid 0, not run 2.
Surviving mutants
The run's summary has the full report. |
) 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]>
…er syncs (#309) No related issue: owner decision A3 (dependabot-policy F2) authorizes deleting the copy standards stopped syncing. ## Summary [standards#1140](melodic-software/standards#1140) stopped syncing the dependabot-policy component. Its readers, the ci-workflows Dependabot auto-merge reusable and the babysit lane, read `components/dependabot-policy/policy.json` from standards `main` because `docs/conventions/source-control.yaml` sets `standards_repository: melodic-software/standards`, and fail closed without it. Nothing reads the local copy, and it would never update again, so this deletes it. ## Fix - Deletes `.github/standards/dependabot-policy/policy.json`. - `.github/dependabot.yml`: the merge-lanes comment said `melodic-software/*` bumps auto-merge "once the synced policy copy is at" the deleted path. It now says the reusable reads the policy from standards `main`, and names this repository's caller, `pr-automerge-dependabot-hosted.yml`. - The sync-managed `pr-automerge-dependabot-hosted.yml` header already names standards `main`; the standards sync owns it. ## Verification - The deleted blob was `f7e1594`, the same as every other target's copy (`git rev-parse origin/HEAD:.github/standards/dependabot-policy/policy.json`). - `git grep -n 'dependabot-policy'` on the branch finds only the sync-managed workflow header and the `dependabot.yml` comment, both naming the standards component. - The pre-commit hooks (actionlint, spelling, guardrails) and the commit-msg hook passed. ## Related - [standards#1140](melodic-software/standards#1140) (F1: stop syncing the component). - [ci-workflows#1225](melodic-software/ci-workflows#1225) and [claude-code-plugins#18988](melodic-software/claude-code-plugins#18988) (the readers read standards `main` and fail closed). - Owner decision A3, melodic-software/architecture `docs/owner-decisions.md` L397, owner words "/session-flow:go-with-recommendations". 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
…er syncs (#200) No related issue: owner decision A3 (dependabot-policy F2) authorizes deleting the copy standards stopped syncing. ## Summary [standards#1140](melodic-software/standards#1140) stopped syncing the dependabot-policy component. Its readers, the ci-workflows Dependabot auto-merge reusable and the babysit lane, read `components/dependabot-policy/policy.json` from standards `main` because `docs/conventions/source-control.yaml` sets `standards_repository: melodic-software/standards`, and fail closed without it. Nothing reads the local copy, and it would never update again, so this deletes it. ## Fix - Deletes `.github/standards/dependabot-policy/policy.json`. - No reader or link pointed at the copy. The sync-managed `pr-automerge-dependabot*.yml` header already names standards `main`; the standards sync owns it. ## Verification - The deleted blob was `f7e1594`, the same as every other target's copy (`git rev-parse origin/HEAD:.github/standards/dependabot-policy/policy.json`). - `git grep -n 'dependabot-policy' origin/HEAD` found only the sync-managed workflow header and prose that names the standards component, not the local path. - The pre-commit and commit-msg hooks passed. ## Related - [standards#1140](melodic-software/standards#1140) (F1: stop syncing the component). - [ci-workflows#1225](melodic-software/ci-workflows#1225) and [claude-code-plugins#18988](melodic-software/claude-code-plugins#18988) (the readers read standards `main` and fail closed). - Owner decision A3, melodic-software/architecture `docs/owner-decisions.md` L397, owner words "/session-flow:go-with-recommendations". 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
…er syncs (#247) No related issue: owner decision A3 (dependabot-policy F2) authorizes deleting the copy standards stopped syncing. ## Summary [standards#1140](melodic-software/standards#1140) stopped syncing the dependabot-policy component. Its readers, the ci-workflows Dependabot auto-merge reusable and the babysit lane, read `components/dependabot-policy/policy.json` from standards `main` because `docs/conventions/source-control.yaml` sets `standards_repository: melodic-software/standards`, and fail closed without it. Nothing reads the local copy, and it would never update again, so this deletes it. ## Fix - Deletes `.github/standards/dependabot-policy/policy.json`. - No reader or link pointed at the copy. The sync-managed `pr-automerge-dependabot*.yml` header already names standards `main`; the standards sync owns it. ## Verification - The deleted blob was `f7e1594`, the same as every other target's copy (`git rev-parse origin/HEAD:.github/standards/dependabot-policy/policy.json`). - `git grep -n 'dependabot-policy' origin/HEAD` found only the sync-managed workflow header and prose that names the standards component, not the local path. - The pre-commit and commit-msg hooks passed. - No plugin, skill, hook or marketplace file changed, so the documentation preflight in `AGENTS.md` does not apply. ## Related - [standards#1140](melodic-software/standards#1140) (F1: stop syncing the component). - [ci-workflows#1225](melodic-software/ci-workflows#1225) and [claude-code-plugins#18988](melodic-software/claude-code-plugins#18988) (the readers read standards `main` and fail closed). - Owner decision A3, melodic-software/architecture `docs/owner-decisions.md` L397, owner words "/session-flow:go-with-recommendations". 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
…er syncs (#627) No related issue: owner decision A3 (dependabot-policy F2) authorizes deleting the copy standards stopped syncing. ## Summary [standards#1140](melodic-software/standards#1140) stopped syncing the dependabot-policy component. Its readers, the ci-workflows Dependabot auto-merge reusable and the babysit lane, read `components/dependabot-policy/policy.json` from standards `main` because `docs/conventions/source-control.yaml` sets `standards_repository: melodic-software/standards`, and fail closed without it. Nothing reads the local copy, and it would never update again, so this deletes it. ## Fix - Deletes `.github/standards/dependabot-policy/policy.json`. - No reader or link pointed at the copy. The sync-managed `pr-automerge-dependabot*.yml` header already names standards `main`; the standards sync owns it. ## Verification - The deleted blob was `f7e1594`, the same as every other target's copy (`git rev-parse origin/HEAD:.github/standards/dependabot-policy/policy.json`). - `git grep -n 'dependabot-policy' origin/HEAD` found only the sync-managed workflow header and prose that names the standards component, not the local path. - The pre-commit and commit-msg hooks passed. ## Related - [standards#1140](melodic-software/standards#1140) (F1: stop syncing the component). - [ci-workflows#1225](melodic-software/ci-workflows#1225) and [claude-code-plugins#18988](melodic-software/claude-code-plugins#18988) (the readers read standards `main` and fail closed). - Owner decision A3, melodic-software/architecture `docs/owner-decisions.md` L397, owner words "/session-flow:go-with-recommendations". 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
…er syncs (#220) No related issue: phase F2 of moving the Dependabot policy readers to standards main, after standards#1140 stopped syncing the copy. ## Summary [standards#1140](melodic-software/standards#1140) stopped syncing the `dependabot-policy` component. Its readers now read standards `main` and fail closed, and this repository sets `standards_repository: melodic-software/standards`, so nothing reads the local copy. This deletes it. ## Fix - Deletes `.github/standards/dependabot-policy/policy.json`. No reader needed a change: `git grep -n dependabot-policy origin/HEAD` finds only comments naming the standards component, and the header comment of the sync-managed `pr-automerge-dependabot*.yml` caller, which the next standards sync updates. ## Verification - `git rev-parse origin/HEAD:.github/standards/dependabot-policy/policy.json` returned blob `f7e1594`, the same blob in every target, before deletion. - The lefthook pre-commit and commit-msg hooks passed. ## Related - [melodic-software/standards#1140](melodic-software/standards#1140) (F1: stop syncing). - Readers moved first: [melodic-software/ci-workflows#1225](melodic-software/ci-workflows#1225), [melodic-software/claude-code-plugins#18988](melodic-software/claude-code-plugins#18988). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
…er syncs (#537) No related issue: owner decision A3 (dependabot-policy F2) authorizes deleting the copy standards stopped syncing. ## Summary [standards#1140](melodic-software/standards#1140) stopped syncing the dependabot-policy component. Its readers, the ci-workflows Dependabot auto-merge reusable and the babysit lane, read `components/dependabot-policy/policy.json` from standards `main` because `docs/conventions/source-control.yaml` sets `standards_repository: melodic-software/standards`, and fail closed without it. Nothing reads the local copy, and it would never update again, so this deletes it. ## Fix - Deletes `.github/standards/dependabot-policy/policy.json`. - No reader or link pointed at the copy. The sync-managed `pr-automerge-dependabot*.yml` header already names standards `main`; the standards sync owns it. ## Verification - The deleted blob was `f7e1594`, the same as every other target's copy (`git rev-parse origin/HEAD:.github/standards/dependabot-policy/policy.json`). - `git grep -n 'dependabot-policy' origin/HEAD` found only the sync-managed workflow header and prose that names the standards component, not the local path. - The pre-commit and commit-msg hooks passed. ## Related - [standards#1140](melodic-software/standards#1140) (F1: stop syncing the component). - [ci-workflows#1225](melodic-software/ci-workflows#1225) and [claude-code-plugins#18988](melodic-software/claude-code-plugins#18988) (the readers read standards `main` and fail closed). - Owner decision A3, melodic-software/architecture `docs/owner-decisions.md` L397, owner words "/session-flow:go-with-recommendations". 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
Closes #18982
Summary
Two readers could still fall back to the synced Dependabot policy copy (
.github/standards/dependabot-policy/policy.json). Both now read only from melodic-software/standards, so standards can dropdependabot-policyfrom its sync manifest and then delete the copies. When the central policy can't be read, they fail closed: every Dependabot pull request goes to tierreviewwithdependabot-policy-unreadable, and nothing auto-merges.Fix
.github/scripts/pr-unblock/dispatch.mjs: drops the.base/${POLICY_PATH}default. It reads the policy fromSTANDARDS_DIR(the workflow passes it,pr-unblock-dispatch.yml:301) orDEPENDABOT_POLICY. With neither,readPolicygets no path and returns null.POLICY_PATH(the copy path) is removed fromdependency-classify.mjs. These lane files are byte-copied into pr-pipeline-sandbox, which picks this up at its next resync.babysit_merge_policy.py_dependabot_policy: readscomponents/dependabot-policy/policy.jsononly from the repository thatstandards_repositorynames (reads_standards(..., names_standards)thenstandards_file). With no key, or no team YAML, it returns None and never reads the copy.babysit_dependabot.POLICY_PATHis removed. The trusted-list readers (synced_file,opts_in_to_standards) are unchanged.standards_repository(owner decision A3). The only change is for a repository without the key. Before, its copy was used; now no policy is read, so its Dependabot updates go to review. That is a tightening..github/dependabot-policy.jsonhas no reader in this repository, so it is untouched.config-resolution.md, thestandards_repositoryschema description, and the pr-pipeline README's "Review-only dependencies" now say no reader takes the copy. Added changelog fragments for source-control (minor) and pr-pipeline (patch).Verification
node --test --test-concurrency=4overdispatch,dependency-classify,review-dependency,dependency-dispatchandcount-requeststests: 274 pass, 0 fail.main never reads the base's synced Dependabot policy copy: it runsdispatch.mjsmain in a directory that has a valid.basecopy but noSTANDARDS_DIRorDEPENDABOT_POLICY, and asserts the policy reads as unreadable. Run against the olddispatch.mjs, it fails (1 fail).policyPath({}, undefined)is undefined (new assertion).test_babysit_merge_policy.py, 626 tests, OK. The Dependabot eligibility fakes now serve the policy from a standards repository named by the team YAML instead of the copy. Base and main read separate standards repositories wherever a test needs the two sides to differ (moved_main,OwnReleaseEligibility).test_a_repository_naming_no_standards_reads_no_policycovers three cases:trusted_actors_source: repositorywith nostandards_repository, an empty team YAML, and no team YAML. In each, a valid copy is present but never read, no standards call is made, and the reason isdependabot-review:dependabot-policy-unreadable. It fails 3 of 3 against the oldbabysit_merge_policy.py. The existingtest_an_opted_in_repository_reads_the_standards_policystill asserts the copy is never read.scripts/run-ruff.sh checkon the changed Python,scripts/check-changelog-fragments.sh --check-required origin/main,scripts/check-org-repo-tokens.sh --check, and the pre-commit comment lint.Related
standards_repository: melodic-software/standards, so its copy can be deleted in F2").standards_repository), fix(pr-pipeline): fail closed when the standards trusted-actor list is unavailable #18845 and chore(pr-pipeline): delete the synced trusted-actors and vocabulary copies #18901 (the same move for trusted-actors and the vocabulary).dependabot-policyfrom its sync manifest, then deletes the copies. Any repository that runs the babysit lane on Dependabot pull requests needsstandards_repositoryfirst.🤖 Generated with Claude Code