[01] LOOP
CIintervalHardened

Dependency Drift Watch

Weekly interval loop that flags outdated dependencies, tests version bumps in isolation, and opens grouped upgrade PRs.

by Trooper

Kickoff prompt
/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.

Steps

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.

Flow diagram

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