Skip to content

feat(dependabot-policy): review-only entries for claude-code-plugins credentialed CI tools - #794

Merged
kyle-sexton merged 2 commits into
mainfrom
feat/reviewonly-ci-credentialed-tools
Oct 17, 2026
Merged

kyle-sexton merged 2 commits into
mainfrom
feat/reviewonly-ci-credentialed-tools

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

No related issue: a supply-chain hardening follow-up to #793 for melodic-software/claude-code-plugins.

Summary

A hijacked non-major npm release of a claude-code-plugins root devDependency is tier auto today and merges on a green ci-status with no review. Two of those packages run inside a job holding a secret, so this lists them under autoMerge.reviewOnly and syncs policy.json to claude-code-plugins so its classifiers can read it.

Fix

  • components/dependabot-policy/policy.json: two reviewOnly entries for melodic-software/claude-code-plugins, ecosystem npm, directory /:
    • @anthropic-ai/claude-code: eval-browser-dispatch.yml:153 runs npm ci on the root lockfile, :251 runs its claude CLI with AUTOMATIONS_CLAUDE_CODE_OAUTH_TOKEN in the step env (:203). It is the only root package with an install script, and .github/dependabot.yml:65-66 exempts it from the cooldown.
    • @playwright/cli: installed in that job, :163 runs the playwright it pulls in, :189 runs playwright-cli, and :45 makes Bash(playwright-cli *) the eval's default tool, so it runs beside the claude process that holds the secret.
  • distribution/sync-manifest.yml: a new dependabot-policy component that ships policy.json alone to .github/standards/dependabot-policy/policy.json, managed in claude-code-plugins.
  • components/managed-files-guard/managed-files-guard.yml: that destination joins the guard's paths union, as its contract test requires.
  • components/dependabot-policy/README.md: one paragraph on the sync component.

Not listed, with the reason: @biomejs/biome, markdownlint-cli2 and htmlhint run in pr-require-checks.yml jobs that hold a read-only GITHUB_TOKEN and no secret. In the eval job they sit on PATH and run only if an eval target's plugin hooks call them.

Every control names docs/conventions/pr-pipeline/README.md#review-only-dependencies in claude-code-plugins, a section the companion PR adds.

Verification

  • npm run test:dependabot-policy: 51 pass, 0 fail.
  • npm run lint:dependabot-policy: "Dependabot policy passed."
  • bash distribution/sync-manifest.test.sh: 0 FAIL lines.
  • bash harness/shell/run-tests.sh components/managed-files-guard/managed-files-guard.test.sh: 1 passed.

Related

🤖 Generated with Claude Code

https://claude.ai/code/session_01LN2UYVaEoezf3FxZY72hsS

…credentialed CI tools

List @anthropic-ai/claude-code and @playwright/cli, root devDependencies
of melodic-software/claude-code-plugins that run in the eval-browser-dispatch
job holding AUTOMATIONS_CLAUDE_CODE_OAUTH_TOKEN, under autoMerge.reviewOnly,
and sync policy.json to claude-code-plugins at
.github/standards/dependabot-policy/policy.json so its Dependabot classifiers
can read it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LN2UYVaEoezf3FxZY72hsS
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 17, 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-17T06:22:46.918433Z 05757db Draft marked ready
ℹ️ 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.

@claude

claude Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Claude finished @kyle-sexton's task in 1m 3s —— View job


Security review complete

  • Gather context (PR diff, changed files)
  • Review components/dependabot-policy/policy.json changes
  • Review distribution/sync-manifest.yml changes
  • Review components/managed-files-guard/managed-files-guard.yml changes
  • Review components/dependabot-policy/README.md changes
  • Report findings

No security issues found.

This PR is a pure data/configuration hardening change, not new logic:

  • components/dependabot-policy/policy.json adds two autoMerge.reviewOnly entries (@anthropic-ai/claude-code, @playwright/cli for melodic-software/claude-code-plugins), moving them from the implicit auto tier to review-required. This narrows auto-merge eligibility rather than widening it — a hardening direction, not a weakening one.
  • distribution/sync-manifest.yml wires a new dependabot-policy component that ships only policy.json to .github/standards/dependabot-policy/policy.json, and adds that target exclusively under melodic-software/claude-code-plugins (verified against the targets: section — matches the PR description exactly, no other target is affected).
  • components/managed-files-guard/managed-files-guard.yml adds the new sync destination to the paths trigger list, correctly sorted alphabetically among the existing entries, consistent with the contract test referenced in the PR body.
  • components/dependabot-policy/README.md only adds descriptive prose.

No scripts that consume policy.json (dependabot-policy.mjs, automerge-lockstep.mjs) are modified in this PR, so there's no new parsing/execution surface to audit here — that logic lives in the companion claude-code-plugins PR, out of scope for this repo's diff. No workflow permissions:, triggers, or instruction/rule files (AGENTS.md, .claude/rules/*) are touched, so the instruction-surface-deletion lens doesn't apply.

claude-lane-summary: lane=claude-security-review sha=05757db3869eb83907602f475fa1a6d382ee3b06 run=39009566880

@claude

claude Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Claude finished @kyle-sexton's task in 3m 14s —— View job


CI code review complete

No blocking findings.

Checked:

  • New reviewOnly entries in policy.json validate against policy.schema.json (required fields, repository/directory/reviewed patterns, uniqueItems) — confirmed by reading the schema and the existing dependabot-policy.test.mjs cases, not by executing the suite (see note below).
  • distribution/sync-manifest.yml: the new dependabot-policy component and its addition to the melodic-software/claude-code-plugins target are both alphabetically placed correctly among existing entries.
  • components/managed-files-guard/managed-files-guard.yml: the new .github/standards/dependabot-policy/policy.json path is correctly sorted into the paths union, and (per the file's own header) only the hosted variant needs it since claude-code-plugins is on managed-files-guard-caller, not the fleet-routed sibling — managed-files-guard-fleet.yml correctly has no corresponding addition.
  • README.md addition accurately reflects the new sync destination and matches this component's existing doc style.
  • This aligns with REVIEW.md's Dependabot-merge criterion: a security-critical dependency belongs in reviewOnly with a cited control, which these entries do.

Notes, not findings:

  • This sandbox's permission mode blocked every node/bash/python3 invocation I attempted (schema validation, test:dependabot-policy, sync-manifest.test.sh, managed-files-guard.test.sh all required approval I couldn't grant). I could not independently execute the author's listed Verification commands — treat those as author-claimed, not confirmed by this review.
  • The two new control citations (docs/conventions/pr-pipeline/README.md#review-only-dependencies) point to a section the companion PR (claude-code-plugins#7717) adds, and the specific line numbers cited in each entry's basis live in melodic-software/claude-code-plugins, outside this checkout — both are unverifiable from here but are consistent with the PR's disclosed merge-order plan and fail-closed design.

claude-lane-summary: lane=claude-review sha=05757db3869eb83907602f475fa1a6d382ee3b06 run=39009566869

@github-actions

github-actions Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

claude-security-review has reviewed this pull request through 24b8370; a later push is reviewed from there.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 05757db386

ℹ️ 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".

Comment thread distribution/sync-manifest.yml Resolved
@github-actions

github-actions Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

claude-review has reviewed this pull request through 24b8370; a later push is reviewed from there.

…ssion evidence

Live consumer, owner and acceptance, rollback, delivery boundary,
alternatives and overlap, operational fit, legal and security fit, update
path and verification, per docs/component-lifecycle.md#admission-evidence.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LN2UYVaEoezf3FxZY72hsS
@claude

claude Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Claude finished @kyle-sexton's task in 1m 13s —— View job


CI code review complete (incremental: components/dependabot-policy/README.md only)

  • Gather context (incremental diff since 05757db, prior review scope)
  • Invoke /review:code-review criteria
  • Review the new "Sync component admission evidence" section
  • Verify citations and references
  • Report findings

No blocking findings.

This commit's only change (components/dependabot-policy/README.md) adds the "Sync component admission evidence" section, directly answering the Codex P1 finding on the prior commit (missing admission evidence for the dependabot-policy sync component).

Checked against docs/component-lifecycle.md#admission-evidence, the new section supplies all nine required bullets (live consumer, owner/outcome, delivery boundary, alternatives/overlap, operational fit, upstream health, legal/security fit, update path, verification) rather than a subset.

Spot-checked the concrete claims against the live repo:

  • #430 is cited as the PR that retired the earlier analyzer-and-runtime payload with zero targets — confirmed via gh pr view 430: that PR did delete the then-unused dependabot-policy component defs, matching the README's description exactly.
  • The npm run test:dependabot-policy / npm run lint:dependabot-policy commands and the policy.schema.json link all resolve to real scripts/files in this repo.
  • The internal anchor #sync-component-admission-evidence matches the new heading's GitHub slug, and the relative link to ../../docs/component-lifecycle.md resolves correctly from components/dependabot-policy/README.md.

Not independently verifiable from this repo (acknowledged honestly in the text itself, not overstated): the companion-repo test counts ("1642 engine tests and 219 pr-unblock tests") and the claim that live-run evidence can't land until after the sync PR — both describe melodic-software/claude-code-plugins, outside this checkout, and the "Operational fit" bullet explicitly flags the live-exercise gap rather than hiding it.

claude-lane-summary: lane=claude-review sha=24b8370ded2f25dfbaab0effbb84013f1755b45c run=39010272159

@kyle-sexton
kyle-sexton merged commit 2305cc9 into main Oct 17, 2026
22 checks passed
@kyle-sexton
kyle-sexton deleted the feat/reviewonly-ci-credentialed-tools branch October 17, 2026 06:37
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