Changelog
All notable changes to saaio are listed here. The format follows Keep a Changelog, and saaio uses Semantic Versioning.
#Unreleased
#Added
saaio setup [<flow>]runs a flow's.saaio/teardown, then its.saaio/setupagain, with its slot and worktree, without removing it;C-space sand the board'ssdo it in the UI, aftery. A worker can run it for its own flow once it fixed the cause (saaio setup).- The whole output of each
.saaioscript, stdout and stderr in order, goes tohooks/<flow id>/<script>.login the store, and a failed setup names the file (Files).
#Changed
- A failed setup stays in
saaio status, the sidebar and the board until a setup run passes, instead of going away with the worker's first prompt, andsaaio status --jsongives each flowsetup(Setup). The worker and the master are told, with the path of the whole output. - A failed script's reason is the last line it printed on stdout or stderr, no longer stderr first.
#Fixed
- A Claude Code worker whose kind calls a skill you have not installed, such as
ship-feature, no longer waits forever atworking:saaio startsends a built-in prompt that calls no skill and says so (Without matching skills). - Esc in a Claude Code worker or master ends its turn in saaio too: the spinner stops, the flow
shows
idle interrupted, lines queued withsaaio send --typeare typed andwaits turnclears. saaio answers Claude Code's status query and reads its reports (OSC 7501), which Claude Code 2.1.295 and later send (Claude Code). - A Codex worker whose turn fails, on a rate limit, an unsupported model or a lost connection, is
blockedwith Codex's error instead of stayingworking, and saaio types the master's news into it again. A Claude Code turn that fails is blocked too. A dialog before a Codex worker's first turn makes itwaitingat once instead of after 30 seconds. Both need Codex 0.172 or later, or Claude Code 2.1.295 or later (Codex). - A busy machine no longer shows a Claude Code pane drawing itself slowly from top to bottom: saaio tells Claude Code which terminal it is (XTVERSION), so Claude Code marks each redraw as one and saaio shows it only when it is whole.
- A flow whose log a crash cut short in the middle of a line keeps its next event: saaio starts it on a line of its own instead of gluing it onto the broken one, which lost both. A cut inside a non-ASCII character no longer makes the flow disappear from saaio.
#0.3.1 - 2026-11-20
#Fixed
- A worker woken with the master's message no longer gets saaio's own error above it when its busy mark cannot be written; the error goes to server.log.
- A heavy command listed under
[exclusive]no longer loses its turn while it runs on a busy machine, so another worker's heavy command waits for it instead of running beside it.
#0.3.0 - 2026-11-15
A minor release: saaio status --json is version 4, which can break a program that reads it.
#Changed
saaio status --jsonis version 4: a phase step'sstatuscan bestale, done before but undone since the flow went back to an earlier phase. A program that reads it should acceptstaleand version 4 (Versions). The TOON agents read is unchanged.
#Added
- The documentation is online at saaio.dev: searchable, in light and dark, readable on a phone, and built from the Markdown in the repository on every merge.
- An error that only a person may overrule says so in a
refusalline (uncommitted,unmergedoruntrusted), so a script or agent can tell it apart without reading the message (Output, errors and exit codes).
#Fixed
- A flow asked for another change after its review goes back to
implement: the sidebar and the board show review and merge-request as stale until they run again, instead of staying at review or showing every step finished. A phase skill the worker runs after the merge request opened moves the flow too. - A panic in the terminal UI ends it and gives the terminal back, with a line that says where its
backtrace is, instead of leaving it running unresponsive; the server and its sessions keep
running, so
saaioattaches again. saaio updatenames each server of another version once, andsaaio status --alleach project once: a store registered twice (by a shared folder moved by hand, orSAAIO_HOMEwith a trailing slash) no longer shows up twice, and its extra entry is cleaned up.- The docs no longer say that
cat pint.logwaits for a heavy command's turn: a word such aspint.logdoes not matchpint, andfiles.mdnames the heavy commands among what a repository's.saaio/config.tomlholds.
#0.2.1 - 2026-11-05
#Added
- Heavy commands run one at a time per project: list them in a repository's
.saaio/config.toml([exclusive] commands = ["artisan test", "pint", "phpstan"]), and a worker's shell call that runs one, also throughdocker compose exec,docker execor Laravel Sail, waits while another worker of the project runs one. The sidebar sayswaits turnand whose run it waits for, the board cardworking · waits turn,saaio statusand--jsonaturn. A run in the background keeps the turn until its process exits; a crashed worker or a killed run frees it at once.[exclusive] enabled = falsein your config.toml turns it off.
#0.2.0 - 2026-11-02
Updating from 0.1.x: run saaio update, then saaio --stop. 0.2.0 refuses a 0.1.x server that
still runs; once it is stopped, the next saaio starts the server on the new version. An agent
you defined in config.toml with its own prompt now sends it for every kind of flow: leave the
prompt out to get each kind's.
#Added
saaio start --base <branch>and a base row in the new-flow dialog start a flow's worktree from another branch, such as the branch of the flow before it, so each merge request of a stack runs as a flow of its own. The worker is told its merge request targets that branch;saaio statusand--json(workspace.base) show it. When the base merges, the flows on it move onto the branch it merged into and their workers are told to rebase, also when the base is removed or cleared after its merge.saaio removeof a base names the flows that stand on it.- Desktop notifications: when a flow or the master starts waiting or is blocked while you aren't
looking at it, in another session or another window, the UI has your terminal raise a
notification (OSC 9 in Ghostty, iTerm2, kitty and WezTerm, OSC 777 in foot, urxvt and VTE
terminals, the bell in Alacritty and Terminal.app), also through tmux with
allow-passthrough all.[ui] notify = falsein config.toml turns them off. - Kinds of flows:
feature,fixandresearch, each with its own phases, first prompt and branch type.saaio start --kind fix,saaio new --kindand a kind row in the new-flow dialog pick one; the master picks it from the request. A fix runs/ship-fix($ship-fixin Codex), starting with adiagnosephase, on abugfix-type branch where the repository's convention has one. A research flow answers a question in its pane from a worktree without a branch, isdoneonce it has answered, andsaaio clear(orxon the board) forgets it.saaio status,--json(kind,merges), the board and the sidebar (fix claude) show a flow's kind.[kinds.<name>]in config.toml changes a kind or adds one;[worker] kindsets the default. - The UI warns when the running server is another build than the
saaioyou ran, or when anothersaaio(such as an oldcargo installin~/.cargo/bin) comes first on PATH: a dialog names each binary with its build andsaaio --stop, then the title row keeps a short line.saaio updatelists the same:shadowedand every running server on another version (servers[]), each with what to run.
#Changed
- The built-in
claudeandcodexagents no longer set aprompt: a worker's first prompt is its flow's kind's, written for its harness. An agent's ownpromptstill wins, now for every kind, so an agent you defined withprompt = "$ship-feature {request}"sends that for fixes too: leave it out to get each kind's. A top-level[[phases]]and[worker] promptkeep working as the feature kind's. - Protocol 9: the server says which build it is and which binary it started from, so the UI can
warn about a mismatch. The refusal from an earlier server now names its pid, this binary and
saaio --stop.saaio sendin a pane an earlier server opened says the pane has no key and to runsaaio --stop, instead ofonly the master sends.
#Fixed
- A server that started while another saaio process moved server.log aside now writes to the new server.log, instead of to server.log.1 for as long as it runs.
- pulldown-cmark is updated past RUSTSEC-2026-0414. saaio never turned on the wikilinks the advisory is about, so it was not affected.
- A config.toml that still holds the example an earlier saaio wrote, untouched, now gets the current example, with kinds of flows. An edited one stays as it is.
#0.1.2 - 2026-10-24
Updating from 0.1.1: run saaio update, then saaio --stop so the server starts again on the
new version. A .saaio/teardown, .saaio/pause or .saaio/resume script that runs git on the
main checkout (git -C "$SAAIO_REPO" ...) now acts on the worktree instead: run it as
env -u GIT_DIR -u GIT_WORK_TREE git -C "$SAAIO_REPO" ....
#Added
saaio status --jsongives each flowpermission: true while it waits on a permission prompt in its pane.
#Changed
saaio sendto a worker waiting on a permission prompt names the prompt and says the worker reads the message once the prompt is answered in its pane. Before, it said the worker would be woken with it now.saaio report merge-requestkeeps a merge request URL as.../pull/<n>or.../-/merge_requests/<n>, dropping a trailing/,?query,#fragmentor a page such as/files, and names that form when it refuses a URL.
#Fixed
saaio bug-reportwrites its file intoreports/of saaio's state folder (~/.local/state/saaio/reports), never into the current folder, so it no longer lands in a repository.- The peek reads a Codex worker's transcript only from Codex's sessions folder
(
~/.codex/sessions, or under$CODEX_HOME). - saaio's state folder is closed to other users (
0700) also when an earlier version created it. - A repository no longer takes over the store of a removed repository with the same folder name:
it gets a store of its own (
<name>-2). A repository moved to another folder starts with a new store; The store says how to read its earlier flows. - Git in
.saaio/teardown,.saaio/pauseand.saaio/resumealways acts on the flow's own worktree: they run withGIT_DIRandGIT_WORK_TREEset. A script that wants git on the main checkout clears them (Setup and teardown). saaio hookskips an event over 16 MiB and notes it in server.log.- A UI that stops reading, or a session that prints without pause, no longer slows the server for other UIs and commands.
- server.log stays bounded while the server runs: past 1 MiB it moves to server.log.1 whoever writes to it.
- The server copes with very large windows and malformed messages.
#0.1.1 - 2026-10-22
Updating from 0.1.0, which has no saaio update: run the install line once
(curl -fsSL https://github.com/JanSuthacheeva/saaio/releases/latest/download/install.sh | sh),
run saaio trust once in each repository with .saaio scripts, and run saaio --stop so the
server starts again on the new version.
#Added
- The UI names a newer release in its title row (
0.1.1 is out: saaio update), looking once a day.[ui] update_check = falseturns it off. saaio updateinstalls the latest release, or--version <tag>, over the binary you run.
#Changed
- When the store's path is too long for a socket, the socket and its log move from
/tmp/saaio-<uid>/to$XDG_RUNTIME_DIRor$TMPDIR(/tmpwhen neither fits).saaio --stopstill stops a server 0.1.0 started there. - saaio runs a repository's
.saaioscripts, and lets Codex workers trust its worktrees, only once you trusted the repository.saaio startrefuses until then and names the scripts; the new-flow dialog asks you.saaio trusttrusts the repository you are in (from your own terminal only),saaio trust --revoketakes it back,saaio trust --listshows every one. saaio removesays what the teardown did (teardown: ran,none,failed: ...).
#Fixed
- A
.saaioscript that never ends no longer blockssaaio start,saaio removeorsaaio clear: setup is stopped after 10 minutes and teardown after 2, and the flow says so. saaio hook,saaio waitandsaaio sendact only for the session the server opened: each session gets its own key inSAAIO_PROOF. SettingSAAIO_FLOW_IDorSAAIO_MASTERno longer reports into another flow, takes the master's news or sends as the master.- saaio uses the socket's folder only when it belongs to you and is closed to others, and the UI and the server talk only to processes of your own user.
- The server takes requests only after a connection's hello, closes one that says none within
5 seconds, lets
saaio removeandsaaio cleardo nothing but close a pane, and takes at most 16 connections at once. - A request that contains
{request}or another placeholder is passed to the worker as written. Before, it was filled in again, and a request repeating one could grow the worker's command line past the system's limit, so the worker never opened. - A request or flow name that starts with
-no longer fails with a usage error when the UI starts or cleans up a flow. saaio report merge-requesttakes only a merge request of the flow's repository, by any of its remotes, and saaio passes a merge request toghandglabafter--.saaio bug-reportalso writes the home folder as~infile://URLs, as the real path a linked home leads to, and in Claude Code's project names (-Users-you-...).- The server keeps running when the system is out of open files or threads, instead of spinning or stopping.
- A flow that ended, or went on to a subagent, no longer shows the question it asked earlier as
its blocker in
saaio status, its--jsonand the master's news. - A
.saaioscript stopped for running too long now takes what it started with it (adocker compose upit began, a dev server): it runs in a process group of its own, and the whole group is stopped. saaio startrefuses a repository whose.saaioor.saaio/worktreesfolder is a symbolic link, so a worktree is never created outside the repository.
#0.1.0 - 2026-10-21
The first public release. Planned next: Roadmap.
An early version: expect rough edges, especially with Codex, which is experimental and not yet well tested.
#Added
- The terminal UI (
saaio): the master, every worker and every plain session in one terminal, with the sidebar, the peek, the board and the new-flow dialog. - saaio server: sessions outlive the UI and resume after a crash or a reboot.
- Claude Code workers, and Codex workers as experimental, followed through their own hooks. Any other command as a worker, shown as running or not.
- Configurable workflow: 1 to 4 phases, the skills that start them, every agent's first prompt.
- The master: starts and answers workers, woken by their news, types a line such as
/compactinto a worker's pane (saaio send --type). - Guided and auto flows. Plain sessions.
- Merge requests on GitHub and GitLab found on a flow's branch, whoever opened or merged them.
- One store, server and master per git repository,
SAAIO_HOMEto choose another. - Per-worktree setup and teardown scripts,
SAAIO_SLOTfor ports, branch conventions per repository. - Paused services: a flow that rests for
[services] pause_after_minutes(5 by default) has its services stopped by the repository's.saaio/pause, and started again by.saaio/resumebefore its worker's next tool call. - Copying text: select with the mouse to copy, through OSC 52 and
pbcopy,wl-copyorxclip. The wheel scrolls a pane's history. What a session in view copies itself reaches the clipboard too. - Themes: the terminal's own colors, saaio's dark and light themes, live reload, themes written by other tools.
- The command line for agents (TOON) and
saaio status --jsonfor programs. saaio bug-report: a file to attach to a bug report.- Shell completions for bash, zsh, fish, elvish and PowerShell:
saaio completions <shell>, and incomplete/in every release tarball. - Commented example
config.tomlandtheme.toml, written on the first run. - Prebuilt binaries for macOS (Apple silicon, Intel) and Linux (x86_64, aarch64, static) on every
release, with checksums, and
install.sh, which checks the binary for the machine against them and installs it to~/.local/bin. - The store and everything saaio writes in it readable only by you.