Agents and safety

Rolling is built to be driven by an agent. Every command that lists something takes --json, errors say what to do next, and the studio follows whatever an agent does from the command line as it happens. The repository ships a skill, skills/rolling, that teaches an agent the whole loop.

The loop

Terminal
rolling check                          # permissions, before anything else
rolling elements --app Notes --json    # what an agent can click, by label
rolling run demo.json --name onboarding
rolling status --json                  # its phase, length, size, when it stops
rolling list --json                    # recordings, newest first
rolling preset list --json             # looks it can choose
rolling render onboarding --preset vertical

An agent writes the script, so its thinking time never shows up in the recording. When it works live instead, through computer use, Rolling cuts the pauses and turns its cursor jumps into glides. Narration that needs the voice models tells the agent to run rolling voice get rather than downloading 240 MB without asking.

Recordings stop by themselves

A recording that nobody stops still ends. Each guard stops it and saves what was recorded, and the studio, the command line and agents all share the same settings.

WhenAfterSetting
It runs too long30 minmax-length
Nothing happens in the window10 minidle-stop (0 is never)
The screen stays locked30 s, onlock-stop
The disk nears full1 GB free, plus room to renderkeep-free
The Mac sleepson waking
The window closes or the app quits3 s
Terminal
rolling settings                       # the four guards
rolling settings set max-length 60     # minutes; also idle-stop 0, lock-stop off, keep-free 2
rolling settings reset
rolling run demo.json --max 120 --idle-stop 30   # one recording's own limits

It warns a minute before the limit. Only one recording runs at a time, and a second record or run is refused until rolling stop.

Phases

startingrecordingstoppingsavedrenderingdonefailed1234a failed render still keeps the recording
  1. Starting, then recording Only one recording runs at a time. It won’t start while the screen is locked or the disk is too full.
  2. Stopped and saved Ctrl-C, rolling stop, a guard or a closed window all stop it the same way. Once saved, the recording is safe.
  3. Rendered If a render fails, the error is reported and the recording is kept. Render it again any time.
  4. Failed Nothing usable was recorded, for example because the app never opened. rolling status says which phase it is in.

If Rolling is killed or the Mac loses power mid-recording, the master keeps everything up to its last 5-second fragment, and the input is written out every second. rolling recover, or the next rolling list, record or opening the app, turns them back into normal recordings.