Skip to content

chore(distribution): stop syncing the dependabot-policy component - #1140

Merged
kyle-sexton merged 1 commit into
mainfrom
chore/retire-dependabot-policy-distribution
Nov 25, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
chore/retire-dependabot-policy-distribution

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

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 and 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 chore(distribution): stop syncing the runner-policy runtime #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

🤖 Generated with Claude Code

Every reader now reads components/dependabot-policy/policy.json from
standards main and fails closed without it (claude-code-plugins#18988,
ci-workflows#1225), so the synced copy has no reader. Drop the component,
its managed entry in all 18 targets and the requires edge from both
dependabot-automerge callers. The source files stay where the readers read
them.

Reword the callers' headers and the READMEs that described the synced copy,
add dependabot-policy to the retired-component assertions, and restore the
lefthook-powershell mapping assertions, which called a helper #1126 deleted.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton enabled auto-merge (squash) November 25, 2026 13:38
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 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-25T13:39:20.335192Z efd59a1 PR opened
ℹ️ 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.

@kyle-sexton
kyle-sexton merged commit 8b996c5 into main Nov 25, 2026
32 checks passed
@kyle-sexton
kyle-sexton deleted the chore/retire-dependabot-policy-distribution branch November 25, 2026 13:39
@github-actions

Copy link
Copy Markdown

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

Security review: PR #1140, stop syncing the dependabot-policy component

No security issues found. I read all 8 changed files in full in .claude-lane/pr.diff.

What changed:

  • distribution/sync-manifest.yml drops the dependabot-policy component from all 18 targets.
  • It also drops the requires: dependabot-policy edge from both Dependabot automerge callers.
  • The rest is comments and docs, plus test updates.

What I checked:

  • Trust controls. No file under .github/actions/, no merge-hold script, no trusted-actor list, no CODEOWNERS and no .gitmodules is touched. No lane token's scope changes and no trusted-actor set changes.
  • The two caller workflows. In dependabot-automerge.yml and dependabot-automerge-fleet.yml only the header comments change. uses:, with:, permissions: and the triggers are the same.
  • Where the policy comes from. The trust input moves from a synced copy on each target's base branch to components/dependabot-policy/policy.json on this repository's main. Only a reviewed pull request here can change that file, so untrusted pull request content still cannot change the tiers.
  • Fail-closed behaviour. The PR says the readers read standards main and fail closed (claude-code-plugins#18988, ci-workflows#1225). Those changes are in other repositories, outside this diff. Even if a reader still read the old path, stale copies stay in place because deselecting a component never deletes its files.
  • Leftover references. A search of this repository at head finds .github/standards/dependabot-policy only in the new README note (components/dependabot-policy/README.md#L41). No guard path or other reader here depends on the synced copy.
  • Tests. In distribution/sync-manifest.test.sh the restored lefthook-powershell assertions pass the mapping key through strenv(SOURCE_PATH), not by splicing it into the shell, and the input is a fixed literal. dependabot-automerge.test.sh only changes an assertion.
  • Instruction text. The removed README text is admission evidence and install snippets, not a guardrail instruction, so no protected rule is removed.
  • Plugin manifests. None are touched, so there are no manifest lines.

The PR description has no embedded instructions aimed at the lane.

critical-findings: 0

@github-actions

Copy link
Copy Markdown

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

Code review: no findings

This PR stops syncing the dependabot-policy component. Specifically, it:

  • removes the component and the managed entry for it in all 18 targets (I counted 18 removed lines);
  • removes the requires: dependabot-policy edge from both automerge callers;
  • rewords the comments and READMEs that described the synced copy;
  • adds dependabot-policy to the retired-component assertion loop in distribution/sync-manifest.test.sh;
  • restores the two lefthook-powershell mapping assertions, which had called the deleted assert_component_mappings helper and never ran. The rewrite matches the inline yq pattern used elsewhere in the file.

Repo-wide check for leftovers:

  • No file outside this diff still mentions .github/standards/dependabot-policy/. The only mention left is the new retirement note in components/dependabot-policy/README.md.
  • Nothing linked to the removed #sync-component-admission-evidence anchor.
  • The links to #merge-tiers-for-dependabot-pull-requests from REVIEW.md and distribution/THREAT-MODEL.md still resolve.
  • The package.json scripts, the CI job and CODEOWNERS point at components/dependabot-policy/, which stays.
  • The remaining comments in sync-manifest.yml (architecture, knowledge-corpus, songwriting, pr-pipeline-sandbox) match their new managed lists.

What I did not verify: I had no shell, so I ran nothing. The test runs, the validate output, the actionlint results and the claim that the readers in ci-workflows and claude-code-plugins now read standards main all come from the PR body and are unconfirmed.

Closing issue: none. The PR body says "No linked issue", so I checked no acceptance criteria.

Loosened checks: one loosening, and it passes.

  • Kind: an assertion changed to match the code, at components/dependabot-automerge/dependabot-automerge.test.sh:82.
  • Before and after: the old assertion required requires == dependabot-policy. The new one requires an empty requires list.
  • Reason: the PR body's ## Loosened checks section names this change and gives a reason that holds: the edge is removed on purpose, and the new assertion is stricter, since it rejects any requires edge at all.

The wrapper wrote no loosened_check_verdict: or loosened_check_patterns: line, so I used fail with no consumer entries. With no loosened_check_decision_record: line, I did not check the citation requirement.

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

Verifier dropped 0 of 0 candidates.

kyle-sexton added a commit to melodic-software/.github that referenced this pull request Nov 25, 2026
…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]>
kyle-sexton added a commit to melodic-software/agent-plugins that referenced this pull request Nov 25, 2026
…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]>
kyle-sexton added a commit to melodic-software/codex-plugins that referenced this pull request Nov 25, 2026
…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]>
kyle-sexton added a commit to melodic-software/ci-runner that referenced this pull request Nov 25, 2026
…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]>
kyle-sexton added a commit to melodic-software/cursor-plugins that referenced this pull request Nov 25, 2026
…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]>
kyle-sexton added a commit to melodic-software/claude-code-account-rotation that referenced this pull request Nov 25, 2026
…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]>
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