Concepts
Loops
Loops run a Picnic job on a schedule, every hour, day, weekday or week, on one of your own machines. Make and change them from any of your machines or your iPhone.
A loop is a job on a schedule. It's a prompt, a mode, a machine and a repository, plus when to run. Loops are personal: only you see yours, and they run only on your own machines. Picnic's relay starts it for you, so it doesn't matter whether your laptop is open: the job lands on the board as if you had made it yourself.
Good loops are the jobs you'd otherwise forget: a nightly dependency check, a weekly tidy of stale pull requests, a morning look at last night's error logs, release notes every Friday.
Loops are on every plan, Free included. See Plans and billing.
What a loop has
| Field | What it is |
|---|---|
| Name | What you call it, for example "Nightly dependency bumps" |
| Prompt | What the job should do, written as you'd write any job |
| Mode | Plan, Plan and build or Plan, build and ship. A loop starts fresh work, so it doesn't take over an existing pull request |
| Work in | The code repo or local folder it works in, on one of your own machines. One menu picks both |
| Engine | Claude Code or Codex |
| Base branch | Optional. The repository's default branch otherwise |
| Schedule | How often, at what time, in which time zone |
| Enabled | Turn a loop off without deleting it |
Make and edit loops in Picnic on any Mac, Linux computer or iPhone, in the Loops tab of Factory, after Code repos, Local folders and Browser accounts. Tap or click New loop for a new one; each loop has a switch to pause it, and Run now, Edit and Delete in its menu (on iPhone, swipe or long-press it). A change on one machine shows on all your others straight away. Loops aren't in the console.
Schedules
A schedule is one of four rhythms, at a time of day, in a time zone:
| Every | Runs |
|---|---|
| Hour | Every hour, at the minute you choose. For example :15 past each hour |
| Day | Every day at the time you choose |
| Weekday | Monday to Friday at the time you choose |
| Week | Once a week, on the day and at the time you choose |
Times are in the time zone you set on the loop, so "09:00 on weekdays in Europe/London" stays at nine in the morning through the clocks changing.
Factory > Loops shows when each loop runs next, when it last ran, why a run couldn't start, and a link to the last job it made.
Run now
Run now starts a loop's job straight away, without waiting for its schedule. Handy for trying out a new loop.
How a loop runs
The relay checks for due loops every minute. When one is due, it makes the job in exactly the way the public API does:
- with the loop's prompt, mode and engine
- with your account's global instructions added
- on the loop's machine
The job then runs like any other job. It shows on the board, notifies you if it needs you, and finishes the way its mode says.
When the machine is offline
If the loop's machine is offline, the job is held on the relay and starts as soon as that machine is back. You'll see it on the board waiting for its machine. See Offline machines.
Tip: For loops that must run, point them at an always-on machine, not your laptop.
Loops store their prompt on the relay
Most job content passes through the relay without being stored. Loops are an exception: to start a job when nobody is around, the relay has to keep the loop's prompt. It's stored with the loop until you change or delete it. Each job it starts is then handled like any other job.
If a repository's work must never leave its machine, don't use loops for it, and consider privacy mode for that machine.
Where loops run
- A loop runs only on your own machines.
- The job is started on the chosen machine under that machine's default Claude Code or Codex account, so its usage counts against that account.
Ideas
- Plan, build and ship, every weekday at 07:00: "Update minor and patch dependencies, run the tests, and merge if green."
- Plan, every day at 08:30: "Look at yesterday's errors in the logs folder and explain the most frequent one."
- Plan, every Friday at 16:00: "Write release notes for everything merged to main this week."
- Plan, every Monday at 09:00: "List open pull requests with failing CI that are older than a week, and say which are worth landing."
