Dependency updates
Nobody reviews or merges a dependency update by hand. merge-gate decides, as it
does for every pull request. The full runbook is
docs/operations/dependency-updates.md.
How a bump lands
Section titled “How a bump lands”- Dependabot, daily.
.github/dependabot.ymlchecks every app, the GitHub Actions and the Docker images each day. Runtime and development dependencies are grouped per app. A version is offered only once it is seven days old. - Auto-merge on open.
deps-automerge.ymlturns on auto-merge (squash) the moment Dependabot opens a pull request. It never checks out the pull request’s code. - merge-gate. Every check the diff touches runs. Green means merged.
- The steward.
deps-steward.ymlruns every 15 minutes and after each push tomain(scripts/deps/steward.mjs). It turns on auto-merge for any dependency pull request that lacks it, updates one that fell behindmain, and hands a Dependabot pull request whose merge-gate failed to the dependency agent, once. - The dependency agent. Claude Code reads the failing checks and makes the
update land: code, types, tests, lockfiles. It never weakens a check and may
not touch workflows. If one package cannot land, it puts that package back,
keeps the rest, and records an
ignorewith the reason in.github/dependabot.yml. Its commit goes through merge-gate again. - A person, last. A pull request still failing after that gets the
deps-needs-personlabel and one comment.
Security fixes
Section titled “Security fixes”deps-autofix.yml runs daily and after a security workflow fails on main. It
applies the smallest fixed version of each advisory osv-scanner reports, in one
auto-merge pull request on deps/autofix. Only package.json and bun.lock may
change; advisories with no fix go on the advisory tracking issue, and no
osv-scanner.toml ignore list is ever edited.
Switching it on
Section titled “Switching it on”| Setting | Kind | Enables |
|---|---|---|
DEPS_AUTOFIX_ENABLED=true | variable | the steward and the security autofix |
DEPS_AUTOFIX_TOKEN | secret | a token that may push branches and open pull requests, so their checks start |
AGENTS_ENABLED=1 | variable | the dependency agent and the other agent lanes |
CLAUDE_CODE_OAUTH_TOKEN | secret | the agent’s Claude credential (claude setup-token) |
Without the agent settings, updates still merge when green, and a failing one waits with its checks for a person.