Repository navigation
fix(source-control): read the Dependabot policy from standards_repository alone - #18780
Conversation
…tory alone The babysit merge gate now reads components/dependabot-policy/policy.json from the repository standards_repository names whenever that key is set, whatever trusted_actors_source says. The trusted-actors list still moves only with trusted_actors_source: standards. A malformed standards_repository fails the policy read closed. Docs state that setting standards widens what the lane merges unattended and needs an owner-decisions row outside claude-code-plugins and pr-pipeline-sandbox. Closes #18777 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 889dc5d2dd
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
claude-security-review reviewed Security review (incremental, blocking only): no security issues foundI read every hunk of the 3 files changed since What changed. The push rewords one sentence in three places:
The old text said a repository other than claude-code-plugins and pr-pipeline-sandbox may set What I checked
critical-findings: 0 |
|
claude-review reviewed Code review (incremental, blocking only): no findingsThis lane already reviewed head
What changed. The push only rewords the A1 opt-in sentence, the same way in all three files. The old text was: "a repository beyond claude-code-plugins and pr-pipeline-sandbox sets it only with an owner-decisions row approving that repository". The new text says to set Closing issue #18777, last criterion ("
Other checks.
Verifier dropped 0 of 0 candidates. |
…ors_source docs The shipped reference, schema description and changelog fragment named this organization's repositories and its owner-decisions record as the approval for trusted_actors_source: standards. Plugins ship to any consumer, so they now say only that the repository's owner approves it through their own process. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Closes #18777
Summary
A repository could only move its Dependabot policy read to the standards repository by also setting
trusted_actors_source: standards, which widens the trusted list the babysit lane adopts from. The owner accept of 2026-11-24 (owner words, verbatim: "/session-flow:go-with-recommendations"; items A1 and A3) splits the two:standards_repositoryalone moves the policy read, andtrusted_actors_source: standardsstays the owner-approved opt-in for the trusted list.Fix
babysit_merge_policy.py: the YAML key parsing moves into_standards_keysand_standards_repo.opts_in_to_standards(the trusted list) keeps its rule; a newnames_standards(the Dependabot policy) returnsstandards_repositorywhenever it is set, whatevertrusted_actors_sourcesays, and raises on a malformed one or onstandardswith none.reads_standardsandsynced_filetake the chooser, cached per chooser;_dependabot_policypassesnames_standards. The trusted-list readers (trusted_listing,babysit_verify_evidence.py,babysit_merge_skip.py,check-ready-holds.sh) are unchanged..github/standards/copies as before. An invalidtrusted_actors_sourcestill fails both reads.trusted_actors_sourceandstandards_repository,reference/config-resolution.mdandmerge.mddescribe the split. Thetrusted_actors_sourcedescription and config-resolution.md add the A1 rule: settingstandardswidens which pull requests the babysit lane adopts and merges unattended, so a repository beyond claude-code-plugins and pr-pipeline-sandbox sets it only with an owner-decisions row approving that repository.Verification
python3 -m unittest discoveroverplugins/source-control/skills/babysit-prs/scripts/tests: 4721 tests, OK (20 skipped), 247 s.standards_repository(and withtrusted_actors_source: repository), not from the copy; an unresolved standardsmainfails it;standards_repository: nopeor a list value fails the policy read closed (the update is not eligible) with or withouttrusted_actors_source: repository; the trusted list (merge policy, verify-evidence, skip key) still comes from the copy with onlystandards_repository.check-ready-holds.test.sh: all pass, including two new cases (onlystandards_repositoryset reads the copy, never the standards list).scripts/check-org-repo-tokens.sh --check,scripts/check-convention-yaml.sh(21 files validate),scripts/check-changelog-fragments.sh --check-required origin/main,node scripts/sync-credential-legs.mjs --check: pass.scripts/run-ruff.sh checkon the changed Python: pass.Related
Refs: owner accept 2026-11-24, items A1 and A3. Follow-up outside this PR: each dependabot-policy target sets
standards_repository: melodic-software/standardsso its copy can be deleted in F2.🤖 Generated with Claude Code