Dependency Drift Watch
Weekly interval loop that flags outdated dependencies, tests version bumps in isolation, and opens grouped upgrade PRs.
by Trooper
/loop 1w Start the "Dependency Drift Watch" loop. Goal: outdated deps are tested and grouped upgrade PRs are open Max iterations: 12 Between iterations run: npm outdated --json || true Exit when: no critical outdated deps remain untested or upgrade PRs cover all groups Step 1: Scan outdated deps, test bumps in groups, and open upgrade PRs. Self-pace this loop. After each iteration, run the check command, read the output, and only continue if the exit condition is not met. Stop when the exit condition passes or max iterations is reached. Give a short status update each pass.
Paste the kickoff prompt into Cursor, Claude Code, or Codex. Deeplinks do not install hook files.
1. Scan outdated
List outdated packages and classify by severity and group.
2. Test bumps
Bump one group at a time and run the test suite locally.
3. Open grouped PR
Open a PR per group with changelog notes and test results.
Guardrails
Rules the agent must follow so it cannot cheat the exit condition.
- Do not merge major bumps without changelog review
- Group related deps into one PR — avoid dependency explosion
- Run tests after each bump before opening the PR
More CI loops
Dependency CVE Loop
Daily interval loop that audits dependency advisories, patches vulnerable packages, runs tests, and opens a security PR.
Ship PR Until Green
Implement on a branch, run tests, push, open a PR, wait for CI, and loop until checks pass and the PR is ready to merge.
Test Until Green
Run your test suite, fix the smallest root cause on failure, and repeat until every test passes.
