Dependency security and freshness for npm, Gradle and GitHub Actions, with one version/advisory policy shared by CI and the update tools.
What it handles and where it stops: a plain-language guide.
- The CI gate compares base and head against one advisory snapshot. A PR fails on what it makes worse; malware fails, unless only its own repository reports it and the code didn't change. A daily scan checks the default branch; a PR is judged whenever it changes.
- secure-it batches actionable non-major security fixes, keeps malware fixes together, and opens a separate PR per major. It can remove redundant security floors only after a joint resolution without lockfiles proves them unnecessary.
- bump-it chooses the highest eligible versions under the release-age policy: one routine PR for minors, patches, npm transitives and Gradle wrappers, and one per major. The tool computes npm files and generates wrappers; a coding agent (Codex or Claude Code) handles other edits and major adaptations. Every proposed change is verified.
The gate runs in GitHub Actions. The tools run on macOS and propose PRs; they do
not merge them. Node 24 is required; npm 11.17+ is needed for release-age exclusions.
Adoption uses a reviewed Git commit; only @leanish/agent-runtime may also be published to npm, for other
repositories that share it (releasing).
The current release is v0.11.1; the CHANGELOG lists its changes
and what's unreleased. Licensed under Apache-2.0.
In Claude Code or Codex desktop, ask "install bump-it", "install secure-it", or "add a repository"; see the guided workflow.
- Requirements and scenario behavior
- Why this adds value alongside dependency alerts
- Adopting the gate, including repository policy, exceptions and floors
- Adopting secure-it and bump-it: prerequisites, PATs and Keychain, candidate preview, launchd, logs, costs and troubleshooting
- Tool configuration: every agent.yaml field, including the coding agent, model and effort
- Security model and coverage gaps
- Recorded simplification decisions: what was removed or kept and why; no open candidates
- Validation evidence: real runs on fixture repositories and what each behaviour's evidence is
- Release procedure and CHANGELOG
@leanish/gate: inventories, advisory/version rules, candidate selection and the reusable gate with daily default-branch scanssecure-it: security batches, separate majors and verified removal of security floors; compatibility floors staybump-it: routine/major plans, tool-computed npm changes and checksummed Gradle wrapper generation@leanish/setup: guided installation, gate adoption and local app schedules; its README is the command reference@leanish/tool-runtime: shared config, sandboxed inventories, publication (PR text cleanup, race checks), review ticks andrun.sh@leanish/agent-runtime: the Codex and Claude Code runners and their support; also consumed by the incubator's runtime, as recorded in provenance, and the one package that may be published to npm
npm ci --ignore-scripts
npm run checknpm run check checks the workspace layout, tests the lint's TypeScript parser, lints regular expressions
(npm run lint, see eslint.config.js) and runs each workspace's typecheck and tests. The lint reads TypeScript
through eslint-typescript-parser.js, which strips the types with Node and parses the rest with espree, so it relies
on erasable syntax only (erasableSyntaxOnly in every tsconfig).
npm run clean removes Vitest's caches (node_modules/.vite, node_modules/.vite-temp) and coverage/ from the root
and each workspace; npm run clean:deps also removes every node_modules, which npm ci --ignore-scripts restores.
Both run rm -rf through npm exec --workspaces, so they need no installed dependencies.
Some integration tests skip locally (real Gradle unless SUPPLY_CHAIN_GRADLE_TESTS=1,
as CI sets; the Seatbelt probe without a usable codex sandbox). A skip isn't a
pass: see automated checks and skips.