# Loops vs dynamic workflows

## Summary

The speaker splits long-horizon automation into two patterns: loops for repetitive work where the steps are known, and dynamic workflows for work where you can't plan the steps in advance. He uses a loop to babysit his pull requests, fixing CI and rebasing automatically. System optimization is his example of a dynamic workflow, since the next move only becomes clear as you go.


## Core ideas

- Loops run repetitive work: the steps are known ahead of time, so the same cycle can just repeat.

- Dynamic workflows handle unknown steps: you don't know what the steps are before you start, so the path gets decided on the fly.

- PR babysitting is loop work: his loop watches his pull requests, fixes CI failures, and rebases them without him touching anything.

- System optimization needs a dynamic workflow: each optimization depends on what the last one revealed, so it can't be scripted up front.

- Task structure picks the tool: the deciding question is whether you can list the steps before starting.

- Both serve long-horizon goals: the split is about how to keep an agent working toward something over time, repetitive chores versus open-ended exploration.


## Quotes

> So loops are kind of like repetitive work and dynamic workflows are like dynamic work.

@futuremind.lead

> Like you don't you don't exactly know what the steps are ahead of time.

@futuremind.lead

> Like I use a loop for example for babysitting my pull requests to like fix CI and rebase them automatically.

@futuremind.lead

> But then I use dynamic workflows for things like system optimization where you don't necessarily know what the next optimization is.

@futuremind.lead


Source: https://www.instagram.com/reel/DckRiGFvyXj/?igsi=Ym1oY3ZjOHhrZHVm

Canonical: https://drop.rizzgroup.org/ledger/loops-vs-dynamic-workflows-k43569
