Repository navigation
[ENG-22470] Dependabot coverage, 5-day cooldown and guarded patch/minor auto-merge - #331
Conversation
… 5 days - @a2ui/lit 0.10.0 -> 0.10.3 pulls @a2ui/web_core 0.10.7, fixing GHSA-72qq-p3r5-f7wq (critical). 0.10.4 is deprecated upstream as breaking. - Override tinypool to 2.2.0 (dev-only, via oxfmt 0.52.0's exact 2.1.0 pin), fixing GHSA-5gmw-xhrv-c9v3 and GHSA-85c8-ppgw-ccpr (critical). - Record why the zod 3 alert stays open: no patched 3.x exists and every a2ui release still requires zod ^3.25.76. - Drop overrides for packages no longer in the tree (@grpc/grpc-js, basic-ftp, yauzl, request, request-promise). - minimumReleaseAge 2880 -> 7200, matching the Dependabot cooldown. Refs ENG-22470. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… auto-merge Port of getboon/boon#16124 to openclaw. - dependabot.yml: weekly Monday 06:00 UTC, 5-day cooldown (14 for majors where supported), minor/patch + security groups, PR limit 7; fix the stale MoltbotKit path and cover OpenClawKit, macos-mlx-tts and docs-i18n. - scripts/dependabot (bats-tested): coverage checker (+ --alerts check for pnpm overrides pinning a vulnerable version), merge decision, stale approval dismissal, weekly digest text. - dependabot-auto-merge.yml: enables GitHub auto-merge only for verified, patch/minor, dependency-file-only bumps with no new source or dependency; gated by the DEPENDABOT_AUTOMERGE kill switch, Gandalf approval and CI. - dependabot-digest.yml: one weekly Slack thread plus an overrides check. - ci.yml: ci-gate job, one stable check for the boon ruleset to require. Refs ENG-22470. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Dependency GuardThis PR changes dependency-related files. Maintainers should confirm these changes are intentional. Changed files:
Maintainer follow-up:
|
Dependency graph changes notedThis PR includes dependency graph changes. The dependency guard is informational because the PR author is a repository admin or a member of
Security review is still recommended before merge when the dependency graph change is intentional. |
There was a problem hiding this comment.
cubic analysis
All reported issues were addressed across 18 files
Linked issue analysis
Linked issue: ENG-22470: Dependabot coverage, cooldown and patch/minor auto-merge: openclaw
| Status | Acceptance criteria | Notes |
|---|---|---|
| ✅ | Cover every dependency manifest and lockfile | The coverage checker maps dependency files to update entries, and the new workflow tests it against the repository. |
| Resolve alerts or record why they remain open | The PR updates @a2ui/lit and tinypool and records why zod remains vulnerable; live Dependabot PR creation is unproven. | |
| Auto-merge eligible patch and minor updates | The workflow gates patch/minor merges on approval and CI, but required admin setup and live operation remain outstanding. | |
| ✅ | Use five-day cooldowns and fourteen for majors | The PR updates Dependabot cooldowns to five days and majors to fourteen, and raises pnpm minimumReleaseAge to 7200. |
| ✅ | Keep new dependencies and sources out of auto-merge | The merge-decision script rejects new direct dependencies and unapproved package sources, with tests for those checks. |
| ✅ | Install from the lockfile and restrict install scripts | The PR reports frozen-lockfile CI installs and pnpm allowBuilds restrictions are already in place. |
| ✅ | Document a one-step auto-merge kill switch | The workflow documents disabling auto-merge by changing DEPENDABOT_AUTOMERGE from on. |
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
src/docker-image-digests.test.ts reads the root docker entry by `directory: "/"`. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- merge decision: refuse package.json specifiers that point at git, URLs, files or GitHub shorthands; identify a version-catalog entry by alias and module; detect new direct dependencies in Gemfile, requirements.txt and pyproject.toml. - auto-merge workflow: require committer web-flow on every commit; a scheduled/dispatchable sweep clears queued auto-merge while the kill switch is "off", so the switch is one step. - digest: an outstanding changes request lists the PR under "Needs a human"; list up to 1000 PRs. - coverage checker: semver cooldowns may not undercut default-days; pnpm minimumReleaseAge must be >= 3 days; unparseable alert ranges are reported; pyproject.toml with dependencies and Gradle build files outside a covered project root need entries. - CODEOWNERS keeps the secops owner on dependabot.yml; the scripts workflow also runs for Gradle and Python manifests; document how a security fix younger than minimumReleaseAge gets through; drop ticket references from comments. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
All reported issues were addressed across 15 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
…le keys - A gem line with git:/github:/path:/source: (either hash syntax) is a new package source unless the same diff removes it. - Version-catalog module/id/group/name are read only as inline-table keys, so an alias ending in "id" (uuid = "9.0.0") keeps a stable key on bumps. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
Code Review Summary
Verdict: Approved ✅ (0 issues, 0 warnings)
PR: #331 — [ENG-22470] Dependabot coverage, 5-day cooldown and guarded patch/minor auto-merge
Author: @william-antoline-boon
Files changed: 18 (+2849 -140)
✅ Looks Good
- Coverage & Cooldowns:
.github/dependabot.ymlcovers all active manifests (including Swift Kit, MLX TTS, Swabble, and Go docs-i18n), enforces 5-day default / 14-day major cooldowns, and eliminates invalid registry configurations. - Supply-Chain Guardrails:
scripts/dependabot/dependabot-merge-decisionthoroughly restricts auto-merge to verified Dependabot commits, patch/minor updates, dependency-only files, allowlisted source registries, and forbids new direct dependencies. - Pnpm & Overrides Audit: Cleaned up dead overrides, raised
minimumReleaseAgeto 7200, resolved@a2ui/litandtinypoolalerts, and documented the rationale for the open zod 3 advisory. - CI Gate & Automated Tests: Added
ci-gateto stabilize required status checks, plus 115 comprehensive Bats tests intest/dependabot/that verify coverage rules, stale approval dismissals, and merge decisions. All CI checks pass. - Review Feedback Addressed: All prior feedback from automated checks and cubic review has been cleanly resolved.
Reviewed by Hermes Agent
* chore(release): bump version 2026.6.35-boon.5 -> 2026.6.35-boon.6 Cuts the fork release for the PRs merged to boon after the v2026.6.35-boon.5 tag: - #330 (ENG-21047): MEMORY.md/USER.md now resolve per sender identity under identities/<senderId>/ instead of always at the shared workspace root, so a multi-user Boon Agent box can no longer leak one employee's identity, preferences, or conversation history into a different employee's private chat. Single-user deployments are byte-for-byte unchanged. - #331 (ENG-22470): Dependabot coverage, cooldown, and guarded auto-merge CI hardening. No shipped runtime change. Bump the root package.json and npm-shrinkwrap.json, all 136 bundled plugin manifests (scripts/sync-plugin-versions.ts), and the version string in every extension npm-shrinkwrap.json via a literal find-and-replace (no dependency content changed by this bump; a full scripts/generate-npm-shrinkwrap.mjs --all regeneration was skipped per the known registry-re-resolution risk on a pure version bump). Add the 2026.6.35-boon.6 CHANGELOG.md section. No source or dependency change beyond the merged PRs above. Co-Authored-By: Claude Sonnet 5 <[email protected]> * docs(changelog): precisely describe the #330 identity-segment encoding Addresses cubic review feedback on PR #332: the boon.6 release note described the identity directory with the raw sender ID and didn't mention the empty/whitespace fallback or the encoding's case-collision behavior on case-insensitive filesystems (macOS default, Windows). Co-Authored-By: Claude Sonnet 5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5 <[email protected]>
What Problem This Solves
Dependabot runs in openclaw, but its alerts don't turn into merged fixes. On 2026-11-08 there were 4 open alerts (3 critical: tinypool ×2, @a2ui/web_core; 1 high: zod), the oldest from 2026-10-05.
pnpm-workspace.yamloverrides, so a bump of a package pinned there goes nowhere.dependabot.ymlpointed at a Swift directory that no longer exists (apps/shared/MoltbotKit) and missedapps/shared/OpenClawKit,apps/macos-mlx-tts(Swift) andscripts/docs-i18n(Go).Linear: ENG-22470, split from ENG-22137 (epic ENG-22136). This ports getboon/boon#16124 to openclaw.
Why This Change Was Made
It follows boon's design, which is already merged and running in boon. Where openclaw differs, the change says so below.
.github/dependabot.ymluses boon's layout:default-daysthere.open-pull-requests-limitis 7 per entry.registriesblock is removed. It used a Dependabot secret that doesn't exist, and every package comes from the public registry anyway.pnpm-workspace.yamlminimumReleaseAgegoes from 2880 to 7200 (5 days), matching the cooldown.@grpc/grpc-js,basic-ftp,yauzl,requestorrequest-promise. They are dropped.--alertscheck confirms this.@a2ui/litgoes from 0.10.0 to 0.10.3, which brings@a2ui/web_core0.10.7 and fixes GHSA-72qq-p3r5-f7wq.v0_8entry point and its types are the same. The only additions are optional divider properties.a2ui.bundle.jsdoesn't contain the vulnerableopenUrlpath.tinypool: 2.2.0override fixes GHSA-5gmw-xhrv-c9v3 and GHSA-85c8-ppgw-ccpr. tinypool is dev-only, pulled in by[email protected], which pins exactly 2.1.0.zod@4override). The advisory covers every 3.x, there is no patched 3.x, and every a2ui release still requireszod ^3.25.76.scripts/dependabot/(bash, with bats tests intest/dependabot/, as in boon):verify-dependabot-coverage: boon's rules, plus Swift (Package.resolved/Package.swift) and Gradle (settings.gradle*).npm-shrinkwrap.jsonis skipped in a pnpm repo, since it's generated frompnpm-lock.yaml.--alertsflag: it reports any pnpm override that pins a version inside an open Dependabot alert's vulnerable range.dependabot-merge-decision: boon's rules (kill switch, verified Dependabot commits, patch/minor only, dependency files only, no GitHub Actions bumps, allowlisted sources). openclaw adds:pnpm-workspace.yaml. That file holdsallowBuilds(which packages may run install scripts), the overrides andminimumReleaseAge.package.jsonand Gemfile sources. A source on an added line passes only if it's allowlisted or the same diff removes it, as when a Swift package keeps its git URL. For example, apackage.jsondependency switched togit+…,file:, a URL oruser/repois refused, and so is a gem switched togit:,github:orpath:.package.json,go.mod,libs.versions.toml,build.gradle*,Gemfile,requirements.txtorpyproject.toml, which the ticket requires. A version-catalog entry is identified by its alias and its module, so an alias can't be pointed at another artifact.dependabot[bot], committed byweb-flowand verified.merge.dependabot-stale-approvalsis unchanged from boon apart from paths and comments.dependabot-digest-messagematches boon, except that a PR with an outstanding "changes requested" review is listed under Needs a human.dependabot-auto-merge.ymlis boon's workflow, with these changes:contentsandpull-requestswrite (zizmor flagged it).dependabot-digest.ymlis boon's weekly Slack thread in #engineering-alerts. It adds anoverridesjob that runs the--alertscheck with the Gandalf app token, becauseGITHUB_TOKENcan't read Dependabot alerts.dependabot-scripts.ymlrunsbats test/dependabot/, including the coverage check against the real config, whenever any dependency file kind changes.ci.ymlgets aci-gatejob.boonhas no required checks today, so GitHub auto-merge would merge on approval alone, even with red CI.ci-gategives the ruleset one stable check to require. It fails if any CI job failed or was cancelled.dependabot.ymlfrom the upstream secops team, which doesn't exist in getboon.--frozen-lockfile(.github/actions/setup-node-env).allowBuilds.User Impact
DEPENDABOT_AUTOMERGE=on. Until then, the weekly thread lists every PR for on-call, as in boon's trial.ci-gatepasses.DEPENDABOT_AUTOMERGEtooff.kill-switch-sweepjob turns off auto-merge on PRs that already have it queued within 15 minutes. Running the workflow by hand does it immediately.on, so it costs nothing during the trial.minimumReleaseAge, so such a PR fails the frozen install in CI. Add the exactname@versiontominimumReleaseAgeExclude, with the GHSA id and a remove-after date. The steps are inpnpm-workspace.yaml. Because that touchespnpm-workspace.yaml, the PR goes to a human.Admin steps (not done in this PR)
GANDALF_APP_ID,GANDALF_PRIVATE_KEYandSLACK_API_TOKENwith getboon/openclaw. openclaw has no Actions secrets today.overridesjob)boonruleset (17038141)ci-gateas a required status check.engineeringteam member, which a bot can't be.engineeringteam. Without this, the stale-approval step fails, and the job leaves auto-merge off: safe, but nothing merges.ci-gateis required, a PR that changes onlyCHANGELOG.mdgets no CI run, becauseci.ymlignores that path.DEPENDABOT_AUTOMERGE=on.Evidence
bats test/dependabot/: 115/115 pass (bash 3.2 on macOS,yq4.45.4). CI runs them onubuntu-24.04, which shipsyq4.54.1, independabot-scripts.yml.go.mod// indirectlines no longer count as new dependencies;+++ /dev/nulland tab-suffixed diff headers are handled;directory:sources are blocked;>=are parsed correctly.web-flowcommitter check; the one-step kill switch; the digest's handling of "changes requested"; secops staying an owner ofdependabot.yml; the 3-day release-age floor for pnpm; the semver-cooldown floor; Python and Gradle coverage; ticket references removed from comments.main.scripts/dependabot/verify-dependabot-coverage: OK on the new config. On the old config: 11 violations (4 uncovered directories, 7 cooldowns under 3 days).verify-dependabot-coverage --alerts <live open alerts>: OK.dependabot-merge-decision:mergefor each.actionlint1.7.11 (with shellcheck): clean on all new workflows andci.yml.zizmor1.32.0: no findings on the new workflows.node scripts/check-workflows.mjs: passes.shellcheck scripts/dependabot/*: clean.oxfmt --checkon the changed YAML: clean.node scripts/generate-npm-shrinkwrap.mjs --check: root shrinkwrap is current.pnpm install --lockfile-only: the lockfile diff touches only@a2ui/*,@lit-labs/signals,tinypooland the dropped overrides, plus a re-worded upstreamdeprecatedmessage.🤖 Generated with Claude Code