← All loops · coding · claude-code
Dependency upgrade loop
All dependencies are within one minor version of latest, with green CI.
F1 · Goal
All dependencies are within one minor version of latest, with green CI.
F2 · Trigger
0 4 * * 6
F3 · Discover
npm outdated / pip list --outdated; pick the single oldest package.
F4 · Act
Bump it, run tests, fix breakage within the diff budget.
F5 · Verify
CI passes and lockfile diff touches only the bumped package tree.
F6 · Persist
upgrade-log.md records package, from-to, breakage notes.
F7 · Exit
One package per cycle; loop exits when nothing is outdated.
Cost
~22k tokens per cycle (measured)
Runnable code
/goal `npm outdated` reports zero packages -- bump one package per turn, keep CI green; stop after 8 turns
Adapted it for your stack? Submit your variant →