Skip to content

feat(dependabot-policy): review-only ajv and yaml in claude-code-plugins resolve-config - #808

Merged
kyle-sexton merged 1 commit into
mainfrom
feat/reviewonly-resolve-config
Oct 19, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
feat/reviewonly-resolve-config

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

No related issue: owner decision, GitHub Security & Cost interview 2026-10-18

Summary

Dependabot updates to ajv and yaml in claude-code-plugins' .github/actions/resolve-config must always go to review, never auto-merge. That action installs its lockfile and runs both packages inside credentialed CI lanes, and its output sets the permissions the pr-merge lane token is minted with.

Fix

components/dependabot-policy/policy.json: two autoMerge.reviewOnly entries, each scoped by the schema's existing fields to repository: melodic-software/claude-code-plugins, ecosystem: npm, directory: /.github/actions/resolve-config:

  • ajv: action.yml:159 runs npm ci --ignore-scripts --omit=dev on the lockfile, :160 runs resolve-config.mjs, and resolve.mjs:7 loads ajv to validate the lane rules. In pr-merge.yml:210-215 that output sets the permissions of the lane token minted at :261.
  • yaml: same path; resolve.mjs:8 loads yaml to parse the lane config.

Both entries cite the existing control docs/conventions/pr-pipeline/README.md#review-only-dependencies. The standards-local yaml entry under /distribution is unchanged.

Verification

  • npm run test:dependabot-policy: 51 pass, 0 fail.
  • npm run lint:dependabot-policy: "Dependabot policy passed."
  • npm run lint:dependabot-automerge-lockstep: both pins match policy.json.
  • The classifiers run against this policy.json, both at claude-code-plugins origin/main:
    • reviewOnly from .github/scripts/pr-unblock/dependency-classify.mjs (pr-unblock lane) returns review-only:ajv and review-only:yaml for a grouped dependabot/npm_and_yarn/dot-github/actions/resolve-config/npm-minor-patch-* update whose changed files are that directory's package.json and package-lock.json; it returns review-only:ajv when the files listing is unreadable; and it returns nothing for a yaml bump in /plugins/miro/server.
    • review_only from babysit_dependabot.py (pr-merge lane) gives the same three results.

Related

🤖 Generated with Claude Code

…ins resolve-config

The resolve-config composite action installs its lockfile and runs ajv and
yaml inside credentialed CI lanes, and its output sets the permissions the
pr-merge lane token is minted with. List both under autoMerge.reviewOnly,
scoped to melodic-software/claude-code-plugins and that action's directory,
so a Dependabot update to either always goes to review.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-18T22:39:23.018403Z 3db256b 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.

@github-actions

Copy link
Copy Markdown

claude-security-review reviewed 3db256b381949cb2e5e5cffcf04fed5d9feb4637: 0 finding(s), 0 as inline comments.

No security issues found in PR #808 at head 3db256b.

The PR adds two entries, ajv and yaml, to autoMerge.reviewOnly in components/dependabot-policy/policy.json. Both are scoped to melodic-software/claude-code-plugins and /.github/actions/resolve-config. Review-only entries route Dependabot updates for those packages to human review instead of auto-merge. So the change tightens the policy and widens no auto-merge or permission surface.

  • Instruction surface: nothing is deleted, narrowed or softened.
  • Entry shape: the new entries have the same fields as the existing entries, with a reviewed date, a basis and a control pointer.
  • Not checked: I did not check the basis line citations against claude-code-plugins. That repository is outside this PR's diff.

@github-actions

Copy link
Copy Markdown

claude-review reviewed 3db256b381949cb2e5e5cffcf04fed5d9feb4637: 0 finding(s), 0 as inline comments.

No findings. The PR adds two autoMerge.reviewOnly entries (ajv and yaml, scoped to melodic-software/claude-code-plugins, npm, /.github/actions/resolve-config) to components/dependabot-policy/policy.json.

  • Shape: each entry has the fields components/dependabot-policy/README.md (lines 143-149) requires for a review-only dependency: repository, ecosystem, directory, dependency, reviewed, basis and control.
  • Consistency: the entries mirror the existing claude-code-plugins entries, with the same control anchor and a reviewed date of 2026-10-18.
  • Scoping: the existing yaml entry for /distribution is untouched, and the new entries are scoped by directory, so they don't change how that one behaves.
  • Verification not run: I could not run npm run lint:dependabot-policy or the tests, because the sandbox required approval for the command. The PR body's verification figures (51 tests passing, the lint pass, the lockstep check, the classifier runs) are the author's claims and I did not confirm them.
  • Not checked: the basis line references (action.yml:159-160, resolve.mjs:7-8, pr-merge.yml:210-215, :261) point into claude-code-plugins, which isn't in this checkout. The control anchor docs/conventions/pr-pipeline/README.md#review-only-dependencies likewise lives in claude-code-plugins and isn't in this checkout.
  • PR body: the body follows the contract (No related issue: <reason> and the Summary, Fix, Verification and Related sections).
  • Closing issues: none are linked, so there are no acceptance criteria to check.

@kyle-sexton
kyle-sexton merged commit 6136cb8 into main Oct 19, 2026
22 checks passed
@kyle-sexton
kyle-sexton deleted the feat/reviewonly-resolve-config branch October 19, 2026 01:23
kyle-sexton added a commit that referenced this pull request Oct 25, 2026
…de-plugins (#875)

Refs: melodic-software/claude-code-plugins#9591

## Summary


[claude-code-plugins#9605](melodic-software/claude-code-plugins#9605)
added the control-claude-code driver with an exactly pinned
`@microsoft/tui-test` and a weekly Dependabot npm entry for
`/plugins/harness-ops/skills/control-claude-code/driver`
(`.github/dependabot.yml:148` there). The engine loads a per-platform
native binary into the process that drives a Claude Code session on the
user's saved subscription login, and today a 0.1.x patch bump would
auto-merge on `ci-status` alone. The owner approved making it
review-only on 2026-10-24.

## Fix

Adds one `autoMerge.reviewOnly` entry to
`components/dependabot-policy/policy.json`, shaped like the existing
claude-code-plugins entries: repository
`melodic-software/claude-code-plugins`, ecosystem `npm`, directory
`/plugins/harness-ops/skills/control-claude-code/driver`, dependency
`@microsoft/tui-test`, reviewed `2026-10-24`, control
`docs/conventions/pr-pipeline/README.md#review-only-dependencies`. The
basis cites `driver.mjs:245` (`npm ci` of the lockfile), `:420-422`
(engine and native binary loaded, claude started in it), `:87` (API
credential variables cleared) and `package-lock.json:22-30` (native
per-platform optional dependencies), all at claude-code-plugins `main`
2f6b81e.

No changelog or version file: the earlier review-only additions (#794,
#808) changed only `policy.json`.

## Verification

- `node --test components/dependabot-policy/dependabot-policy.test.mjs
components/dependabot-policy/automerge-lockstep.test.mjs`: 51 pass, 0
fail.
- `node components/dependabot-policy/dependabot-policy.mjs --root .`
(validates `policy.json` against `policy.schema.json`): `Dependabot
policy passed.`
- `node components/dependabot-policy/automerge-lockstep.mjs`: all three
approved reusable SHAs match.
- Pre-commit hooks (biome, gitleaks, typos, editorconfig) passed.

## Related

- melodic-software/claude-code-plugins#9591
- melodic-software/claude-code-plugins#9605

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_0177ybXguBnnGV4UTksrdzd9

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
kyle-sexton added a commit that referenced this pull request Oct 31, 2026
…-plugins (#935)

Refs: melodic-software/claude-code-plugins#11550

## Summary


[claude-code-plugins#11550](melodic-software/claude-code-plugins#11550)
adds a lockfile and a weekly Dependabot npm entry for
`/plugins/sql-server`. The plugin's `tedious` and `@azure/identity` run
in the MCP server process beside the SQL login and the user's Entra
tokens, so today a non-major bump of either would sort as tier `auto`
and merge on a green `ci-status`. Its [security review
thread](melodic-software/claude-code-plugins#11550 (comment))
asks for this change here because
`.github/standards/dependabot-policy/policy.json` is the synced copy of
this file.

## Fix

Adds two `autoMerge.reviewOnly` entries to
`components/dependabot-policy/policy.json`, shaped like the existing
claude-code-plugins entries: repository
`melodic-software/claude-code-plugins`, ecosystem `npm`, directory
`/plugins/sql-server`, dependencies `tedious` and `@azure/identity`,
reviewed `2026-10-31`, control
`docs/conventions/pr-pipeline/README.md#review-only-dependencies`. Each
basis cites `src/executor.mjs` at #11550's head, because that file is
not on claude-code-plugins `main` yet.

No changelog or version file: the earlier review-only additions (#794,
#808, #875) changed only `policy.json`.

## Verification

- `node --test components/dependabot-policy/dependabot-policy.test.mjs
components/dependabot-policy/automerge-lockstep.test.mjs`: 51 tests, 51
passed, 0 failed.
- `node components/dependabot-policy/dependabot-policy.mjs --root .`:
`Dependabot policy passed.`
- `node components/dependabot-policy/automerge-lockstep.mjs --root .`:
`PUBLISHER_ALLOWLIST at main matches policy.json`.

## Related

- <melodic-software/claude-code-plugins#11550>
- #875

🤖 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